Identifier
F:ml430-int-modeq-neg-f649f6c5
Proof route
kernel-lean
External status
proved
Axiom footprint
Empty

Recorded description

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

Formal statement
∀ {n a b : ℤ}, a ≡ 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. [generated] kernel theorem Int. Multiplication distributes over [generated] kernel theorem Int. Congruence mod n is symmetric o Congruence mod n is transitive Multiplication distributes over Multiplying by negative one is Current fact Mathlib v4.30 source propositio
7 direct dependencies 1 direct dependents

Evidence

kernel-Int.modEq_neg

Kind
kernel-term
Status
checked

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

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

`declare_modeq_neg` (`crates/axeyum-lean-kernel/src/int_prelude/modeq.rs`), unconditional in `n`, no `dvd` route needed: decompose `a=n*qa+ra`, `b=n*qb+ra` (`h` aligns the residues), so `-a=n*(-qa)+(-ra)` and `-b=n*(-qb)+(-ra)` (`ineg_add`, `Int.mul_neg`), and `Int.modEq_add_mul_left`'s `ModEq n (n*c+x) x` (unconditional) gives `ModEq n (-a) (-ra)` and `ModEq n (-b) (-ra)` directly; `trans`+`symm` close the gap.

footprint-Int.modEq_neg

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_neg 2>/dev/null | grep -Ec '^theorem[[:space:]]+Int\.modEq_neg[[: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.neg` from Mathlib v4.30.0; no proof value was exposed",
  "prior_art": [
    {
      "who": "the Mathlib contributors",
      "what": "the theorem declaration `Int.ModEq.neg`",
      "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"
    }
  ]
}