lean4-htt/tests/lean/run/644.lean
2021-08-22 18:41:02 -07:00

3 lines
84 B
Text

def Bool.ofFin2 : Fin 2 → Bool
| ⟨0, _⟩ => false
| ⟨1, _⟩ => true