Goal
Provide a complete Lean formalization (no sorry) of standard cofactor lemmas used to bound large proper divisors above the thresholds .
These lemmas are key ingredients for divisor-ordering steps in divisor-dynamics (e.g. for completing the remaining sorry in [pjkfl3], which supports [2jbmwt]).
Lean file (attached)
The attached file Math/DivisorOrderNk.lean proves:
- If , , and , then .
- If , , and , then or .
- If , , and , then .
- If , , and , then .
All proofs use the uniform pattern:
- write ;
- use
Nat.div_lt_iff_lt_multo turn inequalities like into ; - cancel via
Nat.lt_of_mul_lt_mul_leftto obtain ; - combine with (from ) and finite-case
omega.
Compilation output
$ cd /opt/lean/Math
$ lake env lean Math/DivisorOrderNk.lean
# success