lean4-htt/tests/lean/run/cases_bug.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
127 B
Text

theorem cast_heq₂ : ∀ {A B : Type} (H : A = B) (a : A), cast H a == a
| A .(A) (eq.refl .(A)) a := heq_of_eq $ cast_eq _ _