Exact expanded PA statement
forall n s q r. (exists bcf_lt_gap_b5rbfsltq_positive. bcf_lt_gap_b5rbfsltq_positive + S (2) = n) -> (((exists bcs_sqrt_lower_gap_b5rbfsltq_floor. bcs_sqrt_lower_gap_b5rbfsltq_floor + (s) * (s) = (n + n)) /\ exists bcs_sqrt_upper_gap_b5rbfsltq_floor. bcs_sqrt_upper_gap_b5rbfsltq_floor + S (n + n) = S (s) * S (s))) -> (((n + n) = (3) * (q) + (r) /\ (exists bcf_lt_gap_b5rbfsltq_division_bound. bcf_lt_gap_b5rbfsltq_division_bound + S (r) = 3))) -> exists g. s + g = qStructural proof guide
The floor-root cut has an exact additive gap to the third quotient.
Direct prerequisites: add_comm, floor_sqrt_le_third_quotient. The authored body proceeds by case analysis (1), intermediate claims (1), equality transport (1).
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 n - 0002
intro s - 0003
intro q - 0004
intro r - 0005
intro hpositive - 0006
intro hfloor - 0007
intro hdivision - 0008
have hbound : exists bcf_le_gap_b5rbfsltq_result. bcf_le_gap_b5rbfsltq_result + (s) = q - 0009
specialize floor_sqrt_le_third_quotient n - 0010
specialize floor_sqrt_le_third_quotient s - 0011
specialize floor_sqrt_le_third_quotient q - 0012
specialize floor_sqrt_le_third_quotient r - 0013
apply floor_sqrt_le_third_quotient - 0014
exact hpositive - 0015
exact hfloor - 0016
exact hdivision - 0017
cases hbound - 0018
exists x - 0019
specialize add_comm s - 0020
specialize add_comm x - 0021
rewrite add_comm - 0022
exact hbound_witness