kernel-Int.even_add
- Kind
- kernel-term
- Status
- checked
Supports: The proposition declared as `Int.even_add` in the pinned Mathlib v4.30 source.
cargo test -p axeyum-lean-kernel --lib int_prelude:: Evidence notes
`Int.even_add` in `crates/axeyum-lean-kernel/src/int_prelude/parity.rs` (`declare_even_add`). Mirrors Mathlib v4.30's `Int.even_add` verbatim. Proved via the additive compatibility law for `emod` (`modeq_add`, built from `Int.ModEq`'s already-general `mod_eq_add_right`/`mod_eq_add_left`/`mod_eq_trans` in `modeq.rs` -- no fresh `Int.rec` case split on `Int.add`'s branch table was needed) plus the converses of the already-landed `even_implies_emod_zero`/`odd_implies_emod_one` (`emod_zero_implies_even`/`emod_one_implies_odd`, new in this lane). A four-way case split on `m`'s and `n`'s parity (`emod_two_eq_zero_or_one`) closes each combination via a generic `Iff`-combinator (`iff_fact`).