kernel-Int.emod_two_ne_zero
- Kind
- kernel-term
- Status
- checked
Supports: The proposition declared as `Int.emod_two_ne_zero` in the pinned Mathlib v4.30 source.
cargo test -p axeyum-lean-kernel --lib int_prelude:: Evidence notes
`Int.emod_two_ne_zero` in `crates/axeyum-lean-kernel/src/int_prelude/parity.rs` (`declare_emod_two_ne_zero`). Mirrors Mathlib v4.30's `Int.emod_two_ne_zero` (`Mathlib/Algebra/Group/Int/Even.lean`) verbatim -- a pure `n % 2` fact, no `Even`/`Odd` involved. Proved from a new internal helper `Int.emod_two_eq_zero_or_one` (`Int.rec` on `n` plus `Nat.mod_two_eq_zero_or_one` on the bound `Nat` field of each branch, landed the same day) by `Or.elim` plus a small `0 ≠ 1 : Int` refutation (`zero_lt_one` rewritten to `Lt one one`, refuted by `lt_irrefl`).