Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adam
Iris
Commits
3e55344c
Commit
3e55344c
authored
8 months ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Turn two more uses of `cbv` into `lazy` that involve user terms.
parent
45b4a2d2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iris/proofmode/ltac_tactics.v
+3
-3
3 additions, 3 deletions
iris/proofmode/ltac_tactics.v
with
3 additions
and
3 deletions
iris/proofmode/ltac_tactics.v
+
3
−
3
View file @
3e55344c
...
@@ -1021,7 +1021,7 @@ Tactic Notation "iSpecializeCore" open_constr(H)
...
@@ -1021,7 +1021,7 @@ Tactic Notation "iSpecializeCore" open_constr(H)
(* Check if we should use [tac_specialize_intuitionistic_helper]. Notice
(* Check if we should use [tac_specialize_intuitionistic_helper]. Notice
that [pm_eval] does not unfold [use_tac_specialize_intuitionistic_helper],
that [pm_eval] does not unfold [use_tac_specialize_intuitionistic_helper],
so we should do that first. *)
so we should do that first. *)
let
b
:=
eval
cbv
[
use_tac_specialize_intuitionistic_helper
]
in
let
b
:=
eval
lazy
[
use_tac_specialize_intuitionistic_helper
]
in
(
if
p
then
use_tac_specialize_intuitionistic_helper
Δ
pat
else
false
)
in
(
if
p
then
use_tac_specialize_intuitionistic_helper
Δ
pat
else
false
)
in
lazymatch
eval
pm_eval
in
b
with
lazymatch
eval
pm_eval
in
b
with
|
true
=>
|
true
=>
...
@@ -1030,7 +1030,7 @@ Tactic Notation "iSpecializeCore" open_constr(H)
...
@@ -1030,7 +1030,7 @@ Tactic Notation "iSpecializeCore" open_constr(H)
lazymatch
iTypeOf
H
with
lazymatch
iTypeOf
H
with
|
Some
(
?q
,
_)
=>
|
Some
(
?q
,
_)
=>
let
PROP
:=
iBiOfGoal
in
let
PROP
:=
iBiOfGoal
in
lazymatch
eval
compute
in
(
q
||
tc_to_bool
(
BiAffine
PROP
))
with
lazymatch
eval
lazy
in
(
q
||
tc_to_bool
(
BiAffine
PROP
))
with
|
true
=>
|
true
=>
notypeclasses
refine
(
tac_specialize_intuitionistic_helper
_
H
_
_
_
_
_
_
_
_
_
_);
notypeclasses
refine
(
tac_specialize_intuitionistic_helper
_
H
_
_
_
_
_
_
_
_
_
_);
[
pm_reflexivity
[
pm_reflexivity
...
@@ -1684,7 +1684,7 @@ Tactic Notation "iDestructCore" open_constr(lem) "as" constr(p) tactic3(tac) :=
...
@@ -1684,7 +1684,7 @@ Tactic Notation "iDestructCore" open_constr(lem) "as" constr(p) tactic3(tac) :=
(** This case is used to make the tactic work in [Z_scope]. It would be
(** This case is used to make the tactic work in [Z_scope]. It would be
better if we could bind tactic notation arguments to notation scopes, but
better if we could bind tactic notation arguments to notation scopes, but
that is not supported by Ltac. *)
that is not supported by Ltac. *)
let
n
:=
eval
c
ompute
in
(
Z
.
to_nat
lem
)
in
intro_destruct
n
let
n
:=
eval
c
bv
in
(
Z
.
to_nat
lem
)
in
intro_destruct
n
|
ident
=>
tac
lem
|
ident
=>
tac
lem
|
string
=>
tac
constr
:(
INamed
lem
)
|
string
=>
tac
constr
:(
INamed
lem
)
|
_
=>
iPoseProofCore
lem
as
p
tac
|
_
=>
iPoseProofCore
lem
as
p
tac
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment