DL001D

matrix_recursive_minor_prefix_transport

An actual finite cofactor-minor code remains the same minor after extensionally equal recoding of its parent matrix.

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

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.

This branch proves the finite determinant/rank/span substrate. It does not claim Smith or Hermite normal form, lattice index equals determinant, determinant multiplicativity, lattice reduction, or geometry-of-numbers theorems.

Exact theorem in conservative defined notation

∀ b. ∀ c. ∀ B. ∀ C. ∀ q. ∀ j. ∀ u. ∀ v. (∀ x. ∀ y. Lt(x,S q · S q)BetaAt(b,c,x,y)BetaAt(B,C,x,y)) → MatrixMinorPrefix(b,c,S q,0,j,u,v,q,q · q)MatrixMinorPrefix(B,C,S q,0,j,u,v,q,q · q)

Every linked abbreviation expands hygienically to the identical original native formula.

Definition DAG

Actual proof prerequisites

Original expanded first-order statement
forall b c B C q j u v. (forall mdr_i_minor_parent mdr_a_minor_parent. (exists mdr_gap_minor_parentb. mdr_gap_minor_parentb + S (mdr_i_minor_parent) = ((S q) * (S q))) -> (((exists ff_h_mdr_minor_parento. ff_h_mdr_minor_parento + S (mdr_a_minor_parent) = S ((S (mdr_i_minor_parent)) * c)) /\ exists ff_q_mdr_minor_parento. b = ff_q_mdr_minor_parento * S ((S (mdr_i_minor_parent)) * c) + (mdr_a_minor_parent))) -> (((exists ff_h_mdr_minor_parentn. ff_h_mdr_minor_parentn + S (mdr_a_minor_parent) = S ((S (mdr_i_minor_parent)) * C)) /\ exists ff_q_mdr_minor_parentn. B = ff_q_mdr_minor_parentn * S ((S (mdr_i_minor_parent)) * C) + (mdr_a_minor_parent)))) -> (forall ff_index_mdm_prefix_mdre_minor_source. (exists ff_gap_mdm_lt_mdre_minor_source_index_bound. ff_gap_mdm_lt_mdre_minor_source_index_bound + S (ff_index_mdm_prefix_mdre_minor_source) = ((q) * (q))) -> exists ff_row_mdm_prefix_mdre_minor_source ff_column_mdm_prefix_mdre_minor_source ff_value_mdm_prefix_mdre_minor_source. (ff_index_mdm_prefix_mdre_minor_source = (q) * ff_row_mdm_prefix_mdre_minor_source + ff_column_mdm_prefix_mdre_minor_source /\ ((exists ff_gap_mdm_lt_mdre_minor_source_column_bound. ff_gap_mdm_lt_mdre_minor_source_column_bound + S (ff_column_mdm_prefix_mdre_minor_source) = (q)) /\ ((exists ff_row_mdm_cell_mdre_minor_source_cell ff_column_mdm_cell_mdre_minor_source_cell. (((((exists ff_gap_mdm_lt_mdre_minor_source_cell_row_before. ff_gap_mdm_lt_mdre_minor_source_cell_row_before + S (ff_row_mdm_prefix_mdre_minor_source) = (0)) /\ ff_row_mdm_cell_mdre_minor_source_cell = ff_row_mdm_prefix_mdre_minor_source) \/ ((exists ff_gap_mdm_le_mdre_minor_source_cell_row_after. ff_gap_mdm_le_mdre_minor_source_cell_row_after + (0) = (ff_row_mdm_prefix_mdre_minor_source)) /\ ff_row_mdm_cell_mdre_minor_source_cell = S ff_row_mdm_prefix_mdre_minor_source))) /\ (((((exists ff_gap_mdm_lt_mdre_minor_source_cell_column_before. ff_gap_mdm_lt_mdre_minor_source_cell_column_before + S (ff_column_mdm_prefix_mdre_minor_source) = (j)) /\ ff_column_mdm_cell_mdre_minor_source_cell = ff_column_mdm_prefix_mdre_minor_source) \/ ((exists ff_gap_mdm_le_mdre_minor_source_cell_column_after. ff_gap_mdm_le_mdre_minor_source_cell_column_after + (j) = (ff_column_mdm_prefix_mdre_minor_source)) /\ ff_column_mdm_cell_mdre_minor_source_cell = S ff_column_mdm_prefix_mdre_minor_source))) /\ (((exists ff_h_mdm_mdre_minor_source_cell_source. ff_h_mdm_mdre_minor_source_cell_source + S (ff_value_mdm_prefix_mdre_minor_source) = S ((S ((ff_row_mdm_cell_mdre_minor_source_cell) * (S (q)) + (ff_column_mdm_cell_mdre_minor_source_cell))) * c)) /\ exists ff_q_mdm_mdre_minor_source_cell_source. b = ff_q_mdm_mdre_minor_source_cell_source * S ((S ((ff_row_mdm_cell_mdre_minor_source_cell) * (S (q)) + (ff_column_mdm_cell_mdre_minor_source_cell))) * c) + (ff_value_mdm_prefix_mdre_minor_source)))))) /\ (((exists ff_h_mdm_mdre_minor_source_target. ff_h_mdm_mdre_minor_source_target + S (ff_value_mdm_prefix_mdre_minor_source) = S ((S (ff_index_mdm_prefix_mdre_minor_source)) * v)) /\ exists ff_q_mdm_mdre_minor_source_target. u = ff_q_mdm_mdre_minor_source_target * S ((S (ff_index_mdm_prefix_mdre_minor_source)) * v) + (ff_value_mdm_prefix_mdre_minor_source))))))) -> (forall ff_index_mdm_prefix_mdre_minor_result. (exists ff_gap_mdm_lt_mdre_minor_result_index_bound. ff_gap_mdm_lt_mdre_minor_result_index_bound + S (ff_index_mdm_prefix_mdre_minor_result) = ((q) * (q))) -> exists ff_row_mdm_prefix_mdre_minor_result ff_column_mdm_prefix_mdre_minor_result ff_value_mdm_prefix_mdre_minor_result. (ff_index_mdm_prefix_mdre_minor_result = (q) * ff_row_mdm_prefix_mdre_minor_result + ff_column_mdm_prefix_mdre_minor_result /\ ((exists ff_gap_mdm_lt_mdre_minor_result_column_bound. ff_gap_mdm_lt_mdre_minor_result_column_bound + S (ff_column_mdm_prefix_mdre_minor_result) = (q)) /\ ((exists ff_row_mdm_cell_mdre_minor_result_cell ff_column_mdm_cell_mdre_minor_result_cell. (((((exists ff_gap_mdm_lt_mdre_minor_result_cell_row_before. ff_gap_mdm_lt_mdre_minor_result_cell_row_before + S (ff_row_mdm_prefix_mdre_minor_result) = (0)) /\ ff_row_mdm_cell_mdre_minor_result_cell = ff_row_mdm_prefix_mdre_minor_result) \/ ((exists ff_gap_mdm_le_mdre_minor_result_cell_row_after. ff_gap_mdm_le_mdre_minor_result_cell_row_after + (0) = (ff_row_mdm_prefix_mdre_minor_result)) /\ ff_row_mdm_cell_mdre_minor_result_cell = S ff_row_mdm_prefix_mdre_minor_result))) /\ (((((exists ff_gap_mdm_lt_mdre_minor_result_cell_column_before. ff_gap_mdm_lt_mdre_minor_result_cell_column_before + S (ff_column_mdm_prefix_mdre_minor_result) = (j)) /\ ff_column_mdm_cell_mdre_minor_result_cell = ff_column_mdm_prefix_mdre_minor_result) \/ ((exists ff_gap_mdm_le_mdre_minor_result_cell_column_after. ff_gap_mdm_le_mdre_minor_result_cell_column_after + (j) = (ff_column_mdm_prefix_mdre_minor_result)) /\ ff_column_mdm_cell_mdre_minor_result_cell = S ff_column_mdm_prefix_mdre_minor_result))) /\ (((exists ff_h_mdm_mdre_minor_result_cell_source. ff_h_mdm_mdre_minor_result_cell_source + S (ff_value_mdm_prefix_mdre_minor_result) = S ((S ((ff_row_mdm_cell_mdre_minor_result_cell) * (S (q)) + (ff_column_mdm_cell_mdre_minor_result_cell))) * C)) /\ exists ff_q_mdm_mdre_minor_result_cell_source. B = ff_q_mdm_mdre_minor_result_cell_source * S ((S ((ff_row_mdm_cell_mdre_minor_result_cell) * (S (q)) + (ff_column_mdm_cell_mdre_minor_result_cell))) * C) + (ff_value_mdm_prefix_mdre_minor_result)))))) /\ (((exists ff_h_mdm_mdre_minor_result_target. ff_h_mdm_mdre_minor_result_target + S (ff_value_mdm_prefix_mdre_minor_result) = S ((S (ff_index_mdm_prefix_mdre_minor_result)) * v)) /\ exists ff_q_mdm_mdre_minor_result_target. u = ff_q_mdm_mdre_minor_result_target * S ((S (ff_index_mdm_prefix_mdre_minor_result)) * v) + (ff_value_mdm_prefix_mdre_minor_result)))))))

