lean4-htt/tests/lean/run/cases_bug3.lean
Leonardo de Moura 87932f1c56 feat(frontends/lean): change notation for inaccessible patterns
The following are accepted
 .(t)
 ._

We don't accept .t anymore because it will conflict with the field
access notation.
2017-03-28 16:09:15 -07:00

2 lines
97 B
Text

theorem ex {A : Type} : ∀ {a a' : A}, a == a' → a = a'
| a .(a) (heq.refl .(a)) := eq.refl a