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 r w i j. (exists mdr_gap_rect_row. mdr_gap_rect_row + S (i) = (r)) -> (exists mdr_gap_rect_column. mdr_gap_rect_column + S (j) = (w)) -> (exists mdr_gap_rect_flat. mdr_gap_rect_flat + S (i * w + j) = (r * w))Constructive proof overview
Generated structural guide
Every actual in-range rectangular row and column has flattened index below rows times columns, including vacuous zero boundaries.
The unchanged tactic script uses 4 declared prerequisites and contains 25 exact native proof lines.
Alpha v34 checked-use · first admitted v27 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
mul_le_mul_right Stable theorem; checked-use authorized mul_succ_left Stable theorem; checked-use authorized DL0019 matrix_recursive_lt_add_left lt_of_lt_of_le Stable theorem; checked-use authorizedDirect 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–6
02Establish hrowL7–12
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul le mul right.
03Establish heqL13–22
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul succ left.
- L13
have heq : (S i) * w = i * w + w - L14
apply mul_succ_left - L15
rewrite heq at hrow - L16
specialize lt_of_lt_of_le (i * w + j) - L17
specialize lt_of_lt_of_le (i * w + w) - L18
specialize lt_of_lt_of_le (r * w) - L19
apply lt_of_lt_of_le - L20
specialize matrix_recursive_lt_add_left (j) - L21
specialize matrix_recursive_lt_add_left (w) - L22
specialize matrix_recursive_lt_add_left (i * w)
Original exact command ledger · 25 lines
- 0001
intro r - 0002
intro w - 0003
intro i - 0004
intro j - 0005
intro hi - 0006
intro hj - 0007
have hrow : exists mdr_gap_rect_row_end. mdr_gap_rect_row_end + ((S i) * w) = (r * w) - 0008
specialize mul_le_mul_right (S i) - 0009
specialize mul_le_mul_right (r) - 0010
specialize mul_le_mul_right (w) - 0011
apply mul_le_mul_right - 0012
exact hi - 0013
have heq : (S i) * w = i * w + w - 0014
apply mul_succ_left - 0015
rewrite heq at hrow - 0016
specialize lt_of_lt_of_le (i * w + j) - 0017
specialize lt_of_lt_of_le (i * w + w) - 0018
specialize lt_of_lt_of_le (r * w) - 0019
apply lt_of_lt_of_le - 0020
specialize matrix_recursive_lt_add_left (j) - 0021
specialize matrix_recursive_lt_add_left (w) - 0022
specialize matrix_recursive_lt_add_left (i * w) - 0023
apply matrix_recursive_lt_add_left - 0024
exact hj - 0025
exact hrow