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
∀ p. ∀ q. ∀ e. Prime(p) → Prime(q) → ¬p = q → PowerValuation(p,q,e) → e = 0Every purple notation token opens its conservative definition. This reading surface never changes the unchanged intuitionistic kernel or confers checked-use authority.
Definitions used by this theorem
In the theorem statement
In local proof propositions
Exact expanded first-order statement
forall p q e. ((~(p = 1) /\ forall frm_prime_left_ftsp_p frm_prime_right_ftsp_p. p = frm_prime_left_ftsp_p * frm_prime_right_ftsp_p -> frm_prime_left_ftsp_p = 1 \/ frm_prime_right_ftsp_p = 1)) -> ((~(q = 1) /\ forall frm_prime_left_ftsp_q frm_prime_right_ftsp_q. q = frm_prime_left_ftsp_q * frm_prime_right_ftsp_q -> frm_prime_left_ftsp_q = 1 \/ frm_prime_right_ftsp_q = 1)) -> ~(p = q) -> (((exists bpv_gap_ftsp_distinct_exponent_bound. bpv_gap_ftsp_distinct_exponent_bound + e = q) /\ (exists bpv_result_ftsp_distinct_selected. ((exists ff_b_ftsp_distinct_selected_power ff_c_ftsp_distinct_selected_power. ((forall ff_i_ftsp_distinct_selected_power_repeat. (exists ff_lt_ftsp_distinct_selected_power_repeat_bound. ff_lt_ftsp_distinct_selected_power_repeat_bound + S ff_i_ftsp_distinct_selected_power_repeat = e) -> (((exists ff_h_ftsp_distinct_selected_power_repeat_decoded. ff_h_ftsp_distinct_selected_power_repeat_decoded + S (p) = S ((S (ff_i_ftsp_distinct_selected_power_repeat)) * ff_c_ftsp_distinct_selected_power)) /\ exists ff_q_ftsp_distinct_selected_power_repeat_decoded. ff_b_ftsp_distinct_selected_power = ff_q_ftsp_distinct_selected_power_repeat_decoded * S ((S (ff_i_ftsp_distinct_selected_power_repeat)) * ff_c_ftsp_distinct_selected_power) + (p)))) /\ (exists ff_u_ftsp_distinct_selected_power_product ff_v_ftsp_distinct_selected_power_product. ((((exists ff_h_ftsp_distinct_selected_power_product_start. ff_h_ftsp_distinct_selected_power_product_start + S (1) = S ((S (0)) * ff_v_ftsp_distinct_selected_power_product)) /\ exists ff_q_ftsp_distinct_selected_power_product_start. ff_u_ftsp_distinct_selected_power_product = ff_q_ftsp_distinct_selected_power_product_start * S ((S (0)) * ff_v_ftsp_distinct_selected_power_product) + (1))) /\ ((((exists ff_h_ftsp_distinct_selected_power_product_terminal. ff_h_ftsp_distinct_selected_power_product_terminal + S (bpv_result_ftsp_distinct_selected) = S ((S (e)) * ff_v_ftsp_distinct_selected_power_product)) /\ exists ff_q_ftsp_distinct_selected_power_product_terminal. ff_u_ftsp_distinct_selected_power_product = ff_q_ftsp_distinct_selected_power_product_terminal * S ((S (e)) * ff_v_ftsp_distinct_selected_power_product) + (bpv_result_ftsp_distinct_selected))) /\ forall ff_i_ftsp_distinct_selected_power_product. (exists ff_lt_ftsp_distinct_selected_power_product_bound. ff_lt_ftsp_distinct_selected_power_product_bound + S ff_i_ftsp_distinct_selected_power_product = e) -> exists ff_p_ftsp_distinct_selected_power_product ff_r_ftsp_distinct_selected_power_product ff_s_ftsp_distinct_selected_power_product. ((((exists ff_h_ftsp_distinct_selected_power_product_factor. ff_h_ftsp_distinct_selected_power_product_factor + S (ff_p_ftsp_distinct_selected_power_product) = S ((S (ff_i_ftsp_distinct_selected_power_product)) * ff_c_ftsp_distinct_selected_power)) /\ exists ff_q_ftsp_distinct_selected_power_product_factor. ff_b_ftsp_distinct_selected_power = ff_q_ftsp_distinct_selected_power_product_factor * S ((S (ff_i_ftsp_distinct_selected_power_product)) * ff_c_ftsp_distinct_selected_power) + (ff_p_ftsp_distinct_selected_power_product))) /\ ((((exists ff_h_ftsp_distinct_selected_power_product_partial. ff_h_ftsp_distinct_selected_power_product_partial + S (ff_r_ftsp_distinct_selected_power_product) = S ((S (ff_i_ftsp_distinct_selected_power_product)) * ff_v_ftsp_distinct_selected_power_product)) /\ exists ff_q_ftsp_distinct_selected_power_product_partial. ff_u_ftsp_distinct_selected_power_product = ff_q_ftsp_distinct_selected_power_product_partial * S ((S (ff_i_ftsp_distinct_selected_power_product)) * ff_v_ftsp_distinct_selected_power_product) + (ff_r_ftsp_distinct_selected_power_product))) /\ ((((exists ff_h_ftsp_distinct_selected_power_product_successor. ff_h_ftsp_distinct_selected_power_product_successor + S (ff_s_ftsp_distinct_selected_power_product) = S ((S (S ff_i_ftsp_distinct_selected_power_product)) * ff_v_ftsp_distinct_selected_power_product)) /\ exists ff_q_ftsp_distinct_selected_power_product_successor. ff_u_ftsp_distinct_selected_power_product = ff_q_ftsp_distinct_selected_power_product_successor * S ((S (S ff_i_ftsp_distinct_selected_power_product)) * ff_v_ftsp_distinct_selected_power_product) + (ff_s_ftsp_distinct_selected_power_product))) /\ ff_s_ftsp_distinct_selected_power_product = ff_r_ftsp_distinct_selected_power_product * ff_p_ftsp_distinct_selected_power_product)))))))) /\ (exists bpv_factor_ftsp_distinct_selected_divides. q = bpv_result_ftsp_distinct_selected * bpv_factor_ftsp_distinct_selected_divides)))) /\ forall bpv_candidate_ftsp_distinct. (exists bpv_gap_ftsp_distinct_candidate_bound. bpv_gap_ftsp_distinct_candidate_bound + bpv_candidate_ftsp_distinct = q) -> (exists bpv_result_ftsp_distinct_candidate. ((exists ff_b_ftsp_distinct_candidate_power ff_c_ftsp_distinct_candidate_power. ((forall ff_i_ftsp_distinct_candidate_power_repeat. (exists ff_lt_ftsp_distinct_candidate_power_repeat_bound. ff_lt_ftsp_distinct_candidate_power_repeat_bound + S ff_i_ftsp_distinct_candidate_power_repeat = bpv_candidate_ftsp_distinct) -> (((exists ff_h_ftsp_distinct_candidate_power_repeat_decoded. ff_h_ftsp_distinct_candidate_power_repeat_decoded + S (p) = S ((S (ff_i_ftsp_distinct_candidate_power_repeat)) * ff_c_ftsp_distinct_candidate_power)) /\ exists ff_q_ftsp_distinct_candidate_power_repeat_decoded. ff_b_ftsp_distinct_candidate_power = ff_q_ftsp_distinct_candidate_power_repeat_decoded * S ((S (ff_i_ftsp_distinct_candidate_power_repeat)) * ff_c_ftsp_distinct_candidate_power) + (p)))) /\ (exists ff_u_ftsp_distinct_candidate_power_product ff_v_ftsp_distinct_candidate_power_product. ((((exists ff_h_ftsp_distinct_candidate_power_product_start. ff_h_ftsp_distinct_candidate_power_product_start + S (1) = S ((S (0)) * ff_v_ftsp_distinct_candidate_power_product)) /\ exists ff_q_ftsp_distinct_candidate_power_product_start. ff_u_ftsp_distinct_candidate_power_product = ff_q_ftsp_distinct_candidate_power_product_start * S ((S (0)) * ff_v_ftsp_distinct_candidate_power_product) + (1))) /\ ((((exists ff_h_ftsp_distinct_candidate_power_product_terminal. ff_h_ftsp_distinct_candidate_power_product_terminal + S (bpv_result_ftsp_distinct_candidate) = S ((S (bpv_candidate_ftsp_distinct)) * ff_v_ftsp_distinct_candidate_power_product)) /\ exists ff_q_ftsp_distinct_candidate_power_product_terminal. ff_u_ftsp_distinct_candidate_power_product = ff_q_ftsp_distinct_candidate_power_product_terminal * S ((S (bpv_candidate_ftsp_distinct)) * ff_v_ftsp_distinct_candidate_power_product) + (bpv_result_ftsp_distinct_candidate))) /\ forall ff_i_ftsp_distinct_candidate_power_product. (exists ff_lt_ftsp_distinct_candidate_power_product_bound. ff_lt_ftsp_distinct_candidate_power_product_bound + S ff_i_ftsp_distinct_candidate_power_product = bpv_candidate_ftsp_distinct) -> exists ff_p_ftsp_distinct_candidate_power_product ff_r_ftsp_distinct_candidate_power_product ff_s_ftsp_distinct_candidate_power_product. ((((exists ff_h_ftsp_distinct_candidate_power_product_factor. ff_h_ftsp_distinct_candidate_power_product_factor + S (ff_p_ftsp_distinct_candidate_power_product) = S ((S (ff_i_ftsp_distinct_candidate_power_product)) * ff_c_ftsp_distinct_candidate_power)) /\ exists ff_q_ftsp_distinct_candidate_power_product_factor. ff_b_ftsp_distinct_candidate_power = ff_q_ftsp_distinct_candidate_power_product_factor * S ((S (ff_i_ftsp_distinct_candidate_power_product)) * ff_c_ftsp_distinct_candidate_power) + (ff_p_ftsp_distinct_candidate_power_product))) /\ ((((exists ff_h_ftsp_distinct_candidate_power_product_partial. ff_h_ftsp_distinct_candidate_power_product_partial + S (ff_r_ftsp_distinct_candidate_power_product) = S ((S (ff_i_ftsp_distinct_candidate_power_product)) * ff_v_ftsp_distinct_candidate_power_product)) /\ exists ff_q_ftsp_distinct_candidate_power_product_partial. ff_u_ftsp_distinct_candidate_power_product = ff_q_ftsp_distinct_candidate_power_product_partial * S ((S (ff_i_ftsp_distinct_candidate_power_product)) * ff_v_ftsp_distinct_candidate_power_product) + (ff_r_ftsp_distinct_candidate_power_product))) /\ ((((exists ff_h_ftsp_distinct_candidate_power_product_successor. ff_h_ftsp_distinct_candidate_power_product_successor + S (ff_s_ftsp_distinct_candidate_power_product) = S ((S (S ff_i_ftsp_distinct_candidate_power_product)) * ff_v_ftsp_distinct_candidate_power_product)) /\ exists ff_q_ftsp_distinct_candidate_power_product_successor. ff_u_ftsp_distinct_candidate_power_product = ff_q_ftsp_distinct_candidate_power_product_successor * S ((S (S ff_i_ftsp_distinct_candidate_power_product)) * ff_v_ftsp_distinct_candidate_power_product) + (ff_s_ftsp_distinct_candidate_power_product))) /\ ff_s_ftsp_distinct_candidate_power_product = ff_r_ftsp_distinct_candidate_power_product * ff_p_ftsp_distinct_candidate_power_product)))))))) /\ (exists bpv_factor_ftsp_distinct_candidate_divides. q = bpv_result_ftsp_distinct_candidate * bpv_factor_ftsp_distinct_candidate_divides))) -> (exists bpv_gap_ftsp_distinct_maximal. bpv_gap_ftsp_distinct_maximal + bpv_candidate_ftsp_distinct = e)) -> e = 0Proof neighborhood
Direct theorem prerequisites
TS002W prime_divisor_of_prime_forces_equalityDirect theorem dependents
Definition-aware tactic body
Only propositions whose conservative expansion has been checked for exact first-order equivalence are compacted. Every changed line retains its immutable exact replay command.
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–7
02Use earlier factsL8–9
03Separate the logical casesL10–10
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L10
cases eq_decidable
04Use earlier factsL11–11
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L11
exact eq_decidable_left
05Separate the logical casesL12–12
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L12
exfalso
06Establish hdividesL13–22
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply power valuation nonzero exponent divides base.
- L13
- L14
specialize power_valuation_nonzero_exponent_divides_base p - L15
specialize power_valuation_nonzero_exponent_divides_base q - L16
specialize power_valuation_nonzero_exponent_divides_base e - L17
apply power_valuation_nonzero_exponent_divides_base - L18
exact hvaluation - L19
exact eq_decidable_right - L20
apply hdistinct - L21
specialize prime_divisor_of_prime_forces_equality p - L22
specialize prime_divisor_of_prime_forces_equality q
Original defined command ledger · 26 lines
- 0001
intro p - 0002
intro q - 0003
intro e - 0004
intro hp - 0005
intro hq - 0006
intro hdistinct - 0007
intro hvaluation - 0008
specialize eq_decidable e - 0009
specialize eq_decidable 0 - 0010
cases eq_decidable - 0011
exact eq_decidable_left - 0012
exfalso - 0013
have hdivides : Dvd(p,q)Exact native replay line
have hdivides : exists ftcn_factor_ftsp_prime_divides_prime. (q) = (p) * ftcn_factor_ftsp_prime_divides_prime - 0014
specialize power_valuation_nonzero_exponent_divides_base p - 0015
specialize power_valuation_nonzero_exponent_divides_base q - 0016
specialize power_valuation_nonzero_exponent_divides_base e - 0017
apply power_valuation_nonzero_exponent_divides_base - 0018
exact hvaluation - 0019
exact eq_decidable_right - 0020
apply hdistinct - 0021
specialize prime_divisor_of_prime_forces_equality p - 0022
specialize prime_divisor_of_prime_forces_equality q - 0023
apply prime_divisor_of_prime_forces_equality - 0024
exact hp - 0025
exact hq - 0026
exact hdivides