Exact expanded PA statement
forall x e c. (((exists bcs_lower_gap_upper_source. bcs_lower_gap_upper_source + (x) = 6 * (e)) /\ exists bcs_upper_gap_upper_source. bcs_upper_gap_upper_source + S (6 * (e)) = (x) + 6)) -> (exists k. k + x = 6 * c) -> exists k. k + e = cStructural proof guide
Any six-multiple upper bound also bounds the ceiling quotient.
Direct prerequisites: le_or_lt, add_le_add_right, mul_le_mul_left, lt_of_lt_of_le, lt_irrefl_expanded. The authored body proceeds by case analysis (2), intermediate claims (5), equality transport (1).
Proof neighborhood
Direct dependencies
BT001G le_or_lt BT0014 add_le_add_right BT001L mul_le_mul_left BT001D lt_of_lt_of_le BT001B lt_irrefl_expandedDirect 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 x - 0002
intro e - 0003
intro c - 0004
intro he - 0005
intro hxc - 0006
cases he - 0007
specialize le_or_lt e - 0008
specialize le_or_lt c - 0009
cases le_or_lt - 0010
exact le_or_lt_left - 0011
exfalso - 0012
have hx6 : exists k. k + (x + 6) = 6 * c + 6 - 0013
specialize add_le_add_right x - 0014
specialize add_le_add_right (6 * c) - 0015
specialize add_le_add_right 6 - 0016
apply add_le_add_right - 0017
exact hxc - 0018
have hscaled : exists k. k + 6 * S c = 6 * e - 0019
apply mul_le_mul_left - 0020
exact le_or_lt_right - 0021
have hsucc : 6 * S c = 6 * c + 6 - 0022
apply PA6 - 0023
rewrite hsucc at hscaled - 0024
have hfirst : exists k. k + S (6 * e) = 6 * c + 6 - 0025
specialize lt_of_lt_of_le (6 * e) - 0026
specialize lt_of_lt_of_le (x + 6) - 0027
specialize lt_of_lt_of_le (6 * c + 6) - 0028
apply lt_of_lt_of_le - 0029
exact he_right - 0030
exact hx6 - 0031
have hloop : exists k. k + S (6 * e) = 6 * e - 0032
specialize lt_of_lt_of_le (6 * e) - 0033
specialize lt_of_lt_of_le (6 * c + 6) - 0034
specialize lt_of_lt_of_le (6 * e) - 0035
apply lt_of_lt_of_le - 0036
exact hfirst - 0037
exact hscaled - 0038
specialize lt_irrefl_expanded (6 * e) - 0039
apply lt_irrefl_expanded - 0040
exact hloop