kernel-Int.ediv_two_mul_two_add_one_of_odd
- Kind
- kernel-term
- Status
- checked
Supports: The proposition declared as `Int.ediv_two_mul_two_add_one_of_odd` in the pinned Mathlib v4.30 source.
cargo test -p axeyum-lean-kernel --lib int_prelude:: Evidence notes
`Int.ediv_two_mul_two_add_one_of_odd` in `crates/axeyum-lean-kernel/src/int_prelude/parity.rs` (`declare_ediv_two_mul_two_add_one_of_odd`). Mirrors Mathlib v4.30's `Int.ediv_two_mul_two_add_one_of_odd` (`Mathlib/Algebra/Ring/Int/Parity.lean`) verbatim. Same route as `Int.ediv_two_mul_two_of_even`, rewriting `n % 2` to `1` (a new case-split helper `odd_implies_emod_one`) instead of `0`, so no `add_zero` step is needed; `mul_comm` swaps `2*(n/2)` into `(n/2)*2` under the `+1`.