Skip to content

Commit

Permalink
simplify proofs
Browse files Browse the repository at this point in the history
  • Loading branch information
gares committed May 17, 2024
1 parent 8f7fe47 commit 08c7187
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions theories/Core/TotalMapExecutionSimulations.v
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ apply: (@Cons_lb_step_exec _ _ _ _ _ _ (List.map tot_map_trace_occ tr)) => /=.
- simpl in *.
find_rewrite.
by rewrite map_app.
- set e0 := {| evt_a := _ ; evt_l := _ ; evt_trace := _ |}.
have ->: e0 = tot_map_net_event e' by [].
pose s' := Cons e' s0.
- pose s' := Cons e' s0.
rewrite (tot_map_net_event_map_unfold s').
exact: c.
Qed.
Expand Down Expand Up @@ -291,9 +289,7 @@ apply: (@Cons_lb_step_exec _ _ _ _ _ _ (List.map tot_map_trace tr)) => /=.
- simpl in *.
find_rewrite.
by rewrite map_app.
- set e0 := {| evt_a := _ ; evt_l := _ ; evt_trace := _ |}.
have ->: e0 = tot_map_onet_event e' by [].
pose s' := Cons e' s0.
- pose s' := Cons e' s0.
rewrite (tot_map_onet_event_map_unfold s').
exact: c.
Qed.
Expand Down Expand Up @@ -448,9 +444,7 @@ apply: (@Cons_lb_step_exec _ _ _ _ _ _ (List.map tot_map_trace tr)) => /=.
- simpl in *.
find_rewrite.
by rewrite map_app.
- set e0 := {| evt_a := _ ; evt_l := _ ; evt_trace := _ |}.
have ->: e0 = tot_map_odnet_event e' by [].
pose s' := Cons e' s0.
- pose s' := Cons e' s0.
rewrite (tot_map_odnet_event_map_unfold s').
exact: c.
Qed.
Expand Down

0 comments on commit 08c7187

Please sign in to comment.