FP0036

prime_field_inverse_table_exists

Public research checkpoint, not admitted to Alpha or Stable. Alpha v30 remains 3222 checked-use theorems; Stable remains 432. The on-demand Alpha Lean service does not yet expose these checkpoint theorems; their independently checked literal bundles and unchanged sources are available below.

Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable

Construct every entry of the finite inverse table from primality alone.

Exact expanded first-order arithmetic statement

forall p. (~((p) = 1) /\ forall pfa_factor_left_inversetable_domain pfa_factor_right_inversetable_domain. (p) = pfa_factor_left_inversetable_domain * pfa_factor_right_inversetable_domain -> pfa_factor_left_inversetable_domain = 1 \/ pfa_factor_right_inversetable_domain = 1) -> exists b c. (forall pft_index_inversetable_result. (exists pfa_gap_inversetable_resultprefix. pfa_gap_inversetable_resultprefix + S (pft_index_inversetable_result) = (p)) -> exists pft_value_inversetable_result. (((((exists ff_h_pft_inversetable_resultpointentry. ff_h_pft_inversetable_resultpointentry + S (pft_value_inversetable_result) = S ((S (pft_index_inversetable_result)) * c)) /\ exists ff_q_pft_inversetable_resultpointentry. b = ff_q_pft_inversetable_resultpointentry * S ((S (pft_index_inversetable_result)) * c) + (pft_value_inversetable_result))) /\ ((((exists pfa_gap_inversetable_resultpointvalueinput. pfa_gap_inversetable_resultpointvalueinput + S (pft_index_inversetable_result) = (p)) /\ (((exists pfa_gap_inversetable_resultpointvalueoutput. pfa_gap_inversetable_resultpointvalueoutput + S (pft_value_inversetable_result) = (p)) /\ ((((pft_index_inversetable_result) = 0 /\ (pft_value_inversetable_result) = 0) \/ (((~((pft_index_inversetable_result) = 0)) /\ ((((exists pfa_gap_inversetable_resultpointvaluenonzeromultiplicationleft. pfa_gap_inversetable_resultpointvaluenonzeromultiplicationleft + S (pft_index_inversetable_result) = (p)) /\ (((exists pfa_gap_inversetable_resultpointvaluenonzeromultiplicationright. pfa_gap_inversetable_resultpointvaluenonzeromultiplicationright + S (pft_value_inversetable_result) = (p)) /\ ((((exists pfa_gap_inversetable_resultpointvaluenonzeromultiplicationresultbound. pfa_gap_inversetable_resultpointvaluenonzeromultiplicationresultbound + S (1) = (p)) /\ ((exists pfa_offset_left_inversetable_resultpointvaluenonzeromultiplicationresultcongruence pfa_offset_right_inversetable_resultpointvaluenonzeromultiplicationresultcongruence. ((pft_index_inversetable_result) * (pft_value_inversetable_result)) + (p) * pfa_offset_left_inversetable_resultpointvaluenonzeromultiplicationresultcongruence = (1) + (p) * pfa_offset_right_inversetable_resultpointvaluenonzeromultiplicationresultcongruence))))))))))))))))))))))

Constructive proof overview

Generated structural guide

Construct every entry of the finite inverse table from primality alone.

The unchanged tactic script uses 2 declared prerequisites and contains 12 exact native proof lines.

Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; 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. The literal dependency-closed bundle is checked by original HA and the independently compiled Lean verifier. Public delivery grants no Alpha checked-use authority or Stable membership.

Read the argument

Proof checkpoints

12 script commands · 4 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.

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

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

  1. L1
    intro p
  2. L2
    intro hp
02Use earlier factsL3–5

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

  1. L3
    specialize prime_field_inverse_prefix_choice (p)
  2. L4
    specialize prime_field_inverse_prefix_choice (p)
  3. L5
    apply prime_field_inverse_prefix_choice
03Fix variables and assumptionsL6–7

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

  1. L6
    intro i
  2. L7
    intro hi
04Use earlier factsL8–12

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

  1. L8
    specialize prime_field_zero_extended_inverse_exists (p)
  2. L9
    specialize prime_field_zero_extended_inverse_exists (i)
  3. L10
    apply prime_field_zero_extended_inverse_exists
  4. L11
    exact hp
  5. L12
    exact hi

Library-wide reading audit

Original exact command ledger · 12 lines
  1. 0001intro p
  2. 0002intro hp
  3. 0003specialize prime_field_inverse_prefix_choice (p)
  4. 0004specialize prime_field_inverse_prefix_choice (p)
  5. 0005apply prime_field_inverse_prefix_choice
  6. 0006intro i
  7. 0007intro hi
  8. 0008specialize prime_field_zero_extended_inverse_exists (p)
  9. 0009specialize prime_field_zero_extended_inverse_exists (i)
  10. 0010apply prime_field_zero_extended_inverse_exists
  11. 0011exact hp
  12. 0012exact hi