PA003C

remainder_decomposition_to_mod_eq

Stable checked-use theorem · independently closed

A directed quotient/remainder equation gives balanced congruence to its remainder.

Exact expanded PA statement

forall m b q x. b = q * m + x -> exists u v. b + m * u = x + m * v

Structural proof guide

Generated structural guide

A directed quotient/remainder equation gives balanced congruence to its remainder.

Use the direct prerequisites add_comm, mul_comm as previously established PA formulas.

The proof proceeds by equality transport (2).

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.

  1. 0001intro m
  2. 0002intro b
  3. 0003intro q
  4. 0004intro x
  5. 0005intro h
  6. 0006exists 0
  7. 0007exists q
  8. 0008rewrite PA5
  9. 0009rewrite PA3
  10. 0010trans q * m + x
  11. 0011exact h
  12. 0012trans x + q * m
  13. 0013apply add_comm
  14. 0014congr
  15. 0015refl
  16. 0016apply mul_comm