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. ∀ d. m · m = n · n + d → Coprime(m,n) → Coprime(d,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 d. m * m = n * n + d -> (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) -> (forall pff_divisor_gap_second_result. (exists pff_left_gap_second_result. (d) = pff_divisor_gap_second_result * pff_left_gap_second_result) -> (exists pff_right_gap_second_result. (n) = pff_divisor_gap_second_result * pff_right_gap_second_result) -> pff_divisor_gap_second_result = 1)Proof neighborhood
Direct theorem prerequisites
PF000O pythagorean_parameter_divisor_divides_square multiple_add · Stable closed coprime_symm · Stable closed coprime_mul_right · 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–8
02Establish hnsquareL9–13
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply pythagorean parameter divisor divides square.
- L9
have hnsquare : Dvd(divisor,n · n)Definitions: Dvd(divisor,n · n)Original native command in the exact edition - L10
specialize pythagorean_parameter_divisor_divides_square divisor - L11
specialize pythagorean_parameter_divisor_divides_square n - L12
apply pythagorean_parameter_divisor_divides_square - L13
exact hn
03Establish hmsquareL14–21
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply multiple add.
- L14
have hmsquare : Dvd(divisor,m · m)Definitions: Dvd(divisor,m · m)Original native command in the exact edition - L15
rewrite hgap - L16
specialize multiple_add divisor - L17
specialize multiple_add (n * n) - L18
specialize multiple_add d - L19
apply multiple_add - L20
exact hnsquare - L21
exact hd
04Establish hreverseL22–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply coprime symm.
05Establish hsquarecopL27–36
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply coprime mul right.
- L27
have hsquarecop : Coprime(n,m · m)Definitions: Coprime(n,m · m)Original native command in the exact edition - L28
specialize coprime_mul_right n - L29
specialize coprime_mul_right m - L30
specialize coprime_mul_right m - L31
apply coprime_mul_right - L32
exact hreverse - L33
exact hreverse - L34
specialize hsquarecop divisor - L35
apply hsquarecop - L36
exact hn
06Use earlier factsL37–37
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L37
exact hmsquare
Original defined command ledger · 37 lines
- 0001
intro m - 0002
intro n - 0003
intro d - 0004
intro hgap - 0005
intro hcoprime - 0006
intro divisor - 0007
intro hd - 0008
intro hn - 0009
have hnsquare : Dvd(divisor,n · n)Exact native replay line
have hnsquare : exists q. n * n = divisor * q - 0010
specialize pythagorean_parameter_divisor_divides_square divisor - 0011
specialize pythagorean_parameter_divisor_divides_square n - 0012
apply pythagorean_parameter_divisor_divides_square - 0013
exact hn - 0014
have hmsquare : Dvd(divisor,m · m)Exact native replay line
have hmsquare : exists q. m * m = divisor * q - 0015
rewrite hgap - 0016
specialize multiple_add divisor - 0017
specialize multiple_add (n * n) - 0018
specialize multiple_add d - 0019
apply multiple_add - 0020
exact hnsquare - 0021
exact hd - 0022
have hreverse : Coprime(n,m)Exact native replay line
have hreverse : forall pff_divisor_second_reverse_local. (exists pff_left_second_reverse_local. (n) = pff_divisor_second_reverse_local * pff_left_second_reverse_local) -> (exists pff_right_second_reverse_local. (m) = pff_divisor_second_reverse_local * pff_right_second_reverse_local) -> pff_divisor_second_reverse_local = 1 - 0023
specialize coprime_symm m - 0024
specialize coprime_symm n - 0025
apply coprime_symm - 0026
exact hcoprime - 0027
have hsquarecop : Coprime(n,m · m)Exact native replay line
have hsquarecop : forall pff_divisor_second_square_local. (exists pff_left_second_square_local. (n) = pff_divisor_second_square_local * pff_left_second_square_local) -> (exists pff_right_second_square_local. (m * m) = pff_divisor_second_square_local * pff_right_second_square_local) -> pff_divisor_second_square_local = 1 - 0028
specialize coprime_mul_right n - 0029
specialize coprime_mul_right m - 0030
specialize coprime_mul_right m - 0031
apply coprime_mul_right - 0032
exact hreverse - 0033
exact hreverse - 0034
specialize hsquarecop divisor - 0035
apply hsquarecop - 0036
exact hn - 0037
exact hmsquare