FP001F

prime_field_inverse_functional

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

Multiplicative inverses are unique as bounded natural representatives.

Exact expanded first-order arithmetic statement

forall p a b c. (((~((a) = 0)) /\ ((((exists pfa_gap_inverse_firstmultiplicationleft. pfa_gap_inverse_firstmultiplicationleft + S (a) = (p)) /\ (((exists pfa_gap_inverse_firstmultiplicationright. pfa_gap_inverse_firstmultiplicationright + S (b) = (p)) /\ ((((exists pfa_gap_inverse_firstmultiplicationresultbound. pfa_gap_inverse_firstmultiplicationresultbound + S (1) = (p)) /\ ((exists pfa_offset_left_inverse_firstmultiplicationresultcongruence pfa_offset_right_inverse_firstmultiplicationresultcongruence. ((a) * (b)) + (p) * pfa_offset_left_inverse_firstmultiplicationresultcongruence = (1) + (p) * pfa_offset_right_inverse_firstmultiplicationresultcongruence)))))))))))) -> (((~((a) = 0)) /\ ((((exists pfa_gap_inverse_secondmultiplicationleft. pfa_gap_inverse_secondmultiplicationleft + S (a) = (p)) /\ (((exists pfa_gap_inverse_secondmultiplicationright. pfa_gap_inverse_secondmultiplicationright + S (c) = (p)) /\ ((((exists pfa_gap_inverse_secondmultiplicationresultbound. pfa_gap_inverse_secondmultiplicationresultbound + S (1) = (p)) /\ ((exists pfa_offset_left_inverse_secondmultiplicationresultcongruence pfa_offset_right_inverse_secondmultiplicationresultcongruence. ((a) * (c)) + (p) * pfa_offset_left_inverse_secondmultiplicationresultcongruence = (1) + (p) * pfa_offset_right_inverse_secondmultiplicationresultcongruence)))))))))))) -> b = c

Constructive proof overview

Generated structural guide

Multiplicative inverses are unique as bounded natural representatives.

The unchanged tactic script uses 1 declared prerequisite and contains 23 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

23 script commands · 3 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.

01Fix variables and assumptionsL1–6

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

  1. L1
    intro p
  2. L2
    intro a
  3. L3
    intro b
  4. L4
    intro c
  5. L5
    intro hb
  6. L6
    intro hc
02Separate the logical casesL7–14

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

  1. L7
    cases hb
  2. L8
    cases hb_right
  3. L9
    cases hb_right_right
  4. L10
    cases hb_right_right_right
  5. L11
    cases hc
  6. L12
    cases hc_right
  7. L13
    cases hc_right_right
  8. L14
    cases hc_right_right_right
03Use earlier factsL15–23

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

  1. L15
    specialize bounded_mod_inverse_unique (p)
  2. L16
    specialize bounded_mod_inverse_unique (a)
  3. L17
    specialize bounded_mod_inverse_unique (b)
  4. L18
    specialize bounded_mod_inverse_unique (c)
  5. L19
    apply bounded_mod_inverse_unique
  6. L20
    exact hb_right_right_left
  7. L21
    exact hc_right_right_left
  8. L22
    exact hb_right_right_right_right
  9. L23
    exact hc_right_right_right_right

Library-wide reading audit

Original exact command ledger · 23 lines
  1. 0001intro p
  2. 0002intro a
  3. 0003intro b
  4. 0004intro c
  5. 0005intro hb
  6. 0006intro hc
  7. 0007cases hb
  8. 0008cases hb_right
  9. 0009cases hb_right_right
  10. 0010cases hb_right_right_right
  11. 0011cases hc
  12. 0012cases hc_right
  13. 0013cases hc_right_right
  14. 0014cases hc_right_right_right
  15. 0015specialize bounded_mod_inverse_unique (p)
  16. 0016specialize bounded_mod_inverse_unique (a)
  17. 0017specialize bounded_mod_inverse_unique (b)
  18. 0018specialize bounded_mod_inverse_unique (c)
  19. 0019apply bounded_mod_inverse_unique
  20. 0020exact hb_right_right_left
  21. 0021exact hc_right_right_left
  22. 0022exact hb_right_right_right_right
  23. 0023exact hc_right_right_right_right