BA0032

cf_convergent_matrix_empty_elimination

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

The zero-step actual prefix product is exactly the identity matrix, regardless of its unconsumed quotient tail.

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 s h e u U v V. (exists cfc_tail_matrix_empty. ((exists cfc_state_matrix_emptyinitial. ((exists cfc_left_matrix_emptyinitialcode cfc_right_matrix_emptyinitialcode cfc_matrix_matrix_emptyinitialcode. ((cfc_left_matrix_emptyinitialcode = ((1) + (0)) * S ((1) + (0)) + ((0) + (0))) /\ ((cfc_right_matrix_emptyinitialcode = ((0) + (1)) * S ((0) + (1)) + ((1) + (1))) /\ ((cfc_matrix_matrix_emptyinitialcode = ((cfc_left_matrix_emptyinitialcode) + (cfc_right_matrix_emptyinitialcode)) * S ((cfc_left_matrix_emptyinitialcode) + (cfc_right_matrix_emptyinitialcode)) + ((cfc_right_matrix_emptyinitialcode) + (cfc_right_matrix_emptyinitialcode))) /\ ((cfc_state_matrix_emptyinitial) = ((cfc_tail_matrix_empty) + (cfc_matrix_matrix_emptyinitialcode)) * S ((cfc_tail_matrix_empty) + (cfc_matrix_matrix_emptyinitialcode)) + ((cfc_matrix_matrix_emptyinitialcode) + (cfc_matrix_matrix_emptyinitialcode))))))) /\ (((exists ff_h_matrix_emptyinitialentry. ff_h_matrix_emptyinitialentry + S (cfc_state_matrix_emptyinitial) = S ((S (0)) * e)) /\ exists ff_q_matrix_emptyinitialentry. h = ff_q_matrix_emptyinitialentry * S ((S (0)) * e) + (cfc_state_matrix_emptyinitial))))) /\ ((exists cfc_state_matrix_emptyterminal. ((exists cfc_left_matrix_emptyterminalcode cfc_right_matrix_emptyterminalcode cfc_matrix_matrix_emptyterminalcode. ((cfc_left_matrix_emptyterminalcode = ((u) + (U)) * S ((u) + (U)) + ((U) + (U))) /\ ((cfc_right_matrix_emptyterminalcode = ((v) + (V)) * S ((v) + (V)) + ((V) + (V))) /\ ((cfc_matrix_matrix_emptyterminalcode = ((cfc_left_matrix_emptyterminalcode) + (cfc_right_matrix_emptyterminalcode)) * S ((cfc_left_matrix_emptyterminalcode) + (cfc_right_matrix_emptyterminalcode)) + ((cfc_right_matrix_emptyterminalcode) + (cfc_right_matrix_emptyterminalcode))) /\ ((cfc_state_matrix_emptyterminal) = ((s) + (cfc_matrix_matrix_emptyterminalcode)) * S ((s) + (cfc_matrix_matrix_emptyterminalcode)) + ((cfc_matrix_matrix_emptyterminalcode) + (cfc_matrix_matrix_emptyterminalcode))))))) /\ (((exists ff_h_matrix_emptyterminalentry. ff_h_matrix_emptyterminalentry + S (cfc_state_matrix_emptyterminal) = S ((S (0)) * e)) /\ exists ff_q_matrix_emptyterminalentry. h = ff_q_matrix_emptyterminalentry * S ((S (0)) * e) + (cfc_state_matrix_emptyterminal))))) /\ (forall cfc_index_matrix_empty. (exists cfba_gap_matrix_emptybound. cfba_gap_matrix_emptybound + S (cfc_index_matrix_empty) = (0)) -> exists cfc_old_matrix_empty cfc_a_matrix_empty cfc_b_matrix_empty cfc_c_matrix_empty cfc_d_matrix_empty cfc_new_matrix_empty cfc_quotient_matrix_empty. ((exists cfc_state_matrix_emptyprevious. ((exists cfc_left_matrix_emptypreviouscode cfc_right_matrix_emptypreviouscode cfc_matrix_matrix_emptypreviouscode. ((cfc_left_matrix_emptypreviouscode = ((cfc_a_matrix_empty) + (cfc_b_matrix_empty)) * S ((cfc_a_matrix_empty) + (cfc_b_matrix_empty)) + ((cfc_b_matrix_empty) + (cfc_b_matrix_empty))) /\ ((cfc_right_matrix_emptypreviouscode = ((cfc_c_matrix_empty) + (cfc_d_matrix_empty)) * S ((cfc_c_matrix_empty) + (cfc_d_matrix_empty)) + ((cfc_d_matrix_empty) + (cfc_d_matrix_empty))) /\ ((cfc_matrix_matrix_emptypreviouscode = ((cfc_left_matrix_emptypreviouscode) + (cfc_right_matrix_emptypreviouscode)) * S ((cfc_left_matrix_emptypreviouscode) + (cfc_right_matrix_emptypreviouscode)) + ((cfc_right_matrix_emptypreviouscode) + (cfc_right_matrix_emptypreviouscode))) /\ ((cfc_state_matrix_emptyprevious) = ((cfc_old_matrix_empty) + (cfc_matrix_matrix_emptypreviouscode)) * S ((cfc_old_matrix_empty) + (cfc_matrix_matrix_emptypreviouscode)) + ((cfc_matrix_matrix_emptypreviouscode) + (cfc_matrix_matrix_emptypreviouscode))))))) /\ (((exists ff_h_matrix_emptypreviousentry. ff_h_matrix_emptypreviousentry + S (cfc_state_matrix_emptyprevious) = S ((S (cfc_index_matrix_empty)) * e)) /\ exists ff_q_matrix_emptypreviousentry. h = ff_q_matrix_emptypreviousentry * S ((S (cfc_index_matrix_empty)) * e) + (cfc_state_matrix_emptyprevious))))) /\ ((exists cfc_state_matrix_emptyfollowing. ((exists cfc_left_matrix_emptyfollowingcode cfc_right_matrix_emptyfollowingcode cfc_matrix_matrix_emptyfollowingcode. ((cfc_left_matrix_emptyfollowingcode = (((cfc_quotient_matrix_empty * cfc_a_matrix_empty + cfc_c_matrix_empty)) + ((cfc_quotient_matrix_empty * cfc_b_matrix_empty + cfc_d_matrix_empty))) * S (((cfc_quotient_matrix_empty * cfc_a_matrix_empty + cfc_c_matrix_empty)) + ((cfc_quotient_matrix_empty * cfc_b_matrix_empty + cfc_d_matrix_empty))) + (((cfc_quotient_matrix_empty * cfc_b_matrix_empty + cfc_d_matrix_empty)) + ((cfc_quotient_matrix_empty * cfc_b_matrix_empty + cfc_d_matrix_empty)))) /\ ((cfc_right_matrix_emptyfollowingcode = ((cfc_a_matrix_empty) + (cfc_b_matrix_empty)) * S ((cfc_a_matrix_empty) + (cfc_b_matrix_empty)) + ((cfc_b_matrix_empty) + (cfc_b_matrix_empty))) /\ ((cfc_matrix_matrix_emptyfollowingcode = ((cfc_left_matrix_emptyfollowingcode) + (cfc_right_matrix_emptyfollowingcode)) * S ((cfc_left_matrix_emptyfollowingcode) + (cfc_right_matrix_emptyfollowingcode)) + ((cfc_right_matrix_emptyfollowingcode) + (cfc_right_matrix_emptyfollowingcode))) /\ ((cfc_state_matrix_emptyfollowing) = ((cfc_new_matrix_empty) + (cfc_matrix_matrix_emptyfollowingcode)) * S ((cfc_new_matrix_empty) + (cfc_matrix_matrix_emptyfollowingcode)) + ((cfc_matrix_matrix_emptyfollowingcode) + (cfc_matrix_matrix_emptyfollowingcode))))))) /\ (((exists ff_h_matrix_emptyfollowingentry. ff_h_matrix_emptyfollowingentry + S (cfc_state_matrix_emptyfollowing) = S ((S (S cfc_index_matrix_empty)) * e)) /\ exists ff_q_matrix_emptyfollowingentry. h = ff_q_matrix_emptyfollowingentry * S ((S (S cfc_index_matrix_empty)) * e) + (cfc_state_matrix_emptyfollowing))))) /\ (cfc_new_matrix_empty = S ((cfc_quotient_matrix_empty + cfc_old_matrix_empty) * S (cfc_quotient_matrix_empty + cfc_old_matrix_empty) + (cfc_old_matrix_empty + cfc_old_matrix_empty))))))))) -> ((u = 1) /\ ((U = 0) /\ ((v = 0) /\ (V = 1))))

