PA00A9

nonendpoint_prefix_zero

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

The nonendpoint range invariant is vacuous on the empty prefix.

Exact expanded PA statement

forall b c n. (forall wpo_position_wpoi_zero_nonendpoint wpo_value_wpoi_zero_nonendpoint. (exists wpo_gap_wpoi_zero_nonendpoint_position_bound. wpo_gap_wpoi_zero_nonendpoint_position_bound + S (wpo_position_wpoi_zero_nonendpoint) = 0) -> (((exists wpo_beta_height_wpoi_zero_nonendpoint_entry. wpo_beta_height_wpoi_zero_nonendpoint_entry + S (wpo_value_wpoi_zero_nonendpoint) = S ((S (wpo_position_wpoi_zero_nonendpoint)) * c)) /\ exists wpo_beta_quotient_wpoi_zero_nonendpoint_entry. b = wpo_beta_quotient_wpoi_zero_nonendpoint_entry * S ((S (wpo_position_wpoi_zero_nonendpoint)) * c) + (wpo_value_wpoi_zero_nonendpoint))) -> (~(wpo_value_wpoi_zero_nonendpoint = 0) /\ ~((S wpo_value_wpoi_zero_nonendpoint) = n)))

Structural proof guide

Generated structural guide

The nonendpoint range invariant is vacuous on the empty prefix.

Use the direct prerequisites add_eq_zero_right, succ_ne_zero as previously established PA formulas.

The proof proceeds by case analysis (1), intermediate claims (1).

Referenced ingredients

Proof neighborhood

Direct dependencies

Direct dependents

Formal native tactic body

Dependencies are introduced as named hypotheses before line 1. Linked names are exact direct references. This Alpha-v16 checked-use theorem is independently kernel-checked when replayed; it is not a Stable theorem.

  1. 0001intro b
  2. 0002intro c
  3. 0003intro n
  4. 0004intro q
  5. 0005intro s
  6. 0006intro hq
  7. 0007intro hentry
  8. 0008exfalso
  9. 0009cases hq
  10. 0010have hsq : S q = 0
  11. 0011specialize add_eq_zero_right x
  12. 0012specialize add_eq_zero_right (S q)
  13. 0013apply add_eq_zero_right
  14. 0014exact hq_witness
  15. 0015specialize succ_ne_zero q
  16. 0016apply succ_ne_zero
  17. 0017exact hsq