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 operations. (exists ff_ones_bd_operation_bound. ((((exists ff_u_bd_operation_bound_count_sum ff_v_bd_operation_bound_count_sum. ((((exists ff_h_bd_operation_bound_count_sum_start. ff_h_bd_operation_bound_count_sum_start + S (0) = S ((S (0)) * ff_v_bd_operation_bound_count_sum)) /\ exists ff_q_bd_operation_bound_count_sum_start. ff_u_bd_operation_bound_count_sum = ff_q_bd_operation_bound_count_sum_start * S ((S (0)) * ff_v_bd_operation_bound_count_sum) + (0))) /\ ((((exists ff_h_bd_operation_bound_count_sum_terminal. ff_h_bd_operation_bound_count_sum_terminal + S (ff_ones_bd_operation_bound) = S ((S (l)) * ff_v_bd_operation_bound_count_sum)) /\ exists ff_q_bd_operation_bound_count_sum_terminal. ff_u_bd_operation_bound_count_sum = ff_q_bd_operation_bound_count_sum_terminal * S ((S (l)) * ff_v_bd_operation_bound_count_sum) + (ff_ones_bd_operation_bound))) /\ forall ff_i_bd_operation_bound_count_sum. (exists ff_lt_bd_operation_bound_count_sum_bound. ff_lt_bd_operation_bound_count_sum_bound + S ff_i_bd_operation_bound_count_sum = l) -> exists ff_a_bd_operation_bound_count_sum ff_r_bd_operation_bound_count_sum ff_s_bd_operation_bound_count_sum. ((((exists ff_h_bd_operation_bound_count_sum_summand. ff_h_bd_operation_bound_count_sum_summand + S (ff_a_bd_operation_bound_count_sum) = S ((S (ff_i_bd_operation_bound_count_sum)) * c)) /\ exists ff_q_bd_operation_bound_count_sum_summand. b = ff_q_bd_operation_bound_count_sum_summand * S ((S (ff_i_bd_operation_bound_count_sum)) * c) + (ff_a_bd_operation_bound_count_sum))) /\ ((((exists ff_h_bd_operation_bound_count_sum_partial. ff_h_bd_operation_bound_count_sum_partial + S (ff_r_bd_operation_bound_count_sum) = S ((S (ff_i_bd_operation_bound_count_sum)) * ff_v_bd_operation_bound_count_sum)) /\ exists ff_q_bd_operation_bound_count_sum_partial. ff_u_bd_operation_bound_count_sum = ff_q_bd_operation_bound_count_sum_partial * S ((S (ff_i_bd_operation_bound_count_sum)) * ff_v_bd_operation_bound_count_sum) + (ff_r_bd_operation_bound_count_sum))) /\ ((((exists ff_h_bd_operation_bound_count_sum_successor. ff_h_bd_operation_bound_count_sum_successor + S (ff_s_bd_operation_bound_count_sum) = S ((S (S ff_i_bd_operation_bound_count_sum)) * ff_v_bd_operation_bound_count_sum)) /\ exists ff_q_bd_operation_bound_count_sum_successor. ff_u_bd_operation_bound_count_sum = ff_q_bd_operation_bound_count_sum_successor * S ((S (S ff_i_bd_operation_bound_count_sum)) * ff_v_bd_operation_bound_count_sum) + (ff_s_bd_operation_bound_count_sum))) /\ ff_s_bd_operation_bound_count_sum = ff_r_bd_operation_bound_count_sum + ff_a_bd_operation_bound_count_sum)))))) /\ (forall ff_i_bd_operation_bound_count_bits. (exists ff_lt_bd_operation_bound_count_bits_bound. ff_lt_bd_operation_bound_count_bits_bound + S ff_i_bd_operation_bound_count_bits = l) -> exists ff_bit_bd_operation_bound_count_bits. ((((exists ff_h_bd_operation_bound_count_bits_decoded. ff_h_bd_operation_bound_count_bits_decoded + S (ff_bit_bd_operation_bound_count_bits) = S ((S (ff_i_bd_operation_bound_count_bits)) * c)) /\ exists ff_q_bd_operation_bound_count_bits_decoded. b = ff_q_bd_operation_bound_count_bits_decoded * S ((S (ff_i_bd_operation_bound_count_bits)) * c) + (ff_bit_bd_operation_bound_count_bits))) /\ (ff_bit_bd_operation_bound_count_bits = 0 \/ ff_bit_bd_operation_bound_count_bits = 1))))) /\ operations = (2 + (l + l)) + ff_ones_bd_operation_bound)) -> exists gap. gap + operations = 3 * l + 2Constructive proof overview
Generated structural guide
The actual beta-counted initialization/square/optional-multiply cost of any binary prefix is at most 3*l+2.
The unchanged tactic script uses 3 declared prerequisites and contains 26 exact native proof lines.
Alpha v34 checked-use · first admitted v23 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
bit_count_bounded Stable theorem; checked-use authorized add_le_add_left Stable theorem; checked-use authorized BD000F binary_three_times_cost_normalizationDirect 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.
Named ingredients (1)
01Fix variables and assumptionsL1–5
02Separate the logical casesL6–7
03Establish honesL8–14
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply bit count bounded.
04Establish hscaledL15–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add le add left.
05Establish hnormalL21–26
Establish this local claim before using it. It is not an additional assumption.
Original exact command ledger · 26 lines
- 0001
intro b - 0002
intro c - 0003
intro l - 0004
intro operations - 0005
intro hcost - 0006
cases hcost - 0007
cases hcost_witness - 0008
have hones : exists gap. gap + x = l - 0009
specialize bit_count_bounded b - 0010
specialize bit_count_bounded c - 0011
specialize bit_count_bounded l - 0012
specialize bit_count_bounded x - 0013
apply bit_count_bounded - 0014
exact hcost_witness_left - 0015
have hscaled : exists gap. gap + ((2 + (l + l)) + x) = (2 + (l + l)) + l - 0016
specialize add_le_add_left x - 0017
specialize add_le_add_left l - 0018
specialize add_le_add_left (2 + (l + l)) - 0019
apply add_le_add_left - 0020
exact hones - 0021
have hnormal : (2 + (l + l)) + l = 3 * l + 2 - 0022
specialize binary_three_times_cost_normalization l - 0023
exact binary_three_times_cost_normalization - 0024
rewrite <- hcost_witness_right at hscaled - 0025
rewrite hnormal at hscaled - 0026
exact hscaled
Separate complete second-wave branches: Full T13 proof · Alpha v27.