kernel-Int.modEq_add_left_cancel
- Kind
- kernel-term
- Status
- checked
Supports: The proposition declared as `Int.ModEq.add_left_cancel'` in the pinned Mathlib v4.30 source.
cargo test -p axeyum-lean-kernel --lib int_prelude:: Evidence notes
`declare_modeq_add_left_cancel` (`crates/axeyum-lean-kernel/src/int_prelude/modeq.rs`), unconditional in `n`: shift both sides by `-c` using the now-general `Int.modEq_add_left`, then simplify `-c+(c+x)` back to `x` on each side via a small helper (`cancel_neg_add_left`, from `Int.add_assoc`/`Int.add_neg`/`Int.add_comm`/`Int.add_zero`).