Skip to content

Commit

Permalink
Some work on the extra model_E1E2_L3_orutt_strict admits.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chobbes committed Jul 4, 2023
1 parent b954bbd commit fa3bf96
Showing 1 changed file with 54 additions and 2 deletions.
56 changes: 54 additions & 2 deletions src/coq/Semantics/InfiniteToFinite.v
Original file line number Diff line number Diff line change
Expand Up @@ -19619,7 +19619,8 @@ intros addr_fin addr_inf ms_fin ms_inf byte_inf byte_fin MSR ADDR_CONV BYTE_REF
revert Heqr'.

dependent induction REL; intros Heqr'.
- subst.
- (* oruttF's EqRet *)
subst.
apply interp_memory_prop_ret_inv in RUN.
destruct RUN as [[r3 [REQ EQ]] | [A [e [k EUTT]]]]; subst.
2: {
Expand Down Expand Up @@ -19661,7 +19662,8 @@ intros addr_fin addr_inf ms_fin ms_inf byte_inf byte_fin MSR ADDR_CONV BYTE_REF
pose proof (fin_to_inf_dvalue_refine_strict d).

apply fin_to_inf_dvalue_refine_strict'; auto.
- punfold RUN.
- (* oruttF's EqTau *)
punfold RUN.
red in RUN.
cbn in RUN.

Expand Down Expand Up @@ -21320,6 +21322,56 @@ intros addr_fin addr_inf ms_fin ms_inf byte_inf byte_fin MSR ADDR_CONV BYTE_REF
unfold raiseOOM.
rewrite bind_trigger.
reflexivity.
}

+ specialize (EQ t2); contradiction.
+ (* OOM *)
destruct e.
punfold HT1; red in HT1; cbn in HT1.
dependent induction HT1.
rewrite <- x.
pstep.
red.
eapply Interp_Memory_PropT_Vis_OOM.
rewrite get_inf_tree_equation.
cbn.
unfold raiseOOM.
rewrite bind_trigger.
reflexivity.
- (* oruttF's EqVis case *)
red in RUN.
cbn in RUN.
admit.
- (* oruttF's EqVisOOM *)
destruct e.
repeat red in RUN.
punfold RUN. red in RUN. cbn in RUN.
admit.
- (* oruttF's EqTauL *)
forward IHREL; [exact RUN|].
forward IHREL; auto.
pfold. red. constructor; auto.
punfold IHREL.
- (* oruttF's EqTauR *)
forward IHREL.
{ repeat red.
repeat red in RUN.
cbn in *.
rewrite tau_eutt in RUN.
rewrite <- itree_eta.
exact RUN.
}

forward IHREL; auto.
Qed.



destruct e.


rewrite HT1.
eapply Interp_Memory_PropT_Vis_OOM.

- (* TauL *)
pclearbot.
Expand Down

0 comments on commit fa3bf96

Please sign in to comment.