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
Joshua Yanovski
iris-coq
Commits
fe82f3a4
Commit
fe82f3a4
authored
Aug 22, 2016
by
Robbert Krebbers
Browse files
Simplify proof of fixpoint_unique.
parent
738d8bcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
algebra/cofe.v
View file @
fe82f3a4
...
...
@@ -198,11 +198,9 @@ Section fixpoint.
Lemma
fixpoint_unique
(
x
:
A
)
:
x
≡
f
x
→
x
≡
fixpoint
f
.
Proof
.
rewrite
!
equiv_dist
=>
Hx
n
.
rewrite
fixpoint_eq
/
fixpoint_def
(
conv_compl
n
(
fixpoint_chain
f
))
//=.
induction
n
as
[
|
n
IH
];
simpl
in
*
.
-
rewrite
Hx
;
eauto
using
contractive_0
.
-
rewrite
Hx
.
apply
(
contractive_S
_
),
IH
.
rewrite
!
equiv_dist
=>
Hx
n
.
induction
n
as
[
|
n
IH
];
simpl
in
*
.
-
rewrite
Hx
fixpoint_unfold
;
eauto
using
contractive_0
.
-
rewrite
Hx
fixpoint_unfold
.
apply
(
contractive_S
_
),
IH
.
Qed
.
Lemma
fixpoint_ne
(
g
:
A
→
A
)
`
{!
Contractive
g
}
n
:
...
...
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