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-coq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marianna Rapoport
iris-coq
Commits
679d06d1
Commit
679d06d1
authored
Oct 27, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify Texan triple notations.
parent
c1120a90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
16 deletions
+14
-16
program_logic/weakestpre.v
program_logic/weakestpre.v
+14
-16
No files found.
program_logic/weakestpre.v
View file @
679d06d1
...
...
@@ -51,26 +51,24 @@ Notation "'WP' e {{ v , Q } }" := (wp ⊤ e%E (λ v, Q))
format
"'WP' e {{ v , Q } }"
)
:
uPred_scope
.
(* Texan triples *)
Notation
"'{{{'
pre } } } e {{{ x .. y ; pat , post
} } }"
:
=
(
∀
(
ψ
:
_
→
uPred
_
)
,
(
pre
★
▷
(
∀
x
,
..
(
∀
y
,
post
-
★
ψ
(
pat
)%
V
)
..
)%
I
)
⊢
WP
e
{{
ψ
}})
Notation
"'{{{'
P } } } e {{{ x .. y ; pat , Q
} } }"
:
=
(
∀
Φ
:
_
→
uPred
_
,
P
★
▷
(
∀
x
,
..
(
∀
y
,
Q
-
★
Φ
pat
%
V
)
..
)
⊢
WP
e
{{
Φ
}})
(
at
level
20
,
x
closed
binder
,
y
closed
binder
,
format
"{{{
pre } } } e {{{ x .. y ; pat , post
} } }"
)
:
C_scope
.
Notation
"'{{{'
pre } } } e @ E {{{ x .. y ; pat , post
} } }"
:
=
(
∀
(
ψ
:
_
→
uPred
_
)
,
(
pre
★
▷
(
∀
x
,
..
(
∀
y
,
post
-
★
ψ
(
pat
)%
V
)
..
)%
I
)
⊢
WP
e
@
E
{{
ψ
}})
format
"{{{
P } } } e {{{ x .. y ; pat , Q
} } }"
)
:
C_scope
.
Notation
"'{{{'
P } } } e @ E {{{ x .. y ; pat , Q
} } }"
:
=
(
∀
Φ
:
_
→
uPred
_
,
P
★
▷
(
∀
x
,
..
(
∀
y
,
Q
-
★
Φ
pat
%
V
)
..
)
⊢
WP
e
@
E
{{
Φ
}})
(
at
level
20
,
x
closed
binder
,
y
closed
binder
,
format
"{{{ pre } } } e @ E {{{ x .. y ; pat , post } } }"
)
:
C_scope
.
Notation
"'{{{' pre } } } e {{{ ; pat , post } } }"
:
=
(
∀
(
ψ
:
_
→
uPred
_
),
(
pre
★
▷
(
post
-
★
ψ
(
pat
)%
V
)%
I
)
⊢
WP
e
{{
ψ
}})
format
"{{{ P } } } e @ E {{{ x .. y ; pat , Q } } }"
)
:
C_scope
.
Notation
"'{{{' P } } } e {{{ ; pat , Q } } }"
:
=
(
∀
Φ
:
_
→
uPred
_
,
P
★
▷
(
Q
-
★
Φ
pat
%
V
)
⊢
WP
e
{{
Φ
}})
(
at
level
20
,
format
"{{{ pre } } } e {{{ ; pat , post } } }"
)
:
C_scope
.
Notation
"'{{{' pre } } } e @ E {{{ ; pat , post } } }"
:
=
(
∀
(
ψ
:
_
→
uPred
_
),
(
pre
★
▷
(
post
-
★
ψ
(
pat
)%
V
)%
I
)
⊢
WP
e
@
E
{{
ψ
}})
format
"{{{ P } } } e {{{ ; pat , Q } } }"
)
:
C_scope
.
Notation
"'{{{' P } } } e @ E {{{ ; pat , Q } } }"
:
=
(
∀
Φ
:
_
→
uPred
_
,
P
★
▷
(
Q
-
★
Φ
pat
%
V
)
⊢
WP
e
@
E
{{
Φ
}})
(
at
level
20
,
format
"{{{
pre } } } e @ E {{{ ; pat , post
} } }"
)
:
C_scope
.
format
"{{{
P } } } e @ E {{{ ; pat , Q
} } }"
)
:
C_scope
.
Section
wp
.
Context
`
{
irisG
Λ
Σ
}.
...
...
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