Adelfa Home

Every natural number is either even or odd

Specification

[View even-or-odd.lf]
nat : type.
z : nat.
s : {x:nat} nat.

even : {N:nat} type.
odd : {N:nat} type.
even-z : even z.
even-s : {N:nat}{O: odd N} even (s N).
odd-s : {N:nat}{E: even N} odd (s N).

Reasoning

[View even-or-odd.ath]

Click on a command or tactic to see a detailed view of its use.

Specification "even-or-odd.lf".

Theorem even-or-odd :
  forall N, {N : nat} => (exists D, {D : even N}) \/ (exists D, {D : odd N}).