lean2/tests/lean/run/opaque_hint_bug.lean
Leonardo de Moura 364bba2129 feat(frontends/lean/inductive_cmd): prefix introduction rules with the name of the inductive datatype
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 17:26:36 -07:00

14 lines
242 B
Text

inductive list (T : Type) : Type :=
nil {} : list T,
cons : T → list T → list T
section
variable {T : Type}
definition concat (s t : list T) : list T
:= list.rec t (fun x l u, list.cons x u) s
opaque_hint (hiding concat)
end