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.
Statement with defined notation
∀ z. Primorial(1,z) → z = 1Every purple notation token opens its conservative definition. Expanding the displayed statement recovers the exact first-order Peano-arithmetic formula checked by the unchanged kernel.
Definitions used by this theorem
In the theorem statement
1 occurrences
In local proof propositions
3 occurrences
Exact expanded native-PA statement
forall z. (exists bpr_code_bpo_source bpr_scale_bpo_source. ((forall bpr_index_bpo_source_mask. (exists bpr_gap_bpo_source_mask_bound. bpr_gap_bpo_source_mask_bound + S (bpr_index_bpo_source_mask) = 1) -> exists bpr_value_bpo_source_mask. ((((exists bpr_height_bpo_source_mask_decoded. bpr_height_bpo_source_mask_decoded + S (bpr_value_bpo_source_mask) = S ((S (bpr_index_bpo_source_mask)) * bpr_scale_bpo_source)) /\ exists bpr_quotient_bpo_source_mask_decoded. bpr_code_bpo_source = bpr_quotient_bpo_source_mask_decoded * S ((S (bpr_index_bpo_source_mask)) * bpr_scale_bpo_source) + (bpr_value_bpo_source_mask))) /\ (((((~(S (bpr_index_bpo_source_mask) = 1) /\ forall bpr_left_bpo_source_mask_choice_prime bpr_right_bpo_source_mask_choice_prime. S (bpr_index_bpo_source_mask) = bpr_left_bpo_source_mask_choice_prime * bpr_right_bpo_source_mask_choice_prime -> bpr_left_bpo_source_mask_choice_prime = 1 \/ bpr_right_bpo_source_mask_choice_prime = 1)) /\ bpr_value_bpo_source_mask = S (bpr_index_bpo_source_mask)) \/ (~((~(S (bpr_index_bpo_source_mask) = 1) /\ forall bpr_left_bpo_source_mask_choice_prime bpr_right_bpo_source_mask_choice_prime. S (bpr_index_bpo_source_mask) = bpr_left_bpo_source_mask_choice_prime * bpr_right_bpo_source_mask_choice_prime -> bpr_left_bpo_source_mask_choice_prime = 1 \/ bpr_right_bpo_source_mask_choice_prime = 1)) /\ bpr_value_bpo_source_mask = 1))))) /\ (exists ff_u_bpo_source_product ff_v_bpo_source_product. ((((exists ff_h_bpo_source_product_start. ff_h_bpo_source_product_start + S (1) = S ((S (0)) * ff_v_bpo_source_product)) /\ exists ff_q_bpo_source_product_start. ff_u_bpo_source_product = ff_q_bpo_source_product_start * S ((S (0)) * ff_v_bpo_source_product) + (1))) /\ ((((exists ff_h_bpo_source_product_terminal. ff_h_bpo_source_product_terminal + S (z) = S ((S (1)) * ff_v_bpo_source_product)) /\ exists ff_q_bpo_source_product_terminal. ff_u_bpo_source_product = ff_q_bpo_source_product_terminal * S ((S (1)) * ff_v_bpo_source_product) + (z))) /\ forall ff_i_bpo_source_product. (exists ff_lt_bpo_source_product_bound. ff_lt_bpo_source_product_bound + S ff_i_bpo_source_product = 1) -> exists ff_p_bpo_source_product ff_r_bpo_source_product ff_s_bpo_source_product. ((((exists ff_h_bpo_source_product_factor. ff_h_bpo_source_product_factor + S (ff_p_bpo_source_product) = S ((S (ff_i_bpo_source_product)) * bpr_scale_bpo_source)) /\ exists ff_q_bpo_source_product_factor. bpr_code_bpo_source = ff_q_bpo_source_product_factor * S ((S (ff_i_bpo_source_product)) * bpr_scale_bpo_source) + (ff_p_bpo_source_product))) /\ ((((exists ff_h_bpo_source_product_partial. ff_h_bpo_source_product_partial + S (ff_r_bpo_source_product) = S ((S (ff_i_bpo_source_product)) * ff_v_bpo_source_product)) /\ exists ff_q_bpo_source_product_partial. ff_u_bpo_source_product = ff_q_bpo_source_product_partial * S ((S (ff_i_bpo_source_product)) * ff_v_bpo_source_product) + (ff_r_bpo_source_product))) /\ ((((exists ff_h_bpo_source_product_successor. ff_h_bpo_source_product_successor + S (ff_s_bpo_source_product) = S ((S (S ff_i_bpo_source_product)) * ff_v_bpo_source_product)) /\ exists ff_q_bpo_source_product_successor. ff_u_bpo_source_product = ff_q_bpo_source_product_successor * S ((S (S ff_i_bpo_source_product)) * ff_v_bpo_source_product) + (ff_s_bpo_source_product))) /\ ff_s_bpo_source_product = ff_r_bpo_source_product * ff_p_bpo_source_product)))))))) -> z = 1Proof neighborhood
Direct theorem prerequisites
Direct theorem dependents
Definition-aware tactic body
Only local propositions introduced by have or suffices are compacted. Every changed line has an exact-AST conservative-expansion receipt; the kernel still receives the immutable original tactic 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 hdecompositionL3–7
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply primorial succ decompose.
- L3
have hdecomposition : ∃ p. ∃ r. (Prime(1) ∧ p = 1 ∨ ¬Prime(1) ∧ p = 1) ∧ (Primorial(0,r) ∧ z = r · p)Definitions: Prime(1)Primorial(0,r)Original native command in the exact edition - L4
specialize primorial_succ_decompose 0 - L5
specialize primorial_succ_decompose z - L6
apply primorial_succ_decompose - L7
exact hprimorial
03Separate the logical casesL8–11
04Establish hrL12–14
05Separate the logical casesL15–16
06Calculate and transport equalitiesL17–19
07Use earlier factsL20–20
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
exact hdecomposition_witness_witness_right_right
08Calculate and transport equalitiesL21–21
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L21
norm_num
09Separate the logical casesL22–22
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L22
cases hdecomposition_witness_witness_left_right
10Calculate and transport equalitiesL23–25
11Use earlier factsL26–26
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L26
exact hdecomposition_witness_witness_right_right
12Calculate and transport equalitiesL27–27
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L27
norm_num
Original defined command ledger · 27 lines
- 0001
intro z - 0002
intro hprimorial - 0003
have hdecomposition : ∃ p. ∃ r. (Prime(1) ∧ p = 1 ∨ ¬Prime(1) ∧ p = 1) ∧ (Primorial(0,r) ∧ z = r · p)Exact native replay line
have hdecomposition : exists p r. (((((~(S (0) = 1) /\ forall bpr_left_bpo_factor_prime bpr_right_bpo_factor_prime. S (0) = bpr_left_bpo_factor_prime * bpr_right_bpo_factor_prime -> bpr_left_bpo_factor_prime = 1 \/ bpr_right_bpo_factor_prime = 1)) /\ p = S (0)) \/ (~((~(S (0) = 1) /\ forall bpr_left_bpo_factor_prime bpr_right_bpo_factor_prime. S (0) = bpr_left_bpo_factor_prime * bpr_right_bpo_factor_prime -> bpr_left_bpo_factor_prime = 1 \/ bpr_right_bpo_factor_prime = 1)) /\ p = 1))) /\ ((exists bpr_code_bpo_previous bpr_scale_bpo_previous. ((forall bpr_index_bpo_previous_mask. (exists bpr_gap_bpo_previous_mask_bound. bpr_gap_bpo_previous_mask_bound + S (bpr_index_bpo_previous_mask) = 0) -> exists bpr_value_bpo_previous_mask. ((((exists bpr_height_bpo_previous_mask_decoded. bpr_height_bpo_previous_mask_decoded + S (bpr_value_bpo_previous_mask) = S ((S (bpr_index_bpo_previous_mask)) * bpr_scale_bpo_previous)) /\ exists bpr_quotient_bpo_previous_mask_decoded. bpr_code_bpo_previous = bpr_quotient_bpo_previous_mask_decoded * S ((S (bpr_index_bpo_previous_mask)) * bpr_scale_bpo_previous) + (bpr_value_bpo_previous_mask))) /\ (((((~(S (bpr_index_bpo_previous_mask) = 1) /\ forall bpr_left_bpo_previous_mask_choice_prime bpr_right_bpo_previous_mask_choice_prime. S (bpr_index_bpo_previous_mask) = bpr_left_bpo_previous_mask_choice_prime * bpr_right_bpo_previous_mask_choice_prime -> bpr_left_bpo_previous_mask_choice_prime = 1 \/ bpr_right_bpo_previous_mask_choice_prime = 1)) /\ bpr_value_bpo_previous_mask = S (bpr_index_bpo_previous_mask)) \/ (~((~(S (bpr_index_bpo_previous_mask) = 1) /\ forall bpr_left_bpo_previous_mask_choice_prime bpr_right_bpo_previous_mask_choice_prime. S (bpr_index_bpo_previous_mask) = bpr_left_bpo_previous_mask_choice_prime * bpr_right_bpo_previous_mask_choice_prime -> bpr_left_bpo_previous_mask_choice_prime = 1 \/ bpr_right_bpo_previous_mask_choice_prime = 1)) /\ bpr_value_bpo_previous_mask = 1))))) /\ (exists ff_u_bpo_previous_product ff_v_bpo_previous_product. ((((exists ff_h_bpo_previous_product_start. ff_h_bpo_previous_product_start + S (1) = S ((S (0)) * ff_v_bpo_previous_product)) /\ exists ff_q_bpo_previous_product_start. ff_u_bpo_previous_product = ff_q_bpo_previous_product_start * S ((S (0)) * ff_v_bpo_previous_product) + (1))) /\ ((((exists ff_h_bpo_previous_product_terminal. ff_h_bpo_previous_product_terminal + S (r) = S ((S (0)) * ff_v_bpo_previous_product)) /\ exists ff_q_bpo_previous_product_terminal. ff_u_bpo_previous_product = ff_q_bpo_previous_product_terminal * S ((S (0)) * ff_v_bpo_previous_product) + (r))) /\ forall ff_i_bpo_previous_product. (exists ff_lt_bpo_previous_product_bound. ff_lt_bpo_previous_product_bound + S ff_i_bpo_previous_product = 0) -> exists ff_p_bpo_previous_product ff_r_bpo_previous_product ff_s_bpo_previous_product. ((((exists ff_h_bpo_previous_product_factor. ff_h_bpo_previous_product_factor + S (ff_p_bpo_previous_product) = S ((S (ff_i_bpo_previous_product)) * bpr_scale_bpo_previous)) /\ exists ff_q_bpo_previous_product_factor. bpr_code_bpo_previous = ff_q_bpo_previous_product_factor * S ((S (ff_i_bpo_previous_product)) * bpr_scale_bpo_previous) + (ff_p_bpo_previous_product))) /\ ((((exists ff_h_bpo_previous_product_partial. ff_h_bpo_previous_product_partial + S (ff_r_bpo_previous_product) = S ((S (ff_i_bpo_previous_product)) * ff_v_bpo_previous_product)) /\ exists ff_q_bpo_previous_product_partial. ff_u_bpo_previous_product = ff_q_bpo_previous_product_partial * S ((S (ff_i_bpo_previous_product)) * ff_v_bpo_previous_product) + (ff_r_bpo_previous_product))) /\ ((((exists ff_h_bpo_previous_product_successor. ff_h_bpo_previous_product_successor + S (ff_s_bpo_previous_product) = S ((S (S ff_i_bpo_previous_product)) * ff_v_bpo_previous_product)) /\ exists ff_q_bpo_previous_product_successor. ff_u_bpo_previous_product = ff_q_bpo_previous_product_successor * S ((S (S ff_i_bpo_previous_product)) * ff_v_bpo_previous_product) + (ff_s_bpo_previous_product))) /\ ff_s_bpo_previous_product = ff_r_bpo_previous_product * ff_p_bpo_previous_product)))))))) /\ z = r * p) - 0004
specialize primorial_succ_decompose 0 - 0005
specialize primorial_succ_decompose z - 0006
apply primorial_succ_decompose - 0007
exact hprimorial - 0008
cases hdecomposition - 0009
cases hdecomposition_witness - 0010
cases hdecomposition_witness_witness - 0011
cases hdecomposition_witness_witness_right - 0012
have hr : x1 = 1 - 0013
apply primorial_zero - 0014
exact hdecomposition_witness_witness_right_left - 0015
cases hdecomposition_witness_witness_left - 0016
cases hdecomposition_witness_witness_left_left - 0017
rewrite hr at hdecomposition_witness_witness_right_right - 0018
rewrite hdecomposition_witness_witness_left_left_right at hdecomposition_witness_witness_right_right - 0019
trans 1 * 1 - 0020
exact hdecomposition_witness_witness_right_right - 0021
norm_num - 0022
cases hdecomposition_witness_witness_left_right - 0023
rewrite hr at hdecomposition_witness_witness_right_right - 0024
rewrite hdecomposition_witness_witness_left_right_right at hdecomposition_witness_witness_right_right - 0025
trans 1 * 1 - 0026
exact hdecomposition_witness_witness_right_right - 0027
norm_num