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 expanded first-order arithmetic statement
forall p B C a v. (forall pft_index_inverse_nonzero_table. (exists pfa_gap_inverse_nonzero_tableprefix. pfa_gap_inverse_nonzero_tableprefix + S (pft_index_inverse_nonzero_table) = (p)) -> exists pft_value_inverse_nonzero_table. (((((exists ff_h_pft_inverse_nonzero_tablepointentry. ff_h_pft_inverse_nonzero_tablepointentry + S (pft_value_inverse_nonzero_table) = S ((S (pft_index_inverse_nonzero_table)) * C)) /\ exists ff_q_pft_inverse_nonzero_tablepointentry. B = ff_q_pft_inverse_nonzero_tablepointentry * S ((S (pft_index_inverse_nonzero_table)) * C) + (pft_value_inverse_nonzero_table))) /\ ((((exists pfa_gap_inverse_nonzero_tablepointvalueinput. pfa_gap_inverse_nonzero_tablepointvalueinput + S (pft_index_inverse_nonzero_table) = (p)) /\ (((exists pfa_gap_inverse_nonzero_tablepointvalueoutput. pfa_gap_inverse_nonzero_tablepointvalueoutput + S (pft_value_inverse_nonzero_table) = (p)) /\ ((((pft_index_inverse_nonzero_table) = 0 /\ (pft_value_inverse_nonzero_table) = 0) \/ (((~((pft_index_inverse_nonzero_table) = 0)) /\ ((((exists pfa_gap_inverse_nonzero_tablepointvaluenonzeromultiplicationleft. pfa_gap_inverse_nonzero_tablepointvaluenonzeromultiplicationleft + S (pft_index_inverse_nonzero_table) = (p)) /\ (((exists pfa_gap_inverse_nonzero_tablepointvaluenonzeromultiplicationright. pfa_gap_inverse_nonzero_tablepointvaluenonzeromultiplicationright + S (pft_value_inverse_nonzero_table) = (p)) /\ ((((exists pfa_gap_inverse_nonzero_tablepointvaluenonzeromultiplicationresultbound. pfa_gap_inverse_nonzero_tablepointvaluenonzeromultiplicationresultbound + S (1) = (p)) /\ ((exists pfa_offset_left_inverse_nonzero_tablepointvaluenonzeromultiplicationresultcongruence pfa_offset_right_inverse_nonzero_tablepointvaluenonzeromultiplicationresultcongruence. ((pft_index_inverse_nonzero_table) * (pft_value_inverse_nonzero_table)) + (p) * pfa_offset_left_inverse_nonzero_tablepointvaluenonzeromultiplicationresultcongruence = (1) + (p) * pfa_offset_right_inverse_nonzero_tablepointvaluenonzeromultiplicationresultcongruence)))))))))))))))))))))) -> (exists pfa_gap_inverse_nonzero_bound. pfa_gap_inverse_nonzero_bound + S (a) = (p)) -> ~(a = 0) -> (((exists ff_h_pft_inverse_nonzero_entry. ff_h_pft_inverse_nonzero_entry + S (v) = S ((S (a)) * C)) /\ exists ff_q_pft_inverse_nonzero_entry. B = ff_q_pft_inverse_nonzero_entry * S ((S (a)) * C) + (v))) -> (((exists pfa_gap_inverse_nonzero_productleft. pfa_gap_inverse_nonzero_productleft + S (a) = (p)) /\ (((exists pfa_gap_inverse_nonzero_productright. pfa_gap_inverse_nonzero_productright + S (v) = (p)) /\ ((((exists pfa_gap_inverse_nonzero_productresultbound. pfa_gap_inverse_nonzero_productresultbound + S (1) = (p)) /\ ((exists pfa_offset_left_inverse_nonzero_productresultcongruence pfa_offset_right_inverse_nonzero_productresultcongruence. ((a) * (v)) + (p) * pfa_offset_left_inverse_nonzero_productresultcongruence = (1) + (p) * pfa_offset_right_inverse_nonzero_productresultcongruence)))))))))Constructive proof overview
Generated structural guide
Every nonzero inverse-table entry multiplies its input to the actual one representative.
The unchanged tactic script uses 1 declared prerequisite and contains 28 exact native proof lines.
Alpha v34 checked-use · first admitted v31 · 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–9
02Establish hiL10–19
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime field inverse table lookup.
- L10
have hi : FpZeroExtendedInv(p,a,v)Definitions: FpZeroExtendedInv - L11
specialize prime_field_inverse_table_lookup (p) - L12
specialize prime_field_inverse_table_lookup (B) - L13
specialize prime_field_inverse_table_lookup (C) - L14
specialize prime_field_inverse_table_lookup (a) - L15
specialize prime_field_inverse_table_lookup (v) - L16
apply prime_field_inverse_table_lookup - L17
exact htable - L18
exact ha - L19
exact hat
03Separate the logical casesL20–24
04Use earlier factsL25–26
05Separate the logical casesL27–27
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L27
cases hi_right_right_right
06Use earlier factsL28–28
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L28
exact hi_right_right_right_right
Original exact command ledger · 28 lines
- 0001
intro p - 0002
intro B - 0003
intro C - 0004
intro a - 0005
intro v - 0006
intro htable - 0007
intro ha - 0008
intro hn - 0009
intro hat - 0010
have hi : ((exists pfa_gap_inverse_nonzero_valueinput. pfa_gap_inverse_nonzero_valueinput + S (a) = (p)) /\ (((exists pfa_gap_inverse_nonzero_valueoutput. pfa_gap_inverse_nonzero_valueoutput + S (v) = (p)) /\ ((((a) = 0 /\ (v) = 0) \/ (((~((a) = 0)) /\ ((((exists pfa_gap_inverse_nonzero_valuenonzeromultiplicationleft. pfa_gap_inverse_nonzero_valuenonzeromultiplicationleft + S (a) = (p)) /\ (((exists pfa_gap_inverse_nonzero_valuenonzeromultiplicationright. pfa_gap_inverse_nonzero_valuenonzeromultiplicationright + S (v) = (p)) /\ ((((exists pfa_gap_inverse_nonzero_valuenonzeromultiplicationresultbound. pfa_gap_inverse_nonzero_valuenonzeromultiplicationresultbound + S (1) = (p)) /\ ((exists pfa_offset_left_inverse_nonzero_valuenonzeromultiplicationresultcongruence pfa_offset_right_inverse_nonzero_valuenonzeromultiplicationresultcongruence. ((a) * (v)) + (p) * pfa_offset_left_inverse_nonzero_valuenonzeromultiplicationresultcongruence = (1) + (p) * pfa_offset_right_inverse_nonzero_valuenonzeromultiplicationresultcongruence))))))))))))))))) - 0011
specialize prime_field_inverse_table_lookup (p) - 0012
specialize prime_field_inverse_table_lookup (B) - 0013
specialize prime_field_inverse_table_lookup (C) - 0014
specialize prime_field_inverse_table_lookup (a) - 0015
specialize prime_field_inverse_table_lookup (v) - 0016
apply prime_field_inverse_table_lookup - 0017
exact htable - 0018
exact ha - 0019
exact hat - 0020
cases hi - 0021
cases hi_right - 0022
cases hi_right_right - 0023
cases hi_right_right_left - 0024
exfalso - 0025
apply hn - 0026
exact hi_right_right_left_left - 0027
cases hi_right_right_right - 0028
exact hi_right_right_right_right