Complete tactic proof in conservative notation

All 51 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay script.

Read the argument

Proof checkpoints

51 script commands · 13 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.

Definition notation is shown below. Open the paired exact edition for the original native formulas. Source pairing is not a new equivalence certificate.

Named ingredients (2)
01Fix variables and assumptionsL1–10

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

  1. L1
    intro b
  2. L2
    intro c
  3. L3
    intro B
  4. L4
    intro C
  5. L5
    intro q
  6. L6
    intro j
  7. L7
    intro u
  8. L8
    intro v
  9. L9
    intro hprefix
  10. L10
    intro hminor
02Fix variables and assumptionsL11–12

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

  1. L11
    intro k
  2. L12
    intro hk
03Establish hentryL13–16

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

  1. L13
    have hentry : ∃ r. ∃ s. ∃ a. k = q · r + s ∧ (Lt(s,q) ∧ (MatrixMinorCell(b,c,S q,0,j,r,s,a) ∧ BetaAt(u,v,k,a)))Definitions: Lt(s,q)MatrixMinorCell(b,c,S q,0,j,r,s,a)BetaAt(u,v,k,a)Original native command in the exact edition
  2. L14
    specialize hminor (k)
  3. L15
    apply hminor
  4. L16
    exact hk
04Separate the logical casesL17–22

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

  1. L17
    cases hentry
  2. L18
    cases hentry_witness
  3. L19
    cases hentry_witness_witness
  4. L20
    cases hentry_witness_witness_witness
  5. L21
    cases hentry_witness_witness_witness_right
  6. L22
    cases hentry_witness_witness_witness_right_right
