Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Tej Chajed
iris
Commits
3967e715
Commit
3967e715
authored
9 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Variant of setoid_subst for individual variable.
parent
5704668c
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
modures/cofe.v
+8
-1
8 additions, 1 deletion
modures/cofe.v
with
8 additions
and
1 deletion
modures/cofe.v
+
8
−
1
View file @
3967e715
...
...
@@ -7,7 +7,14 @@ Notation "x ={ n }= y" := (dist n x y)
(
at
level
70
,
n
at
next
level
,
format
"x ={ n }= y"
)
.
Hint
Extern
0
(
?x
=
{_}
=
?x
)
=>
reflexivity
.
Hint
Extern
0
(_
=
{_}
=
_)
=>
symmetry
;
assumption
.
Ltac
cofe_subst
:=
Tactic
Notation
"cofe_subst"
ident
(
x
)
:=
repeat
match
goal
with
|
_
=>
progress
simplify_equality'
|
H
:
@
dist
?A
?d
?n
x
_
|
-
_
=>
setoid_subst_aux
(
@
dist
A
d
n
)
x
|
H
:
@
dist
?A
?d
?n
_
x
|
-
_
=>
symmetry
in
H
;
setoid_subst_aux
(
@
dist
A
d
n
)
x
end
.
Tactic
Notation
"cofe_subst"
:=
repeat
match
goal
with
|
_
=>
progress
simplify_equality'
|
H
:
@
dist
?A
?d
?n
?x
_
|
-
_
=>
setoid_subst_aux
(
@
dist
A
d
n
)
x
...
...
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