Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris
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
Tej Chajed
iris
Commits
45f84a82
Commit
45f84a82
authored
9 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Fix notation for ndot.
The non applied one should be only parsing.
parent
e9af95ac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
barrier/client.v
+3
-3
3 additions, 3 deletions
barrier/client.v
program_logic/namespaces.v
+1
-1
1 addition, 1 deletion
program_logic/namespaces.v
with
4 additions
and
4 deletions
barrier/client.v
+
3
−
3
View file @
45f84a82
...
@@ -33,13 +33,13 @@ Section ClosedProofs.
...
@@ -33,13 +33,13 @@ Section ClosedProofs.
Lemma
client_safe_closed
σ
:
{{
ownP
σ
:
iProp
}}
client
{{
λ
v
,
True
}}
.
Lemma
client_safe_closed
σ
:
{{
ownP
σ
:
iProp
}}
client
{{
λ
v
,
True
}}
.
Proof
.
Proof
.
apply
ht_alt
.
rewrite
(
heap_alloc
⊤
(
ndot
nroot
"Barrier"
));
last
first
.
apply
ht_alt
.
rewrite
(
heap_alloc
⊤
(
nroot
.:
"Barrier"
));
last
first
.
{
(* FIXME Really?? set_solver takes forever on "⊆ ⊤"?!? *)
{
(* FIXME Really?? set_solver takes forever on "⊆ ⊤"?!? *)
move
=>?
_
.
exact
I
.
}
by
move
=>?
_
.
}
apply
wp_strip_pvs
,
exist_elim
=>
?
.
rewrite
and_elim_l
.
apply
wp_strip_pvs
,
exist_elim
=>
?
.
rewrite
and_elim_l
.
rewrite
-
(
client_safe
(
nroot
.:
"Heap"
)
(
nroot
.:
"Barrier"
))
//.
rewrite
-
(
client_safe
(
nroot
.:
"Heap"
)
(
nroot
.:
"Barrier"
))
//.
(* This, too, should be automated. *)
(* This, too, should be automated. *)
apply
ndot_ne_disjoint
.
discriminate
.
by
apply
ndot_ne_disjoint
.
Qed
.
Qed
.
Print
Assumptions
client_safe_closed
.
Print
Assumptions
client_safe_closed
.
...
...
This diff is collapsed.
Click to expand it.
program_logic/namespaces.v
+
1
−
1
View file @
45f84a82
...
@@ -8,7 +8,7 @@ Definition ndot `{Countable A} (N : namespace) (x : A) : namespace :=
...
@@ -8,7 +8,7 @@ Definition ndot `{Countable A} (N : namespace) (x : A) : namespace :=
Coercion
nclose
(
N
:
namespace
)
:
coPset
:=
coPset_suffixes
(
encode
N
)
.
Coercion
nclose
(
N
:
namespace
)
:
coPset
:=
coPset_suffixes
(
encode
N
)
.
Infix
".:"
:=
ndot
(
at
level
19
,
left
associativity
)
:
C_scope
.
Infix
".:"
:=
ndot
(
at
level
19
,
left
associativity
)
:
C_scope
.
Notation
"(.:)"
:=
ndot
:
C_scope
.
Notation
"(.:)"
:=
ndot
(
only
parsing
)
:
C_scope
.
Instance
ndot_inj
`{
Countable
A
}
:
Inj2
(
=
)
(
=
)
(
=
)
(
@
ndot
A
_
_)
.
Instance
ndot_inj
`{
Countable
A
}
:
Inj2
(
=
)
(
=
)
(
=
)
(
@
ndot
A
_
_)
.
Proof
.
by
intros
N1
x1
N2
x2
?;
simplify_eq
.
Qed
.
Proof
.
by
intros
N1
x1
N2
x2
?;
simplify_eq
.
Qed
.
...
...
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