kernel-Int.modEq_dvd_iff
- Kind
- kernel-term
- Status
- checked
Supports: The proposition declared as `Int.ModEq.dvd_iff` in the pinned Mathlib v4.30 source.
cargo test -p axeyum-lean-kernel --lib int_prelude:: Evidence notes
`declare_modeq_dvd_iff` (`crates/axeyum-lean-kernel/src/int_prelude/modeq.rs`), a genuine `Iff`, unconditional in `n`. `modeq_to_dvd` applied to `h` and to `Int.ModEq.symm h` gives `dvd n (b-a)` and `dvd n (a-b)` directly -- no separate 'negate the dividend' lemma needed -- and `Int.dvd_add` plus a small algebra helper (`eq_add_sub`: `x+(y-x)=y`, via `cancel_neg_add`/`Int.add_comm`) close each direction.