Skip to content

Commit

Permalink
reduce output
Browse files Browse the repository at this point in the history
  • Loading branch information
garrigue committed Jan 23, 2024
1 parent cf087d7 commit 39056ec
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions example_typed_store.v
Original file line number Diff line number Diff line change
Expand Up @@ -404,24 +404,19 @@ Definition it2 := Restart it1 (do l <- FromW l; incr l).
Eval vm_compute in it2.

Local Notation cycle := (cycle idfun M).
Local Notation hd := (hd idfun M).
Local Notation rhd := (rhd idfun M).
Local Notation rtl := (rtl idfun M).

Definition it3 := Restart it2 (cycle ml_bool true false).
Eval vm_compute in it3.

Definition it4 := Restart it3 (do l <- FromW it3; Ret (hd ml_bool false l)).
Eval vm_compute in it4.
Eval vm_compute in crun (FromW it4).
Eval vm_compute in crun (FromW it3).

Local Notation tl := (tl idfun M).
Definition it4 := Restart it3 (do l <- FromW it3; Ret (rhd ml_bool false l)).

Definition it5 := Restart it4
(do l0 <- FromW it3;
do l1 <- tl _ l0;
do l2 <- tl _ l1;
Ret (hd ml_bool false l2)).
Eval vm_compute in it5.
Eval vm_compute in crun (FromW it5).
do l1 <- rtl _ l0;
do l2 <- rtl _ l1;
Ret (rhd ml_bool false l2)).

End eval.
End eval_cyclic.
Expand Down

0 comments on commit 39056ec

Please sign in to comment.