Exact expanded PA statement
forall s. s * s + 6 * (2 * s + 6) = (s + 6) * (s + 6)Structural proof guide
The six-step square increment is exactly six times 2*s+6.
Direct prerequisites: two_mul_eq_add_self, mul_add, add_mul, mul_comm, add_assoc. The authored body proceeds by intermediate claims (3), equality transport (1).
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 s - 0002
have htwo : 2 * s = s + s - 0003
apply two_mul_eq_add_self - 0004
have hleft : 6 * (2 * s + 6) = (6 * s + 6 * s) + 6 * 6 - 0005
trans 6 * (2 * s) + 6 * 6 - 0006
apply mul_add - 0007
rewrite htwo - 0008
trans (6 * s + 6 * s) + 6 * 6 - 0009
congr - 0010
apply mul_add - 0011
refl - 0012
refl - 0013
have hright : (s + 6) * (s + 6) = (s * s + 6 * s) + (6 * s + 6 * 6) - 0014
trans s * (s + 6) + 6 * (s + 6) - 0015
apply add_mul - 0016
trans (s * s + s * 6) + (6 * s + 6 * 6) - 0017
congr - 0018
apply mul_add - 0019
apply mul_add - 0020
trans (s * s + 6 * s) + (6 * s + 6 * 6) - 0021
congr - 0022
congr - 0023
refl - 0024
apply mul_comm - 0025
refl - 0026
refl - 0027
trans s * s + ((6 * s + 6 * s) + 6 * 6) - 0028
congr - 0029
refl - 0030
exact hleft - 0031
trans s * s + (6 * s + (6 * s + 6 * 6)) - 0032
congr - 0033
refl - 0034
apply add_assoc - 0035
trans (s * s + 6 * s) + (6 * s + 6 * 6) - 0036
symm - 0037
apply add_assoc - 0038
symm - 0039
exact hright