FP0009

prime_field_add_functional

Alpha v34 independently verified · alpha_closed; checked-use authorized; not Stable

The actual bounded add graph is functional without any field-law premise.

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 a b c d. (((exists pfa_gap_addfirstleft. pfa_gap_addfirstleft + S (a) = (p)) /\ (((exists pfa_gap_addfirstright. pfa_gap_addfirstright + S (b) = (p)) /\ ((((exists pfa_gap_addfirstresultbound. pfa_gap_addfirstresultbound + S (c) = (p)) /\ ((exists pfa_offset_left_addfirstresultcongruence pfa_offset_right_addfirstresultcongruence. ((a) + (b)) + (p) * pfa_offset_left_addfirstresultcongruence = (c) + (p) * pfa_offset_right_addfirstresultcongruence))))))))) -> (((exists pfa_gap_addsecondleft. pfa_gap_addsecondleft + S (a) = (p)) /\ (((exists pfa_gap_addsecondright. pfa_gap_addsecondright + S (b) = (p)) /\ ((((exists pfa_gap_addsecondresultbound. pfa_gap_addsecondresultbound + S (d) = (p)) /\ ((exists pfa_offset_left_addsecondresultcongruence pfa_offset_right_addsecondresultcongruence. ((a) + (b)) + (p) * pfa_offset_left_addsecondresultcongruence = (d) + (p) * pfa_offset_right_addsecondresultcongruence))))))))) -> c = d

Constructive proof overview

Generated structural guide

The actual bounded add graph is functional without any field-law premise.

The unchanged tactic script uses 1 declared prerequisite and contains 18 exact native proof lines.

Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable

Proof neighborhood

Direct dependencies

binary_canonical_residue_functional Alpha theorem; checked-use authorized

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

18 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–7

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 d
  6. L6
    intro hc
  7. L7
    intro hd
02Separate the logical casesL8–11

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

  1. L8
    cases hc
  2. L9
    cases hc_right
  3. L10
    cases hd
  4. L11
    cases hd_right
03Use earlier factsL12–18

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

  1. L12
    specialize binary_canonical_residue_functional (p)
  2. L13
    specialize binary_canonical_residue_functional (a + b)
  3. L14
    specialize binary_canonical_residue_functional (c)
  4. L15
    specialize binary_canonical_residue_functional (d)
  5. L16
    apply binary_canonical_residue_functional
  6. L17
    exact hc_right_right
  7. L18
    exact hd_right_right

Library-wide reading audit

Original exact command ledger · 18 lines
  1. 0001intro p
  2. 0002intro a
  3. 0003intro b
  4. 0004intro c
  5. 0005intro d
  6. 0006intro hc
  7. 0007intro hd
  8. 0008cases hc
  9. 0009cases hc_right
  10. 0010cases hd
  11. 0011cases hd_right
  12. 0012specialize binary_canonical_residue_functional (p)
  13. 0013specialize binary_canonical_residue_functional (a + b)
  14. 0014specialize binary_canonical_residue_functional (c)
  15. 0015specialize binary_canonical_residue_functional (d)
  16. 0016apply binary_canonical_residue_functional
  17. 0017exact hc_right_right
  18. 0018exact hd_right_right