Identifier
F:ml430-nat-modeq-add-right-cancel-f0ab48e4
Proof route
kernel-lean
External status
proved
Axiom footprint
Empty

Recorded description

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

Formal statement
∀ {n a b c d : ℕ}, c ≡ d [MOD n] → a + c ≡ b + d [MOD n] → a ≡ b [MOD n]

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 Addition cancels on the right Congruence mod m is preserved b [generated] kernel theorem Nat. Congruence mod m is transitive Current fact Mathlib v4.30 source propositio
6 direct dependencies 1 direct dependents

Evidence

kernel-Nat.mod_eq_add_right_cancel

Kind
kernel-term
Status
checked

Supports: `Nat.mod_eq_add_right_cancel` is admitted as a Theorem with EXACTLY the stated shape, pinned verbatim via the kernel's own renderer: `((x0 : AxNat) -> ((x1 : AxNat) -> ((x2 : AxNat) -> ((x3 : AxNat) -> ((x4 : AxNat) -> ((x5 : AxNat.modEq x0 x3 x4) -> ((x6 : AxNat.modEq x0 (AxNat.add x1 x3) (AxNat.add x2 x4)) -> AxNat.modEq x0 x1 x2)))))))`.

Checker command
test "$(cargo run -q --release -p axeyum-lean-kernel --example nat_theorem_inventory 2>/dev/null | awk -F'	' '$1 == "Nat.mod_eq_add_right_cancel" && $3 == "((x0 : AxNat) -> ((x1 : AxNat) -> ((x2 : AxNat) -> ((x3 : AxNat) -> ((x4 : AxNat) -> ((x5 : AxNat.modEq x0 x3 x4) -> ((x6 : AxNat.modEq x0 (AxNat.add x1 x3) (AxNat.add x2 x4)) -> AxNat.modEq x0 x1 x2)))))))"' | wc -l)" -ge 1

footprint-Nat.mod_eq_add_right_cancel

Kind
exhaustive-enumeration
Status
checked

Supports: axiom_footprint: [] for `Nat.mod_eq_add_right_cancel`. The `nat` prelude's trusted surface is empty (no Axiom, no Opaque, no Quotient), which bounds every declaration in it, including `Nat.mod_eq_add_right_cancel`.

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

Provenance

{
  "date": "2026-08-29",
  "established_by": "not established in this ledger",
  "source": "statement-only extraction of `Nat.ModEq.add_right_cancel` from Mathlib v4.30.0; no proof value was exposed",
  "prior_art": [
    {
      "who": "the Mathlib contributors",
      "what": "the theorem declaration `Nat.ModEq.add_right_cancel`",
      "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"
    }
  ]
}