PA00A7

prime_inverse_prefix_exists

Alpha v34 checked-use theorem · independently closed; not Stable

A prime predecessor interval has a full beta-coded inverse map.

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 PA statement

forall p n. p = S n -> ((~(p = 1) /\ forall wip_prime_left_full_prime wip_prime_right_full_prime. p = wip_prime_left_full_prime * wip_prime_right_full_prime -> wip_prime_left_full_prime = 1 \/ wip_prime_right_full_prime = 1)) -> exists b c. (forall wip_index_full_result. (exists wip_gap_full_result_prefix_bound. wip_gap_full_result_prefix_bound + S wip_index_full_result = n) -> exists wip_mate_full_result. ((((exists wip_beta_height_full_result_decoded. wip_beta_height_full_result_decoded + S (wip_mate_full_result) = S ((S (wip_index_full_result)) * c)) /\ exists wip_beta_quotient_full_result_decoded. b = wip_beta_quotient_full_result_decoded * S ((S (wip_index_full_result)) * c) + (wip_mate_full_result))) /\ ((exists wip_gap_full_result_inverse_index_bound. wip_gap_full_result_inverse_index_bound + S wip_index_full_result = n) /\ ((exists wip_gap_full_result_inverse_mate_bound. wip_gap_full_result_inverse_mate_bound + S wip_mate_full_result = n) /\ (exists wip_mod_left_full_result_inverse_mod wip_mod_right_full_result_inverse_mod. ((S wip_index_full_result) * S wip_mate_full_result) + p * wip_mod_left_full_result_inverse_mod = 1 + p * wip_mod_right_full_result_inverse_mod)))))

Structural proof guide

Generated structural guide

A prime predecessor interval has a full beta-coded inverse map.

Use the direct prerequisites le_refl, prime_inverse_prefix_exists_bounded as previously established PA formulas.

The proof proceeds by direct introduction and elimination.

Referenced ingredients

Proof neighborhood

Direct dependencies

Direct dependents

Formal native tactic body

Dependencies are introduced as named hypotheses before line 1. Linked names are exact direct references. This Alpha-v25 checked-use theorem is independently kernel-checked when replayed; it is not a Stable theorem.

Read the argument

Proof checkpoints

12 script commands · 2 reading checkpoints · 0 local claims

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.

Instantiate the bounded construction at its own length

This short wrapper reuses prime_inverse_prefix_exists_bounded with n as both the requested prefix length and its bound. The original hypotheses discharge the prime and range conditions; le_refl supplies the remaining self-bound. The construction itself belongs to the linked bounded theorem.

Mathematical commentary bound to this exact script; it grants no proof authority.

Named ingredients (2)
01Fix variables and assumptionsL1–4

Work with arbitrary variables or the premises of the current implication.

  1. L1
    intro p
  2. L2
    intro n
  3. L3
    intro hpn
  4. L4
    intro hp
02Use earlier factsL5–12

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L5
    specialize prime_inverse_prefix_exists_bounded p
  2. L6
    specialize prime_inverse_prefix_exists_bounded n
  3. L7
    specialize prime_inverse_prefix_exists_bounded n
  4. L8
    apply prime_inverse_prefix_exists_bounded
  5. L9
    exact hpn
  6. L10
    exact hp
  7. L11
    specialize le_refl n
  8. L12
    exact le_refl

Library-wide reading audit

Original exact command ledger · 12 lines
  1. 0001intro p
  2. 0002intro n
  3. 0003intro hpn
  4. 0004intro hp
  5. 0005specialize prime_inverse_prefix_exists_bounded p
  6. 0006specialize prime_inverse_prefix_exists_bounded n
  7. 0007specialize prime_inverse_prefix_exists_bounded n
  8. 0008apply prime_inverse_prefix_exists_bounded
  9. 0009exact hpn
  10. 0010exact hp
  11. 0011specialize le_refl n
  12. 0012exact le_refl