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
∀ x. ∀ y. ∀ z. PrimitivePythagorean(x,y,z) → Odd(z)Every 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 x y z. ((((x) * (x) + (y) * (y) = (z) * (z)) /\ (forall pff_divisor_pairwise_source. (exists pff_left_pairwise_source. (x) = pff_divisor_pairwise_source * pff_left_pairwise_source) -> (exists pff_right_pairwise_source. (y) = pff_divisor_pairwise_source * pff_right_pairwise_source) -> pff_divisor_pairwise_source = 1))) -> exists q. z = 2 * q + 1Proof neighborhood
Direct theorem prerequisites
PF0014 pythagorean_primitive_legs_opposite_parity PF000M pythagorean_opposite_parity_hypotenuse_odd PF0015 pythagorean_odd_square_has_odd_rootDirect 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 (3)
01Fix variables and assumptionsL1–4
02Establish hparityL5–10
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply pythagorean primitive legs opposite parity.
- L5
have hparity : OppositeParity(a,b)Definitions: OppositeParity(a,b)Original native command in the exact edition - L6
specialize pythagorean_primitive_legs_opposite_parity a - L7
specialize pythagorean_primitive_legs_opposite_parity b - L8
specialize pythagorean_primitive_legs_opposite_parity c - L9
apply pythagorean_primitive_legs_opposite_parity - L10
exact hprimitive
03Establish hsumL11–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply pythagorean opposite parity hypotenuse odd.
- L11
have hsum : Odd(a · a + b · b)Definitions: Odd(a · a + b · b)Original native command in the exact edition - L12
specialize pythagorean_opposite_parity_hypotenuse_odd a - L13
specialize pythagorean_opposite_parity_hypotenuse_odd b - L14
apply pythagorean_opposite_parity_hypotenuse_odd - L15
exact hparity - L16
specialize pythagorean_odd_square_has_odd_root c - L17
apply pythagorean_odd_square_has_odd_root
04Separate the logical casesL18–18
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L18
cases hsum
05Construct an explicit witnessL19–19
Supply the displayed value, then prove that it has the required property.
- L19
exists x
06Calculate and transport equalitiesL20–20
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L20
trans a * a + b * b
07Separate the logical casesL21–21
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L21
cases hprimitive
08Calculate and transport equalitiesL22–22
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L22
symm
Original defined command ledger · 24 lines
- 0001
intro a - 0002
intro b - 0003
intro c - 0004
intro hprimitive - 0005
have hparity : OppositeParity(a,b)Exact native replay line
have hparity : (((exists pp_even_hypotenuse_local_first_even. (a) = 2 * pp_even_hypotenuse_local_first_even) /\ (exists pp_odd_hypotenuse_local_second_odd. (b) = 2 * pp_odd_hypotenuse_local_second_odd + 1)) \/ ((exists pp_odd_hypotenuse_local_first_odd. (a) = 2 * pp_odd_hypotenuse_local_first_odd + 1) /\ (exists pp_even_hypotenuse_local_second_even. (b) = 2 * pp_even_hypotenuse_local_second_even))) - 0006
specialize pythagorean_primitive_legs_opposite_parity a - 0007
specialize pythagorean_primitive_legs_opposite_parity b - 0008
specialize pythagorean_primitive_legs_opposite_parity c - 0009
apply pythagorean_primitive_legs_opposite_parity - 0010
exact hprimitive - 0011
have hsum : Odd(a · a + b · b)Exact native replay line
have hsum : exists q. a * a + b * b = 2 * q + 1 - 0012
specialize pythagorean_opposite_parity_hypotenuse_odd a - 0013
specialize pythagorean_opposite_parity_hypotenuse_odd b - 0014
apply pythagorean_opposite_parity_hypotenuse_odd - 0015
exact hparity - 0016
specialize pythagorean_odd_square_has_odd_root c - 0017
apply pythagorean_odd_square_has_odd_root - 0018
cases hsum - 0019
exists x - 0020
trans a * a + b * b - 0021
cases hprimitive - 0022
symm - 0023
exact hprimitive_left - 0024
exact hsum_witness