kernel-Int.even_add_one
- Kind
- kernel-term
- Status
- checked
Supports: The proposition declared as `Int.even_add_one` in the pinned Mathlib v4.30 source.
cargo test -p axeyum-lean-kernel --lib int_prelude:: Evidence notes
`Int.even_add_one` in `crates/axeyum-lean-kernel/src/int_prelude/parity.rs` (`declare_even_add_one`). Mirrors Mathlib v4.30's `Int.even_add_one` verbatim. A two-case (not four-case) specialisation of the same additive-`emod` machinery as `Int.even_add`/`Int.even_add'`: `add_one_parity_hyp` computes `(n+1)`'s residue via `modeq_add` with the second addend's `ModEq` fixed to `Int.mod_eq_refl` (since `ModEq 2 one one` needs no case split), then reads the parity back off via `emod_zero_implies_even`/`emod_one_implies_odd`.