lean4-htt/tests/lean/run/opaque_hint_bug.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

13 lines
236 B
Text

inductive List (T : Type) : Type
| nil {} : List
| cons : T → List → List
section
variable {T : Type}
definition concat (s t : List T) : List T
:= List.rec t (fun x l u, List.cons x u) s
attribute concat [reducible]
end