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
Terraform modules
Monitor
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
Yixuan Chen
Iris
Commits
1d937ab3
Commit
1d937ab3
authored
3 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
make f_contractive consistent with f_equiv
parent
9ed67339
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iris/algebra/ofe.v
+6
-4
6 additions, 4 deletions
iris/algebra/ofe.v
with
6 additions
and
4 deletions
iris/algebra/ofe.v
+
6
−
4
View file @
1d937ab3
...
@@ -253,15 +253,17 @@ End contractive.
...
@@ -253,15 +253,17 @@ End contractive.
Ltac
f_contractive
:=
Ltac
f_contractive
:=
match
goal
with
match
goal
with
|
|
-
?f
_
≡
{_}
≡
?f
_
=>
simple
apply
(_
:
Proper
(
dist_later
_
==>
_)
f
)
|
|
-
?f
_
≡
{_}
≡
?f
_
=>
simple
apply
(_
:
Proper
(
dist_later
_
==>
dist
_)
f
)
|
|
-
?f
_
_
≡
{_}
≡
?f
_
_
=>
simple
apply
(_
:
Proper
(
dist_later
_
==>
_
==>
_)
f
)
|
|
-
?f
_
_
≡
{_}
≡
?f
_
_
=>
simple
apply
(_
:
Proper
(
dist_later
_
==>
_
==>
dist
_)
f
)
|
|
-
?f
_
_
≡
{_}
≡
?f
_
_
=>
simple
apply
(_
:
Proper
(_
==>
dist_later
_
==>
_)
f
)
|
|
-
?f
_
_
≡
{_}
≡
?f
_
_
=>
simple
apply
(_
:
Proper
(_
==>
dist_later
_
==>
dist
_)
f
)
end
;
end
;
try
match
goal
with
try
match
goal
with
|
|
-
@
dist_later
?A
_
?n
?x
?y
=>
|
|
-
@
dist_later
?A
_
?n
?x
?y
=>
destruct
n
as
[|
n
];
[
exact
I
|
change
(
@
dist
A
_
n
x
y
)]
destruct
n
as
[|
n
];
[
exact
I
|
change
(
@
dist
A
_
n
x
y
)]
end
;
end
;
try
simple
apply
reflexivity
.
(* Only try reflexivity if the terms are syntactically equal. This avoids
very expensive failing unification. *)
try
match
goal
with
|
-
_
?x
?x
=>
simple
apply
reflexivity
end
.
Ltac
solve_contractive
:=
Ltac
solve_contractive
:=
solve_proper_core
ltac
:(
fun
_
=>
first
[
f_contractive
|
f_equiv
])
.
solve_proper_core
ltac
:(
fun
_
=>
first
[
f_contractive
|
f_equiv
])
.
...
...
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