PA005O

add_residue

Stable checked-use theorem · independently closed

Absorb a second quotient into an existing residue equation.

Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved. Exact original first-admission records.

Exact expanded PA statement

forall a u c r s. r = a * c + s -> a * u + r = a * (u + c) + s

Structural proof guide

Generated structural guide

Absorb a second quotient into an existing residue equation.

Use the direct prerequisites add_assoc, mul_add as previously established PA formulas.

The proof proceeds by direct introduction and elimination.

Referenced ingredients

Proof neighborhood

Direct dependencies

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.

Read the argument

Proof checkpoints

17 script commands · 8 reading checkpoints · 0 local claims

This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.

Named ingredients (2)
01Fix variables and assumptionsL1–6

Work with arbitrary variables or the premises of the current implication.

  1. L1
    intro a
  2. L2
    intro u
  3. L3
    intro c
  4. L4
    intro r
  5. L5
    intro s
  6. L6
    intro hr
02Calculate and transport equalitiesL7–9

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L7
    trans a * u + (a * c + s)
  2. L8
    congr
  3. L9
    refl
03Use earlier factsL10–10

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L10
    exact hr
04Calculate and transport equalitiesL11–12

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L11
    trans (a * u + a * c) + s
  2. L12
    symm
05Use earlier factsL13–13

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L13
    apply add_assoc
06Calculate and transport equalitiesL14–15

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L14
    congr
  2. L15
    symm
07Use earlier factsL16–16

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L16
    apply mul_add
08Calculate and transport equalitiesL17–17

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L17
    refl

Library-wide reading audit

Original exact command ledger · 17 lines
  1. 0001intro a
  2. 0002intro u
  3. 0003intro c
  4. 0004intro r
  5. 0005intro s
  6. 0006intro hr
  7. 0007trans a * u + (a * c + s)
  8. 0008congr
  9. 0009refl
  10. 0010exact hr
  11. 0011trans (a * u + a * c) + s
  12. 0012symm
  13. 0013apply add_assoc
  14. 0014congr
  15. 0015symm
  16. 0016apply mul_add
  17. 0017refl