AFTD Auto-Formalizing Theoretical Domains

odd_succ_of_even

theoremverified

If k is an even natural number, then k + 1 is an odd natural number.

Statement

theorem odd_succ_of_even {k : ℕ} (h : Even k) : Odd (k + 1)
Source
folklore
Verified
19 Nov 2026
Axioms
propext

Read back from the Lean

For every natural number $k$, if $k$ is even, then $k + 1$ is odd.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

The statement follows directly by applying the standard lemma `Even.add_one` to the assumption that k is even.

  1. k + 1 is odd.

    This is an immediate application of the lemma `Even.add_one`, which states that adding 1 to an even element of a semiring yields an odd element.

    line 2

    uses Even.add_one

    theorem odd_succ_of_even {k : ℕ} (h : Even k) : Odd (k + 1) := Even.add_one h
Even.add_one
If a is even in a semiring, then a + 1 is odd.

Written by a model (gemini-3.8-flash) from the Lean source alone (no goal states were available). Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- The successor of an even natural number is odd. -/theorem odd_succ_of_even {k : ℕ} (h : Even k) : Odd (k + 1) := Even.add_one h
See it in the graphDiscuss this resultChallenge it