kernel-Int.modEq_add_left
- Kind
- kernel-term
- Status
- checked
Supports: The proposition declared as `Int.ModEq.add_left` in the pinned Mathlib v4.30 source.
cargo test -p axeyum-lean-kernel --lib int_prelude:: Evidence notes
This is a GENERALIZATION, not a new proof route: `declare_modeq_add_right`/`declare_modeq_add_left` (`crates/axeyum-lean-kernel/src/int_prelude/modeq.rs`) previously carried a `0 < n` hypothesis Mathlib's own statement does not have. Re-reading `modEq_iff_dvd`'s `mp` half showed the positivity hypothesis is used only by `mpr` (which needs `ediv_emod_unique`'s `0<=r<n` bound); `mp` itself is unconditional in `n`, extracted as `modeq_to_dvd`. The converse (`dvd n (b-a) -> ModEq n a b`) is also unconditional via a different route -- `Int.modEq_add_mul_left : ModEq n (n*q+a) a` (already unconditional, `modeq_family.rs`) applied directly to the witness, extracted as `dvd_to_modeq` -- so `mpr`'s positivity was never load-bearing either, it was simply the wrong bridge. The two old declarations were REPLACED (not duplicated) with the general form; no other file in the tree called the old 5-argument signature.