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
46e7af84
Commit
46e7af84
authored
Apr 27, 2019
by
Robbert Krebbers
Browse files
Add comments.
parent
1595e35f
Pipeline
#16333
passed with stage
in 12 minutes and 36 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
theories/proofmode/reduction.v
View file @
46e7af84
...
...
@@ -20,6 +20,8 @@ Declare Reduction pm_eval := cbv [
Ltac
pm_eval
t
:
=
eval
pm_eval
in
t
.
Ltac
pm_reduce
:
=
(* Use [convert_concl_no_check] instead of [change] to avoid performing the
conversion check twice. *)
match
goal
with
|-
?u
=>
let
v
:
=
pm_eval
u
in
convert_concl_no_check
v
end
.
Ltac
pm_reflexivity
:
=
pm_reduce
;
exact
eq_refl
.
...
...
@@ -34,4 +36,6 @@ Declare Reduction pm_prettify := cbn [
bi_tforall
bi_texist
].
Ltac
pm_prettify
:
=
(* Use [convert_concl_no_check] instead of [change] to avoid performing the
conversion check twice. *)
match
goal
with
|-
?u
=>
let
v
:
=
eval
pm_prettify
in
u
in
convert_concl_no_check
v
end
.
Write
Preview
Supports
Markdown
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