PA009D

scaled_inverse_prefix_extensional

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

A valid scaled inverse at a covered source is decoded by the prefix.

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 a n b c l i y. ((~(p = 1) /\ forall esi_prime_left_esipe_ext_prime esi_prime_right_esipe_ext_prime. p = esi_prime_left_esipe_ext_prime * esi_prime_right_esipe_ext_prime -> esi_prime_left_esipe_ext_prime = 1 \/ esi_prime_right_esipe_ext_prime = 1)) -> (forall esip_index_extensional_prefix. (exists esip_gap_extensional_prefix_prefix_bound. esip_gap_extensional_prefix_prefix_bound + S (esip_index_extensional_prefix) = l) -> exists esip_mate_extensional_prefix. ((((exists ff_h_esip_extensional_prefix_entry. ff_h_esip_extensional_prefix_entry + S (esip_mate_extensional_prefix) = S ((S (esip_index_extensional_prefix)) * c)) /\ exists ff_q_esip_extensional_prefix_entry. b = ff_q_esip_extensional_prefix_entry * S ((S (esip_index_extensional_prefix)) * c) + (esip_mate_extensional_prefix))) /\ ((exists esip_gap_extensional_prefix_relation_index_bound. esip_gap_extensional_prefix_relation_index_bound + S (esip_index_extensional_prefix) = n) /\ ((((~((S esip_index_extensional_prefix) = 0) /\ (exists esip_gap_extensional_prefix_relation_scaled_left_bound. esip_gap_extensional_prefix_relation_scaled_left_bound + S (S esip_index_extensional_prefix) = p))) /\ (((~(esip_mate_extensional_prefix = 0) /\ (exists esip_gap_extensional_prefix_relation_scaled_right_bound. esip_gap_extensional_prefix_relation_scaled_right_bound + S (esip_mate_extensional_prefix) = p))) /\ (exists esi_mod_left_extensional_prefix_relation_scaled_mod esi_mod_right_extensional_prefix_relation_scaled_mod. ((S esip_index_extensional_prefix) * esip_mate_extensional_prefix) + p * esi_mod_left_extensional_prefix_relation_scaled_mod = (a) + p * esi_mod_right_extensional_prefix_relation_scaled_mod))))))) -> (exists esip_gap_extensional_bound. esip_gap_extensional_bound + S (i) = l) -> ((exists esip_gap_extensional_relation_index_bound. esip_gap_extensional_relation_index_bound + S (i) = n) /\ ((((~((S i) = 0) /\ (exists esip_gap_extensional_relation_scaled_left_bound. esip_gap_extensional_relation_scaled_left_bound + S (S i) = p))) /\ (((~(y = 0) /\ (exists esip_gap_extensional_relation_scaled_right_bound. esip_gap_extensional_relation_scaled_right_bound + S (y) = p))) /\ (exists esi_mod_left_extensional_relation_scaled_mod esi_mod_right_extensional_relation_scaled_mod. ((S i) * y) + p * esi_mod_left_extensional_relation_scaled_mod = (a) + p * esi_mod_right_extensional_relation_scaled_mod))))) -> (((exists ff_h_esipe_extensional_result. ff_h_esipe_extensional_result + S (y) = S ((S (i)) * c)) /\ exists ff_q_esipe_extensional_result. b = ff_q_esipe_extensional_result * S ((S (i)) * c) + (y)))

Structural proof guide

Generated structural guide

A valid scaled inverse at a covered source is decoded by the prefix.

Use the direct prerequisites prime_scaled_inverse_unique as previously established PA formulas.

The proof proceeds by case analysis (4), intermediate claims (2), equality transport (2).

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

33 script commands · 7 reading checkpoints · 2 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.

Named ingredients (1)

Long local formulas use this family’s existing definitions. Each new abbreviation was expanded back to the identical native formula, including its free-variable context. The original edition is preserved below.

01Fix variables and assumptionsL1–10

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

  1. L1
    intro p
  2. L2
    intro a
  3. L3
    intro n
  4. L4
    intro b
  5. L5
    intro c
  6. L6
    intro l
  7. L7
    intro i
  8. L8
    intro y
  9. L9
    intro hp
  10. L10
    intro hprefix
