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.
This branch proves the finite determinant/rank/span substrate. It does not claim Smith or Hermite normal form, lattice index equals determinant, determinant multiplicativity, lattice reduction, or geometry-of-numbers theorems.
Exact theorem in conservative defined notation
∀ k. ∀ B. ∃ c. ∃ T. UniformBetaPrefixBox(c,T,k,B)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 46 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 (2)
01Fix variables and assumptionsL1–2
02Establish hCL3–5
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply bounded common multiple exists.
- L3
have hC : exists C. ((~(C = 0)) /\ (forall mdr_t_uniform_common. (exists mdr_h_uniform_common. S mdr_t_uniform_common + S mdr_h_uniform_common = S (k)) -> exists mdr_q_uniform_common. C = S mdr_t_uniform_common * mdr_q_uniform_common)) - L4
specialize bounded_common_multiple_exists (k) - L5
apply bounded_common_multiple_exists
03Separate the logical casesL6–7
04Establish hscalecommonL8–13
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply scaled bounded common multiple.
- L8
have hscalecommon : forall mdr_t_scaled_common. (exists mdr_h_scaled_common. S mdr_t_scaled_common + S mdr_h_scaled_common = S (k)) -> exists mdr_q_scaled_common. x * B = S mdr_t_scaled_common * mdr_q_scaled_common - L9
specialize scaled_bounded_common_multiple (k) - L10
specialize scaled_bounded_common_multiple (x) - L11
specialize scaled_bounded_common_multiple (B) - L12
apply scaled_bounded_common_multiple - L13
exact hC_witness_right
05Establish hscaleL14–18
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply le scaled nonzero.
06Establish hTL19–21
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply bounded common multiple exists.
- L19
have hT : exists T. ((~(T = 0)) /\ (forall mdr_t_uniform_moduli. (exists mdr_h_uniform_moduli. S mdr_t_uniform_moduli + S mdr_h_uniform_moduli = S (S (k * (x * B)))) -> exists mdr_q_uniform_moduli. T = S mdr_t_uniform_moduli * mdr_q_uniform_moduli)) - L20
specialize bounded_common_multiple_exists (S (k * (x * B))) - L21
apply bounded_common_multiple_exists
07Separate the logical casesL22–23
08Construct an explicit witnessL24–25
09Separate the logical casesL26–26
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L26
split
10Use earlier factsL27–27
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L27
exact hT_witness_left
11Fix variables and assumptionsL28–30
12Use earlier factsL31–40
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L31
specialize matrix_rank_bounded_recode_in_fixed_box (k) - L32
specialize matrix_rank_bounded_recode_in_fixed_box (B) - L33
specialize matrix_rank_bounded_recode_in_fixed_box (x * B) - L34
specialize matrix_rank_bounded_recode_in_fixed_box (x1) - L35
specialize matrix_rank_bounded_recode_in_fixed_box (b) - L36
specialize matrix_rank_bounded_recode_in_fixed_box (e) - L37
apply matrix_rank_bounded_recode_in_fixed_box - L38
exact hscale - L39
exact hscalecommon - L40
exact hT_witness_left
13Use earlier factsL41–46
Instantiate or apply named facts and discharge the corresponding proof obligations.
Original defined command ledger · 46 lines
- 0001
intro k - 0002
intro B - 0003
have hC : exists C. ((~(C = 0)) /\ (forall mdr_t_uniform_common. (exists mdr_h_uniform_common. S mdr_t_uniform_common + S mdr_h_uniform_common = S (k)) -> exists mdr_q_uniform_common. C = S mdr_t_uniform_common * mdr_q_uniform_common)) - 0004
specialize bounded_common_multiple_exists (k) - 0005
apply bounded_common_multiple_exists - 0006
cases hC - 0007
cases hC_witness - 0008
have hscalecommon : forall mdr_t_scaled_common. (exists mdr_h_scaled_common. S mdr_t_scaled_common + S mdr_h_scaled_common = S (k)) -> exists mdr_q_scaled_common. x * B = S mdr_t_scaled_common * mdr_q_scaled_common - 0009
specialize scaled_bounded_common_multiple (k) - 0010
specialize scaled_bounded_common_multiple (x) - 0011
specialize scaled_bounded_common_multiple (B) - 0012
apply scaled_bounded_common_multiple - 0013
exact hC_witness_right - 0014
have hscale : Le(B,x · B) - 0015
specialize le_scaled_nonzero (x) - 0016
specialize le_scaled_nonzero (B) - 0017
apply le_scaled_nonzero - 0018
exact hC_witness_left - 0019
have hT : exists T. ((~(T = 0)) /\ (forall mdr_t_uniform_moduli. (exists mdr_h_uniform_moduli. S mdr_t_uniform_moduli + S mdr_h_uniform_moduli = S (S (k * (x * B)))) -> exists mdr_q_uniform_moduli. T = S mdr_t_uniform_moduli * mdr_q_uniform_moduli)) - 0020
specialize bounded_common_multiple_exists (S (k * (x * B))) - 0021
apply bounded_common_multiple_exists - 0022
cases hT - 0023
cases hT_witness - 0024
exists x * B - 0025
exists x1 - 0026
split - 0027
exact hT_witness_left - 0028
intro b - 0029
intro e - 0030
intro hbounded - 0031
specialize matrix_rank_bounded_recode_in_fixed_box (k) - 0032
specialize matrix_rank_bounded_recode_in_fixed_box (B) - 0033
specialize matrix_rank_bounded_recode_in_fixed_box (x * B) - 0034
specialize matrix_rank_bounded_recode_in_fixed_box (x1) - 0035
specialize matrix_rank_bounded_recode_in_fixed_box (b) - 0036
specialize matrix_rank_bounded_recode_in_fixed_box (e) - 0037
apply matrix_rank_bounded_recode_in_fixed_box - 0038
exact hscale - 0039
exact hscalecommon - 0040
exact hT_witness_left - 0041
specialize matrix_rank_beta_moduli_common_multiple (k) - 0042
specialize matrix_rank_beta_moduli_common_multiple (x * B) - 0043
specialize matrix_rank_beta_moduli_common_multiple (x1) - 0044
apply matrix_rank_beta_moduli_common_multiple - 0045
exact hT_witness_right - 0046
exact hbounded