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 bcf_le_gap_b5rbfsltq_result. bcf_le_gap_b5rbfsltq_result + (s) = q)Structural proof guide
The floor root is at most the quotient of the doubled input by three.
Direct prerequisites: floor_sqrt_three_mul_le_double, division_quotient_lower_of_scaled_le. The authored body proceeds by intermediate claims (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 hscaled : exists bcf_le_gap_b5rbfsltq_scaled. bcf_le_gap_b5rbfsltq_scaled + (3 * s) = n + n - 0009
specialize floor_sqrt_three_mul_le_double n - 0010
specialize floor_sqrt_three_mul_le_double s - 0011
apply floor_sqrt_three_mul_le_double - 0012
exact hpositive - 0013
exact hfloor - 0014
specialize division_quotient_lower_of_scaled_le 3 - 0015
specialize division_quotient_lower_of_scaled_le (n + n) - 0016
specialize division_quotient_lower_of_scaled_le q - 0017
specialize division_quotient_lower_of_scaled_le r - 0018
specialize division_quotient_lower_of_scaled_le s - 0019
apply division_quotient_lower_of_scaled_le - 0020
exact hdivision - 0021
exact hscaled