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 b c l n. (((exists ff_u_fms_count ff_v_fms_count. ((((exists ff_h_fms_count_start. ff_h_fms_count_start + S (0) = S ((S (0)) * ff_v_fms_count)) /\ exists ff_q_fms_count_start. ff_u_fms_count = ff_q_fms_count_start * S ((S (0)) * ff_v_fms_count) + (0))) /\ ((((exists ff_h_fms_count_terminal. ff_h_fms_count_terminal + S ((n)) = S ((S ((l))) * ff_v_fms_count)) /\ exists ff_q_fms_count_terminal. ff_u_fms_count = ff_q_fms_count_terminal * S ((S ((l))) * ff_v_fms_count) + ((n)))) /\ forall ff_i_fms_count. (exists ff_lt_fms_count_bound. ff_lt_fms_count_bound + S ff_i_fms_count = (l)) -> exists ff_a_fms_count ff_r_fms_count ff_s_fms_count. ((((exists ff_h_fms_count_summand. ff_h_fms_count_summand + S (ff_a_fms_count) = S ((S (ff_i_fms_count)) * (c))) /\ exists ff_q_fms_count_summand. (b) = ff_q_fms_count_summand * S ((S (ff_i_fms_count)) * (c)) + (ff_a_fms_count))) /\ ((((exists ff_h_fms_count_partial. ff_h_fms_count_partial + S (ff_r_fms_count) = S ((S (ff_i_fms_count)) * ff_v_fms_count)) /\ exists ff_q_fms_count_partial. ff_u_fms_count = ff_q_fms_count_partial * S ((S (ff_i_fms_count)) * ff_v_fms_count) + (ff_r_fms_count))) /\ ((((exists ff_h_fms_count_successor. ff_h_fms_count_successor + S (ff_s_fms_count) = S ((S (S ff_i_fms_count)) * ff_v_fms_count)) /\ exists ff_q_fms_count_successor. ff_u_fms_count = ff_q_fms_count_successor * S ((S (S ff_i_fms_count)) * ff_v_fms_count) + (ff_s_fms_count))) /\ ff_s_fms_count = ff_r_fms_count + ff_a_fms_count)))))) /\ (forall ff_i_fms_count. (exists ff_lt_fms_count_bound. ff_lt_fms_count_bound + S ff_i_fms_count = (l)) -> exists ff_bit_fms_count. ((((exists ff_h_fms_count_decoded. ff_h_fms_count_decoded + S (ff_bit_fms_count) = S ((S (ff_i_fms_count)) * (c))) /\ exists ff_q_fms_count_decoded. (b) = ff_q_fms_count_decoded * S ((S (ff_i_fms_count)) * (c)) + (ff_bit_fms_count))) /\ (ff_bit_fms_count = 0 \/ ff_bit_fms_count = 1))))) -> ~(n=l) -> exists i. (exists fms_gap_lt. fms_gap_lt + S (i) = (l)) /\ (((exists fs_h_fms_missing_zero. fs_h_fms_missing_zero + S (0) = S ((S (i)) * c)) /\ exists fs_q_fms_missing_zero. b = fs_q_fms_missing_zero * S ((S (i)) * c) + (0)))Constructive proof overview
Generated structural guide
If a bit count is not the ambient size, finite search returns an actual zero position.
The unchanged tactic script uses 2 declared prerequisites and contains 41 exact native proof lines.
Alpha v34 checked-use · first admitted v27 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
finite_contains_decidable Stable theorem; checked-use authorized beta_all_one_bit_count_exact Alpha 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–6
02Use earlier factsL7–10
03Separate the logical casesL11–11
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L11
cases finite_contains_decidable
04Use earlier factsL12–12
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L12
exact finite_contains_decidable_left
05Separate the logical casesL13–13
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L13
exfalso
06Use earlier factsL14–19
Instantiate or apply named facts and discharge the corresponding proof obligations.
07Fix variables and assumptionsL20–21
08Separate the logical casesL22–22
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L22
cases hcount
09Use earlier factsL23–23
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L23
specialize hcount_right i
10Establish hentryL24–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hcount right.
11Separate the logical casesL27–30
12Use earlier factsL31–31
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L31
apply finite_contains_decidable_right
13Construct an explicit witnessL32–32
Supply the displayed value, then prove that it has the required property.
- L32
exists i
14Separate the logical casesL33–33
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L33
split
15Use earlier factsL34–34
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L34
exact hi
16Calculate and transport equalitiesL35–36
17Use earlier factsL37–37
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L37
exact hentry_witness_left
18Calculate and transport equalitiesL38–39
Original exact command ledger · 41 lines
- 0001
intro b - 0002
intro c - 0003
intro l - 0004
intro n - 0005
intro hcount - 0006
intro hne - 0007
specialize finite_contains_decidable b - 0008
specialize finite_contains_decidable c - 0009
specialize finite_contains_decidable l - 0010
specialize finite_contains_decidable 0 - 0011
cases finite_contains_decidable - 0012
exact finite_contains_decidable_left - 0013
exfalso - 0014
apply hne - 0015
specialize beta_all_one_bit_count_exact b - 0016
specialize beta_all_one_bit_count_exact c - 0017
specialize beta_all_one_bit_count_exact l - 0018
specialize beta_all_one_bit_count_exact n - 0019
apply beta_all_one_bit_count_exact - 0020
intro i - 0021
intro hi - 0022
cases hcount - 0023
specialize hcount_right i - 0024
have hentry : exists a. (((exists fs_h_fms_nozero_entry. fs_h_fms_nozero_entry + S (a) = S ((S (i)) * c)) /\ exists fs_q_fms_nozero_entry. b = fs_q_fms_nozero_entry * S ((S (i)) * c) + (a))) /\ (a=0 \/ a=1) - 0025
apply hcount_right - 0026
exact hi - 0027
cases hentry - 0028
cases hentry_witness - 0029
cases hentry_witness_right - 0030
exfalso - 0031
apply finite_contains_decidable_right - 0032
exists i - 0033
split - 0034
exact hi - 0035
rewrite hentry_witness_right_left at hentry_witness_left - 0036
rewrite hentry_witness_right_left at hentry_witness_left - 0037
exact hentry_witness_left - 0038
rewrite hentry_witness_right_right at hentry_witness_left - 0039
rewrite hentry_witness_right_right at hentry_witness_left - 0040
exact hentry_witness_left - 0041
exact hcount