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.
All finite lists are included, even the empty list and zero moduli. A positive LCM gives x<M; at zero LCM congruence is exact equality and normalization deliberately does not require the impossible x<0.
Exact theorem in conservative defined notation
∀ r. ∀ s. ∀ b. ∀ c. ∀ l. ∀ M. ∀ x. CRTPrefixLCM(b,c,l,M) → CRTPrefixSolution(r,s,b,c,l,x) → ∃ y. CRTNormalizedPrefixSolution(r,s,b,c,l,y,M)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 44 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay script.
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–9
02Establish hzL10–13
03Separate the logical casesL14–14
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L14
cases hz
04Construct an explicit witnessL15–15
Supply the displayed value, then prove that it has the required property.
- L15
exists x
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 hM
07Separate the logical casesL18–19
08Use earlier factsL20–21
09Establish hcL22–31
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply crt prefix solution canonical remainder.
- L22
have hc : ∃ y. CRTPrefixLCM(b,c,l,M) ∧ (Lt(y,M) ∧ CRTPrefixSolution(r,s,b,c,l,y))Definitions: CRTPrefixLCM(b,c,l,M)Lt(y,M)CRTPrefixSolution(r,s,b,c,l,y)Original native command in the exact edition - L23
specialize crt_prefix_solution_canonical_remainder r - L24
specialize crt_prefix_solution_canonical_remainder s - L25
specialize crt_prefix_solution_canonical_remainder b - L26
specialize crt_prefix_solution_canonical_remainder c - L27
specialize crt_prefix_solution_canonical_remainder l - L28
specialize crt_prefix_solution_canonical_remainder M - L29
specialize crt_prefix_solution_canonical_remainder x - L30
apply crt_prefix_solution_canonical_remainder - L31
exact hz_right
10Use earlier factsL32–33
11Separate the logical casesL34–34
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L34
cases hc
12Construct an explicit witnessL35–35
Supply the displayed value, then prove that it has the required property.
- L35
exists x1
13Use earlier factsL36–44
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L36
specialize crt_canonical_prefix_solution_implies_normalized r - L37
specialize crt_canonical_prefix_solution_implies_normalized s - L38
specialize crt_canonical_prefix_solution_implies_normalized b - L39
specialize crt_canonical_prefix_solution_implies_normalized c - L40
specialize crt_canonical_prefix_solution_implies_normalized l - L41
specialize crt_canonical_prefix_solution_implies_normalized x1 - L42
specialize crt_canonical_prefix_solution_implies_normalized M - L43
apply crt_canonical_prefix_solution_implies_normalized - L44
exact hc_witness
Original defined command ledger · 44 lines
- 0001
intro r - 0002
intro s - 0003
intro b - 0004
intro c - 0005
intro l - 0006
intro M - 0007
intro x - 0008
intro hM - 0009
intro hs - 0010
have hz : M = 0 \/ ~(M = 0) - 0011
specialize eq_decidable M - 0012
specialize eq_decidable 0 - 0013
apply eq_decidable - 0014
cases hz - 0015
exists x - 0016
split - 0017
exact hM - 0018
split - 0019
left - 0020
exact hz_left - 0021
exact hs - 0022
have hc : ∃ y. CRTPrefixLCM(b,c,l,M) ∧ (Lt(y,M) ∧ CRTPrefixSolution(r,s,b,c,l,y)) - 0023
specialize crt_prefix_solution_canonical_remainder r - 0024
specialize crt_prefix_solution_canonical_remainder s - 0025
specialize crt_prefix_solution_canonical_remainder b - 0026
specialize crt_prefix_solution_canonical_remainder c - 0027
specialize crt_prefix_solution_canonical_remainder l - 0028
specialize crt_prefix_solution_canonical_remainder M - 0029
specialize crt_prefix_solution_canonical_remainder x - 0030
apply crt_prefix_solution_canonical_remainder - 0031
exact hz_right - 0032
exact hM - 0033
exact hs - 0034
cases hc - 0035
exists x1 - 0036
specialize crt_canonical_prefix_solution_implies_normalized r - 0037
specialize crt_canonical_prefix_solution_implies_normalized s - 0038
specialize crt_canonical_prefix_solution_implies_normalized b - 0039
specialize crt_canonical_prefix_solution_implies_normalized c - 0040
specialize crt_canonical_prefix_solution_implies_normalized l - 0041
specialize crt_canonical_prefix_solution_implies_normalized x1 - 0042
specialize crt_canonical_prefix_solution_implies_normalized M - 0043
apply crt_canonical_prefix_solution_implies_normalized - 0044
exact hc_witness