lean4-htt/tests/lean/run/nary_nomatch.lean
Leonardo de Moura 1f547225d1
feat: nary nomatch (#3285)
Base for https://github.com/leanprover/lean4/pull/3279

---------

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
2024-02-09 00:28:34 +00:00

5 lines
148 B
Text

example (x : Fin n) (h : n = 0) : False :=
nomatch x, h
example (x : Nat) (f : Nat → Fin n) (h : n = 0 ∧ True) : False :=
nomatch f x, h.1