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 b c l d e m. (((~(n = 0) /\ ((exists ff_u_fsat_root_source_product ff_v_fsat_root_source_product. ((((exists ff_h_fsat_root_source_product_start. ff_h_fsat_root_source_product_start + S (1) = S ((S (0)) * ff_v_fsat_root_source_product)) /\ exists ff_q_fsat_root_source_product_start. ff_u_fsat_root_source_product = ff_q_fsat_root_source_product_start * S ((S (0)) * ff_v_fsat_root_source_product) + (1))) /\ ((((exists ff_h_fsat_root_source_product_terminal. ff_h_fsat_root_source_product_terminal + S (n) = S ((S (l)) * ff_v_fsat_root_source_product)) /\ exists ff_q_fsat_root_source_product_terminal. ff_u_fsat_root_source_product = ff_q_fsat_root_source_product_terminal * S ((S (l)) * ff_v_fsat_root_source_product) + (n))) /\ forall ff_i_fsat_root_source_product. (exists ff_lt_fsat_root_source_product_bound. ff_lt_fsat_root_source_product_bound + S ff_i_fsat_root_source_product = l) -> exists ff_p_fsat_root_source_product ff_r_fsat_root_source_product ff_s_fsat_root_source_product. ((((exists ff_h_fsat_root_source_product_factor. ff_h_fsat_root_source_product_factor + S (ff_p_fsat_root_source_product) = S ((S (ff_i_fsat_root_source_product)) * c)) /\ exists ff_q_fsat_root_source_product_factor. b = ff_q_fsat_root_source_product_factor * S ((S (ff_i_fsat_root_source_product)) * c) + (ff_p_fsat_root_source_product))) /\ ((((exists ff_h_fsat_root_source_product_partial. ff_h_fsat_root_source_product_partial + S (ff_r_fsat_root_source_product) = S ((S (ff_i_fsat_root_source_product)) * ff_v_fsat_root_source_product)) /\ exists ff_q_fsat_root_source_product_partial. ff_u_fsat_root_source_product = ff_q_fsat_root_source_product_partial * S ((S (ff_i_fsat_root_source_product)) * ff_v_fsat_root_source_product) + (ff_r_fsat_root_source_product))) /\ ((((exists ff_h_fsat_root_source_product_successor. ff_h_fsat_root_source_product_successor + S (ff_s_fsat_root_source_product) = S ((S (S ff_i_fsat_root_source_product)) * ff_v_fsat_root_source_product)) /\ exists ff_q_fsat_root_source_product_successor. ff_u_fsat_root_source_product = ff_q_fsat_root_source_product_successor * S ((S (S ff_i_fsat_root_source_product)) * ff_v_fsat_root_source_product) + (ff_s_fsat_root_source_product))) /\ ff_s_fsat_root_source_product = ff_r_fsat_root_source_product * ff_p_fsat_root_source_product)))))) /\ (forall ftsf_index_fsat_root_source_primes. (exists ftsf_gap_fsat_root_source_primes_bound. ftsf_gap_fsat_root_source_primes_bound + S ftsf_index_fsat_root_source_primes = (l)) -> exists ftsf_factor_fsat_root_source_primes. ((((exists ff_h_ftsf_fsat_root_source_primes_entry. ff_h_ftsf_fsat_root_source_primes_entry + S (ftsf_factor_fsat_root_source_primes) = S ((S (ftsf_index_fsat_root_source_primes)) * c)) /\ exists ff_q_ftsf_fsat_root_source_primes_entry. b = ff_q_ftsf_fsat_root_source_primes_entry * S ((S (ftsf_index_fsat_root_source_primes)) * c) + (ftsf_factor_fsat_root_source_primes))) /\ ((~(ftsf_factor_fsat_root_source_primes = 1) /\ forall frm_prime_left_ftsf_fsat_root_source_primes_prime frm_prime_right_ftsf_fsat_root_source_primes_prime. ftsf_factor_fsat_root_source_primes = frm_prime_left_ftsf_fsat_root_source_primes_prime * frm_prime_right_ftsf_fsat_root_source_primes_prime -> frm_prime_left_ftsf_fsat_root_source_primes_prime = 1 \/ frm_prime_right_ftsf_fsat_root_source_primes_prime = 1))))))) /\ ((~(n = 0) /\ ((exists ff_u_fsat_root_target_product ff_v_fsat_root_target_product. ((((exists ff_h_fsat_root_target_product_start. ff_h_fsat_root_target_product_start + S (1) = S ((S (0)) * ff_v_fsat_root_target_product)) /\ exists ff_q_fsat_root_target_product_start. ff_u_fsat_root_target_product = ff_q_fsat_root_target_product_start * S ((S (0)) * ff_v_fsat_root_target_product) + (1))) /\ ((((exists ff_h_fsat_root_target_product_terminal. ff_h_fsat_root_target_product_terminal + S (n) = S ((S (m)) * ff_v_fsat_root_target_product)) /\ exists ff_q_fsat_root_target_product_terminal. ff_u_fsat_root_target_product = ff_q_fsat_root_target_product_terminal * S ((S (m)) * ff_v_fsat_root_target_product) + (n))) /\ forall ff_i_fsat_root_target_product. (exists ff_lt_fsat_root_target_product_bound. ff_lt_fsat_root_target_product_bound + S ff_i_fsat_root_target_product = m) -> exists ff_p_fsat_root_target_product ff_r_fsat_root_target_product ff_s_fsat_root_target_product. ((((exists ff_h_fsat_root_target_product_factor. ff_h_fsat_root_target_product_factor + S (ff_p_fsat_root_target_product) = S ((S (ff_i_fsat_root_target_product)) * e)) /\ exists ff_q_fsat_root_target_product_factor. d = ff_q_fsat_root_target_product_factor * S ((S (ff_i_fsat_root_target_product)) * e) + (ff_p_fsat_root_target_product))) /\ ((((exists ff_h_fsat_root_target_product_partial. ff_h_fsat_root_target_product_partial + S (ff_r_fsat_root_target_product) = S ((S (ff_i_fsat_root_target_product)) * ff_v_fsat_root_target_product)) /\ exists ff_q_fsat_root_target_product_partial. ff_u_fsat_root_target_product = ff_q_fsat_root_target_product_partial * S ((S (ff_i_fsat_root_target_product)) * ff_v_fsat_root_target_product) + (ff_r_fsat_root_target_product))) /\ ((((exists ff_h_fsat_root_target_product_successor. ff_h_fsat_root_target_product_successor + S (ff_s_fsat_root_target_product) = S ((S (S ff_i_fsat_root_target_product)) * ff_v_fsat_root_target_product)) /\ exists ff_q_fsat_root_target_product_successor. ff_u_fsat_root_target_product = ff_q_fsat_root_target_product_successor * S ((S (S ff_i_fsat_root_target_product)) * ff_v_fsat_root_target_product) + (ff_s_fsat_root_target_product))) /\ ff_s_fsat_root_target_product = ff_r_fsat_root_target_product * ff_p_fsat_root_target_product)))))) /\ (forall ftsf_index_fsat_root_target_primes. (exists ftsf_gap_fsat_root_target_primes_bound. ftsf_gap_fsat_root_target_primes_bound + S ftsf_index_fsat_root_target_primes = (m)) -> exists ftsf_factor_fsat_root_target_primes. ((((exists ff_h_ftsf_fsat_root_target_primes_entry. ff_h_ftsf_fsat_root_target_primes_entry + S (ftsf_factor_fsat_root_target_primes) = S ((S (ftsf_index_fsat_root_target_primes)) * e)) /\ exists ff_q_ftsf_fsat_root_target_primes_entry. d = ff_q_ftsf_fsat_root_target_primes_entry * S ((S (ftsf_index_fsat_root_target_primes)) * e) + (ftsf_factor_fsat_root_target_primes))) /\ ((~(ftsf_factor_fsat_root_target_primes = 1) /\ forall frm_prime_left_ftsf_fsat_root_target_primes_prime frm_prime_right_ftsf_fsat_root_target_primes_prime. ftsf_factor_fsat_root_target_primes = frm_prime_left_ftsf_fsat_root_target_primes_prime * frm_prime_right_ftsf_fsat_root_target_primes_prime -> frm_prime_left_ftsf_fsat_root_target_primes_prime = 1 \/ frm_prime_right_ftsf_fsat_root_target_primes_prime = 1)))))))) -> exists u v. (((l = m) /\ (((((forall pfp_i_root_permutationpermutationbounded. (exists pfp_gap_root_permutationpermutationboundedindex. pfp_gap_root_permutationpermutationboundedindex + S (pfp_i_root_permutationpermutationbounded) = (l)) -> exists pfp_a_root_permutationpermutationbounded. (((exists ff_h_pfp_root_permutationpermutationboundedentry. ff_h_pfp_root_permutationpermutationboundedentry + S (pfp_a_root_permutationpermutationbounded) = S ((S (pfp_i_root_permutationpermutationbounded)) * v)) /\ exists ff_q_pfp_root_permutationpermutationboundedentry. u = ff_q_pfp_root_permutationpermutationboundedentry * S ((S (pfp_i_root_permutationpermutationbounded)) * v) + (pfp_a_root_permutationpermutationbounded))) /\ (exists pfp_gap_root_permutationpermutationboundedvalue. pfp_gap_root_permutationpermutationboundedvalue + S (pfp_a_root_permutationpermutationbounded) = (l))) /\ (((forall pfp_i_root_permutationpermutationinjective pfp_j_root_permutationpermutationinjective pfp_a_root_permutationpermutationinjective. (exists pfp_gap_root_permutationpermutationinjectivefirst. pfp_gap_root_permutationpermutationinjectivefirst + S (pfp_i_root_permutationpermutationinjective) = (l)) -> (exists pfp_gap_root_permutationpermutationinjectivesecond. pfp_gap_root_permutationpermutationinjectivesecond + S (pfp_j_root_permutationpermutationinjective) = (l)) -> (((exists ff_h_pfp_root_permutationpermutationinjectiveleft. ff_h_pfp_root_permutationpermutationinjectiveleft + S (pfp_a_root_permutationpermutationinjective) = S ((S (pfp_i_root_permutationpermutationinjective)) * v)) /\ exists ff_q_pfp_root_permutationpermutationinjectiveleft. u = ff_q_pfp_root_permutationpermutationinjectiveleft * S ((S (pfp_i_root_permutationpermutationinjective)) * v) + (pfp_a_root_permutationpermutationinjective))) -> (((exists ff_h_pfp_root_permutationpermutationinjectiveright. ff_h_pfp_root_permutationpermutationinjectiveright + S (pfp_a_root_permutationpermutationinjective) = S ((S (pfp_j_root_permutationpermutationinjective)) * v)) /\ exists ff_q_pfp_root_permutationpermutationinjectiveright. u = ff_q_pfp_root_permutationpermutationinjectiveright * S ((S (pfp_j_root_permutationpermutationinjective)) * v) + (pfp_a_root_permutationpermutationinjective))) -> pfp_i_root_permutationpermutationinjective = pfp_j_root_permutationpermutationinjective) /\ (forall pfp_a_root_permutationpermutationsurjective. (exists pfp_gap_root_permutationpermutationsurjectivevalue. pfp_gap_root_permutationpermutationsurjectivevalue + S (pfp_a_root_permutationpermutationsurjective) = (l)) -> exists pfp_i_root_permutationpermutationsurjective. (exists pfp_gap_root_permutationpermutationsurjectiveindex. pfp_gap_root_permutationpermutationsurjectiveindex + S (pfp_i_root_permutationpermutationsurjective) = (l)) /\ (((exists ff_h_pfp_root_permutationpermutationsurjectiveentry. ff_h_pfp_root_permutationpermutationsurjectiveentry + S (pfp_a_root_permutationpermutationsurjective) = S ((S (pfp_i_root_permutationpermutationsurjective)) * v)) /\ exists ff_q_pfp_root_permutationpermutationsurjectiveentry. u = ff_q_pfp_root_permutationpermutationsurjectiveentry * S ((S (pfp_i_root_permutationpermutationsurjective)) * v) + (pfp_a_root_permutationpermutationsurjective)))))))) /\ (forall pfp_i_root_permutationmatching pfp_j_root_permutationmatching pfp_a_root_permutationmatching. (exists pfp_gap_root_permutationmatchingbound. pfp_gap_root_permutationmatchingbound + S (pfp_i_root_permutationmatching) = (l)) -> (((exists ff_h_pfp_root_permutationmatchingmap. ff_h_pfp_root_permutationmatchingmap + S (pfp_j_root_permutationmatching) = S ((S (pfp_i_root_permutationmatching)) * v)) /\ exists ff_q_pfp_root_permutationmatchingmap. u = ff_q_pfp_root_permutationmatchingmap * S ((S (pfp_i_root_permutationmatching)) * v) + (pfp_j_root_permutationmatching))) -> (((exists ff_h_pfp_root_permutationmatchingsource. ff_h_pfp_root_permutationmatchingsource + S (pfp_a_root_permutationmatching) = S ((S (pfp_i_root_permutationmatching)) * c)) /\ exists ff_q_pfp_root_permutationmatchingsource. b = ff_q_pfp_root_permutationmatchingsource * S ((S (pfp_i_root_permutationmatching)) * c) + (pfp_a_root_permutationmatching))) -> (((exists ff_h_pfp_root_permutationmatchingtarget. ff_h_pfp_root_permutationmatchingtarget + S (pfp_a_root_permutationmatching) = S ((S (pfp_j_root_permutationmatching)) * e)) /\ exists ff_q_pfp_root_permutationmatchingtarget. d = ff_q_pfp_root_permutationmatchingtarget * S ((S (pfp_j_root_permutationmatching)) * e) + (pfp_a_root_permutationmatching))))))))Constructive proof overview
Generated structural guide
Exact G005: every two arbitrary unordered prime factorizations of the same positive natural admit an actual coded matching bijection, with equal lengths and explicit boundedness, injectivity, and surjectivity.
The unchanged tactic script uses 1 declared prerequisite and contains 28 exact native proof lines.
Alpha v34 checked-use · first admitted v28 · 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 (1)
01Fix variables and assumptionsL1–8
02Separate the logical casesL9–9
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L9
cases hf
03Establish hresultL10–19
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime factor lists matching by length.
- L10
have hresult : l = m ∧ (∃ x. ∃ y. PermutationPrefix(x,y,l) ∧ FactorListMatching(b,c,d,e,x,y,l))Definitions: PermutationPrefixFactorListMatching - L11
specialize prime_factor_lists_matching_by_length (l) - L12
specialize prime_factor_lists_matching_by_length (n) - L13
specialize prime_factor_lists_matching_by_length (b) - L14
specialize prime_factor_lists_matching_by_length (c) - L15
specialize prime_factor_lists_matching_by_length (m) - L16
specialize prime_factor_lists_matching_by_length (d) - L17
specialize prime_factor_lists_matching_by_length (e) - L18
apply prime_factor_lists_matching_by_length - L19
exact hf_left
04Use earlier factsL20–20
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
exact hf_right
05Separate the logical casesL21–23
06Construct an explicit witnessL24–25
07Separate the logical casesL26–26
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L26
split
Original exact command ledger · 28 lines
- 0001
intro n - 0002
intro b - 0003
intro c - 0004
intro l - 0005
intro d - 0006
intro e - 0007
intro m - 0008
intro hf - 0009
cases hf - 0010
have hresult : ((l = m) /\ (exists pfp_u_root_induction pfp_v_root_induction. (((((forall pfp_i_root_inductionmatchingpermutationbounded. (exists pfp_gap_root_inductionmatchingpermutationboundedindex. pfp_gap_root_inductionmatchingpermutationboundedindex + S (pfp_i_root_inductionmatchingpermutationbounded) = (l)) -> exists pfp_a_root_inductionmatchingpermutationbounded. (((exists ff_h_pfp_root_inductionmatchingpermutationboundedentry. ff_h_pfp_root_inductionmatchingpermutationboundedentry + S (pfp_a_root_inductionmatchingpermutationbounded) = S ((S (pfp_i_root_inductionmatchingpermutationbounded)) * pfp_v_root_induction)) /\ exists ff_q_pfp_root_inductionmatchingpermutationboundedentry. pfp_u_root_induction = ff_q_pfp_root_inductionmatchingpermutationboundedentry * S ((S (pfp_i_root_inductionmatchingpermutationbounded)) * pfp_v_root_induction) + (pfp_a_root_inductionmatchingpermutationbounded))) /\ (exists pfp_gap_root_inductionmatchingpermutationboundedvalue. pfp_gap_root_inductionmatchingpermutationboundedvalue + S (pfp_a_root_inductionmatchingpermutationbounded) = (l))) /\ (((forall pfp_i_root_inductionmatchingpermutationinjective pfp_j_root_inductionmatchingpermutationinjective pfp_a_root_inductionmatchingpermutationinjective. (exists pfp_gap_root_inductionmatchingpermutationinjectivefirst. pfp_gap_root_inductionmatchingpermutationinjectivefirst + S (pfp_i_root_inductionmatchingpermutationinjective) = (l)) -> (exists pfp_gap_root_inductionmatchingpermutationinjectivesecond. pfp_gap_root_inductionmatchingpermutationinjectivesecond + S (pfp_j_root_inductionmatchingpermutationinjective) = (l)) -> (((exists ff_h_pfp_root_inductionmatchingpermutationinjectiveleft. ff_h_pfp_root_inductionmatchingpermutationinjectiveleft + S (pfp_a_root_inductionmatchingpermutationinjective) = S ((S (pfp_i_root_inductionmatchingpermutationinjective)) * pfp_v_root_induction)) /\ exists ff_q_pfp_root_inductionmatchingpermutationinjectiveleft. pfp_u_root_induction = ff_q_pfp_root_inductionmatchingpermutationinjectiveleft * S ((S (pfp_i_root_inductionmatchingpermutationinjective)) * pfp_v_root_induction) + (pfp_a_root_inductionmatchingpermutationinjective))) -> (((exists ff_h_pfp_root_inductionmatchingpermutationinjectiveright. ff_h_pfp_root_inductionmatchingpermutationinjectiveright + S (pfp_a_root_inductionmatchingpermutationinjective) = S ((S (pfp_j_root_inductionmatchingpermutationinjective)) * pfp_v_root_induction)) /\ exists ff_q_pfp_root_inductionmatchingpermutationinjectiveright. pfp_u_root_induction = ff_q_pfp_root_inductionmatchingpermutationinjectiveright * S ((S (pfp_j_root_inductionmatchingpermutationinjective)) * pfp_v_root_induction) + (pfp_a_root_inductionmatchingpermutationinjective))) -> pfp_i_root_inductionmatchingpermutationinjective = pfp_j_root_inductionmatchingpermutationinjective) /\ (forall pfp_a_root_inductionmatchingpermutationsurjective. (exists pfp_gap_root_inductionmatchingpermutationsurjectivevalue. pfp_gap_root_inductionmatchingpermutationsurjectivevalue + S (pfp_a_root_inductionmatchingpermutationsurjective) = (l)) -> exists pfp_i_root_inductionmatchingpermutationsurjective. (exists pfp_gap_root_inductionmatchingpermutationsurjectiveindex. pfp_gap_root_inductionmatchingpermutationsurjectiveindex + S (pfp_i_root_inductionmatchingpermutationsurjective) = (l)) /\ (((exists ff_h_pfp_root_inductionmatchingpermutationsurjectiveentry. ff_h_pfp_root_inductionmatchingpermutationsurjectiveentry + S (pfp_a_root_inductionmatchingpermutationsurjective) = S ((S (pfp_i_root_inductionmatchingpermutationsurjective)) * pfp_v_root_induction)) /\ exists ff_q_pfp_root_inductionmatchingpermutationsurjectiveentry. pfp_u_root_induction = ff_q_pfp_root_inductionmatchingpermutationsurjectiveentry * S ((S (pfp_i_root_inductionmatchingpermutationsurjective)) * pfp_v_root_induction) + (pfp_a_root_inductionmatchingpermutationsurjective)))))))) /\ (forall pfp_i_root_inductionmatchingmatching pfp_j_root_inductionmatchingmatching pfp_a_root_inductionmatchingmatching. (exists pfp_gap_root_inductionmatchingmatchingbound. pfp_gap_root_inductionmatchingmatchingbound + S (pfp_i_root_inductionmatchingmatching) = (l)) -> (((exists ff_h_pfp_root_inductionmatchingmatchingmap. ff_h_pfp_root_inductionmatchingmatchingmap + S (pfp_j_root_inductionmatchingmatching) = S ((S (pfp_i_root_inductionmatchingmatching)) * pfp_v_root_induction)) /\ exists ff_q_pfp_root_inductionmatchingmatchingmap. pfp_u_root_induction = ff_q_pfp_root_inductionmatchingmatchingmap * S ((S (pfp_i_root_inductionmatchingmatching)) * pfp_v_root_induction) + (pfp_j_root_inductionmatchingmatching))) -> (((exists ff_h_pfp_root_inductionmatchingmatchingsource. ff_h_pfp_root_inductionmatchingmatchingsource + S (pfp_a_root_inductionmatchingmatching) = S ((S (pfp_i_root_inductionmatchingmatching)) * c)) /\ exists ff_q_pfp_root_inductionmatchingmatchingsource. b = ff_q_pfp_root_inductionmatchingmatchingsource * S ((S (pfp_i_root_inductionmatchingmatching)) * c) + (pfp_a_root_inductionmatchingmatching))) -> (((exists ff_h_pfp_root_inductionmatchingmatchingtarget. ff_h_pfp_root_inductionmatchingmatchingtarget + S (pfp_a_root_inductionmatchingmatching) = S ((S (pfp_j_root_inductionmatchingmatching)) * e)) /\ exists ff_q_pfp_root_inductionmatchingmatchingtarget. d = ff_q_pfp_root_inductionmatchingmatchingtarget * S ((S (pfp_j_root_inductionmatchingmatching)) * e) + (pfp_a_root_inductionmatchingmatching)))))))) - 0011
specialize prime_factor_lists_matching_by_length (l) - 0012
specialize prime_factor_lists_matching_by_length (n) - 0013
specialize prime_factor_lists_matching_by_length (b) - 0014
specialize prime_factor_lists_matching_by_length (c) - 0015
specialize prime_factor_lists_matching_by_length (m) - 0016
specialize prime_factor_lists_matching_by_length (d) - 0017
specialize prime_factor_lists_matching_by_length (e) - 0018
apply prime_factor_lists_matching_by_length - 0019
exact hf_left - 0020
exact hf_right - 0021
cases hresult - 0022
cases hresult_right - 0023
cases hresult_right_witness - 0024
exists x - 0025
exists x1 - 0026
split - 0027
exact hresult_left - 0028
exact hresult_right_witness_witness