Constructive proof overview

Generated structural guide

The zero-step actual prefix product is exactly the identity matrix, regardless of its unconsumed quotient tail.

The unchanged tactic script uses 1 declared prerequisite and contains 30 exact native proof lines.

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

Proof neighborhood

Direct dependencies

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

30 script commands · 6 reading checkpoints · 1 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.

Named ingredients (1)
01Fix variables and assumptionsL1–8

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

  1. L1
    intro s
  2. L2
    intro h
  3. L3
    intro e
  4. L4
    intro u
  5. L5
    intro U
  6. L6
    intro v
  7. L7
    intro V
  8. L8
    intro ht
02Separate the logical casesL9–11

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

  1. L9
    cases ht
  2. L10
    cases ht_witness
  3. L11
    cases ht_witness_right
03Establish heqL12–21

Establish this local claim before using it. It is not an additional assumption.

  1. L12
    have heq : ((s = x) /\ ((u = 1) /\ ((U = 0) /\ ((v = 0) /\ (V = 1)))))
  2. L13
    specialize cf_convergent_matrix_state_unique (h)
  3. L14
    specialize cf_convergent_matrix_state_unique (e)
  4. L15
    specialize cf_convergent_matrix_state_unique (0)
  5. L16
    specialize cf_convergent_matrix_state_unique (s)
  6. L17
    specialize cf_convergent_matrix_state_unique (u)
  7. L18
    specialize cf_convergent_matrix_state_unique (U)
  8. L19
    specialize cf_convergent_matrix_state_unique (v)
  9. L20
    specialize cf_convergent_matrix_state_unique (V)
  10. L21
    specialize cf_convergent_matrix_state_unique (x)
