Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Iris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
118
Issues
118
List
Boards
Labels
Service Desk
Milestones
Merge Requests
20
Merge Requests
20
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
Iris
Commits
3660c994
Commit
3660c994
authored
Jun 06, 2018
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
turns out we don't need the hv in any of this
parent
c435f4d2
Pipeline
#9437
passed with stage
in 14 minutes and 34 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
18 deletions
+18
-18
tests/proofmode.v
tests/proofmode.v
+1
-1
theories/bi/notation.v
theories/bi/notation.v
+5
-5
theories/program_logic/weakestpre.v
theories/program_logic/weakestpre.v
+10
-10
theories/proofmode/notation.v
theories/proofmode/notation.v
+2
-2
No files found.
tests/proofmode.v
View file @
3660c994
...
...
@@ -501,7 +501,7 @@ Proof.
iIntros
"?"
.
Show
.
Abort
.
(* This is specifically crafted such that not having the
`hv`
in
(* This is specifically crafted such that not having the
printing box
in
the proofmode notation breaks the output. *)
Local
Notation
"'TESTNOTATION' '{{' P '|' Q '}' '}'"
:
=
(
P
∧
Q
)%
I
(
format
"'TESTNOTATION' '{{' P '|' '/' Q '}' '}'"
)
:
bi_scope
.
...
...
theories/bi/notation.v
View file @
3660c994
...
...
@@ -51,34 +51,34 @@ Reserved Notation "'<subj>' P" (at level 20, right associativity).
(** Update modalities *)
Reserved
Notation
"|==> Q"
(
at
level
99
,
Q
at
level
200
,
format
"|==> Q"
).
Reserved
Notation
"P ==∗ Q"
(
at
level
99
,
Q
at
level
200
,
format
"'[
hv
' P ==∗ '/' Q ']'"
).
(
at
level
99
,
Q
at
level
200
,
format
"'[ ' P ==∗ '/' Q ']'"
).
Reserved
Notation
"|={ E1 , E2 }=> Q"
(
at
level
99
,
E1
,
E2
at
level
50
,
Q
at
level
200
,
format
"|={ E1 , E2 }=> Q"
).
Reserved
Notation
"P ={ E1 , E2 }=∗ Q"
(
at
level
99
,
E1
,
E2
at
level
50
,
Q
at
level
200
,
format
"'[
hv
' P ={ E1 , E2 }=∗ '/' Q ']'"
).
format
"'[ ' P ={ E1 , E2 }=∗ '/' Q ']'"
).
Reserved
Notation
"|={ E }=> Q"
(
at
level
99
,
E
at
level
50
,
Q
at
level
200
,
format
"|={ E }=> Q"
).
Reserved
Notation
"P ={ E }=∗ Q"
(
at
level
99
,
E
at
level
50
,
Q
at
level
200
,
format
"'[
hv
' P ={ E }=∗ '/' Q ']'"
).
format
"'[ ' P ={ E }=∗ '/' Q ']'"
).
Reserved
Notation
"|={ E1 , E2 }▷=> Q"
(
at
level
99
,
E1
,
E2
at
level
50
,
Q
at
level
200
,
format
"|={ E1 , E2 }▷=> Q"
).
Reserved
Notation
"P ={ E1 , E2 }▷=∗ Q"
(
at
level
99
,
E1
,
E2
at
level
50
,
Q
at
level
200
,
format
"'[
hv
' P ={ E1 , E2 }▷=∗ '/' Q ']'"
).
format
"'[ ' P ={ E1 , E2 }▷=∗ '/' Q ']'"
).
Reserved
Notation
"|={ E }▷=> Q"
(
at
level
99
,
E
at
level
50
,
Q
at
level
200
,
format
"|={ E }▷=> Q"
).
Reserved
Notation
"P ={ E }▷=∗ Q"
(
at
level
99
,
E
at
level
50
,
Q
at
level
200
,
format
"'[
hv
' P ={ E }▷=∗ '/' Q ']'"
).
format
"'[ ' P ={ E }▷=∗ '/' Q ']'"
).
(** Big Ops *)
Reserved
Notation
"'[∗' 'list]' k ↦ x ∈ l , P"
...
...
theories/program_logic/weakestpre.v
View file @
3660c994
...
...
@@ -54,35 +54,35 @@ Instance: Params (@wp) 6.
Notation
"'WP' e @ s ; E {{ Φ } }"
:
=
(
wp
s
E
e
%
E
Φ
)
(
at
level
20
,
e
,
Φ
at
level
200
,
format
"'[
hv
' 'WP' e '/' @ s ; E {{ Φ } } ']'"
)
:
bi_scope
.
format
"'[' 'WP' e '/' @ s ; E {{ Φ } } ']'"
)
:
bi_scope
.
Notation
"'WP' e @ E {{ Φ } }"
:
=
(
wp
NotStuck
E
e
%
E
Φ
)
(
at
level
20
,
e
,
Φ
at
level
200
,
format
"'[
hv
' 'WP' e '/' @ E {{ Φ } } ']'"
)
:
bi_scope
.
format
"'[' 'WP' e '/' @ E {{ Φ } } ']'"
)
:
bi_scope
.
Notation
"'WP' e @ E ? {{ Φ } }"
:
=
(
wp
MaybeStuck
E
e
%
E
Φ
)
(
at
level
20
,
e
,
Φ
at
level
200
,
format
"'[
hv
' 'WP' e '/' @ E ? {{ Φ } } ']'"
)
:
bi_scope
.
format
"'[' 'WP' e '/' @ E ? {{ Φ } } ']'"
)
:
bi_scope
.
Notation
"'WP' e {{ Φ } }"
:
=
(
wp
NotStuck
⊤
e
%
E
Φ
)
(
at
level
20
,
e
,
Φ
at
level
200
,
format
"'[
hv
' 'WP' e '/' {{ Φ } } ']'"
)
:
bi_scope
.
format
"'[' 'WP' e '/' {{ Φ } } ']'"
)
:
bi_scope
.
Notation
"'WP' e ? {{ Φ } }"
:
=
(
wp
MaybeStuck
⊤
e
%
E
Φ
)
(
at
level
20
,
e
,
Φ
at
level
200
,
format
"'[
hv
' 'WP' e '/' ? {{ Φ } } ']'"
)
:
bi_scope
.
format
"'[' 'WP' e '/' ? {{ Φ } } ']'"
)
:
bi_scope
.
Notation
"'WP' e @ s ; E {{ v , Q } }"
:
=
(
wp
s
E
e
%
E
(
λ
v
,
Q
))
(
at
level
20
,
e
,
Q
at
level
200
,
format
"'[
hv
' 'WP' e '/' @ s ; E {{ v , Q } } ']'"
)
:
bi_scope
.
format
"'[' 'WP' e '/' @ s ; E {{ v , Q } } ']'"
)
:
bi_scope
.
Notation
"'WP' e @ E {{ v , Q } }"
:
=
(
wp
NotStuck
E
e
%
E
(
λ
v
,
Q
))
(
at
level
20
,
e
,
Q
at
level
200
,
format
"'[
hv
' 'WP' e '/' @ E {{ v , Q } } ']'"
)
:
bi_scope
.
format
"'[' 'WP' e '/' @ E {{ v , Q } } ']'"
)
:
bi_scope
.
Notation
"'WP' e @ E ? {{ v , Q } }"
:
=
(
wp
MaybeStuck
E
e
%
E
(
λ
v
,
Q
))
(
at
level
20
,
e
,
Q
at
level
200
,
format
"'[
hv
' 'WP' e '/' @ E ? {{ v , Q } } ']'"
)
:
bi_scope
.
format
"'[' 'WP' e '/' @ E ? {{ v , Q } } ']'"
)
:
bi_scope
.
Notation
"'WP' e {{ v , Q } }"
:
=
(
wp
NotStuck
⊤
e
%
E
(
λ
v
,
Q
))
(
at
level
20
,
e
,
Q
at
level
200
,
format
"'[
hv
' 'WP' e '/' {{ v , Q } } ']'"
)
:
bi_scope
.
format
"'[' 'WP' e '/' {{ v , Q } } ']'"
)
:
bi_scope
.
Notation
"'WP' e ? {{ v , Q } }"
:
=
(
wp
MaybeStuck
⊤
e
%
E
(
λ
v
,
Q
))
(
at
level
20
,
e
,
Q
at
level
200
,
format
"'[
hv
' 'WP' e '/' ? {{ v , Q } } ']'"
)
:
bi_scope
.
format
"'[' 'WP' e '/' ? {{ v , Q } } ']'"
)
:
bi_scope
.
(* Texan triples *)
Notation
"'{{{' P } } } e @ s ; E {{{ x .. y , 'RET' pat ; Q } } }"
:
=
...
...
theories/proofmode/notation.v
View file @
3660c994
...
...
@@ -10,10 +10,10 @@ Arguments Esnoc {_} _%proof_scope _%string _%I.
Notation
""
:
=
Enil
(
only
printing
)
:
proof_scope
.
Notation
"Γ H : P"
:
=
(
Esnoc
Γ
(
INamed
H
)
P
)
(
at
level
1
,
P
at
level
200
,
left
associativity
,
format
"Γ H : '[
hv
' P ']' '//'"
,
only
printing
)
:
proof_scope
.
left
associativity
,
format
"Γ H : '[' P ']' '//'"
,
only
printing
)
:
proof_scope
.
Notation
"Γ '_' : P"
:
=
(
Esnoc
Γ
(
IAnon
_
)
P
)
(
at
level
1
,
P
at
level
200
,
left
associativity
,
format
"Γ '_' : '[
hv
' P ']' '//'"
,
only
printing
)
:
proof_scope
.
left
associativity
,
format
"Γ '_' : '[' P ']' '//'"
,
only
printing
)
:
proof_scope
.
Notation
"Γ '--------------------------------------' □ Δ '--------------------------------------' ∗ Q"
:
=
(
envs_entails
(
Envs
Γ
Δ
_
)
Q
%
I
)
...
...
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