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
∀ k. ∀ n. ¬k = 0 → ∃ x. ∃ y. ∃ z. n = k · x + y ∧ (y + z = k ∧ (Le(y,z) ∨ Le(z,y)))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 k n. ~(k = 0) -> exists q r s. ((n = k * q + r) /\ ((r + s = k) /\ ((exists t. t + r = s) \/ (exists t. t + s = r))))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.
01Fix variables and assumptionsL1–3
02Establish hdivisionL4–8
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply division remainder exists.
- L4
have hdivision : ∃ q. ∃ r. DivRem(n,k,q,r)Definitions: DivRem(n,k,q,r)Original native command in the exact edition - L5
specialize division_remainder_exists k - L6
specialize division_remainder_exists n - L7
apply division_remainder_exists - L8
exact hnonzero
03Separate the logical casesL9–12
04Construct an explicit witnessL13–15
05Separate the logical casesL16–16
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L16
split
06Use earlier factsL17–17
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L17
exact hdivision_witness_witness_left
07Separate the logical casesL18–18
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L18
split
08Calculate and transport equalitiesL19–20
09Use earlier factsL21–21
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
apply PA4
10Calculate and transport equalitiesL22–23
11Use earlier factsL24–24
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L24
apply add_comm
12Calculate and transport equalitiesL25–25
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L25
symm
Original defined command ledger · 30 lines
- 0001
intro k - 0002
intro n - 0003
intro hnonzero - 0004
have hdivision : ∃ q. ∃ r. DivRem(n,k,q,r)Exact native replay line
have hdivision : exists q r. ((n = k * q + r) /\ (exists t. t + S r = k)) - 0005
specialize division_remainder_exists k - 0006
specialize division_remainder_exists n - 0007
apply division_remainder_exists - 0008
exact hnonzero - 0009
cases hdivision - 0010
cases hdivision_witness - 0011
cases hdivision_witness_witness - 0012
cases hdivision_witness_witness_right - 0013
exists x - 0014
exists x1 - 0015
exists S x2 - 0016
split - 0017
exact hdivision_witness_witness_left - 0018
split - 0019
trans x2 + S x1 - 0020
trans S (x1 + x2) - 0021
apply PA4 - 0022
trans S (x2 + x1) - 0023
congr - 0024
apply add_comm - 0025
symm - 0026
apply PA4 - 0027
exact hdivision_witness_witness_right_witness - 0028
specialize le_total x1 - 0029
specialize le_total (S x2) - 0030
exact le_total