Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
Iris
Commits
90ba4346
Commit
90ba4346
authored
Oct 27, 2016
by
Ralf Jung
Browse files
add texan triples in uPred_scope
parent
ab1632d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
program_logic/weakestpre.v
View file @
90ba4346
...
...
@@ -51,6 +51,25 @@ Notation "'WP' e {{ v , Q } }" := (wp ⊤ e%E (λ v, Q))
format
"'WP' e {{ v , Q } }"
)
:
uPred_scope
.
(* Texan triples *)
Notation
"'{{{' P } } } e {{{ x .. y ; pat , Q } } }"
:
=
(
□
∀
Φ
,
P
★
▷
(
∀
x
,
..
(
∀
y
,
Q
-
★
Φ
pat
%
V
)
..
)
-
★
WP
e
{{
Φ
}})%
I
(
at
level
20
,
x
closed
binder
,
y
closed
binder
,
format
"{{{ P } } } e {{{ x .. y ; pat , Q } } }"
)
:
uPred_scope
.
Notation
"'{{{' P } } } e @ E {{{ x .. y ; pat , Q } } }"
:
=
(
□
∀
Φ
,
P
★
▷
(
∀
x
,
..
(
∀
y
,
Q
-
★
Φ
pat
%
V
)
..
)
-
★
WP
e
@
E
{{
Φ
}})%
I
(
at
level
20
,
x
closed
binder
,
y
closed
binder
,
format
"{{{ P } } } e @ E {{{ x .. y ; pat , Q } } }"
)
:
uPred_scope
.
Notation
"'{{{' P } } } e {{{ ; pat , Q } } }"
:
=
(
□
∀
Φ
,
P
★
▷
(
Q
-
★
Φ
pat
%
V
)
-
★
WP
e
{{
Φ
}})%
I
(
at
level
20
,
format
"{{{ P } } } e {{{ ; pat , Q } } }"
)
:
uPred_scope
.
Notation
"'{{{' P } } } e @ E {{{ ; pat , Q } } }"
:
=
(
□
∀
Φ
,
P
★
▷
(
Q
-
★
Φ
pat
%
V
)
-
★
WP
e
@
E
{{
Φ
}})%
I
(
at
level
20
,
format
"{{{ P } } } e @ E {{{ ; pat , Q } } }"
)
:
uPred_scope
.
Notation
"'{{{' P } } } e {{{ x .. y ; pat , Q } } }"
:
=
(
∀
Φ
:
_
→
uPred
_
,
P
★
▷
(
∀
x
,
..
(
∀
y
,
Q
-
★
Φ
pat
%
V
)
..
)
⊢
WP
e
{{
Φ
}})
...
...
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