lean4-htt/tests/lean/run/cases_crash1.lean
Daniel Selsam a9b01991c2 feat(frontends/lean/inductive_cmd): new frontend for the inductive cmd
Conflicts:
	src/frontends/lean/CMakeLists.txt
	src/frontends/lean/structure_cmd.h
2016-08-17 07:34:03 -07:00

12 lines
349 B
Text

open tactic
axiom Sorry : ∀ A : Type, A
inductive Enum : Type | ea | eb | ec | ed
attribute [instance]
noncomputable definition Enum_dec_eq : decidable_eq Enum :=
by do a ← intro `a, cases a,
b ← intro `b, cases b,
right >> reflexivity,
try (left >> intro `H >>= cases),
repeat $ intros >> mk_const `Sorry >>= apply