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 ab ac bb bc rb rc l. (forall pfp_index_sub_bridge_old_from_add. (exists pfa_gap_sub_bridge_old_from_addindex. pfa_gap_sub_bridge_old_from_addindex + S (pfp_index_sub_bridge_old_from_add) = (l)) -> exists pfp_left_sub_bridge_old_from_add pfp_right_sub_bridge_old_from_add pfp_value_sub_bridge_old_from_add. ((((exists ff_h_pfp_sub_bridge_old_from_addleft. ff_h_pfp_sub_bridge_old_from_addleft + S (pfp_left_sub_bridge_old_from_add) = S ((S (pfp_index_sub_bridge_old_from_add)) * bc)) /\ exists ff_q_pfp_sub_bridge_old_from_addleft. bb = ff_q_pfp_sub_bridge_old_from_addleft * S ((S (pfp_index_sub_bridge_old_from_add)) * bc) + (pfp_left_sub_bridge_old_from_add))) /\ (((((exists ff_h_pfp_sub_bridge_old_from_addright. ff_h_pfp_sub_bridge_old_from_addright + S (pfp_right_sub_bridge_old_from_add) = S ((S (pfp_index_sub_bridge_old_from_add)) * rc)) /\ exists ff_q_pfp_sub_bridge_old_from_addright. rb = ff_q_pfp_sub_bridge_old_from_addright * S ((S (pfp_index_sub_bridge_old_from_add)) * rc) + (pfp_right_sub_bridge_old_from_add))) /\ (((((exists ff_h_pfp_sub_bridge_old_from_addtarget. ff_h_pfp_sub_bridge_old_from_addtarget + S (pfp_value_sub_bridge_old_from_add) = S ((S (pfp_index_sub_bridge_old_from_add)) * ac)) /\ exists ff_q_pfp_sub_bridge_old_from_addtarget. ab = ff_q_pfp_sub_bridge_old_from_addtarget * S ((S (pfp_index_sub_bridge_old_from_add)) * ac) + (pfp_value_sub_bridge_old_from_add))) /\ ((((exists pfa_gap_sub_bridge_old_from_addoperationleft. pfa_gap_sub_bridge_old_from_addoperationleft + S (pfp_left_sub_bridge_old_from_add) = (p)) /\ (((exists pfa_gap_sub_bridge_old_from_addoperationright. pfa_gap_sub_bridge_old_from_addoperationright + S (pfp_right_sub_bridge_old_from_add) = (p)) /\ ((((exists pfa_gap_sub_bridge_old_from_addoperationresultbound. pfa_gap_sub_bridge_old_from_addoperationresultbound + S (pfp_value_sub_bridge_old_from_add) = (p)) /\ ((exists pfa_offset_left_sub_bridge_old_from_addoperationresultcongruence pfa_offset_right_sub_bridge_old_from_addoperationresultcongruence. ((pfp_left_sub_bridge_old_from_add) + (pfp_right_sub_bridge_old_from_add)) + (p) * pfa_offset_left_sub_bridge_old_from_addoperationresultcongruence = (pfp_value_sub_bridge_old_from_add) + (p) * pfa_offset_right_sub_bridge_old_from_addoperationresultcongruence)))))))))))))))) -> (forall pfs_index_sub_bridge_new_from_add. (exists pfa_gap_sub_bridge_new_from_addindex. pfa_gap_sub_bridge_new_from_addindex + S (pfs_index_sub_bridge_new_from_add) = (l)) -> exists pfs_left_sub_bridge_new_from_add pfs_right_sub_bridge_new_from_add pfs_result_sub_bridge_new_from_add. ((((exists ff_h_pfp_sub_bridge_new_from_addleft. ff_h_pfp_sub_bridge_new_from_addleft + S (pfs_left_sub_bridge_new_from_add) = S ((S (pfs_index_sub_bridge_new_from_add)) * ac)) /\ exists ff_q_pfp_sub_bridge_new_from_addleft. ab = ff_q_pfp_sub_bridge_new_from_addleft * S ((S (pfs_index_sub_bridge_new_from_add)) * ac) + (pfs_left_sub_bridge_new_from_add))) /\ (((((exists ff_h_pfp_sub_bridge_new_from_addright. ff_h_pfp_sub_bridge_new_from_addright + S (pfs_right_sub_bridge_new_from_add) = S ((S (pfs_index_sub_bridge_new_from_add)) * bc)) /\ exists ff_q_pfp_sub_bridge_new_from_addright. bb = ff_q_pfp_sub_bridge_new_from_addright * S ((S (pfs_index_sub_bridge_new_from_add)) * bc) + (pfs_right_sub_bridge_new_from_add))) /\ (((((exists ff_h_pfp_sub_bridge_new_from_addresult. ff_h_pfp_sub_bridge_new_from_addresult + S (pfs_result_sub_bridge_new_from_add) = S ((S (pfs_index_sub_bridge_new_from_add)) * rc)) /\ exists ff_q_pfp_sub_bridge_new_from_addresult. rb = ff_q_pfp_sub_bridge_new_from_addresult * S ((S (pfs_index_sub_bridge_new_from_add)) * rc) + (pfs_result_sub_bridge_new_from_add))) /\ ((((exists pfa_gap_sub_bridge_new_from_addoperationleft. pfa_gap_sub_bridge_new_from_addoperationleft + S (pfs_right_sub_bridge_new_from_add) = (p)) /\ (((exists pfa_gap_sub_bridge_new_from_addoperationright. pfa_gap_sub_bridge_new_from_addoperationright + S (pfs_result_sub_bridge_new_from_add) = (p)) /\ ((((exists pfa_gap_sub_bridge_new_from_addoperationresultbound. pfa_gap_sub_bridge_new_from_addoperationresultbound + S (pfs_left_sub_bridge_new_from_add) = (p)) /\ ((exists pfa_offset_left_sub_bridge_new_from_addoperationresultcongruence pfa_offset_right_sub_bridge_new_from_addoperationresultcongruence. ((pfs_right_sub_bridge_new_from_add) + (pfs_result_sub_bridge_new_from_add)) + (p) * pfa_offset_left_sub_bridge_new_from_addoperationresultcongruence = (pfs_left_sub_bridge_new_from_add) + (p) * pfa_offset_right_sub_bridge_new_from_addoperationresultcongruence))))))))))))))))Constructive proof overview
Generated structural guide
Relate the actual subtraction witnesses to the actual aligned B+R=A table; no algebraic identity is assumed.
The unchanged tactic script uses 0 declared prerequisites and contains 31 exact native proof lines.
Alpha v34 checked-use · first admitted v32 · 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.
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–11
Work with arbitrary variables or the premises of the current implication.
- L11
intro hi
03Establish hvL12–15
04Separate the logical casesL16–21
05Construct an explicit witnessL22–24
06Separate the logical casesL25–25
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L25
split
07Use earlier factsL26–26
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L26
exact hv_witness_witness_witness_right_right_left
08Separate the logical casesL27–27
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L27
split
09Use earlier factsL28–28
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L28
exact hv_witness_witness_witness_left
10Separate the logical casesL29–29
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L29
split
Original exact command ledger · 31 lines
- 0001
intro p - 0002
intro ab - 0003
intro ac - 0004
intro bb - 0005
intro bc - 0006
intro rb - 0007
intro rc - 0008
intro l - 0009
intro h - 0010
intro i - 0011
intro hi - 0012
have hv : exists b r a. (((((exists ff_h_pfp_sub_bridge_from_addb. ff_h_pfp_sub_bridge_from_addb + S (b) = S ((S (i)) * bc)) /\ exists ff_q_pfp_sub_bridge_from_addb. bb = ff_q_pfp_sub_bridge_from_addb * S ((S (i)) * bc) + (b))) /\ (((((exists ff_h_pfp_sub_bridge_from_addr. ff_h_pfp_sub_bridge_from_addr + S (r) = S ((S (i)) * rc)) /\ exists ff_q_pfp_sub_bridge_from_addr. rb = ff_q_pfp_sub_bridge_from_addr * S ((S (i)) * rc) + (r))) /\ (((((exists ff_h_pfp_sub_bridge_from_adda. ff_h_pfp_sub_bridge_from_adda + S (a) = S ((S (i)) * ac)) /\ exists ff_q_pfp_sub_bridge_from_adda. ab = ff_q_pfp_sub_bridge_from_adda * S ((S (i)) * ac) + (a))) /\ ((((exists pfa_gap_sub_bridge_from_addvalueleft. pfa_gap_sub_bridge_from_addvalueleft + S (b) = (p)) /\ (((exists pfa_gap_sub_bridge_from_addvalueright. pfa_gap_sub_bridge_from_addvalueright + S (r) = (p)) /\ ((((exists pfa_gap_sub_bridge_from_addvalueresultbound. pfa_gap_sub_bridge_from_addvalueresultbound + S (a) = (p)) /\ ((exists pfa_offset_left_sub_bridge_from_addvalueresultcongruence pfa_offset_right_sub_bridge_from_addvalueresultcongruence. ((b) + (r)) + (p) * pfa_offset_left_sub_bridge_from_addvalueresultcongruence = (a) + (p) * pfa_offset_right_sub_bridge_from_addvalueresultcongruence)))))))))))))))) - 0013
specialize h (i) - 0014
apply h - 0015
exact hi - 0016
cases hv - 0017
cases hv_witness - 0018
cases hv_witness_witness - 0019
cases hv_witness_witness_witness - 0020
cases hv_witness_witness_witness_right - 0021
cases hv_witness_witness_witness_right_right - 0022
exists x2 - 0023
exists x - 0024
exists x1 - 0025
split - 0026
exact hv_witness_witness_witness_right_right_left - 0027
split - 0028
exact hv_witness_witness_witness_left - 0029
split - 0030
exact hv_witness_witness_witness_right_left - 0031
exact hv_witness_witness_witness_right_right_right