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. (~((p) = 1) /\ forall pfa_factor_left_negate_unique_domain pfa_factor_right_negate_unique_domain. (p) = pfa_factor_left_negate_unique_domain * pfa_factor_right_negate_unique_domain -> pfa_factor_left_negate_unique_domain = 1 \/ pfa_factor_right_negate_unique_domain = 1) -> (exists pfa_gap_negate_unique_input. pfa_gap_negate_unique_input + S (a) = (p)) -> exists b. (((exists pfa_gap_negate_chosenadditionleft. pfa_gap_negate_chosenadditionleft + S (a) = (p)) /\ (((exists pfa_gap_negate_chosenadditionright. pfa_gap_negate_chosenadditionright + S (b) = (p)) /\ ((((exists pfa_gap_negate_chosenadditionresultbound. pfa_gap_negate_chosenadditionresultbound + S (0) = (p)) /\ ((exists pfa_offset_left_negate_chosenadditionresultcongruence pfa_offset_right_negate_chosenadditionresultcongruence. ((a) + (b)) + (p) * pfa_offset_left_negate_chosenadditionresultcongruence = (0) + (p) * pfa_offset_right_negate_chosenadditionresultcongruence))))))))) /\ forall c. (((exists pfa_gap_negate_otheradditionleft. pfa_gap_negate_otheradditionleft + S (a) = (p)) /\ (((exists pfa_gap_negate_otheradditionright. pfa_gap_negate_otheradditionright + S (c) = (p)) /\ ((((exists pfa_gap_negate_otheradditionresultbound. pfa_gap_negate_otheradditionresultbound + S (0) = (p)) /\ ((exists pfa_offset_left_negate_otheradditionresultcongruence pfa_offset_right_negate_otheradditionresultcongruence. ((a) + (c)) + (p) * pfa_offset_left_negate_otheradditionresultcongruence = (0) + (p) * pfa_offset_right_negate_otheradditionresultcongruence))))))))) -> c = bConstructive proof overview
Generated structural guide
Every element, including zero, has a unique actual additive inverse.
The unchanged tactic script uses 2 declared prerequisites and contains 23 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 (2)
01Fix variables and assumptionsL1–4
02Establish hbL5–10
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime field negate exists.
- L5
have hb : exists b. (((exists pfa_gap_negate_choiceadditionleft. pfa_gap_negate_choiceadditionleft + S (a) = (p)) /\ (((exists pfa_gap_negate_choiceadditionright. pfa_gap_negate_choiceadditionright + S (b) = (p)) /\ ((((exists pfa_gap_negate_choiceadditionresultbound. pfa_gap_negate_choiceadditionresultbound + S (0) = (p)) /\ ((exists pfa_offset_left_negate_choiceadditionresultcongruence pfa_offset_right_negate_choiceadditionresultcongruence. ((a) + (b)) + (p) * pfa_offset_left_negate_choiceadditionresultcongruence = (0) + (p) * pfa_offset_right_negate_choiceadditionresultcongruence))))))))) - L6
specialize prime_field_negate_exists (p) - L7
specialize prime_field_negate_exists (a) - L8
apply prime_field_negate_exists - L9
exact hp - L10
exact ha
03Separate the logical casesL11–11
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L11
cases hb
04Construct an explicit witnessL12–12
Supply the displayed value, then prove that it has the required property.
- L12
exists x
05Separate the logical casesL13–13
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L13
split
06Use earlier factsL14–14
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L14
exact hb_witness
07Fix variables and assumptionsL15–16
08Use earlier factsL17–23
Instantiate or apply named facts and discharge the corresponding proof obligations.
Original exact command ledger · 23 lines
- 0001
intro p - 0002
intro a - 0003
intro hp - 0004
intro ha - 0005
have hb : exists b. (((exists pfa_gap_negate_choiceadditionleft. pfa_gap_negate_choiceadditionleft + S (a) = (p)) /\ (((exists pfa_gap_negate_choiceadditionright. pfa_gap_negate_choiceadditionright + S (b) = (p)) /\ ((((exists pfa_gap_negate_choiceadditionresultbound. pfa_gap_negate_choiceadditionresultbound + S (0) = (p)) /\ ((exists pfa_offset_left_negate_choiceadditionresultcongruence pfa_offset_right_negate_choiceadditionresultcongruence. ((a) + (b)) + (p) * pfa_offset_left_negate_choiceadditionresultcongruence = (0) + (p) * pfa_offset_right_negate_choiceadditionresultcongruence))))))))) - 0006
specialize prime_field_negate_exists (p) - 0007
specialize prime_field_negate_exists (a) - 0008
apply prime_field_negate_exists - 0009
exact hp - 0010
exact ha - 0011
cases hb - 0012
exists x - 0013
split - 0014
exact hb_witness - 0015
intro c - 0016
intro hc - 0017
specialize prime_field_negate_functional (p) - 0018
specialize prime_field_negate_functional (a) - 0019
specialize prime_field_negate_functional (c) - 0020
specialize prime_field_negate_functional (x) - 0021
apply prime_field_negate_functional - 0022
exact hc - 0023
exact hb_witness