PA00ET · theorem

eisenstein_row_indicator_prefix_succ_restrict

Alpha v34 checked-use theorem · independently closed; not Stable

A successor indicator row restricts to the same code's predecessor prefix.

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. ∀ q. ∀ i. ∀ rb. ∀ rc. ∀ h. ∀ sh. sh = S h → (∀ x. Lt(x,sh) → ∃ y. BetaAt(rb,rc,x,y) ∧ (y = 0 ∧ (Lt(q · S i,p · S x) ∧ ¬Lt(p · S x,q · S i)) ∨ y = 1 ∧ (Lt(p · S x,q · S i) ∧ ¬Lt(q · S i,p · S x)))) → ∀ x. Lt(x,h) → ∃ y. BetaAt(rb,rc,x,y) ∧ (y = 0 ∧ (Lt(q · S i,p · S x) ∧ ¬Lt(p · S x,q · S i)) ∨ y = 1 ∧ (Lt(p · S x,q · S i) ∧ ¬Lt(q · S i,p · S x)))

Every purple notation token opens its conservative definition. This is a reading surface; the compiler expands the statement before the unchanged kernel checks it.

Definitions used by this theorem

In the theorem statement

12 occurrences

In local proof propositions

none

0 occurrences

Exact expanded native-PA statement
forall p q i rb rc h sh. sh = S h -> (forall eri_column_fubini_row_restrict_source. (exists eri_gap_fubini_row_restrict_source_bound. eri_gap_fubini_row_restrict_source_bound + S (eri_column_fubini_row_restrict_source) = sh) -> exists eri_bit_fubini_row_restrict_source. ((((exists ff_h_eri_fubini_row_restrict_source_decoded. ff_h_eri_fubini_row_restrict_source_decoded + S (eri_bit_fubini_row_restrict_source) = S ((S (eri_column_fubini_row_restrict_source)) * rc)) /\ exists ff_q_eri_fubini_row_restrict_source_decoded. rb = ff_q_eri_fubini_row_restrict_source_decoded * S ((S (eri_column_fubini_row_restrict_source)) * rc) + (eri_bit_fubini_row_restrict_source))) /\ (((eri_bit_fubini_row_restrict_source = 0 /\ ((exists eri_gap_fubini_row_restrict_source_choice_left. eri_gap_fubini_row_restrict_source_choice_left + S (q * S i) = p * S eri_column_fubini_row_restrict_source) /\ ~(exists eri_gap_fubini_row_restrict_source_choice_right. eri_gap_fubini_row_restrict_source_choice_right + S (p * S eri_column_fubini_row_restrict_source) = q * S i))) \/ (eri_bit_fubini_row_restrict_source = 1 /\ ((exists eri_gap_fubini_row_restrict_source_choice_right. eri_gap_fubini_row_restrict_source_choice_right + S (p * S eri_column_fubini_row_restrict_source) = q * S i) /\ ~(exists eri_gap_fubini_row_restrict_source_choice_left. eri_gap_fubini_row_restrict_source_choice_left + S (q * S i) = p * S eri_column_fubini_row_restrict_source))))))) -> (forall eri_column_fubini_row_restrict_target. (exists eri_gap_fubini_row_restrict_target_bound. eri_gap_fubini_row_restrict_target_bound + S (eri_column_fubini_row_restrict_target) = h) -> exists eri_bit_fubini_row_restrict_target. ((((exists ff_h_eri_fubini_row_restrict_target_decoded. ff_h_eri_fubini_row_restrict_target_decoded + S (eri_bit_fubini_row_restrict_target) = S ((S (eri_column_fubini_row_restrict_target)) * rc)) /\ exists ff_q_eri_fubini_row_restrict_target_decoded. rb = ff_q_eri_fubini_row_restrict_target_decoded * S ((S (eri_column_fubini_row_restrict_target)) * rc) + (eri_bit_fubini_row_restrict_target))) /\ (((eri_bit_fubini_row_restrict_target = 0 /\ ((exists eri_gap_fubini_row_restrict_target_choice_left. eri_gap_fubini_row_restrict_target_choice_left + S (q * S i) = p * S eri_column_fubini_row_restrict_target) /\ ~(exists eri_gap_fubini_row_restrict_target_choice_right. eri_gap_fubini_row_restrict_target_choice_right + S (p * S eri_column_fubini_row_restrict_target) = q * S i))) \/ (eri_bit_fubini_row_restrict_target = 1 /\ ((exists eri_gap_fubini_row_restrict_target_choice_right. eri_gap_fubini_row_restrict_target_choice_right + S (p * S eri_column_fubini_row_restrict_target) = q * S i) /\ ~(exists eri_gap_fubini_row_restrict_target_choice_left. eri_gap_fubini_row_restrict_target_choice_left + S (q * S i) = p * S eri_column_fubini_row_restrict_target)))))))

Proof neighborhood

Direct theorem prerequisites

Direct theorem dependents

Definition-aware tactic body

Only local propositions introduced by have or suffices are compacted. The untrusted compiler re-expands each one before the original tactic script is replayed; defined notation is never accepted by the kernel. Open the exact replay line beneath every changed command.

Read the argument

Proof checkpoints

18 script commands · 4 reading checkpoints · 0 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 (1)
01Fix variables and assumptionsL1–9

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

  1. L1
    intro p
  2. L2
    intro q
  3. L3
    intro i
  4. L4
    intro rb
  5. L5
    intro rc
  6. L6
    intro h
  7. L7
    intro sh
  8. L8
    intro hsh
  9. L9
    intro hprefix
02Calculate and transport equalitiesL10–10

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L10
    rewrite hsh at hprefix
03Fix variables and assumptionsL11–12

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

  1. L11
    intro j
  2. L12
    intro hj
04Use earlier factsL13–18

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

  1. L13
    specialize hprefix j
  2. L14
    apply hprefix
  3. L15
    specialize le_succ (S j)
  4. L16
    specialize le_succ h
  5. L17
    apply le_succ
  6. L18
    exact hj

Library-wide reading audit

Original defined command ledger · 18 lines
  1. 0001intro p
  2. 0002intro q
  3. 0003intro i
  4. 0004intro rb
  5. 0005intro rc
  6. 0006intro h
  7. 0007intro sh
  8. 0008intro hsh
  9. 0009intro hprefix
  10. 0010rewrite hsh at hprefix
  11. 0011intro j
  12. 0012intro hj
  13. 0013specialize hprefix j
  14. 0014apply hprefix
  15. 0015specialize le_succ (S j)
  16. 0016specialize le_succ h
  17. 0017apply le_succ
  18. 0018exact hj