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 original first-admission records.
Exact expanded first-order arithmetic statement
forall p b c z d l. (forall fom_index_fsri_complement_bounded_source. (exists fom_gap_fsri_complement_bounded_source_index_bound. fom_gap_fsri_complement_bounded_source_index_bound + S (fom_index_fsri_complement_bounded_source) = l) -> exists fom_value_fsri_complement_bounded_source. ((((exists fom_beta_height_fsri_complement_bounded_source_entry. fom_beta_height_fsri_complement_bounded_source_entry + S (fom_value_fsri_complement_bounded_source) = S ((S (fom_index_fsri_complement_bounded_source)) * c)) /\ exists fom_beta_quotient_fsri_complement_bounded_source_entry. b = fom_beta_quotient_fsri_complement_bounded_source_entry * S ((S (fom_index_fsri_complement_bounded_source)) * c) + (fom_value_fsri_complement_bounded_source))) /\ (exists fom_gap_fsri_complement_bounded_source_value_bound. fom_gap_fsri_complement_bounded_source_value_bound + S (fom_value_fsri_complement_bounded_source) = p))) -> (forall fsri_complement_index_bounded_alignment fsri_complement_source_bounded_alignment fsri_complement_target_bounded_alignment. (exists fsri_gap_bounded_alignment_index. fsri_gap_bounded_alignment_index + S (fsri_complement_index_bounded_alignment) = (l)) -> (((exists fsri_height_bounded_alignment_source. fsri_height_bounded_alignment_source + S (fsri_complement_source_bounded_alignment) = S ((S (fsri_complement_index_bounded_alignment)) * (c))) /\ exists fsri_quotient_bounded_alignment_source. (b) = fsri_quotient_bounded_alignment_source * S ((S (fsri_complement_index_bounded_alignment)) * (c)) + (fsri_complement_source_bounded_alignment))) -> (((exists fsri_height_bounded_alignment_target. fsri_height_bounded_alignment_target + S (fsri_complement_target_bounded_alignment) = S ((S (fsri_complement_index_bounded_alignment)) * (d))) /\ exists fsri_quotient_bounded_alignment_target. (z) = fsri_quotient_bounded_alignment_target * S ((S (fsri_complement_index_bounded_alignment)) * (d)) + (fsri_complement_target_bounded_alignment))) -> fsri_complement_target_bounded_alignment + S fsri_complement_source_bounded_alignment = (p)) -> (forall fom_index_fsri_complement_bounded_result. (exists fom_gap_fsri_complement_bounded_result_index_bound. fom_gap_fsri_complement_bounded_result_index_bound + S (fom_index_fsri_complement_bounded_result) = l) -> exists fom_value_fsri_complement_bounded_result. ((((exists fom_beta_height_fsri_complement_bounded_result_entry. fom_beta_height_fsri_complement_bounded_result_entry + S (fom_value_fsri_complement_bounded_result) = S ((S (fom_index_fsri_complement_bounded_result)) * d)) /\ exists fom_beta_quotient_fsri_complement_bounded_result_entry. z = fom_beta_quotient_fsri_complement_bounded_result_entry * S ((S (fom_index_fsri_complement_bounded_result)) * d) + (fom_value_fsri_complement_bounded_result))) /\ (exists fom_gap_fsri_complement_bounded_result_value_bound. fom_gap_fsri_complement_bounded_result_value_bound + S (fom_value_fsri_complement_bounded_result) = p)))Constructive proof overview
Generated structural guide
The pointwise predecessor complement of any bounded residue prefix is itself bounded by the modulus.
The unchanged tactic script uses 2 declared prerequisites and contains 37 exact native proof lines.
dependency-curried kernel-checked theorem body; Alpha enrollment and checked-use authority follow separately sealed release evidence; Stable membership remains unchanged
Historical empty-context replay experiment only; that experiment persisted no certificate and granted no release authority. Current checked use follows separately sealed, independently verified proof bundles; there is no Stable promotion.
Proof neighborhood
Direct dependencies
beta_at_exists Stable theorem; checked-use authorized FS004G four_square_complement_gap_symmetryDirect 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–10
02Establish hsourceL11–14
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hbounded.
- L11
have hsource : exists v. ((((exists fsri_height_complement_bound_source_entry. fsri_height_complement_bound_source_entry + S (v) = S ((S (i)) * (c))) /\ exists fsri_quotient_complement_bound_source_entry. (b) = fsri_quotient_complement_bound_source_entry * S ((S (i)) * (c)) + (v))) /\ (exists fsri_gap_complement_bound_source_value. fsri_gap_complement_bound_source_value + S (v) = (p))) - L12
specialize hbounded i - L13
apply hbounded - L14
exact hi
03Separate the logical casesL15–16
04Establish htargetL17–21
Establish this local claim before using it. It is not an additional assumption.
- L17
have htarget : exists w. (((exists fsri_height_complement_bound_target_entry. fsri_height_complement_bound_target_entry + S (w) = S ((S (i)) * (d))) /\ exists fsri_quotient_complement_bound_target_entry. (z) = fsri_quotient_complement_bound_target_entry * S ((S (i)) * (d)) + (w))) - L18
specialize beta_at_exists z - L19
specialize beta_at_exists d - L20
specialize beta_at_exists i - L21
exact beta_at_exists
05Separate the logical casesL22–22
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L22
cases htarget
06Construct an explicit witnessL23–23
Supply the displayed value, then prove that it has the required property.
- L23
exists x1
07Separate the logical casesL24–24
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L24
split
08Use earlier factsL25–25
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L25
exact htarget_witness
09Construct an explicit witnessL26–26
Supply the displayed value, then prove that it has the required property.
- L26
exists x
10Use earlier factsL27–36
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L27
specialize four_square_complement_gap_symmetry p - L28
specialize four_square_complement_gap_symmetry x - L29
specialize four_square_complement_gap_symmetry x1 - L30
apply four_square_complement_gap_symmetry - L31
specialize hcomplement i - L32
specialize hcomplement x - L33
specialize hcomplement x1 - L34
apply hcomplement - L35
exact hi - L36
exact hsource_witness_left
11Use earlier factsL37–37
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L37
exact htarget_witness
Original exact command ledger · 37 lines
- 0001
intro p - 0002
intro b - 0003
intro c - 0004
intro z - 0005
intro d - 0006
intro l - 0007
intro hbounded - 0008
intro hcomplement - 0009
intro i - 0010
intro hi - 0011
have hsource : exists v. ((((exists fsri_height_complement_bound_source_entry. fsri_height_complement_bound_source_entry + S (v) = S ((S (i)) * (c))) /\ exists fsri_quotient_complement_bound_source_entry. (b) = fsri_quotient_complement_bound_source_entry * S ((S (i)) * (c)) + (v))) /\ (exists fsri_gap_complement_bound_source_value. fsri_gap_complement_bound_source_value + S (v) = (p))) - 0012
specialize hbounded i - 0013
apply hbounded - 0014
exact hi - 0015
cases hsource - 0016
cases hsource_witness - 0017
have htarget : exists w. (((exists fsri_height_complement_bound_target_entry. fsri_height_complement_bound_target_entry + S (w) = S ((S (i)) * (d))) /\ exists fsri_quotient_complement_bound_target_entry. (z) = fsri_quotient_complement_bound_target_entry * S ((S (i)) * (d)) + (w))) - 0018
specialize beta_at_exists z - 0019
specialize beta_at_exists d - 0020
specialize beta_at_exists i - 0021
exact beta_at_exists - 0022
cases htarget - 0023
exists x1 - 0024
split - 0025
exact htarget_witness - 0026
exists x - 0027
specialize four_square_complement_gap_symmetry p - 0028
specialize four_square_complement_gap_symmetry x - 0029
specialize four_square_complement_gap_symmetry x1 - 0030
apply four_square_complement_gap_symmetry - 0031
specialize hcomplement i - 0032
specialize hcomplement x - 0033
specialize hcomplement x1 - 0034
apply hcomplement - 0035
exact hi - 0036
exact hsource_witness_left - 0037
exact htarget_witness