lean2/tests/lean/run/opaque_hint_bug.lean
Leonardo de Moura 4f2e0c6d7f refactor(frontends/lean): add 'attribute' command
The new command provides a uniform way to set declaration attributes.
It replaces the commands: class, instance, coercion, multiple_instances,
reducible, irreducible
2015-01-24 20:23:21 -08:00

13 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
attribute concat [reducible]
end