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
∀ m. ∀ n. Le(n,m) → Coprime(m,n) → OppositeParity(m,n) → ∃ x. PrimitivePythagorean(x,2 · (m · n),m · m + n · n)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 m n. (exists gap. gap + n = m) -> (forall pff_divisor_primitive_parameters. (exists pff_left_primitive_parameters. (m) = pff_divisor_primitive_parameters * pff_left_primitive_parameters) -> (exists pff_right_primitive_parameters. (n) = pff_divisor_primitive_parameters * pff_right_primitive_parameters) -> pff_divisor_primitive_parameters = 1) -> ((((exists pp_even_primitive_parameters_first_even. (m) = 2 * pp_even_primitive_parameters_first_even) /\ (exists pp_odd_primitive_parameters_second_odd. (n) = 2 * pp_odd_primitive_parameters_second_odd + 1)) \/ ((exists pp_odd_primitive_parameters_first_odd. (m) = 2 * pp_odd_primitive_parameters_first_odd + 1) /\ (exists pp_even_primitive_parameters_second_even. (n) = 2 * pp_even_primitive_parameters_second_even)))) -> exists d. ((((d) * (d) + (2 * (m * n)) * (2 * (m * n)) = (m * m + n * n) * (m * m + n * n)) /\ (forall pff_divisor_euclidean_result. (exists pff_left_euclidean_result. (d) = pff_divisor_euclidean_result * pff_left_euclidean_result) -> (exists pff_right_euclidean_result. (2 * (m * n)) = pff_divisor_euclidean_result * pff_right_euclidean_result) -> pff_divisor_euclidean_result = 1)))Proof neighborhood
Direct theorem prerequisites
Direct 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 (2)
01Fix variables and assumptionsL1–5
02Establish hgapL6–10
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply pythagorean square gap from order.
03Separate the logical casesL11–11
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L11
cases hgap
04Construct an explicit witnessL12–12
Supply the displayed value, then prove that it has the required property.
- L12
exists x
05Use earlier factsL13–19
Instantiate or apply named facts and discharge the corresponding proof obligations.
Original defined command ledger · 19 lines
- 0001
intro m - 0002
intro n - 0003
intro horder - 0004
intro hcoprime - 0005
intro hopposite - 0006
have hgap : exists d. m * m = n * n + d - 0007
specialize pythagorean_square_gap_from_order m - 0008
specialize pythagorean_square_gap_from_order n - 0009
apply pythagorean_square_gap_from_order - 0010
exact horder - 0011
cases hgap - 0012
exists x - 0013
specialize pythagorean_primitive_euclidean_constructor m - 0014
specialize pythagorean_primitive_euclidean_constructor n - 0015
specialize pythagorean_primitive_euclidean_constructor x - 0016
apply pythagorean_primitive_euclidean_constructor - 0017
exact hgap_witness - 0018
exact hcoprime - 0019
exact hopposite