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 w r l. ~(p = 0) -> ~(w = 0) -> exists b c. (forall ftrg_index_existence. (exists ftrg_gap_existence_index. ftrg_gap_existence_index + S (ftrg_index_existence) = (l)) -> exists ftrg_row_existence ftrg_column_existence ftrg_quotient_existence ftrg_remainder_existence. ((ftrg_index_existence) = (w) * ftrg_row_existence + ftrg_column_existence /\ ((exists ftrg_gap_existence_column. ftrg_gap_existence_column + S (ftrg_column_existence) = (w)) /\ ((r * ftrg_row_existence + ftrg_column_existence = (p) * ftrg_quotient_existence + ftrg_remainder_existence) /\ ((exists ftrg_gap_existence_residue. ftrg_gap_existence_residue + S (ftrg_remainder_existence) = (p)) /\ (((exists ff_h_ftrg_existence_entry. ff_h_ftrg_existence_entry + S (ftrg_remainder_existence) = S ((S (ftrg_index_existence)) * c)) /\ exists ff_q_ftrg_existence_entry. b = ff_q_ftrg_existence_entry * S ((S (ftrg_index_existence)) * c) + (ftrg_remainder_existence))))))))Constructive proof overview
Generated structural guide
Every nonzero modulus and positive grid width admit a full beta-coded prefix of bounded affine residues.
The unchanged tactic script uses 4 declared prerequisites and contains 47 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
Proof neighborhood
Direct dependencies
add_eq_zero_right Stable theorem; checked-use authorized succ_ne_zero Stable theorem; checked-use authorized TS000U affine_grid_point_remainder_exists TS000V beta_affine_residue_grid_extendDirect 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–3
02Induction on lL4–6
03Construct an explicit witnessL7–8
04Fix variables and assumptionsL9–10
05Separate the logical casesL11–12
06Establish hzeroL13–22
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add eq zero right.
07Establish hpreviousL23–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply IH.
08Separate the logical casesL27–28
09Establish hpointL29–36
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply affine grid point remainder exists.
- L29
have hpoint : exists ftrg_row_induction_point ftrg_column_induction_point ftrg_quotient_induction_point ftrg_remainder_induction_point. ((l) = (w) * ftrg_row_induction_point + ftrg_column_induction_point /\ ((exists ftrg_gap_induction_point_column. ftrg_gap_induction_point_column + S (ftrg_column_induction_point) = (w)) /\ ((r * ftrg_row_induction_point + ftrg_column_induction_point = (p) * ftrg_quotient_induction_point + ftrg_remainder_induction_point) /\ (exists ftrg_gap_induction_point_residue. ftrg_gap_induction_point_residue + S (ftrg_remainder_induction_point) = (p))))) - L30
specialize affine_grid_point_remainder_exists p - L31
specialize affine_grid_point_remainder_exists w - L32
specialize affine_grid_point_remainder_exists r - L33
specialize affine_grid_point_remainder_exists l - L34
apply affine_grid_point_remainder_exists - L35
exact hp - L36
exact hw
10Establish hnextL37–46
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta affine residue grid extend.
- L37
- L38
specialize beta_affine_residue_grid_extend p - L39
specialize beta_affine_residue_grid_extend w - L40
specialize beta_affine_residue_grid_extend r - L41
specialize beta_affine_residue_grid_extend x - L42
specialize beta_affine_residue_grid_extend x1 - L43
specialize beta_affine_residue_grid_extend l - L44
apply beta_affine_residue_grid_extend - L45
exact hprevious_witness_witness - L46
exact hpoint
11Use earlier factsL47–47
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L47
exact hnext
Original exact command ledger · 47 lines
- 0001
intro p - 0002
intro w - 0003
intro r - 0004
induction l - 0005
intro hp - 0006
intro hw - 0007
exists 0 - 0008
exists 0 - 0009
intro k - 0010
intro hk - 0011
exfalso - 0012
cases hk - 0013
have hzero : S k = 0 - 0014
specialize add_eq_zero_right x - 0015
specialize add_eq_zero_right (S k) - 0016
apply add_eq_zero_right - 0017
exact hk_witness - 0018
specialize succ_ne_zero k - 0019
apply succ_ne_zero - 0020
exact hzero - 0021
intro hp - 0022
intro hw - 0023
have hprevious : exists b c. (forall ftrg_index_induction_previous. (exists ftrg_gap_induction_previous_index. ftrg_gap_induction_previous_index + S (ftrg_index_induction_previous) = (l)) -> exists ftrg_row_induction_previous ftrg_column_induction_previous ftrg_quotient_induction_previous ftrg_remainder_induction_previous. ((ftrg_index_induction_previous) = (w) * ftrg_row_induction_previous + ftrg_column_induction_previous /\ ((exists ftrg_gap_induction_previous_column. ftrg_gap_induction_previous_column + S (ftrg_column_induction_previous) = (w)) /\ ((r * ftrg_row_induction_previous + ftrg_column_induction_previous = (p) * ftrg_quotient_induction_previous + ftrg_remainder_induction_previous) /\ ((exists ftrg_gap_induction_previous_residue. ftrg_gap_induction_previous_residue + S (ftrg_remainder_induction_previous) = (p)) /\ (((exists ff_h_ftrg_induction_previous_entry. ff_h_ftrg_induction_previous_entry + S (ftrg_remainder_induction_previous) = S ((S (ftrg_index_induction_previous)) * c)) /\ exists ff_q_ftrg_induction_previous_entry. b = ff_q_ftrg_induction_previous_entry * S ((S (ftrg_index_induction_previous)) * c) + (ftrg_remainder_induction_previous)))))))) - 0024
apply IH - 0025
exact hp - 0026
exact hw - 0027
cases hprevious - 0028
cases hprevious_witness - 0029
have hpoint : exists ftrg_row_induction_point ftrg_column_induction_point ftrg_quotient_induction_point ftrg_remainder_induction_point. ((l) = (w) * ftrg_row_induction_point + ftrg_column_induction_point /\ ((exists ftrg_gap_induction_point_column. ftrg_gap_induction_point_column + S (ftrg_column_induction_point) = (w)) /\ ((r * ftrg_row_induction_point + ftrg_column_induction_point = (p) * ftrg_quotient_induction_point + ftrg_remainder_induction_point) /\ (exists ftrg_gap_induction_point_residue. ftrg_gap_induction_point_residue + S (ftrg_remainder_induction_point) = (p))))) - 0030
specialize affine_grid_point_remainder_exists p - 0031
specialize affine_grid_point_remainder_exists w - 0032
specialize affine_grid_point_remainder_exists r - 0033
specialize affine_grid_point_remainder_exists l - 0034
apply affine_grid_point_remainder_exists - 0035
exact hp - 0036
exact hw - 0037
have hnext : exists b c. (forall ftrg_index_induction_next. (exists ftrg_gap_induction_next_index. ftrg_gap_induction_next_index + S (ftrg_index_induction_next) = (S l)) -> exists ftrg_row_induction_next ftrg_column_induction_next ftrg_quotient_induction_next ftrg_remainder_induction_next. ((ftrg_index_induction_next) = (w) * ftrg_row_induction_next + ftrg_column_induction_next /\ ((exists ftrg_gap_induction_next_column. ftrg_gap_induction_next_column + S (ftrg_column_induction_next) = (w)) /\ ((r * ftrg_row_induction_next + ftrg_column_induction_next = (p) * ftrg_quotient_induction_next + ftrg_remainder_induction_next) /\ ((exists ftrg_gap_induction_next_residue. ftrg_gap_induction_next_residue + S (ftrg_remainder_induction_next) = (p)) /\ (((exists ff_h_ftrg_induction_next_entry. ff_h_ftrg_induction_next_entry + S (ftrg_remainder_induction_next) = S ((S (ftrg_index_induction_next)) * c)) /\ exists ff_q_ftrg_induction_next_entry. b = ff_q_ftrg_induction_next_entry * S ((S (ftrg_index_induction_next)) * c) + (ftrg_remainder_induction_next)))))))) - 0038
specialize beta_affine_residue_grid_extend p - 0039
specialize beta_affine_residue_grid_extend w - 0040
specialize beta_affine_residue_grid_extend r - 0041
specialize beta_affine_residue_grid_extend x - 0042
specialize beta_affine_residue_grid_extend x1 - 0043
specialize beta_affine_residue_grid_extend l - 0044
apply beta_affine_residue_grid_extend - 0045
exact hprevious_witness_witness - 0046
exact hpoint - 0047
exact hnext