Identifier
F:ml430-nat-lcm-assoc-cb00bb43
Proof route
kernel-lean
External status
proved
Axiom footprint
Empty

Recorded description

The proposition declared as `Nat.lcm_assoc` in the pinned Mathlib v4.30 source.

Formal statement
∀ (m n k : ℕ), (m.lcm n).lcm k = m.lcm (n.lcm k)

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. Mathlib v4.30 source propositio Mathlib v4.30 source propositio Mathlib v4.30 source propositio [generated] kernel theorem Nat. Divisibility is transitive [generated] kernel theorem Nat. [generated] kernel theorem Nat. [generated] kernel theorem Nat. Current fact
9 direct dependencies 0 direct dependents Graph shows the first 8 on each side.

Evidence

kernel-Nat.lcm_assoc

Kind
kernel-term
Status
checked

Supports: ∀ (m n k : ℕ), (m.lcm n).lcm k = m.lcm (n.lcm k)

Checker command
test "$(cargo run -q -p axeyum-lean-kernel --example nat_theorem_inventory -- lcm_assoc 2>/dev/null | grep -Ec '^Nat\.lcm_assoc[[:space:]]')" -ge 1
Evidence notes

`build_nat_prelude` admits `Nat.lcm_assoc` through the trusted `Kernel::add_declaration` gate (declared in the new `nat_prelude/lcm_gcd_lemmas.rs`'s `declare_lcm_assoc`). Route: pure mutual divisibility, no induction and no case split -- both `(lcm a b).lcm c` and `a.lcm (lcm b c)` divide each other via `dvd_lcm_left`/`dvd_lcm_right`/`dvd_trans`/`lcm_dvd` alone, and `dvd_antisymm` closes the two directions into one equality. `nat_theorem_inventory`'s rendered type for `Nat.lcm_assoc` is `((x0 : AxNat) -> ((x1 : AxNat) -> ((x2 : AxNat) -> Eq.{1} AxNat (AxNat.lcm (AxNat.lcm x0 x1) x2) (AxNat.lcm x0 (AxNat.lcm x1 x2)))))`, matching this fact's `formal.statement` verbatim (`x0`/`x1`/`x2` are the universally quantified variables in order). `nat_theorem_inventory` exits non-zero for a name that does not exist, and the `grep -c` count (tested `-ge 1`, not piped into `grep -q`) requires the admitted declaration to actually be printed.

footprint-Nat.lcm_assoc

Kind
exhaustive-enumeration
Status
checked

Supports: axiom_footprint: [] -- the Nat prelude's trusted surface is empty

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

`nat_axiom_inventory --require-axiom-free nat` enumerates the built Nat environment and exits non-zero unless it admits no Axiom, Opaque or Quotient declaration (measured: axiom=0 opaque=0 quotient=0). A theorem cannot depend on a trusted declaration the environment does not contain, so an empty trusted surface bounds every individual theorem's footprint by []. `nat_prelude_tests::every_nat_declaration_is_checked_and_axiom_free` additionally checks this theorem's own `Kernel::axiom_footprint` directly (via `theorem_names`, which now lists it), and `lcm_gcd_lemmas_apply_at_concrete_discriminating_instances` re-checks it at a concrete instantiation chosen to discriminate a swapped argument or a wrong disjunct/conclusion order via `def_eq` plus a genuinely false negative control rejected by `declare_theorem`.

Provenance

{
  "date": "2026-08-29",
  "established_by": "not established in this ledger",
  "source": "statement-only extraction of `Nat.lcm_assoc` from Mathlib v4.30.0; no proof value was exposed",
  "prior_art": [
    {
      "who": "the Mathlib contributors",
      "what": "the theorem declaration `Nat.lcm_assoc`",
      "where": "mathlib4 commit c5ea00351c28e24afc9f0f84379aa41082b1188f (v4.30.0)",
      "year": 2026,
      "attribution": "the proposition was read from the pinned statement-only inventory; the proof term and tactic trace were not consulted"
    }
  ]
}