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
RefinedC
Commits
b6a5bb68
Commit
b6a5bb68
authored
Nov 24, 2021
by
Michael Sammler
Browse files
Revert "try without li_let_bind"
This reverts commit
067c97c6
.
parent
eeb6411b
Pipeline
#57791
passed with stage
in 11 minutes and 32 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
theories/typing/automation.v
View file @
b6a5bb68
...
...
@@ -95,18 +95,17 @@ End automation.
Ltac
liRIntroduceLetInGoal
:
=
lazymatch
goal
with
|
|-
@
envs_entails
?PROP
?
Δ
?P
=>
let
H
:
=
fresh
"GOAL"
in
lazymatch
P
with
|
@
bi_wand
?PROP
?Q
?T
=>
pose
H
:
=
(
LET_ID
T
)
;
change_no_check
(@
envs_entails
PROP
Δ
(@
bi_wand
PROP
Q
H
))
li_let_bind
T
(
fun
H
=>
constr
:
(@
envs_entails
PROP
Δ
(@
bi_wand
PROP
Q
H
))
)
|
@
typed_val_expr
?
Σ
?tG
?e
?T
=>
pose
(
H
:
=
LET_ID
T
)
;
change_no_check
(@
envs_entails
PROP
Δ
(@
typed_val_expr
Σ
tG
e
H
))
li_let_bind
T
(
fun
H
=>
constr
:
(@
envs_entails
PROP
Δ
(@
typed_val_expr
Σ
tG
e
H
))
)
|
@
typed_write
?
Σ
?tG
?b
?e
?ot
?v
?ty
?Mov
?T
=>
pose
(
H
:
=
LET_ID
T
)
;
change_no_check
(@
envs_entails
PROP
Δ
(@
typed_write
Σ
tG
b
e
ot
v
ty
Mov
H
))
li_let_bind
T
(
fun
H
=>
constr
:
(@
envs_entails
PROP
Δ
(@
typed_write
Σ
tG
b
e
ot
v
ty
Mov
H
))
)
|
@
typed_place
?
Σ
?tG
?P
?l1
?
β
1
?ty1
?T
=>
pose
(
H
:
=
LET_ID
T
)
;
change_no_check
(@
envs_entails
PROP
Δ
(@
typed_place
Σ
tG
P
l1
β
1
ty1
H
))
li_let_bind
T
(
fun
H
=>
constr
:
(@
envs_entails
PROP
Δ
(@
typed_place
Σ
tG
P
l1
β
1
ty1
H
))
)
|
@
typed_bin_op
?
Σ
?tG
?v1
?P1
?v2
?P2
?op
?ot1
?ot2
?T
=>
pose
(
H
:
=
LET_ID
T
)
;
change_no_check
(@
envs_entails
PROP
Δ
(@
typed_bin_op
Σ
tG
v1
P1
v2
P2
op
ot1
ot2
H
))
li_let_bind
T
(
fun
H
=>
constr
:
(@
envs_entails
PROP
Δ
(@
typed_bin_op
Σ
tG
v1
P1
v2
P2
op
ot1
ot2
H
))
)
end
end
.
...
...
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