Exact expanded PA statement
forall d n. exists q r. n = S d * q + r /\ S r <= S dStructural proof guide
Generated structural guide
Every dividend has a quotient and bounded remainder for a successor divisor.
Use the direct prerequisites zero_add, add_succ_left, zero_or_succ as previously established PA formulas.
The proof proceeds by structural induction (1), case analysis (6), intermediate claims (1), equality transport (7), certified simplification (6).
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.
- 0001
intro d - 0002
induction n - 0003
exists 0 - 0004
exists 0 - 0005
split - 0006
simp - 0007
exists d - 0008
simp - 0009
cases IH - 0010
cases IH_witness - 0011
cases IH_witness_witness - 0012
cases IH_witness_witness_right - 0013
specialize zero_or_succ x2 - 0014
cases zero_or_succ - 0015
rewrite zero_or_succ_left at IH_witness_witness_right_witness - 0016
specialize zero_add S x1 - 0017
rewrite zero_add at IH_witness_witness_right_witness - 0018
have hrd : x1 = d - 0019
apply PA2 - 0020
exact IH_witness_witness_right_witness - 0021
exists S x - 0022
exists 0 - 0023
split - 0024
rewrite IH_witness_witness_left - 0025
rewrite hrd - 0026
simp - 0027
exists d - 0028
simp - 0029
cases zero_or_succ_right - 0030
exists x - 0031
exists S x1 - 0032
split - 0033
rewrite IH_witness_witness_left - 0034
simp - 0035
exists x3 - 0036
rewrite <- IH_witness_witness_right_witness - 0037
rewrite zero_or_succ_right_witness - 0038
simp [add_succ_left]