Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
Iris
Commits
ce5f7710
Commit
ce5f7710
authored
Aug 25, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also use %E scopes in notations for Hoare triples.
parent
ae01dd71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
program_logic/hoare.v
program_logic/hoare.v
+8
-8
No files found.
program_logic/hoare.v
View file @
ce5f7710
...
...
@@ -6,29 +6,29 @@ Definition ht `{irisG Λ Σ} (E : coPset) (P : iProp Σ)
(
□
(
P
→
WP
e
@
E
{{
Φ
}}))%
I
.
Instance
:
Params
(@
ht
)
4
.
Notation
"{{ P } } e @ E {{ Φ } }"
:
=
(
ht
E
P
e
Φ
)
Notation
"{{ P } } e @ E {{ Φ } }"
:
=
(
ht
E
P
e
%
E
Φ
)
(
at
level
20
,
P
,
e
,
Φ
at
level
200
,
format
"{{ P } } e @ E {{ Φ } }"
)
:
uPred_scope
.
Notation
"{{ P } } e {{ Φ } }"
:
=
(
ht
⊤
P
e
Φ
)
Notation
"{{ P } } e {{ Φ } }"
:
=
(
ht
⊤
P
e
%
E
Φ
)
(
at
level
20
,
P
,
e
,
Φ
at
level
200
,
format
"{{ P } } e {{ Φ } }"
)
:
uPred_scope
.
Notation
"{{ P } } e @ E {{ Φ } }"
:
=
(
True
⊢
ht
E
P
e
Φ
)
Notation
"{{ P } } e @ E {{ Φ } }"
:
=
(
True
⊢
ht
E
P
e
%
E
Φ
)
(
at
level
20
,
P
,
e
,
Φ
at
level
200
,
format
"{{ P } } e @ E {{ Φ } }"
)
:
C_scope
.
Notation
"{{ P } } e {{ Φ } }"
:
=
(
True
⊢
ht
⊤
P
e
Φ
)
Notation
"{{ P } } e {{ Φ } }"
:
=
(
True
⊢
ht
⊤
P
e
%
E
Φ
)
(
at
level
20
,
P
,
e
,
Φ
at
level
200
,
format
"{{ P } } e {{ Φ } }"
)
:
C_scope
.
Notation
"{{ P } } e @ E {{ v , Q } }"
:
=
(
ht
E
P
e
(
λ
v
,
Q
))
Notation
"{{ P } } e @ E {{ v , Q } }"
:
=
(
ht
E
P
e
%
E
(
λ
v
,
Q
))
(
at
level
20
,
P
,
e
,
Q
at
level
200
,
format
"{{ P } } e @ E {{ v , Q } }"
)
:
uPred_scope
.
Notation
"{{ P } } e {{ v , Q } }"
:
=
(
ht
⊤
P
e
(
λ
v
,
Q
))
Notation
"{{ P } } e {{ v , Q } }"
:
=
(
ht
⊤
P
e
%
E
(
λ
v
,
Q
))
(
at
level
20
,
P
,
e
,
Q
at
level
200
,
format
"{{ P } } e {{ v , Q } }"
)
:
uPred_scope
.
Notation
"{{ P } } e @ E {{ v , Q } }"
:
=
(
True
⊢
ht
E
P
e
(
λ
v
,
Q
))
Notation
"{{ P } } e @ E {{ v , Q } }"
:
=
(
True
⊢
ht
E
P
e
%
E
(
λ
v
,
Q
))
(
at
level
20
,
P
,
e
,
Q
at
level
200
,
format
"{{ P } } e @ E {{ v , Q } }"
)
:
C_scope
.
Notation
"{{ P } } e {{ v , Q } }"
:
=
(
True
⊢
ht
⊤
P
e
(
λ
v
,
Q
))
Notation
"{{ P } } e {{ v , Q } }"
:
=
(
True
⊢
ht
⊤
P
e
%
E
(
λ
v
,
Q
))
(
at
level
20
,
P
,
e
,
Q
at
level
200
,
format
"{{ P } } e {{ v , Q } }"
)
:
C_scope
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment