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 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 the historical Alpha-v12 body receipt. The complete historical Alpha-v18 proof bundle independently checks every dependency; current Alpha v25 preserves that checked theorem use without changing Stable membership.
Read the argument
Proof checkpoints
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 (5)
01Fix variables and assumptionsL1–1
Work with arbitrary variables or the premises of the current implication.
- L1
intro s
02Establish htwoL2–3
03Establish hleftL4–12
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul add.
04Establish hrightL13–22
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add mul.
05Calculate and transport equalitiesL23–23
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L23
refl
06Use earlier factsL24–24
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L24
apply mul_comm
07Calculate and transport equalitiesL25–29
08Use earlier factsL30–30
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L30
exact hleft
09Calculate and transport equalitiesL31–33
10Use earlier factsL34–34
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L34
apply add_assoc
11Calculate and transport equalitiesL35–36
12Use earlier factsL37–37
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L37
apply add_assoc
13Calculate and transport equalitiesL38–38
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L38
symm
14Use earlier factsL39–39
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L39
exact hright
Original exact command ledger · 39 lines
- 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