kernel-Int.neg_modEq_neg
- Kind
- kernel-term
- Status
- checked
Supports: The proposition declared as `Int.neg_modEq_neg` in the pinned Mathlib v4.30 source.
cargo test -p axeyum-lean-kernel --lib int_prelude:: Evidence notes
`declare_neg_modeq_neg` (`crates/axeyum-lean-kernel/src/int_prelude/modeq.rs`), a genuine `Iff` (this kernel's `Iff.intro`/`iff_mp`/`iff_mpr`, the same machinery `modEq_iff_dvd` already uses), unconditional in `n`. `mpr` is exactly `Int.modEq_neg`; `mp` applies `Int.modEq_neg` again to a `ModEq n (-a) (-b)` hypothesis and simplifies the resulting `-(-a)`/`-(-b)` back down via a double-negation helper (`ineg_neg`, derived from `Int.add_neg` and `Int.cancel_neg_add`-style cancellation).