05Construct an explicit witnessL23–25

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

  1. L23
    exists x
  2. L24
    exists x1
  3. L25
    exists x2
06Separate the logical casesL26–26

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

  1. L26
    split
07Use earlier factsL27–27

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

  1. L27
    exact hentry_witness_witness_witness_left
08Separate the logical casesL28–28

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

  1. L28
    split
09Use earlier factsL29–29

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

  1. L29
    exact hentry_witness_witness_witness_right_left
10Separate the logical casesL30–30

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

  1. L30
    split
11Use earlier factsL31–40

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

  1. L31
    specialize matrix_recursive_minor_cell_transport (b)
  2. L32
    specialize matrix_recursive_minor_cell_transport (c)
  3. L33
    specialize matrix_recursive_minor_cell_transport (B)
  4. L34
    specialize matrix_recursive_minor_cell_transport (C)
  5. L35
    specialize matrix_recursive_minor_cell_transport (q)
  6. L36
    specialize matrix_recursive_minor_cell_transport (j)
  7. L37
    specialize matrix_recursive_minor_cell_transport (x)
  8. L38
    specialize matrix_recursive_minor_cell_transport (x1)
  9. L39
    specialize matrix_recursive_minor_cell_transport (x2)
  10. L40
    apply matrix_recursive_minor_cell_transport
