lean4-htt/tests/lean/run/noncomputable_example.lean
2016-09-27 14:39:55 -07:00

7 lines
176 B
Text

open classical sum
noncomputable example (A : Type _) (h : (A → false) → false) : A :=
match type_decidable A with
| (inl ha) := ha
| (inr hna) := false.rec _ (h hna)
end