chore(library/init/data/nat/basic): avoid empty set of equations

This commit is contained in:
Leonardo de Moura 2019-07-16 13:13:04 -07:00
parent a52f67cea8
commit 86d7904ea7

View file

@ -258,7 +258,8 @@ succLeSucc (zeroLe n)
def succPos := zeroLtSucc
theorem notSuccLeZero : ∀ (n : Nat), succ n ≤ 0 → False
.
| 0 h := nomatch h
| (n+1) h := nomatch h
theorem notLtZero (n : Nat) : ¬ n < 0 :=
notSuccLeZero n