Exact expanded PA statement
forall d n q r. (((n) = (d) * (S q) + (r) /\ (exists bcf_lt_gap_b5ccsqdl_source_bound. bcf_lt_gap_b5ccsqdl_source_bound + S (r) = d))) -> (exists bcf_le_gap_b5ccsqdl_result. bcf_le_gap_b5ccsqdl_result + (d) = n)Structural proof guide
A division with successor quotient bounds its divisor by the dividend.
Direct prerequisites: add_assoc, add_comm. The authored body proceeds by case analysis (1), intermediate claims (2), equality transport (2).
Proof neighborhood
Direct dependencies
Direct dependents
Formal native tactic body
Dependencies are hypotheses of this body receipt. The focused endpoint audits separately check the complete empty-context certificates.
- 0001
intro d - 0002
intro n - 0003
intro q - 0004
intro r - 0005
intro hdivision - 0006
cases hdivision - 0007
exists d * q + r - 0008
rewrite hdivision_left - 0009
rewrite PA6 - 0010
have hleft_assoc : (d * q + r) + d = d * q + (r + d) - 0011
apply add_assoc - 0012
have hright_assoc : (d * q + d) + r = d * q + (d + r) - 0013
apply add_assoc - 0014
trans d * q + (r + d) - 0015
exact hleft_assoc - 0016
trans d * q + (d + r) - 0017
congr - 0018
refl - 0019
apply add_comm - 0020
symm - 0021
exact hright_assoc