DL00AE

matrix_lattice_identity_selector_exists

Alpha v34 independently verified · alpha_closed; checked-use authorized; not Stable

Construct an actual beta-coded identity selector of every natural length from the checked finite range construction.

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 d. exists b c. (forall mdr_i_identity_exists. (exists mdr_gap_identity_existsbound. mdr_gap_identity_existsbound + S (mdr_i_identity_exists) = (d)) -> (((exists ff_h_mdr_identity_existsentry. ff_h_mdr_identity_existsentry + S (mdr_i_identity_exists) = S ((S (mdr_i_identity_exists)) * c)) /\ exists ff_q_mdr_identity_existsentry. b = ff_q_mdr_identity_existsentry * S ((S (mdr_i_identity_exists)) * c) + (mdr_i_identity_exists))))

Constructive proof overview

Generated structural guide

Construct an actual beta-coded identity selector of every natural length from the checked finite range construction.

The unchanged tactic script uses 2 declared prerequisites and contains 20 exact native proof lines.

Alpha v34 checked-use · first admitted v27 · independently kernel and Lean verified; not Stable

Proof neighborhood

Direct dependencies

beta_range_exists Stable theorem; checked-use authorized zero_add Stable theorem; checked-use authorized

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

20 script commands · 7 reading checkpoints · 3 local claims

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–1

Work with arbitrary variables or the premises of the current implication.

  1. L1
    intro d
02Establish hrangeL2–5

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta range exists.

  1. L2
    have hrange : exists b c. forall i. (exists mdr_gap_identity_index. mdr_gap_identity_index + S (i) = (d)) -> (((exists ff_h_mdr_identity_range_value. ff_h_mdr_identity_range_value + S (0 + i) = S ((S (i)) * c)) /\ exists ff_q_mdr_identity_range_value. b = ff_q_mdr_identity_range_value * S ((S (i)) * c) + (0 + i)))
  2. L3
    specialize beta_range_exists (0)
  3. L4
    specialize beta_range_exists (d)
  4. L5
    apply beta_range_exists
03Separate the logical casesL6–7

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L6
    cases hrange
  2. L7
    cases hrange_witness
04Construct an explicit witnessL8–9

Supply the displayed value, then prove that it has the required property.

  1. L8
    exists x
  2. L9
    exists x1
05Fix variables and assumptionsL10–11

Work with arbitrary variables or the premises of the current implication.

  1. L10
    intro i
  2. L11
    intro hi
06Establish hentryL12–15

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hrange witness witness.

  1. L12
    have hentry : ((exists ff_h_mdr_identity_entry. ff_h_mdr_identity_entry + S (0 + i) = S ((S (i)) * x1)) /\ exists ff_q_mdr_identity_entry. x = ff_q_mdr_identity_entry * S ((S (i)) * x1) + (0 + i))
  2. L13
    specialize hrange_witness_witness (i)
  3. L14
    apply hrange_witness_witness
  4. L15
    exact hi
07Establish hzeroL16–20

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply zero add.

  1. L16
    have hzero : 0 + i = i
  2. L17
    apply zero_add
  3. L18
    rewrite hzero at hentry
  4. L19
    rewrite hzero at hentry
  5. L20
    exact hentry

Library-wide reading audit

Original exact command ledger · 20 lines
  1. 0001intro d
  2. 0002have hrange : exists b c. forall i. (exists mdr_gap_identity_index. mdr_gap_identity_index + S (i) = (d)) -> (((exists ff_h_mdr_identity_range_value. ff_h_mdr_identity_range_value + S (0 + i) = S ((S (i)) * c)) /\ exists ff_q_mdr_identity_range_value. b = ff_q_mdr_identity_range_value * S ((S (i)) * c) + (0 + i)))
  3. 0003specialize beta_range_exists (0)
  4. 0004specialize beta_range_exists (d)
  5. 0005apply beta_range_exists
  6. 0006cases hrange
  7. 0007cases hrange_witness
  8. 0008exists x
  9. 0009exists x1
  10. 0010intro i
  11. 0011intro hi
  12. 0012have hentry : ((exists ff_h_mdr_identity_entry. ff_h_mdr_identity_entry + S (0 + i) = S ((S (i)) * x1)) /\ exists ff_q_mdr_identity_entry. x = ff_q_mdr_identity_entry * S ((S (i)) * x1) + (0 + i))
  13. 0013specialize hrange_witness_witness (i)
  14. 0014apply hrange_witness_witness
  15. 0015exact hi
  16. 0016have hzero : 0 + i = i
  17. 0017apply zero_add
  18. 0018rewrite hzero at hentry
  19. 0019rewrite hzero at hentry
  20. 0020exact hentry