Skip to content

Commit

Permalink
Put the speed testing back.
Browse files Browse the repository at this point in the history
  • Loading branch information
favonia committed Aug 18, 2018
1 parent 135c9ea commit bbd1b84
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions example/omega1s1-wip.red
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,28 @@ let winding-loopn (n : int) : Path int (winding (loopn n)) n =
| suc (n ⇒ loopn) ⇒ λ i → pred (loopn i)
]
]


; speed test

let two : int = pos (suc (suc zero))

let winding-loop-testing0 : Path int two (winding (loopn two)) =
auto

let nat/five : nat =
suc (suc (suc (suc (suc zero))))

let nat/25 : nat =
plus nat/five (plus nat/five (plus nat/five (plus nat/five nat/five)))

let int/50 : int =
pos (plus nat/25 nat/25)

let int/5 : int = pos nat/five

let winding-test/5 : Path int int/5 (winding (loopn int/5)) =
auto

let winding-test/50 : Path int int/50 (winding (loopn int/50)) =
auto

0 comments on commit bbd1b84

Please sign in to comment.