kernel-Int.ediv_two_mul_two_of_even
- Kind
- kernel-term
- Status
- checked
Supports: The proposition declared as `Int.ediv_two_mul_two_of_even` in the pinned Mathlib v4.30 source.
cargo test -p axeyum-lean-kernel --lib int_prelude:: Evidence notes
`Int.ediv_two_mul_two_of_even` in `crates/axeyum-lean-kernel/src/int_prelude/parity.rs` (`declare_ediv_two_mul_two_of_even`). Mirrors Mathlib v4.30's `Int.ediv_two_mul_two_of_even` (`Mathlib/Algebra/Group/Int/Even.lean`) verbatim. From `Int.ediv_add_emod` at `b := 2`: `Even n` gives `n % 2 = 0` (a new case-split helper `even_implies_emod_zero`, through `Nat.even_iff_mod_two_eq_zero` in the `ofNat` branch and a contrapositive through `Nat.even_iff_odd_succ` in the `negSucc` branch), rewritten via `add_zero` then `mul_comm` to swap `2*(n/2)` into `(n/2)*2`.