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.
Statement with defined notation
∀ p. ∀ s. ∀ r. ∀ l. l = S s · S s → Prime(p) → FloorSqrt(p,s) → ∃ x. ∃ y. (∀ z. Lt(z,l) → ∃ n. ∃ m. ∃ k. ∃ i. z = S s · n + m ∧ (Lt(m,S s) ∧ (r · n + m = p · k + i ∧ (Lt(i,p) ∧ BetaAt(x,y,z,i))))) ∧ (∃ z. ∃ n. ∃ m. Lt(z,l) ∧ (Lt(n,l) ∧ (¬z = n ∧ (BetaAt(x,y,z,m) ∧ BetaAt(x,y,n,m)))))Every purple notation token opens its conservative definition. This reading surface never changes the unchanged intuitionistic kernel or confers checked-use authority.
Definitions used by this theorem
In the theorem statement
In local proof propositions
Exact expanded first-order statement
forall p s r l. l = S s * S s -> ((~(p = 1) /\ forall frm_prime_left_ftrg_prime frm_prime_right_ftrg_prime. p = frm_prime_left_ftrg_prime * frm_prime_right_ftrg_prime -> frm_prime_left_ftrg_prime = 1 \/ frm_prime_right_ftrg_prime = 1)) -> (((exists bcs_sqrt_lower_gap_ftrg_floor. bcs_sqrt_lower_gap_ftrg_floor + (s) * (s) = (p)) /\ exists bcs_sqrt_upper_gap_ftrg_floor. bcs_sqrt_upper_gap_ftrg_floor + S (p) = S (s) * S (s))) -> exists b c. ((forall ftrg_index_collision_grid. (exists ftrg_gap_collision_grid_index. ftrg_gap_collision_grid_index + S (ftrg_index_collision_grid) = (l)) -> exists ftrg_row_collision_grid ftrg_column_collision_grid ftrg_quotient_collision_grid ftrg_remainder_collision_grid. ((ftrg_index_collision_grid) = (S s) * ftrg_row_collision_grid + ftrg_column_collision_grid /\ ((exists ftrg_gap_collision_grid_column. ftrg_gap_collision_grid_column + S (ftrg_column_collision_grid) = (S s)) /\ ((r * ftrg_row_collision_grid + ftrg_column_collision_grid = (p) * ftrg_quotient_collision_grid + ftrg_remainder_collision_grid) /\ ((exists ftrg_gap_collision_grid_residue. ftrg_gap_collision_grid_residue + S (ftrg_remainder_collision_grid) = (p)) /\ (((exists ff_h_ftrg_collision_grid_entry. ff_h_ftrg_collision_grid_entry + S (ftrg_remainder_collision_grid) = S ((S (ftrg_index_collision_grid)) * c)) /\ exists ff_q_ftrg_collision_grid_entry. b = ff_q_ftrg_collision_grid_entry * S ((S (ftrg_index_collision_grid)) * c) + (ftrg_remainder_collision_grid)))))))) /\ (exists ftsp_first_ftrg_actual ftsp_second_ftrg_actual ftsp_value_ftrg_actual. ((exists ftsp_gap_ftrg_actual_first. ftsp_gap_ftrg_actual_first + S (ftsp_first_ftrg_actual) = l) /\ ((exists ftsp_gap_ftrg_actual_second. ftsp_gap_ftrg_actual_second + S (ftsp_second_ftrg_actual) = l) /\ (~(ftsp_first_ftrg_actual = ftsp_second_ftrg_actual) /\ ((((exists ff_h_ftsp_ftrg_actual_left. ff_h_ftsp_ftrg_actual_left + S (ftsp_value_ftrg_actual) = S ((S (ftsp_first_ftrg_actual)) * c)) /\ exists ff_q_ftsp_ftrg_actual_left. b = ff_q_ftsp_ftrg_actual_left * S ((S (ftsp_first_ftrg_actual)) * c) + (ftsp_value_ftrg_actual))) /\ (((exists ff_h_ftsp_ftrg_actual_right. ff_h_ftsp_ftrg_actual_right + S (ftsp_value_ftrg_actual) = S ((S (ftsp_second_ftrg_actual)) * c)) /\ exists ff_q_ftsp_ftrg_actual_right. b = ff_q_ftsp_ftrg_actual_right * S ((S (ftsp_second_ftrg_actual)) * c) + (ftsp_value_ftrg_actual)))))))))Proof neighborhood
Direct theorem prerequisites
TS000Y prime_floor_affine_residue_grid_exists TS000X beta_affine_residue_grid_bounded TS000T floor_square_oversized_bounded_grid_collisionDirect theorem dependents
Definition-aware tactic body
Only propositions whose conservative expansion has been checked for exact first-order equivalence are compacted. Every changed line retains its immutable exact replay command.
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 (3)
01Fix variables and assumptionsL1–7
02Establish hgridL8–15
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime floor affine residue grid exists.
- L8
have hgrid : ∃ b. ∃ c. ∀ x. Lt(x,l) → ∃ y. ∃ z. ∃ n. ∃ m. x = S s · y + z ∧ (Lt(z,S s) ∧ (r · y + z = p · n + m ∧ (Lt(m,p) ∧ BetaAt(b,c,x,m))))Definitions: Lt(x,l)Lt(z,S s)Lt(m,p)BetaAt(b,c,x,m)Original native command in the exact edition - L9
specialize prime_floor_affine_residue_grid_exists p - L10
specialize prime_floor_affine_residue_grid_exists s - L11
specialize prime_floor_affine_residue_grid_exists r - L12
specialize prime_floor_affine_residue_grid_exists l - L13
apply prime_floor_affine_residue_grid_exists - L14
exact hlength - L15
exact hprime
03Separate the logical casesL16–17
04Construct an explicit witnessL18–19
05Separate the logical casesL20–20
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L20
split
06Use earlier factsL21–30
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
exact hgrid_witness_witness - L22
specialize floor_square_oversized_bounded_grid_collision x - L23
specialize floor_square_oversized_bounded_grid_collision x1 - L24
specialize floor_square_oversized_bounded_grid_collision l - L25
specialize floor_square_oversized_bounded_grid_collision p - L26
specialize floor_square_oversized_bounded_grid_collision s - L27
apply floor_square_oversized_bounded_grid_collision - L28
exact hlength - L29
exact hfloor - L30
specialize beta_affine_residue_grid_bounded p
07Use earlier factsL31–37
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L31
specialize beta_affine_residue_grid_bounded (S s) - L32
specialize beta_affine_residue_grid_bounded r - L33
specialize beta_affine_residue_grid_bounded x - L34
specialize beta_affine_residue_grid_bounded x1 - L35
specialize beta_affine_residue_grid_bounded l - L36
apply beta_affine_residue_grid_bounded - L37
exact hgrid_witness_witness
Original defined command ledger · 37 lines
- 0001
intro p - 0002
intro s - 0003
intro r - 0004
intro l - 0005
intro hlength - 0006
intro hprime - 0007
intro hfloor - 0008
have hgrid : ∃ b. ∃ c. ∀ x. Lt(x,l) → ∃ y. ∃ z. ∃ n. ∃ m. x = S s · y + z ∧ (Lt(z,S s) ∧ (r · y + z = p · n + m ∧ (Lt(m,p) ∧ BetaAt(b,c,x,m))))Exact native replay line
have hgrid : exists b c. (forall ftrg_index_square_grid. (exists ftrg_gap_square_grid_index. ftrg_gap_square_grid_index + S (ftrg_index_square_grid) = (l)) -> exists ftrg_row_square_grid ftrg_column_square_grid ftrg_quotient_square_grid ftrg_remainder_square_grid. ((ftrg_index_square_grid) = (S s) * ftrg_row_square_grid + ftrg_column_square_grid /\ ((exists ftrg_gap_square_grid_column. ftrg_gap_square_grid_column + S (ftrg_column_square_grid) = (S s)) /\ ((r * ftrg_row_square_grid + ftrg_column_square_grid = (p) * ftrg_quotient_square_grid + ftrg_remainder_square_grid) /\ ((exists ftrg_gap_square_grid_residue. ftrg_gap_square_grid_residue + S (ftrg_remainder_square_grid) = (p)) /\ (((exists ff_h_ftrg_square_grid_entry. ff_h_ftrg_square_grid_entry + S (ftrg_remainder_square_grid) = S ((S (ftrg_index_square_grid)) * c)) /\ exists ff_q_ftrg_square_grid_entry. b = ff_q_ftrg_square_grid_entry * S ((S (ftrg_index_square_grid)) * c) + (ftrg_remainder_square_grid)))))))) - 0009
specialize prime_floor_affine_residue_grid_exists p - 0010
specialize prime_floor_affine_residue_grid_exists s - 0011
specialize prime_floor_affine_residue_grid_exists r - 0012
specialize prime_floor_affine_residue_grid_exists l - 0013
apply prime_floor_affine_residue_grid_exists - 0014
exact hlength - 0015
exact hprime - 0016
cases hgrid - 0017
cases hgrid_witness - 0018
exists x - 0019
exists x1 - 0020
split - 0021
exact hgrid_witness_witness - 0022
specialize floor_square_oversized_bounded_grid_collision x - 0023
specialize floor_square_oversized_bounded_grid_collision x1 - 0024
specialize floor_square_oversized_bounded_grid_collision l - 0025
specialize floor_square_oversized_bounded_grid_collision p - 0026
specialize floor_square_oversized_bounded_grid_collision s - 0027
apply floor_square_oversized_bounded_grid_collision - 0028
exact hlength - 0029
exact hfloor - 0030
specialize beta_affine_residue_grid_bounded p - 0031
specialize beta_affine_residue_grid_bounded (S s) - 0032
specialize beta_affine_residue_grid_bounded r - 0033
specialize beta_affine_residue_grid_bounded x - 0034
specialize beta_affine_residue_grid_bounded x1 - 0035
specialize beta_affine_residue_grid_bounded l - 0036
apply beta_affine_residue_grid_bounded - 0037
exact hgrid_witness_witness