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.
All displayed hypotheses are required. Powers and positive differences are actual existential outputs. The proof constructs second-order correction identities and iterates the prime step; no binomial expansion or LTE oracle is assumed. The 2-adic variants remain separate open targets.
Exact theorem in conservative defined notation
∀ b. ∀ d. ∀ n. ∀ m. ∀ T. ∀ C. ∀ Q. ∀ H. Q = n · (b · T) + d · C → 2 · C = m · T + d · H → 2 · (b · C + Q) = (m + 2 · n) · (b · T) + d · (b · H + 2 · C)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 197 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay script.
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.
01Fix variables and assumptionsL1–10
02Calculate and transport equalitiesL11–16
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
03Use earlier factsL17–17
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L17
apply mul_comm
04Calculate and transport equalitiesL18–22
05Use earlier factsL23–23
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L23
apply mul_comm
06Calculate and transport equalitiesL24–33
07Calculate and transport equalitiesL34–35
08Use earlier factsL36–36
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L36
apply mul_comm
09Calculate and transport equalitiesL37–41
10Use earlier factsL42–42
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L42
apply mul_comm
11Calculate and transport equalitiesL43–52
12Calculate and transport equalitiesL53–60
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L53
trans ((((b) * (((m) * (T))))) + ((((b) * (((d) * (H))))) + ((((n) * (((b) * (T))))) + ((((n) * (((b) * (T))))) + ((((d) * (C))) + (((d) * (C)))))))) - L54
simp [add_mul, mul_add, mul_assoc, add_assoc, mul_succ_left, mul_zero_left, zero_add, one_mul, mul_one] - L55
trans ((((T) * (((b) * (m))))) + ((((H) * (((b) * (d))))) + ((((T) * (((b) * (n))))) + ((((T) * (((b) * (n))))) + ((((C) * (d))) + (((C) * (d)))))))) - L56
congr - L57
trans ((T) * (((b) * (m)))) - L58
trans ((b) * (((T) * (m)))) - L59
congr - L60
refl
13Use earlier factsL61–62
14Calculate and transport equalitiesL63–70
15Use earlier factsL71–72
16Calculate and transport equalitiesL73–80
17Use earlier factsL81–82
18Calculate and transport equalitiesL83–85
19Use earlier factsL86–86
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L86
apply mul_comm
20Calculate and transport equalitiesL87–94
21Use earlier factsL95–96
22Calculate and transport equalitiesL97–99
23Use earlier factsL100–100
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L100
apply mul_comm
24Calculate and transport equalitiesL101–105
25Use earlier factsL106–106
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L106
apply mul_comm
26Calculate and transport equalitiesL107–110
27Use earlier factsL111–111
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L111
apply mul_comm
28Calculate and transport equalitiesL112–118
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L112
congr - L113
refl - L114
refl - L115
trans ((((T) * (((b) * (m))))) + ((((T) * (((b) * (n))))) + ((((T) * (((b) * (n))))) + ((((H) * (((b) * (d))))) + ((((C) * (d))) + (((C) * (d)))))))) - L116
congr - L117
refl - L118
trans ((((T) * (((b) * (n))))) + ((((H) * (((b) * (d))))) + ((((T) * (((b) * (n))))) + ((((C) * (d))) + (((C) * (d)))))))
29Use earlier factsL119–119
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L119
apply four_square_add_swap_right_tail
30Calculate and transport equalitiesL120–122
31Use earlier factsL123–123
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L123
apply four_square_add_swap_right_tail
32Calculate and transport equalitiesL124–133
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
33Use earlier factsL134–135
34Calculate and transport equalitiesL136–138
35Use earlier factsL139–139
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L139
apply mul_comm
36Calculate and transport equalitiesL140–147
37Use earlier factsL148–149
38Calculate and transport equalitiesL150–152
39Use earlier factsL153–153
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L153
apply mul_comm
40Calculate and transport equalitiesL154–161
41Use earlier factsL162–163
42Calculate and transport equalitiesL164–166
43Use earlier factsL167–167
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L167
apply mul_comm
44Calculate and transport equalitiesL168–175
45Use earlier factsL176–177
46Calculate and transport equalitiesL178–180
47Use earlier factsL181–181
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L181
apply mul_comm
48Calculate and transport equalitiesL182–186
49Use earlier factsL187–187
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L187
apply mul_comm
50Calculate and transport equalitiesL188–191
51Use earlier factsL192–192
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L192
apply mul_comm
Original defined command ledger · 197 lines
- 0001
intro b - 0002
intro d - 0003
intro n - 0004
intro m - 0005
intro T - 0006
intro C - 0007
intro Q - 0008
intro H - 0009
intro hQ - 0010
intro hC - 0011
trans b * (2 * C) + 2 * Q - 0012
trans ((((b) * (C))) + ((((b) * (C))) + ((Q) + (Q)))) - 0013
simp [add_mul, mul_add, mul_assoc, add_assoc, mul_succ_left, mul_zero_left, zero_add, one_mul, mul_one] - 0014
trans ((((C) * (b))) + ((((C) * (b))) + ((Q) + (Q)))) - 0015
congr - 0016
trans ((C) * (b)) - 0017
apply mul_comm - 0018
congr - 0019
refl - 0020
refl - 0021
congr - 0022
trans ((C) * (b)) - 0023
apply mul_comm - 0024
congr - 0025
refl - 0026
refl - 0027
congr - 0028
refl - 0029
refl - 0030
trans ((((C) * (b))) + ((((C) * (b))) + ((Q) + (Q)))) - 0031
refl - 0032
trans ((((b) * (C))) + ((((b) * (C))) + ((Q) + (Q)))) - 0033
symm - 0034
congr - 0035
trans ((C) * (b)) - 0036
apply mul_comm - 0037
congr - 0038
refl - 0039
refl - 0040
congr - 0041
trans ((C) * (b)) - 0042
apply mul_comm - 0043
congr - 0044
refl - 0045
refl - 0046
congr - 0047
refl - 0048
refl - 0049
symm - 0050
simp [add_mul, mul_add, mul_assoc, add_assoc, mul_succ_left, mul_zero_left, zero_add, one_mul, mul_one] - 0051
rewrite hC - 0052
rewrite hQ - 0053
trans ((((b) * (((m) * (T))))) + ((((b) * (((d) * (H))))) + ((((n) * (((b) * (T))))) + ((((n) * (((b) * (T))))) + ((((d) * (C))) + (((d) * (C)))))))) - 0054
simp [add_mul, mul_add, mul_assoc, add_assoc, mul_succ_left, mul_zero_left, zero_add, one_mul, mul_one] - 0055
trans ((((T) * (((b) * (m))))) + ((((H) * (((b) * (d))))) + ((((T) * (((b) * (n))))) + ((((T) * (((b) * (n))))) + ((((C) * (d))) + (((C) * (d)))))))) - 0056
congr - 0057
trans ((T) * (((b) * (m)))) - 0058
trans ((b) * (((T) * (m)))) - 0059
congr - 0060
refl - 0061
apply mul_comm - 0062
apply natural_mul_swap_right_tail - 0063
congr - 0064
refl - 0065
refl - 0066
congr - 0067
trans ((H) * (((b) * (d)))) - 0068
trans ((b) * (((H) * (d)))) - 0069
congr - 0070
refl - 0071
apply mul_comm - 0072
apply natural_mul_swap_right_tail - 0073
congr - 0074
refl - 0075
refl - 0076
congr - 0077
trans ((T) * (((n) * (b)))) - 0078
trans ((n) * (((T) * (b)))) - 0079
congr - 0080
refl - 0081
apply mul_comm - 0082
apply natural_mul_swap_right_tail - 0083
congr - 0084
refl - 0085
trans ((b) * (n)) - 0086
apply mul_comm - 0087
congr - 0088
refl - 0089
refl - 0090
congr - 0091
trans ((T) * (((n) * (b)))) - 0092
trans ((n) * (((T) * (b)))) - 0093
congr - 0094
refl - 0095
apply mul_comm - 0096
apply natural_mul_swap_right_tail - 0097
congr - 0098
refl - 0099
trans ((b) * (n)) - 0100
apply mul_comm - 0101
congr - 0102
refl - 0103
refl - 0104
congr - 0105
trans ((C) * (d)) - 0106
apply mul_comm - 0107
congr - 0108
refl - 0109
refl - 0110
trans ((C) * (d)) - 0111
apply mul_comm - 0112
congr - 0113
refl - 0114
refl - 0115
trans ((((T) * (((b) * (m))))) + ((((T) * (((b) * (n))))) + ((((T) * (((b) * (n))))) + ((((H) * (((b) * (d))))) + ((((C) * (d))) + (((C) * (d)))))))) - 0116
congr - 0117
refl - 0118
trans ((((T) * (((b) * (n))))) + ((((H) * (((b) * (d))))) + ((((T) * (((b) * (n))))) + ((((C) * (d))) + (((C) * (d))))))) - 0119
apply four_square_add_swap_right_tail - 0120
congr - 0121
refl - 0122
trans ((((T) * (((b) * (n))))) + ((((H) * (((b) * (d))))) + ((((C) * (d))) + (((C) * (d)))))) - 0123
apply four_square_add_swap_right_tail - 0124
congr - 0125
refl - 0126
refl - 0127
trans ((((m) * (((b) * (T))))) + ((((n) * (((b) * (T))))) + ((((n) * (((b) * (T))))) + ((((d) * (((b) * (H))))) + ((((d) * (C))) + (((d) * (C)))))))) - 0128
symm - 0129
congr - 0130
trans ((T) * (((m) * (b)))) - 0131
trans ((m) * (((T) * (b)))) - 0132
congr - 0133
refl - 0134
apply mul_comm - 0135
apply natural_mul_swap_right_tail - 0136
congr - 0137
refl - 0138
trans ((b) * (m)) - 0139
apply mul_comm - 0140
congr - 0141
refl - 0142
refl - 0143
congr - 0144
trans ((T) * (((n) * (b)))) - 0145
trans ((n) * (((T) * (b)))) - 0146
congr - 0147
refl - 0148
apply mul_comm - 0149
apply natural_mul_swap_right_tail - 0150
congr - 0151
refl - 0152
trans ((b) * (n)) - 0153
apply mul_comm - 0154
congr - 0155
refl - 0156
refl - 0157
congr - 0158
trans ((T) * (((n) * (b)))) - 0159
trans ((n) * (((T) * (b)))) - 0160
congr - 0161
refl - 0162
apply mul_comm - 0163
apply natural_mul_swap_right_tail - 0164
congr - 0165
refl - 0166
trans ((b) * (n)) - 0167
apply mul_comm - 0168
congr - 0169
refl - 0170
refl - 0171
congr - 0172
trans ((H) * (((d) * (b)))) - 0173
trans ((d) * (((H) * (b)))) - 0174
congr - 0175
refl - 0176
apply mul_comm - 0177
apply natural_mul_swap_right_tail - 0178
congr - 0179
refl - 0180
trans ((b) * (d)) - 0181
apply mul_comm - 0182
congr - 0183
refl - 0184
refl - 0185
congr - 0186
trans ((C) * (d)) - 0187
apply mul_comm - 0188
congr - 0189
refl - 0190
refl - 0191
trans ((C) * (d)) - 0192
apply mul_comm - 0193
congr - 0194
refl - 0195
refl - 0196
symm - 0197
simp [add_mul, mul_add, mul_assoc, add_assoc, mul_succ_left, mul_zero_left, zero_add, one_mul, mul_one]