Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Sammler
iris-coq
Commits
0aeb4cdc
Commit
0aeb4cdc
authored
6 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into gen_proofmode
parents
bd60eade
463474fb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+2
-0
2 additions, 0 deletions
CHANGELOG.md
theories/algebra/frac_auth.v
+4
-4
4 additions, 4 deletions
theories/algebra/frac_auth.v
theories/heap_lang/lib/counter.v
+1
-1
1 addition, 1 deletion
theories/heap_lang/lib/counter.v
with
7 additions
and
5 deletions
CHANGELOG.md
+
2
−
0
View file @
0aeb4cdc
...
@@ -22,6 +22,8 @@ Changes in Coq:
...
@@ -22,6 +22,8 @@ Changes in Coq:
-
`IntoLaterN'`
→
`IntoLaterN`
(this one _should_ strip a later)
-
`IntoLaterN'`
→
`IntoLaterN`
(this one _should_ strip a later)
-
`IntoLaterNEnv`
→
`MaybeIntoLaterNEnv`
-
`IntoLaterNEnv`
→
`MaybeIntoLaterNEnv`
-
`IntoLaterNEnvs`
→
`MaybeIntoLaterNEnvs`
-
`IntoLaterNEnvs`
→
`MaybeIntoLaterNEnvs`
*
Rename:
-
`frag_auth_op`
→
`frac_auth_frag_op`
*
`namespaces`
has been moved to std++.
*
`namespaces`
has been moved to std++.
## Iris 3.1.0 (released 2017-12-19)
## Iris 3.1.0 (released 2017-12-19)
...
...
This diff is collapsed.
Click to expand it.
theories/algebra/frac_auth.v
+
4
−
4
View file @
0aeb4cdc
...
@@ -81,13 +81,13 @@ Section frac_auth.
...
@@ -81,13 +81,13 @@ Section frac_auth.
Lemma
frac_auth_frag_valid
q
a
:
✓
(
◯!
{
q
}
a
)
↔
✓
q
∧
✓
a
.
Lemma
frac_auth_frag_valid
q
a
:
✓
(
◯!
{
q
}
a
)
↔
✓
q
∧
✓
a
.
Proof
.
done
.
Qed
.
Proof
.
done
.
Qed
.
Lemma
fra
g
_auth_op
q1
q2
a1
a2
:
◯!
{
q1
+
q2
}
(
a1
⋅
a2
)
≡
◯!
{
q1
}
a1
⋅
◯!
{
q2
}
a2
.
Lemma
fra
c
_auth_
frag_
op
q1
q2
a1
a2
:
◯!
{
q1
+
q2
}
(
a1
⋅
a2
)
≡
◯!
{
q1
}
a1
⋅
◯!
{
q2
}
a2
.
Proof
.
done
.
Qed
.
Proof
.
done
.
Qed
.
Lemma
frac_auth_frag_validN_op_1_l
n
q
a
b
:
✓
{
n
}
(
◯!
{
1
}
a
⋅
◯!
{
q
}
b
)
→
False
.
Lemma
frac_auth_frag_validN_op_1_l
n
q
a
b
:
✓
{
n
}
(
◯!
{
1
}
a
⋅
◯!
{
q
}
b
)
→
False
.
Proof
.
rewrite
-
fra
g
_auth_op
frac_auth_frag_validN
=>
-
[
/
exclusiveN_l
[]]
.
Qed
.
Proof
.
rewrite
-
fra
c
_auth_
frag_
op
frac_auth_frag_validN
=>
-
[
/
exclusiveN_l
[]]
.
Qed
.
Lemma
frac_auth_frag_valid_op_1_l
q
a
b
:
✓
(
◯!
{
1
}
a
⋅
◯!
{
q
}
b
)
→
False
.
Lemma
frac_auth_frag_valid_op_1_l
q
a
b
:
✓
(
◯!
{
1
}
a
⋅
◯!
{
q
}
b
)
→
False
.
Proof
.
rewrite
-
fra
g
_auth_op
frac_auth_frag_valid
=>
-
[
/
exclusive_l
[]]
.
Qed
.
Proof
.
rewrite
-
fra
c
_auth_
frag_
op
frac_auth_frag_valid
=>
-
[
/
exclusive_l
[]]
.
Qed
.
Global
Instance
is_op_frac_auth
(
q
q1
q2
:
frac
)
(
a
a1
a2
:
A
)
:
Global
Instance
is_op_frac_auth
(
q
q1
q2
:
frac
)
(
a
a1
a2
:
A
)
:
IsOp
q
q1
q2
→
IsOp
a
a1
a2
→
IsOp'
(
◯!
{
q
}
a
)
(
◯!
{
q1
}
a1
)
(
◯!
{
q2
}
a2
)
.
IsOp
q
q1
q2
→
IsOp
a
a1
a2
→
IsOp'
(
◯!
{
q
}
a
)
(
◯!
{
q1
}
a1
)
(
◯!
{
q2
}
a2
)
.
...
@@ -97,7 +97,7 @@ Section frac_auth.
...
@@ -97,7 +97,7 @@ Section frac_auth.
CoreId
a
→
IsOp
q
q1
q2
→
IsOp'
(
◯!
{
q
}
a
)
(
◯!
{
q1
}
a
)
(
◯!
{
q2
}
a
)
.
CoreId
a
→
IsOp
q
q1
q2
→
IsOp'
(
◯!
{
q
}
a
)
(
◯!
{
q1
}
a
)
(
◯!
{
q2
}
a
)
.
Proof
.
Proof
.
rewrite
/
IsOp'
/
IsOp
=>
?
/
leibniz_equiv_iff
->
.
rewrite
/
IsOp'
/
IsOp
=>
?
/
leibniz_equiv_iff
->
.
by
rewrite
-
fra
g
_auth_op
-
core_id_dup
.
by
rewrite
-
fra
c
_auth_
frag_
op
-
core_id_dup
.
Qed
.
Qed
.
Lemma
frac_auth_update
q
a
b
a'
b'
:
Lemma
frac_auth_update
q
a
b
a'
b'
:
...
...
This diff is collapsed.
Click to expand it.
theories/heap_lang/lib/counter.v
+
1
−
1
View file @
0aeb4cdc
...
@@ -106,7 +106,7 @@ Section contrib_spec.
...
@@ -106,7 +106,7 @@ Section contrib_spec.
(** The main proofs. *)
(** The main proofs. *)
Lemma
ccounter_op
γ
q1
q2
n1
n2
:
Lemma
ccounter_op
γ
q1
q2
n1
n2
:
ccounter
γ
(
q1
+
q2
)
(
n1
+
n2
)
⊣⊢
ccounter
γ
q1
n1
∗
ccounter
γ
q2
n2
.
ccounter
γ
(
q1
+
q2
)
(
n1
+
n2
)
⊣⊢
ccounter
γ
q1
n1
∗
ccounter
γ
q2
n2
.
Proof
.
by
rewrite
/
ccounter
fra
g
_auth_op
-
own_op
.
Qed
.
Proof
.
by
rewrite
/
ccounter
fra
c
_auth_
frag_
op
-
own_op
.
Qed
.
Lemma
newcounter_contrib_spec
(
R
:
iProp
Σ
)
:
Lemma
newcounter_contrib_spec
(
R
:
iProp
Σ
)
:
{{{
True
}}}
newcounter
#
()
{{{
True
}}}
newcounter
#
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment