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.
Exact expanded first-order arithmetic 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)Constructive proof overview
Generated structural guide
A square-difference leg is coprime to the second Euclidean parameter whenever the parameters themselves are coprime.
The unchanged tactic script uses 4 declared prerequisites and contains 37 exact native proof lines.
dependency-curried kernel-checked theorem body; Alpha enrollment and checked-use authority follow separately sealed release evidence; Stable membership remains unchanged
Proof neighborhood
Direct dependencies
PF000O pythagorean_parameter_divisor_divides_square multiple_add Stable theorem; checked-use authorized coprime_symm Stable theorem; checked-use authorized coprime_mul_right Stable theorem; checked-use authorizedDirect dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
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.
03Establish hmsquareL14–21
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply multiple add.
04Establish hreverseL22–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply coprime symm.
- L22
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 - L23
specialize coprime_symm m - L24
specialize coprime_symm n - L25
apply coprime_symm - L26
exact hcoprime
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 : 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 - 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 exact 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 : 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 : 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 : 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 : 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