Skip to content

Commit

Permalink
Merge pull request #147 from gares/fix-ssr-have-opacity
Browse files Browse the repository at this point in the history
simplify proofs
  • Loading branch information
palmskog authored May 17, 2024
2 parents 8f7fe47 + 08c7187 commit b7f7784
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 b7f7784

Please sign in to comment.