PA005O · theorem

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.

Statement with defined notation

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

Every purple notation token opens its conservative definition. This is a reading surface; the compiler expands the statement before the unchanged kernel checks it.

Definitions used by this theorem

In the theorem statement

none

0 occurrences

In local proof propositions

none

0 occurrences

Exact expanded native-PA statement
forall a u c r s. r = a * c + s -> a * u + r = a * (u + c) + s

Proof neighborhood

Direct theorem prerequisites

Direct theorem dependents

Definition-aware tactic body

Only local propositions introduced by have or suffices are compacted. The untrusted compiler re-expands each one before the original tactic script is replayed; defined notation is never accepted by the kernel. Open the exact replay line beneath every changed command.

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.

Definition notation is shown below. Open the paired exact edition for the original native formulas. Source pairing is not a new equivalence certificate.

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 defined 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