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
∀ z. ∀ k. z = 2 · k + 1 → Mod4One(z · 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 z k. z = 2 * k + 1 -> exists q. z * z = 4 * q + 1Proof 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.
01Fix variables and assumptionsL1–3
02Construct an explicit witnessL4–4
Supply the displayed value, then prove that it has the required property.
- L4
exists k * k + k
03Calculate and transport equalitiesL5–10
04Use earlier factsL11–11
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L11
apply add_assoc
05Calculate and transport equalitiesL12–19
06Use earlier factsL20–20
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
apply four_mul_eq_double_double
07Calculate and transport equalitiesL21–26
08Use earlier factsL27–27
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L27
apply mul_double_right
09Calculate and transport equalitiesL28–28
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L28
symm
10Use earlier factsL29–29
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L29
apply four_mul_eq_double_double
Original defined command ledger · 29 lines
- 0001
intro z - 0002
intro k - 0003
intro hodd - 0004
exists k * k + k - 0005
rewrite hodd - 0006
rewrite hodd - 0007
simp [mul_add, add_mul, mul_assoc, mul_comm, add_assoc, add_comm, zero_add] - 0008
congr - 0009
trans (2 * k + 2 * k) + 2 * (k * (2 * k)) - 0010
symm - 0011
apply add_assoc - 0012
trans (2 * (2 * k)) + 2 * (k * (2 * k)) - 0013
congr - 0014
symm - 0015
simp [mul_succ_left, one_mul, mul_zero_left, zero_add] - 0016
refl - 0017
trans (4 * k) + 2 * (k * (2 * k)) - 0018
congr - 0019
symm - 0020
apply four_mul_eq_double_double - 0021
refl - 0022
congr - 0023
refl - 0024
trans 2 * (2 * (k * k)) - 0025
congr - 0026
refl - 0027
apply mul_double_right - 0028
symm - 0029
apply four_mul_eq_double_double