lean2/tests/lean/run/pattern2.lean

18 lines
274 B
Text
Raw Normal View History

constant f : nat → nat → nat
constant g : nat → nat → nat
attribute g [no_pattern]
namespace foo
definition lemma1 [forward] {a b : nat} : f a b = g a b :=
sorry
end foo
print foo.lemma1
open foo
print foo.lemma1
attribute foo.lemma1 [forward]
print foo.lemma1