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.
Statement with defined notation
∀ a. ∀ c. ∀ h. ∀ t. Pythagorean(a,2 · h,c) → c = a + 2 · t → (a + t) · t = h · hEvery purple notation token opens its conservative definition. This reading surface never changes the unchanged intuitionistic kernel or confers checked-use authority.
Definitions used by this theorem
In the theorem statement
In local proof propositions
Exact expanded first-order statement
forall a c h t. a * a + (2 * h) * (2 * h) = c * c -> c = a + 2 * t -> (a + t) * t = h * hProof neighborhood
Direct theorem prerequisites
PF001K pythagorean_half_sum_reassociation four_square_product_shuffle · Alpha closed four_square_product_square · Alpha closed add_left_cancel · Stable closed mul_left_cancel_nonzero · Stable closed mul_ne_zero · Stable closed succ_ne_zero · Stable closed mul_comm · Stable closedDirect theorem dependents
Definition-aware tactic body
Only propositions whose conservative expansion has been checked for exact first-order equivalence are compacted. Every changed line retains its immutable exact replay command.
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 (1)
01Fix variables and assumptionsL1–6
02Establish hfactorL7–12
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square ordered square difference factor.
- L7
have hfactor : a * a + (2 * t) * (c + a) = c * c - L8
specialize four_square_ordered_square_difference_factor a - L9
specialize four_square_ordered_square_difference_factor c - L10
specialize four_square_ordered_square_difference_factor (2 * t) - L11
apply four_square_ordered_square_difference_factor - L12
exact hgap
03Establish hsumL13–16
04Establish hcancelL17–25
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add left cancel.
05Establish hproductL26–32
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square product square.
06Establish hhalfL33–42
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul left cancel nonzero.
07Fix variables and assumptionsL43–43
Work with arbitrary variables or the premises of the current implication.
- L43
intro htwo
08Use earlier factsL44–47
09Calculate and transport equalitiesL48–48
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L48
trans t * (a + t)
10Use earlier factsL49–49
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L49
apply mul_comm
11Calculate and transport equalitiesL50–50
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L50
symm
12Use earlier factsL51–51
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L51
exact hhalf
Original defined command ledger · 51 lines
- 0001
intro a - 0002
intro c - 0003
intro h - 0004
intro t - 0005
intro hequation - 0006
intro hgap - 0007
have hfactor : a * a + (2 * t) * (c + a) = c * c - 0008
specialize four_square_ordered_square_difference_factor a - 0009
specialize four_square_ordered_square_difference_factor c - 0010
specialize four_square_ordered_square_difference_factor (2 * t) - 0011
apply four_square_ordered_square_difference_factor - 0012
exact hgap - 0013
have hsum : c + a = 2 * (a + t) - 0014
rewrite hgap - 0015
apply pythagorean_half_sum_reassociation - 0016
rewrite hsum at hfactor - 0017
have hcancel : (2 * h) * (2 * h) = (2 * t) * (2 * (a + t)) - 0018
specialize add_left_cancel (a * a) - 0019
specialize add_left_cancel ((2 * h) * (2 * h)) - 0020
specialize add_left_cancel ((2 * t) * (2 * (a + t))) - 0021
apply add_left_cancel - 0022
trans c * c - 0023
exact hequation - 0024
symm - 0025
exact hfactor - 0026
have hproduct : (2 * 2) * (h * h) = (2 * 2) * (t * (a + t)) - 0027
trans (2 * h) * (2 * h) - 0028
symm - 0029
apply four_square_product_square - 0030
trans (2 * t) * (2 * (a + t)) - 0031
exact hcancel - 0032
apply four_square_product_shuffle - 0033
have hhalf : h * h = t * (a + t) - 0034
specialize mul_left_cancel_nonzero (2 * 2) - 0035
specialize mul_left_cancel_nonzero (h * h) - 0036
specialize mul_left_cancel_nonzero (t * (a + t)) - 0037
apply mul_left_cancel_nonzero - 0038
intro hzero - 0039
apply mul_ne_zero - 0040
intro htwo - 0041
apply succ_ne_zero - 0042
exact htwo - 0043
intro htwo - 0044
apply succ_ne_zero - 0045
exact htwo - 0046
exact hzero - 0047
exact hproduct - 0048
trans t * (a + t) - 0049
apply mul_comm - 0050
symm - 0051
exact hhalf