Exact expanded PA statement
forall d x q t c r s u. x = d * q + t -> c * t + r = d * s + u -> c * x + r = d * (c * q + s) + uStructural proof guide
Scale a quotient-remainder equation and normalize its new tail.
Direct prerequisites: mul_add, mul_assoc, mul_comm, add_assoc. The authored body proceeds by intermediate claims (4), equality transport (6).
Proof neighborhood
Direct dependencies
Direct dependents
Formal native tactic body
Dependencies are hypotheses of this body receipt. The focused endpoint audits separately check the complete empty-context certificates.
- 0001
intro d - 0002
intro x - 0003
intro q - 0004
intro t - 0005
intro c - 0006
intro r - 0007
intro s - 0008
intro u - 0009
intro hx - 0010
intro htail - 0011
rewrite hx - 0012
have hdist : c * (d * q + t) = c * (d * q) + c * t - 0013
specialize mul_add c - 0014
specialize mul_add (d * q) - 0015
specialize mul_add t - 0016
exact mul_add - 0017
rewrite hdist - 0018
have hassoc : (c * (d * q) + c * t) + r = c * (d * q) + (c * t + r) - 0019
apply add_assoc - 0020
rewrite hassoc - 0021
rewrite htail - 0022
have hfront : c * (d * q) = d * (c * q) - 0023
trans (c * d) * q - 0024
symm - 0025
apply mul_assoc - 0026
trans (d * c) * q - 0027
congr - 0028
apply mul_comm - 0029
refl - 0030
apply mul_assoc - 0031
rewrite hfront - 0032
have hdist2 : d * (c * q + s) = d * (c * q) + d * s - 0033
specialize mul_add d - 0034
specialize mul_add (c * q) - 0035
specialize mul_add s - 0036
exact mul_add - 0037
rewrite hdist2 - 0038
symm - 0039
apply add_assoc