Skip to content
Snippets Groups Projects
Commit 5abb67e0 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

More automated proof of `erased_steps_nsteps`.

parent 326a6f8a
No related branches found
No related tags found
No related merge requests found
...@@ -119,13 +119,12 @@ Section language. ...@@ -119,13 +119,12 @@ Section language.
(** [rtc erased_step] and [nsteps] encode the same thing, just packaged (** [rtc erased_step] and [nsteps] encode the same thing, just packaged
in a different way. *) in a different way. *)
Lemma erased_steps_nsteps ρ1 ρ2 : Lemma erased_steps_nsteps ρ1 ρ2 :
rtc erased_step ρ1 ρ2 rtc erased_step ρ1 ρ2 n κs, nsteps n ρ1 κs ρ2.
n κs, nsteps n ρ1 κs ρ2.
Proof. Proof.
split. split.
- induction 1; firstorder; eauto. (* FIXME: [naive_solver eauto] should be able to handle this *) - induction 1; firstorder eauto. (* FIXME: [naive_solver eauto] should be able to handle this *)
- intros (n & κs & Hsteps). induction Hsteps; first done. econstructor; last done. - intros (n & κs & Hsteps). unfold erased_step.
eexists. done. induction Hsteps; eauto using rtc_refl, rtc_l.
Qed. Qed.
Lemma of_to_val_flip v e : of_val v = e to_val e = Some v. Lemma of_to_val_flip v e : of_val v = e to_val e = Some v.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment