kernel-Int.modEq_of_dvd
- Kind
- kernel-term
- Status
- checked
Supports: The proposition declared as `Int.ModEq.of_dvd` in the pinned Mathlib v4.30 source.
cargo test -p axeyum-lean-kernel --lib int_prelude:: Evidence notes
`declare_modeq_of_dvd` (`crates/axeyum-lean-kernel/src/int_prelude/modeq.rs`), unconditional in both `m` and `n`: `ModEq n a b -> dvd n (b-a)` via `modeq_to_dvd` (the bound-free half of `modEq_iff_dvd`'s own `mp`), `Int.dvd_trans` against the `dvd m n` hypothesis scales that to `dvd m (b-a)`, and `dvd_to_modeq` (via `Int.modEq_add_mul_left`, not `ediv_emod_unique`) closes it back to `ModEq m a b`.