Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Iris
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
78
Issues
78
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
Iris
Commits
b5fcf2eb
Commit
b5fcf2eb
authored
May 04, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More consistent specialization patterns for iAssert.
parent
c7bd7639
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tactics.v
proofmode/tactics.v
+3
-3
No files found.
proofmode/tactics.v
View file @
b5fcf2eb
...
...
@@ -694,14 +694,14 @@ Tactic Notation "iLöb" "{" ident(x1) ident(x2) ident(x3) ident(x4)
(** * Assert *)
Tactic
Notation
"iAssert"
constr
(
Q
)
"as"
constr
(
pat
)
"with"
constr
(
Hs
)
:=
let
H
:=
iFresh
in
let
Hs
:=
spec_pat
.
parse
_one
Hs
in
let
Hs
:=
spec_pat
.
parse
Hs
in
lazymatch
Hs
with
|
SAssert
?
lr
?
Hs
=>
|
[
SAssert
?
lr
?
Hs
]
=>
eapply
tac_assert
with
_
_
_
lr
Hs
H
Q
;
(* (js:=Hs) (j:=H) (P:=Q) *)
[
env_cbv
;
reflexivity
||
fail
"iAssert:"
Hs
"not found"
|
env_cbv
;
reflexivity
|
|
iDestructHyp
H
as
pat
]
|
SPersistent
=>
|
[
SAssert
true
[]
::
SAlways
]
=>
eapply
tac_assert_persistent
with
_
H
Q
;
(* (j:=H) (P:=Q) *)
[
apply
_
||
fail
"iAssert:"
Q
"not persistent"
|
env_cbv
;
reflexivity
|
...
...
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