04Use earlier factsL22–28

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L22
    specialize cf_convergent_matrix_state_unique (1)
  2. L23
    specialize cf_convergent_matrix_state_unique (0)
  3. L24
    specialize cf_convergent_matrix_state_unique (0)
  4. L25
    specialize cf_convergent_matrix_state_unique (1)
  5. L26
    apply cf_convergent_matrix_state_unique
  6. L27
    exact ht_witness_right_left
  7. L28
    exact ht_witness_left
05Separate the logical casesL29–29

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

  1. L29
    cases heq
06Use earlier factsL30–30

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L30
    exact heq_right

Library-wide reading audit

Original exact command ledger · 30 lines
  1. 0001intro s
  2. 0002intro h
  3. 0003intro e
  4. 0004intro u
  5. 0005intro U
  6. 0006intro v
  7. 0007intro V
  8. 0008intro ht
  9. 0009cases ht
  10. 0010cases ht_witness
  11. 0011cases ht_witness_right
  12. 0012have heq : ((s = x) /\ ((u = 1) /\ ((U = 0) /\ ((v = 0) /\ (V = 1)))))
  13. 0013specialize cf_convergent_matrix_state_unique (h)
  14. 0014specialize cf_convergent_matrix_state_unique (e)
  15. 0015specialize cf_convergent_matrix_state_unique (0)
  16. 0016specialize cf_convergent_matrix_state_unique (s)
  17. 0017specialize cf_convergent_matrix_state_unique (u)
  18. 0018specialize cf_convergent_matrix_state_unique (U)
  19. 0019specialize cf_convergent_matrix_state_unique (v)
  20. 0020specialize cf_convergent_matrix_state_unique (V)
  21. 0021specialize cf_convergent_matrix_state_unique (x)
  22. 0022specialize cf_convergent_matrix_state_unique (1)
  23. 0023specialize cf_convergent_matrix_state_unique (0)
  24. 0024specialize cf_convergent_matrix_state_unique (0)
  25. 0025specialize cf_convergent_matrix_state_unique (1)
  26. 0026apply cf_convergent_matrix_state_unique
  27. 0027exact ht_witness_right_left
  28. 0028exact ht_witness_left
  29. 0029cases heq
  30. 0030exact heq_right