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 a b. (exists i. a = 2 * i + 1) -> (exists j. b = 2 * j + 1) -> exists q. a * a + b * b = 4 * q + 2Constructive proof overview
Generated structural guide
The sum of two witnessed odd squares has exact residue two modulo four.
The unchanged tactic script uses 4 declared prerequisites and contains 22 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
odd_square_is_four_multiple_plus_one Alpha theorem; checked-use authorized mul_add Stable theorem; checked-use authorized add_assoc Stable theorem; checked-use authorized add_comm 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.
01Fix variables and assumptionsL1–4
02Separate the logical casesL5–6
03Establish hasquareL7–11
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply odd square is four multiple plus one.
04Establish hbsquareL12–16
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply odd square is four multiple plus one.
05Separate the logical casesL17–18
06Construct an explicit witnessL19–19
Supply the displayed value, then prove that it has the required property.
- L19
exists x2 + x3
Original exact command ledger · 22 lines
- 0001
intro a - 0002
intro b - 0003
intro ha - 0004
intro hb - 0005
cases ha - 0006
cases hb - 0007
have hasquare : exists q. a * a = 4 * q + 1 - 0008
specialize odd_square_is_four_multiple_plus_one a - 0009
specialize odd_square_is_four_multiple_plus_one x - 0010
apply odd_square_is_four_multiple_plus_one - 0011
exact ha_witness - 0012
have hbsquare : exists q. b * b = 4 * q + 1 - 0013
specialize odd_square_is_four_multiple_plus_one b - 0014
specialize odd_square_is_four_multiple_plus_one x1 - 0015
apply odd_square_is_four_multiple_plus_one - 0016
exact hb_witness - 0017
cases hasquare - 0018
cases hbsquare - 0019
exists x2 + x3 - 0020
rewrite hasquare_witness - 0021
rewrite hbsquare_witness - 0022
simp [mul_add, add_assoc, add_comm]