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 n. exists l. (((((n) = 0 /\ (l) = 1) \/ exists ff_exponent_bl_length ff_lower_bl_length ff_upper_bl_length. (((l) = S ff_exponent_bl_length) /\ ((exists ff_positive_bl_length. ff_positive_bl_length + 1 = (n)) /\ ((exists pa_b_bl_length_lower pa_c_bl_length_lower. ((forall pa_i_bl_length_lower_repeat. (exists pa_lt_bl_length_lower_repeat_bound. pa_lt_bl_length_lower_repeat_bound + S pa_i_bl_length_lower_repeat = ff_exponent_bl_length) -> (((exists pa_h_bl_length_lower_repeat_decoded. pa_h_bl_length_lower_repeat_decoded + S (2) = S ((S (pa_i_bl_length_lower_repeat)) * pa_c_bl_length_lower)) /\ exists pa_q_bl_length_lower_repeat_decoded. pa_b_bl_length_lower = pa_q_bl_length_lower_repeat_decoded * S ((S (pa_i_bl_length_lower_repeat)) * pa_c_bl_length_lower) + (2)))) /\ (exists pa_u_bl_length_lower_product pa_v_bl_length_lower_product. ((((exists pa_h_bl_length_lower_product_start. pa_h_bl_length_lower_product_start + S (1) = S ((S (0)) * pa_v_bl_length_lower_product)) /\ exists pa_q_bl_length_lower_product_start. pa_u_bl_length_lower_product = pa_q_bl_length_lower_product_start * S ((S (0)) * pa_v_bl_length_lower_product) + (1))) /\ ((((exists pa_h_bl_length_lower_product_terminal. pa_h_bl_length_lower_product_terminal + S (ff_lower_bl_length) = S ((S (ff_exponent_bl_length)) * pa_v_bl_length_lower_product)) /\ exists pa_q_bl_length_lower_product_terminal. pa_u_bl_length_lower_product = pa_q_bl_length_lower_product_terminal * S ((S (ff_exponent_bl_length)) * pa_v_bl_length_lower_product) + (ff_lower_bl_length))) /\ forall pa_i_bl_length_lower_product. (exists pa_lt_bl_length_lower_product_bound. pa_lt_bl_length_lower_product_bound + S pa_i_bl_length_lower_product = ff_exponent_bl_length) -> exists pa_p_bl_length_lower_product pa_r_bl_length_lower_product pa_s_bl_length_lower_product. ((((exists pa_h_bl_length_lower_product_factor. pa_h_bl_length_lower_product_factor + S (pa_p_bl_length_lower_product) = S ((S (pa_i_bl_length_lower_product)) * pa_c_bl_length_lower)) /\ exists pa_q_bl_length_lower_product_factor. pa_b_bl_length_lower = pa_q_bl_length_lower_product_factor * S ((S (pa_i_bl_length_lower_product)) * pa_c_bl_length_lower) + (pa_p_bl_length_lower_product))) /\ ((((exists pa_h_bl_length_lower_product_partial. pa_h_bl_length_lower_product_partial + S (pa_r_bl_length_lower_product) = S ((S (pa_i_bl_length_lower_product)) * pa_v_bl_length_lower_product)) /\ exists pa_q_bl_length_lower_product_partial. pa_u_bl_length_lower_product = pa_q_bl_length_lower_product_partial * S ((S (pa_i_bl_length_lower_product)) * pa_v_bl_length_lower_product) + (pa_r_bl_length_lower_product))) /\ ((((exists pa_h_bl_length_lower_product_successor. pa_h_bl_length_lower_product_successor + S (pa_s_bl_length_lower_product) = S ((S (S pa_i_bl_length_lower_product)) * pa_v_bl_length_lower_product)) /\ exists pa_q_bl_length_lower_product_successor. pa_u_bl_length_lower_product = pa_q_bl_length_lower_product_successor * S ((S (S pa_i_bl_length_lower_product)) * pa_v_bl_length_lower_product) + (pa_s_bl_length_lower_product))) /\ pa_s_bl_length_lower_product = pa_r_bl_length_lower_product * pa_p_bl_length_lower_product)))))))) /\ ((exists pa_b_bl_length_upper pa_c_bl_length_upper. ((forall pa_i_bl_length_upper_repeat. (exists pa_lt_bl_length_upper_repeat_bound. pa_lt_bl_length_upper_repeat_bound + S pa_i_bl_length_upper_repeat = l) -> (((exists pa_h_bl_length_upper_repeat_decoded. pa_h_bl_length_upper_repeat_decoded + S (2) = S ((S (pa_i_bl_length_upper_repeat)) * pa_c_bl_length_upper)) /\ exists pa_q_bl_length_upper_repeat_decoded. pa_b_bl_length_upper = pa_q_bl_length_upper_repeat_decoded * S ((S (pa_i_bl_length_upper_repeat)) * pa_c_bl_length_upper) + (2)))) /\ (exists pa_u_bl_length_upper_product pa_v_bl_length_upper_product. ((((exists pa_h_bl_length_upper_product_start. pa_h_bl_length_upper_product_start + S (1) = S ((S (0)) * pa_v_bl_length_upper_product)) /\ exists pa_q_bl_length_upper_product_start. pa_u_bl_length_upper_product = pa_q_bl_length_upper_product_start * S ((S (0)) * pa_v_bl_length_upper_product) + (1))) /\ ((((exists pa_h_bl_length_upper_product_terminal. pa_h_bl_length_upper_product_terminal + S (ff_upper_bl_length) = S ((S (l)) * pa_v_bl_length_upper_product)) /\ exists pa_q_bl_length_upper_product_terminal. pa_u_bl_length_upper_product = pa_q_bl_length_upper_product_terminal * S ((S (l)) * pa_v_bl_length_upper_product) + (ff_upper_bl_length))) /\ forall pa_i_bl_length_upper_product. (exists pa_lt_bl_length_upper_product_bound. pa_lt_bl_length_upper_product_bound + S pa_i_bl_length_upper_product = l) -> exists pa_p_bl_length_upper_product pa_r_bl_length_upper_product pa_s_bl_length_upper_product. ((((exists pa_h_bl_length_upper_product_factor. pa_h_bl_length_upper_product_factor + S (pa_p_bl_length_upper_product) = S ((S (pa_i_bl_length_upper_product)) * pa_c_bl_length_upper)) /\ exists pa_q_bl_length_upper_product_factor. pa_b_bl_length_upper = pa_q_bl_length_upper_product_factor * S ((S (pa_i_bl_length_upper_product)) * pa_c_bl_length_upper) + (pa_p_bl_length_upper_product))) /\ ((((exists pa_h_bl_length_upper_product_partial. pa_h_bl_length_upper_product_partial + S (pa_r_bl_length_upper_product) = S ((S (pa_i_bl_length_upper_product)) * pa_v_bl_length_upper_product)) /\ exists pa_q_bl_length_upper_product_partial. pa_u_bl_length_upper_product = pa_q_bl_length_upper_product_partial * S ((S (pa_i_bl_length_upper_product)) * pa_v_bl_length_upper_product) + (pa_r_bl_length_upper_product))) /\ ((((exists pa_h_bl_length_upper_product_successor. pa_h_bl_length_upper_product_successor + S (pa_s_bl_length_upper_product) = S ((S (S pa_i_bl_length_upper_product)) * pa_v_bl_length_upper_product)) /\ exists pa_q_bl_length_upper_product_successor. pa_u_bl_length_upper_product = pa_q_bl_length_upper_product_successor * S ((S (S pa_i_bl_length_upper_product)) * pa_v_bl_length_upper_product) + (pa_s_bl_length_upper_product))) /\ pa_s_bl_length_upper_product = pa_r_bl_length_upper_product * pa_p_bl_length_upper_product)))))))) /\ ((exists ff_lower_gap_bl_length. ff_lower_gap_bl_length + (ff_lower_bl_length) = (n)) /\ (exists ff_upper_gap_bl_length. ff_upper_gap_bl_length + S (n) = (ff_upper_bl_length))))))))) /\ forall L. ((((n) = 0 /\ (L) = 1) \/ exists ff_exponent_bl_other_length ff_lower_bl_other_length ff_upper_bl_other_length. (((L) = S ff_exponent_bl_other_length) /\ ((exists ff_positive_bl_other_length. ff_positive_bl_other_length + 1 = (n)) /\ ((exists pa_b_bl_other_length_lower pa_c_bl_other_length_lower. ((forall pa_i_bl_other_length_lower_repeat. (exists pa_lt_bl_other_length_lower_repeat_bound. pa_lt_bl_other_length_lower_repeat_bound + S pa_i_bl_other_length_lower_repeat = ff_exponent_bl_other_length) -> (((exists pa_h_bl_other_length_lower_repeat_decoded. pa_h_bl_other_length_lower_repeat_decoded + S (2) = S ((S (pa_i_bl_other_length_lower_repeat)) * pa_c_bl_other_length_lower)) /\ exists pa_q_bl_other_length_lower_repeat_decoded. pa_b_bl_other_length_lower = pa_q_bl_other_length_lower_repeat_decoded * S ((S (pa_i_bl_other_length_lower_repeat)) * pa_c_bl_other_length_lower) + (2)))) /\ (exists pa_u_bl_other_length_lower_product pa_v_bl_other_length_lower_product. ((((exists pa_h_bl_other_length_lower_product_start. pa_h_bl_other_length_lower_product_start + S (1) = S ((S (0)) * pa_v_bl_other_length_lower_product)) /\ exists pa_q_bl_other_length_lower_product_start. pa_u_bl_other_length_lower_product = pa_q_bl_other_length_lower_product_start * S ((S (0)) * pa_v_bl_other_length_lower_product) + (1))) /\ ((((exists pa_h_bl_other_length_lower_product_terminal. pa_h_bl_other_length_lower_product_terminal + S (ff_lower_bl_other_length) = S ((S (ff_exponent_bl_other_length)) * pa_v_bl_other_length_lower_product)) /\ exists pa_q_bl_other_length_lower_product_terminal. pa_u_bl_other_length_lower_product = pa_q_bl_other_length_lower_product_terminal * S ((S (ff_exponent_bl_other_length)) * pa_v_bl_other_length_lower_product) + (ff_lower_bl_other_length))) /\ forall pa_i_bl_other_length_lower_product. (exists pa_lt_bl_other_length_lower_product_bound. pa_lt_bl_other_length_lower_product_bound + S pa_i_bl_other_length_lower_product = ff_exponent_bl_other_length) -> exists pa_p_bl_other_length_lower_product pa_r_bl_other_length_lower_product pa_s_bl_other_length_lower_product. ((((exists pa_h_bl_other_length_lower_product_factor. pa_h_bl_other_length_lower_product_factor + S (pa_p_bl_other_length_lower_product) = S ((S (pa_i_bl_other_length_lower_product)) * pa_c_bl_other_length_lower)) /\ exists pa_q_bl_other_length_lower_product_factor. pa_b_bl_other_length_lower = pa_q_bl_other_length_lower_product_factor * S ((S (pa_i_bl_other_length_lower_product)) * pa_c_bl_other_length_lower) + (pa_p_bl_other_length_lower_product))) /\ ((((exists pa_h_bl_other_length_lower_product_partial. pa_h_bl_other_length_lower_product_partial + S (pa_r_bl_other_length_lower_product) = S ((S (pa_i_bl_other_length_lower_product)) * pa_v_bl_other_length_lower_product)) /\ exists pa_q_bl_other_length_lower_product_partial. pa_u_bl_other_length_lower_product = pa_q_bl_other_length_lower_product_partial * S ((S (pa_i_bl_other_length_lower_product)) * pa_v_bl_other_length_lower_product) + (pa_r_bl_other_length_lower_product))) /\ ((((exists pa_h_bl_other_length_lower_product_successor. pa_h_bl_other_length_lower_product_successor + S (pa_s_bl_other_length_lower_product) = S ((S (S pa_i_bl_other_length_lower_product)) * pa_v_bl_other_length_lower_product)) /\ exists pa_q_bl_other_length_lower_product_successor. pa_u_bl_other_length_lower_product = pa_q_bl_other_length_lower_product_successor * S ((S (S pa_i_bl_other_length_lower_product)) * pa_v_bl_other_length_lower_product) + (pa_s_bl_other_length_lower_product))) /\ pa_s_bl_other_length_lower_product = pa_r_bl_other_length_lower_product * pa_p_bl_other_length_lower_product)))))))) /\ ((exists pa_b_bl_other_length_upper pa_c_bl_other_length_upper. ((forall pa_i_bl_other_length_upper_repeat. (exists pa_lt_bl_other_length_upper_repeat_bound. pa_lt_bl_other_length_upper_repeat_bound + S pa_i_bl_other_length_upper_repeat = L) -> (((exists pa_h_bl_other_length_upper_repeat_decoded. pa_h_bl_other_length_upper_repeat_decoded + S (2) = S ((S (pa_i_bl_other_length_upper_repeat)) * pa_c_bl_other_length_upper)) /\ exists pa_q_bl_other_length_upper_repeat_decoded. pa_b_bl_other_length_upper = pa_q_bl_other_length_upper_repeat_decoded * S ((S (pa_i_bl_other_length_upper_repeat)) * pa_c_bl_other_length_upper) + (2)))) /\ (exists pa_u_bl_other_length_upper_product pa_v_bl_other_length_upper_product. ((((exists pa_h_bl_other_length_upper_product_start. pa_h_bl_other_length_upper_product_start + S (1) = S ((S (0)) * pa_v_bl_other_length_upper_product)) /\ exists pa_q_bl_other_length_upper_product_start. pa_u_bl_other_length_upper_product = pa_q_bl_other_length_upper_product_start * S ((S (0)) * pa_v_bl_other_length_upper_product) + (1))) /\ ((((exists pa_h_bl_other_length_upper_product_terminal. pa_h_bl_other_length_upper_product_terminal + S (ff_upper_bl_other_length) = S ((S (L)) * pa_v_bl_other_length_upper_product)) /\ exists pa_q_bl_other_length_upper_product_terminal. pa_u_bl_other_length_upper_product = pa_q_bl_other_length_upper_product_terminal * S ((S (L)) * pa_v_bl_other_length_upper_product) + (ff_upper_bl_other_length))) /\ forall pa_i_bl_other_length_upper_product. (exists pa_lt_bl_other_length_upper_product_bound. pa_lt_bl_other_length_upper_product_bound + S pa_i_bl_other_length_upper_product = L) -> exists pa_p_bl_other_length_upper_product pa_r_bl_other_length_upper_product pa_s_bl_other_length_upper_product. ((((exists pa_h_bl_other_length_upper_product_factor. pa_h_bl_other_length_upper_product_factor + S (pa_p_bl_other_length_upper_product) = S ((S (pa_i_bl_other_length_upper_product)) * pa_c_bl_other_length_upper)) /\ exists pa_q_bl_other_length_upper_product_factor. pa_b_bl_other_length_upper = pa_q_bl_other_length_upper_product_factor * S ((S (pa_i_bl_other_length_upper_product)) * pa_c_bl_other_length_upper) + (pa_p_bl_other_length_upper_product))) /\ ((((exists pa_h_bl_other_length_upper_product_partial. pa_h_bl_other_length_upper_product_partial + S (pa_r_bl_other_length_upper_product) = S ((S (pa_i_bl_other_length_upper_product)) * pa_v_bl_other_length_upper_product)) /\ exists pa_q_bl_other_length_upper_product_partial. pa_u_bl_other_length_upper_product = pa_q_bl_other_length_upper_product_partial * S ((S (pa_i_bl_other_length_upper_product)) * pa_v_bl_other_length_upper_product) + (pa_r_bl_other_length_upper_product))) /\ ((((exists pa_h_bl_other_length_upper_product_successor. pa_h_bl_other_length_upper_product_successor + S (pa_s_bl_other_length_upper_product) = S ((S (S pa_i_bl_other_length_upper_product)) * pa_v_bl_other_length_upper_product)) /\ exists pa_q_bl_other_length_upper_product_successor. pa_u_bl_other_length_upper_product = pa_q_bl_other_length_upper_product_successor * S ((S (S pa_i_bl_other_length_upper_product)) * pa_v_bl_other_length_upper_product) + (pa_s_bl_other_length_upper_product))) /\ pa_s_bl_other_length_upper_product = pa_r_bl_other_length_upper_product * pa_p_bl_other_length_upper_product)))))))) /\ ((exists ff_lower_gap_bl_other_length. ff_lower_gap_bl_other_length + (ff_lower_bl_other_length) = (n)) /\ (exists ff_upper_gap_bl_other_length. ff_upper_gap_bl_other_length + S (n) = (ff_upper_bl_other_length))))))))) -> l = L)Constructive proof overview
Generated structural guide
Every natural has exactly one canonical blueprint-compatible bit length.
The unchanged tactic script uses 2 declared prerequisites and contains 14 exact native proof lines.
Alpha v34 checked-use · first admitted v22 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
Direct 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 (2)
01Fix variables and assumptionsL1–1
Work with arbitrary variables or the premises of the current implication.
- L1
intro n
02Use earlier factsL2–2
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L2
specialize binary_length_exists n
03Separate the logical casesL3–3
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L3
cases binary_length_exists
04Construct an explicit witnessL4–4
Supply the displayed value, then prove that it has the required property.
- L4
exists x
05Separate the logical casesL5–5
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L5
split
06Use earlier factsL6–6
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L6
exact binary_length_exists_witness
07Fix variables and assumptionsL7–8
08Use earlier factsL9–14
Original exact command ledger · 14 lines
- 0001
intro n - 0002
specialize binary_length_exists n - 0003
cases binary_length_exists - 0004
exists x - 0005
split - 0006
exact binary_length_exists_witness - 0007
intro L - 0008
intro hother - 0009
specialize binary_length_functional n - 0010
specialize binary_length_functional x - 0011
specialize binary_length_functional L - 0012
apply binary_length_functional - 0013
exact binary_length_exists_witness - 0014
exact hother