Identifier
F:ml430-nat-even-add-39e3bc07
Proof route
kernel-lean
External status
proved
Axiom footprint
Empty

Recorded description

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

Formal statement
∀ {m n : ℕ}, Even (m + n) ↔ (Odd m ↔ Odd 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 Nat succ_add Current fact
2 direct dependencies 0 direct dependents

Evidence

kernel-Nat.even_add-prime

Kind
kernel-term
Status
checked

Supports: `Nat.even_add'` is admitted as a Theorem with EXACTLY the mirror's shape, pinned verbatim via the kernel's own renderer. [`declare_even_add`]'s twin, sharing the same four-way case-split/witness-arithmetic construction (`even_add_family_stmt_and_proof`) with the inner predicate swapped from `Even` to `Odd`.

Checker command
test "$(cargo run -q --release -p axeyum-lean-kernel --example nat_theorem_inventory even_add 2>/dev/null | awk -F'\t' '$1 == "Nat.even_add'\''" && $3 == "((x0 : AxNat) -> ((x1 : AxNat) -> Iff (AxNat.Even (AxNat.add x0 x1)) (Iff (AxNat.Odd x0) (AxNat.Odd x1))))"' | wc -l)" -ge 1

instance-Nat.even_add-prime

Kind
kernel-term
Status
checked

Supports: Applies at a concrete `(m, n) := (3, 3)` (both Odd, the hardest `sum_shape` leg -- the only one needing `succ_add` twice plus a re-association) with a REAL `Odd 3` witness chained through both `mp` legs to confirm the whole combination type-checks, AND at genuinely free `m`, `n` (a symbolic restatement built via the same NatOps closure machinery `d.theorem` uses).

Checker command
test "$(cargo test -p axeyum-lean-kernel --lib nat_prelude::nat_prelude_tests::even_add_and_even_add_prime_apply_at_concrete_pairs_and_symbolically -- --exact 2>&1 | grep -Ec 'test result: ok\. 1 passed; 0 failed')" -ge 1

footprint-Nat.even_add-prime

Kind
kernel-term
Status
checked

Supports: axiom_footprint: [] for `Nat.even_add'`. The `nat` prelude's trusted surface stays 0: no Axiom, no Opaque, no Quotient.

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

coverage-Nat.even_add-prime

Kind
kernel-term
Status
checked

Supports: Coverage for `Nat.even_add'` derived from `kernel.environment()` directly, not from an inventory list -- a Nat-namespace declaration missing from `theorem_names` fails this test by name.

Checker command
test "$(cargo test -p axeyum-lean-kernel --lib nat_prelude::nat_prelude_tests::every_nat_declaration_is_checked_and_axiom_free -- --exact 2>&1 | grep -Ec 'test result: ok\. 1 passed; 0 failed')" -ge 1

Provenance

{
  "date": "2026-08-29",
  "established_by": "lane parity-finish (2026-08-30): built directly as a kernel declaration in the new file nat_prelude/even_add_family.rs, sharing `even_add_family_stmt_and_proof`'s four-way case split on `Nat.even_or_odd_exists` with `Nat.even_add` and swapping the inner predicate from `Even` to `Odd`. Verified against the pinned Mathlib v4.30.0 source (commit c5ea00351c28e24afc9f0f84379aa41082b1188f) that this is a standard Nat parity lemma about the SAME `Nat.add`/`Nat.Even`/`Nat.Odd` this kernel already has (no new definition introduced), so mirroring it under Mathlib's own name is honest under the mirror-flip criterion.",
  "source": "statement-only extraction of `Nat.even_add'` from Mathlib v4.30.0; no proof value was exposed",
  "prior_art": [
    {
      "who": "the Mathlib contributors",
      "what": "the theorem declaration `Nat.even_add'`",
      "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"
    }
  ]
}