lean4-htt/tests/lean/run/finLit.lean
Leonardo de Moura 2061c9bbea chore: reduce test size
TODO: investigate why there is a stack overflow in the CI.
I didn't manage to reproduce it on my machine.
2022-07-04 13:58:06 -07:00

24 lines
310 B
Text

def f : Fin 2 → Nat
| 0 => 5
| 1 => 45
example : f 0 = 5 := rfl
example : f 1 = 45 := rfl
def g : Fin 11 → Nat
| 0 => 5
| 1 => 10
| 2 => 15
| 3 => 2
| 4 => 48
| 5 => 0
| 6 => 87
| 7 => 64
| 8 => 32
| 9 => 64
| 10 => 21
def h : Fin 15 → Nat
| 0 => 5
| 1 => 45
| _ => 50