PA0004

add_eq_zero_right

Stable checked-use theorem · independently closed

A sum equal to zero has zero as its right addend.

Exact expanded PA statement

forall a b. a + b = 0 -> b = 0

Structural proof guide

Generated structural guide

A sum equal to zero has zero as its right addend.

This root lemma is proved directly from the PA rules and the hypotheses introduced by its statement.

The proof proceeds by structural induction (1), equality transport (1).

Referenced ingredients

none

Proof neighborhood

Direct dependencies

none

Direct dependents

Formal native tactic body

Dependencies are introduced as named hypotheses before line 1. Linked names are exact direct references. This Stable checked-use theorem is independently kernel-checked when replayed.

  1. 0001intro a
  2. 0002induction b
  3. 0003intro h
  4. 0004refl
  5. 0005intro h
  6. 0006exfalso
  7. 0007apply PA1
  8. 0008rewrite PA4 at h
  9. 0009exact h