Identifier
F:ml430-int-modeq-add-left-cancel-062ad5fe
Proof route
kernel-lean
External status
proved
Axiom footprint
Empty

Recorded description

The proposition declared as `Int.ModEq.add_left_cancel'` in the pinned Mathlib v4.30 source.

Formal statement
∀ {n a b : ℤ} (c : ℤ), c + a ≡ c + b [ZMOD n] → a ≡ b [ZMOD 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. Addition on the integers is ass Addition on the integers is com Every integer has an additive i Adding zero to an integer is th [generated] kernel theorem Int. Current fact Wilson's theorem split at the h Mathlib v4.30 source propositio Mathlib v4.30 source propositio
5 direct dependencies 3 direct dependents

Evidence

kernel-Int.modEq_add_left_cancel

Kind
kernel-term
Status
checked

Supports: The proposition declared as `Int.ModEq.add_left_cancel'` in the pinned Mathlib v4.30 source.

Checker command
cargo test -p axeyum-lean-kernel --lib int_prelude::
Evidence notes

`declare_modeq_add_left_cancel` (`crates/axeyum-lean-kernel/src/int_prelude/modeq.rs`), unconditional in `n`: shift both sides by `-c` using the now-general `Int.modEq_add_left`, then simplify `-c+(c+x)` back to `x` on each side via a small helper (`cancel_neg_add_left`, from `Int.add_assoc`/`Int.add_neg`/`Int.add_comm`/`Int.add_zero`).

footprint-Int.modEq_add_left_cancel

Kind
exhaustive-enumeration
Status
checked

Supports: axiom_footprint: [] -- this theorem's trusted closure is empty

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

The regex requires the tab-separated footprint column to be EMPTY. `int_theorem_inventory` must be run `--release`; in debug it stack-overflows building the full constructed environment (unrelated to this theorem).

Provenance

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