PA0029

beta_at_exists

Stable checked-use theorem · independently closed

Every Gödel-beta position has a bounded decoded residue.

Exact expanded PA statement

forall b c i. exists x. ((exists h. h + S x = S ((S i) * c)) /\ exists q. b = q * S ((S i) * c) + x)

Structural proof guide

Generated structural guide

Every Gödel-beta position has a bounded decoded residue.

Use the direct prerequisites beta_modulus_nonzero, mul_comm, division_remainder_exists as previously established PA formulas.

The proof proceeds by case analysis (3), 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 Stable checked-use theorem is independently kernel-checked when replayed.

  1. 0001intro b
  2. 0002intro c
  3. 0003intro i
  4. 0004have hm0 : ~(S ((S i) * c) = 0)
  5. 0005specialize beta_modulus_nonzero c
  6. 0006specialize beta_modulus_nonzero i
  7. 0007exact beta_modulus_nonzero
  8. 0008specialize division_remainder_exists (S ((S i) * c))
  9. 0009specialize division_remainder_exists b
  10. 0010have hdiv : exists q r. b = S ((S i) * c) * q + r /\ exists h. h + S r = S ((S i) * c)
  11. 0011apply division_remainder_exists
  12. 0012exact hm0
  13. 0013cases hdiv
  14. 0014cases hdiv_witness
  15. 0015cases hdiv_witness_witness
  16. 0016exists x1
  17. 0017split
  18. 0018exact hdiv_witness_witness_right
  19. 0019exists x
  20. 0020trans S ((S i) * c) * x + x1
  21. 0021exact hdiv_witness_witness_left
  22. 0022congr
  23. 0023apply mul_comm
  24. 0024refl