PA008F

beta_range_one_entry_eq_succ

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

A decoded entry of the range 1,...,l is the successor of its index.

Exact expanded PA statement

forall b c l i x. (forall ff_i_frp_range_entry. (exists ff_lt_frp_range_entry_bound. ff_lt_frp_range_entry_bound + S ff_i_frp_range_entry = l) -> (((exists ff_h_frp_range_entry_decoded. ff_h_frp_range_entry_decoded + S (1 + ff_i_frp_range_entry) = S ((S (ff_i_frp_range_entry)) * c)) /\ exists ff_q_frp_range_entry_decoded. b = ff_q_frp_range_entry_decoded * S ((S (ff_i_frp_range_entry)) * c) + (1 + ff_i_frp_range_entry)))) -> (exists frp_gap_entry_bound. frp_gap_entry_bound + S i = l) -> (((exists ff_h_frp_entry. ff_h_frp_entry + S (x) = S ((S (i)) * c)) /\ exists ff_q_frp_entry. b = ff_q_frp_entry * S ((S (i)) * c) + (x))) -> x = S i

Structural proof guide

Generated structural guide

A decoded entry of the range 1,...,l is the successor of its index.

Use the direct prerequisites beta_range_entry_eq, add_succ_left, zero_add as previously established PA formulas.

The proof proceeds by intermediate claims (2).

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 l
  4. 0004intro i
  5. 0005intro x
  6. 0006intro hrange
  7. 0007intro hi
  8. 0008intro hx
  9. 0009have hraw : x = 1 + i
  10. 0010specialize beta_range_entry_eq b
  11. 0011specialize beta_range_entry_eq c
  12. 0012specialize beta_range_entry_eq 1
  13. 0013specialize beta_range_entry_eq l
  14. 0014specialize beta_range_entry_eq i
  15. 0015specialize beta_range_entry_eq x
  16. 0016apply beta_range_entry_eq
  17. 0017exact hrange
  18. 0018exact hi
  19. 0019exact hx
  20. 0020have hone : 1 + i = S i
  21. 0021trans S (0 + i)
  22. 0022specialize add_succ_left 0
  23. 0023specialize add_succ_left i
  24. 0024exact add_succ_left
  25. 0025congr
  26. 0026specialize zero_add i
  27. 0027exact zero_add
  28. 0028trans 1 + i
  29. 0029exact hraw
  30. 0030exact hone