Identifier
F:nat-mul-succ-ne-mul-succ-of-coprime
Proof route
kernel-lean
External status
proved
Axiom footprint
Empty

Recorded description

`gcd p q = 1`, `x+1 < p` implies `p*(y+1) != q*(x+1)`. WHY IT IS THE POINT: Eisenstein's rectangle is indexed from 1, so every coordinate the partition's per-point hypothesis mentions is `succ`-shaped. Stating the shifted form separately means the consumer never produces a positivity proof -- `0 < succ x` is discharged here, constructively, by the shape. HOW IT IS PROVED: `Nat.mul_ne_mul_of_coprime_of_lt` at `(p, q, succ x, succ y)`, with `NatOps::zero_lt_succ` supplying the positivity. Nothing else. `Kernel::axiom_footprint` is EMPTY. Admitted by the trusted gate on the first attempt.

Formal statement
theorem Nat.mul_succ_ne_mul_succ_of_coprime : ((x0 : AxNat) -> ((x1 : AxNat) -> ((x2 : AxNat) -> ((x3 : AxNat) -> ((x4 : Eq.{1} AxNat (AxNat.gcd x0 x1) (AxNat.succ AxNat.zero)) -> ((x5 : AxNat.lt (AxNat.succ x2) x0) -> Not (Eq.{1} AxNat (AxNat.mul x0 (AxNat.succ x3)) (AxNat.mul x1 (AxNat.succ x2)))))))))

Dependencies

The graph shows direct ledger edges. Follow a node to open its artifact page.

Direct dependencies appear to the left. The current fact is in the center. Facts that depend directly on it appear to the right. <= is preserved by successor on No lattice point sits on the li Zero is a lower bound for every Current fact Eisenstein's lattice rectangle,
3 direct dependencies 1 direct dependents

Evidence

kernel-Nat.mul_succ_ne_mul_succ_of_coprime

Kind
kernel-term
Status
checked

Supports: Nat.mul_succ_ne_mul_succ_of_coprime is admitted by the trusted kernel gate with the type recorded in formal.statement.

Checker command
cargo run -q --release -p axeyum-lean-kernel --example theorem_dependency_inventory -- Nat.mul_succ_ne_mul_succ_of_coprime 2>/dev/null | grep -cE '^Nat\\.mul_succ_ne_mul_succ_of_coprime[[:space:]]'
Evidence notes

Two independent failure modes, so the exit status depends on the finding rather than on the run completing: theorem_dependency_inventory exits non-zero when a NAMED filter matches nothing, and grep -c exits 1 printing 0 when the anchored line is absent. Anchored with [[:space:]], never \t -- in a scripted (GNU) grep \t is a literal t. grep -c rather than grep -q, which would SIGPIPE the producer under pipefail. --release is MANDATORY: this tool builds creal/complex/cpoint, which overflow the default debug thread stack. Pass ONE name per invocation: this tool silently keeps only the FIRST name argument.

footprint-Nat.mul_succ_ne_mul_succ_of_coprime

Kind
exhaustive-enumeration
Status
checked

Supports: axiom_footprint: [] -- the natural-number prelude's trusted surface is empty, which bounds Nat.mul_succ_ne_mul_succ_of_coprime.

Checker command
cargo run -q --release -p axeyum-lean-kernel --example nat_axiom_inventory -- --require-axiom-free nat
Evidence notes

--require-axiom-free exits non-zero when the named prelude's trusted surface (Axiom + Opaque + Quotient) is not empty, and errors rather than silently passing for a prelude the run never built. A declaration cannot depend on a trusted declaration the environment does not contain, so an empty nat surface bounds every declaration in it. This is a whole-prelude bound, not a per-declaration measurement; the per-declaration figure is measured 0 by the axiom-footprint assertion in the module's own test file.

numeric-side-condition-shifted

Kind
exhaustive-enumeration
Status
checked

Supports: C2 of the ADR-1540 check script verifies the shifted implication over the same coprime (p,q) sweep, separately from C1 because the SHIFT is where an off-by-one in the corollary would live; C3 then verifies the consequence the partition actually needs -- that at 40,548 lattice points across every ordered pair of distinct odd primes below 60, exactly one of the two strict half-plane predicates holds.

Checker command
python3 docs/research/09-decisions/adr-1540-eisenstein-side-and-sum-permute-checks.py
Evidence notes

Exit status depends on the finding: a claim that fails, or a control that behaves other than as recorded, exits 1. Verified by mutating the script itself: 11 of 11 mutations (each claim inverted, each control's named witness moved or neutered, and the recorded survivor made to stop surviving) exit 1. One control, M6, is recorded as a DELIBERATE SURVIVOR and asserted to survive: swapping `a` and `b` throughout sumRange_point_change leaves a true statement, because the equation is symmetric in that swap. No numeric check can separate those two readings, which is why the declared type is pinned character for character in the module's test file.

Provenance

{
  "date": "2026-09-02",
  "curation": "curated",
  "established_by": "axeyum-lean-kernel build_nat_prelude (crates/axeyum-lean-kernel/src/nat_prelude/eisenstein_side.rs)",
  "source": "formal.statement and axiom_footprint are taken verbatim from the kernel's own rendering (nat_theorem_inventory, which is Kernel::render_lean of the admitted declaration type; the same string is pinned character for character by the module's the_family_states_the_intended_types test). depends_on is the direct-theorem column of theorem_dependency_inventory intersected with this ledger's registered facts. Nothing about the statement was hand transcribed; title, statement and the evidence notes were authored (lane eisenstein-lattice)."
}