Commit d87541bc authored by Ralf Jung's avatar Ralf Jung
Browse files

Merge branch 'ralf/fixpoint_unfold' into 'master'

give some help for using fixpoint_unfold

See merge request iris/iris!749
parents 53ec94ec d4dd8716
...@@ -340,6 +340,9 @@ Definition fixpoint_eq : @fixpoint = @fixpoint_def := fixpoint_aux.(seal_eq). ...@@ -340,6 +340,9 @@ Definition fixpoint_eq : @fixpoint = @fixpoint_def := fixpoint_aux.(seal_eq).
Section fixpoint. Section fixpoint.
Context `{Cofe A, Inhabited A} (f : A A) `{!Contractive f}. Context `{Cofe A, Inhabited A} (f : A A) `{!Contractive f}.
(** This lemma does not work well with [rewrite]; we usually define a specific
unfolding lemma for each fixpoint and then [apply fixpoint_unfold] in the
proof of that unfolding lemma. *)
Lemma fixpoint_unfold : fixpoint f f (fixpoint f). Lemma fixpoint_unfold : fixpoint f f (fixpoint f).
Proof. Proof.
apply equiv_dist=>n. apply equiv_dist=>n.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment