kernel-Int.mod_eq_cancel_right_div_gcd
- Kind
- kernel-term
- Status
- checked
Supports: ∀ {m a b c : ℤ}, 0 < m → a * c ≡ b * c [ZMOD m] → a ≡ b [ZMOD m / ↑(m.gcd c)]
test "$(cargo run -q -p axeyum-lean-kernel --example int_theorem_inventory -- mod_eq_cancel_right_div_gcd 2>/dev/null | /usr/bin/grep -cE '^theorem[[:space:]]+Int\.mod_eq_cancel_right_div_gcd[[:space:]]')" -ge 1 Evidence notes
build_int_prelude admits Int.mod_eq_cancel_right_div_gcd through the trusted Kernel::add_declaration gate. New proof, lane modeq-div-gcd, in int_prelude/modeq_cancel_div_gcd.rs. Not re-derived from scratch: commutes both sides (a*c to c*a, b*c to c*b via Int.mul_comm) and applies Int.mod_eq_cancel_left_div_gcd (F:ml430-int-modeq-cancel-left-div-gcd-b2d407e8, same lane) directly, exactly Mathlib's own proof and exactly how the Nat mirror closes the same way. int_theorem_inventory's rendered type matches this fact's formal.statement exactly. int_theorem_inventory exits non-zero (0 rows) for a bogus name (measured).