02Fix variables and assumptionsL11–12

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

  1. L11
    intro hi
  2. L12
    intro hrelation
03Establish hstoredL13–16

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hprefix.

  1. L13
    have hstored : ∃ z. BetaAt(b,c,i,z) ∧ ScaledInverseIndex(p,a,n,i,z)Definitions: BetaAtScaledInverseIndex
  2. L14
    specialize hprefix i
  3. L15
    apply hprefix
  4. L16
    exact hi
04Separate the logical casesL17–20

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L17
    cases hstored
  2. L18
    cases hstored_witness
  3. L19
    cases hrelation
  4. L20
    cases hstored_witness_right
05Establish heqL21–30

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime scaled inverse unique.

  1. L21
    have heq : y = x
  2. L22
    specialize prime_scaled_inverse_unique p
  3. L23
    specialize prime_scaled_inverse_unique a
  4. L24
    specialize prime_scaled_inverse_unique (S i)
  5. L25
    specialize prime_scaled_inverse_unique y
  6. L26
    specialize prime_scaled_inverse_unique x
  7. L27
    apply prime_scaled_inverse_unique
  8. L28
    exact hp
  9. L29
    exact hrelation_right
  10. L30
    exact hstored_witness_right_right
06Calculate and transport equalitiesL31–32

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L31
    rewrite heq
  2. L32
    rewrite heq
07Use earlier factsL33–33

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

  1. L33
    exact hstored_witness_left

Library-wide reading audit

Original exact command ledger · 33 lines
  1. 0001intro p
  2. 0002intro a
  3. 0003intro n
  4. 0004intro b
  5. 0005intro c
  6. 0006intro l
  7. 0007intro i
  8. 0008intro y
  9. 0009intro hp
  10. 0010intro hprefix
  11. 0011intro hi
  12. 0012intro hrelation
  13. 0013have hstored : exists z. ((((exists ff_h_esipe_extensional_stored_at. ff_h_esipe_extensional_stored_at + S (z) = S ((S (i)) * c)) /\ exists ff_q_esipe_extensional_stored_at. b = ff_q_esipe_extensional_stored_at * S ((S (i)) * c) + (z))) /\ ((exists esip_gap_extensional_stored_relation_index_bound. esip_gap_extensional_stored_relation_index_bound + S (i) = n) /\ ((((~((S i) = 0) /\ (exists esip_gap_extensional_stored_relation_scaled_left_bound. esip_gap_extensional_stored_relation_scaled_left_bound + S (S i) = p))) /\ (((~(z = 0) /\ (exists esip_gap_extensional_stored_relation_scaled_right_bound. esip_gap_extensional_stored_relation_scaled_right_bound + S (z) = p))) /\ (exists esi_mod_left_extensional_stored_relation_scaled_mod esi_mod_right_extensional_stored_relation_scaled_mod. ((S i) * z) + p * esi_mod_left_extensional_stored_relation_scaled_mod = (a) + p * esi_mod_right_extensional_stored_relation_scaled_mod))))))
  14. 0014specialize hprefix i
  15. 0015apply hprefix
  16. 0016exact hi
  17. 0017cases hstored
  18. 0018cases hstored_witness
  19. 0019cases hrelation
  20. 0020cases hstored_witness_right
  21. 0021have heq : y = x
  22. 0022specialize prime_scaled_inverse_unique p
  23. 0023specialize prime_scaled_inverse_unique a
  24. 0024specialize prime_scaled_inverse_unique (S i)
  25. 0025specialize prime_scaled_inverse_unique y
  26. 0026specialize prime_scaled_inverse_unique x
  27. 0027apply prime_scaled_inverse_unique
  28. 0028exact hp
  29. 0029exact hrelation_right
  30. 0030exact hstored_witness_right_right
  31. 0031rewrite heq
  32. 0032rewrite heq
  33. 0033exact hstored_witness_left