12Use earlier factsL41–50

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

  1. L41
    exact hprefix
  2. L42
    specialize matrix_recursive_quotient_row_bound (q)
  3. L43
    specialize matrix_recursive_quotient_row_bound (k)
  4. L44
    specialize matrix_recursive_quotient_row_bound (x)
  5. L45
    specialize matrix_recursive_quotient_row_bound (x1)
  6. L46
    apply matrix_recursive_quotient_row_bound
  7. L47
    exact hentry_witness_witness_witness_left
  8. L48
    exact hk
  9. L49
    exact hentry_witness_witness_witness_right_left
  10. L50
    exact hentry_witness_witness_witness_right_right_left
13Use earlier factsL51–51

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

  1. L51
    exact hentry_witness_witness_witness_right_right_right

Library-wide reading audit

Original defined command ledger · 51 lines
  1. 0001intro b
  2. 0002intro c
  3. 0003intro B
  4. 0004intro C
  5. 0005intro q
  6. 0006intro j
  7. 0007intro u
  8. 0008intro v
  9. 0009intro hprefix
  10. 0010intro hminor
  11. 0011intro k
  12. 0012intro hk
  13. 0013have hentry : ∃ r. ∃ s. ∃ a. k = q · r + s ∧ (Lt(s,q) ∧ (MatrixMinorCell(b,c,S q,0,j,r,s,a)BetaAt(u,v,k,a)))
  14. 0014specialize hminor (k)
  15. 0015apply hminor
  16. 0016exact hk
  17. 0017cases hentry
  18. 0018cases hentry_witness
  19. 0019cases hentry_witness_witness
  20. 0020cases hentry_witness_witness_witness
  21. 0021cases hentry_witness_witness_witness_right
  22. 0022cases hentry_witness_witness_witness_right_right
  23. 0023exists x
  24. 0024exists x1
  25. 0025exists x2
  26. 0026split
  27. 0027exact hentry_witness_witness_witness_left
  28. 0028split
  29. 0029exact hentry_witness_witness_witness_right_left
  30. 0030split
  31. 0031specialize matrix_recursive_minor_cell_transport (b)
  32. 0032specialize matrix_recursive_minor_cell_transport (c)
  33. 0033specialize matrix_recursive_minor_cell_transport (B)
  34. 0034specialize matrix_recursive_minor_cell_transport (C)
  35. 0035specialize matrix_recursive_minor_cell_transport (q)
  36. 0036specialize matrix_recursive_minor_cell_transport (j)
  37. 0037specialize matrix_recursive_minor_cell_transport (x)
  38. 0038specialize matrix_recursive_minor_cell_transport (x1)
  39. 0039specialize matrix_recursive_minor_cell_transport (x2)
  40. 0040apply matrix_recursive_minor_cell_transport
  41. 0041exact hprefix
  42. 0042specialize matrix_recursive_quotient_row_bound (q)
  43. 0043specialize matrix_recursive_quotient_row_bound (k)
  44. 0044specialize matrix_recursive_quotient_row_bound (x)
  45. 0045specialize matrix_recursive_quotient_row_bound (x1)
  46. 0046apply matrix_recursive_quotient_row_bound
  47. 0047exact hentry_witness_witness_witness_left
  48. 0048exact hk
  49. 0049exact hentry_witness_witness_witness_right_left
  50. 0050exact hentry_witness_witness_witness_right_right_left
  51. 0051exact hentry_witness_witness_witness_right_right_right