Exact expanded PA statement
forall x. exists e. (((exists bcs_lower_gap_total_result. bcs_lower_gap_total_result + (x) = 6 * (e)) /\ exists bcs_upper_gap_total_result. bcs_upper_gap_total_result + S (6 * (e)) = (x) + 6))Structural proof guide
Every natural has a constructive ceiling quotient by six.
Direct prerequisites: division_remainder_exists, succ_ne_zero, zero_or_succ, zero_add, lt_to_le, add_le_add_left, add_comm. The authored body proceeds by case analysis (5), intermediate claims (4), equality transport (7).
Proof neighborhood
Direct dependencies
BT001P division_remainder_exists BT000C succ_ne_zero BT000Q zero_or_succ BT0000 zero_add BT0019 lt_to_le BT0015 add_le_add_left BT0002 add_commDirect 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
have hdiv : exists q r. x = 6 * q + r /\ exists h. h + S r = 6 - 0003
specialize division_remainder_exists 6 - 0004
specialize division_remainder_exists x - 0005
apply division_remainder_exists - 0006
intro h6 - 0007
specialize succ_ne_zero 5 - 0008
apply succ_ne_zero - 0009
exact h6 - 0010
cases hdiv - 0011
cases hdiv_witness - 0012
cases hdiv_witness_witness - 0013
specialize zero_or_succ x2 - 0014
cases zero_or_succ - 0015
exists x1 - 0016
split - 0017
exists 0 - 0018
trans x - 0019
apply zero_add - 0020
trans 6 * x1 + x2 - 0021
exact hdiv_witness_witness_left - 0022
rewrite zero_or_succ_left - 0023
apply PA3 - 0024
exists 5 - 0025
rewrite hdiv_witness_witness_left - 0026
rewrite zero_or_succ_left - 0027
trans S (5 + 6 * x1) - 0028
apply PA4 - 0029
trans S (6 * x1 + 5) - 0030
congr - 0031
apply add_comm - 0032
trans 6 * x1 + 6 - 0033
symm - 0034
apply PA4 - 0035
congr - 0036
symm - 0037
apply PA3 - 0038
refl - 0039
cases zero_or_succ_right - 0040
exists S x1 - 0041
split - 0042
have hrle : exists k. k + x2 = 6 - 0043
apply lt_to_le - 0044
exact hdiv_witness_witness_right - 0045
have hlow : exists k. k + (6 * x1 + x2) = 6 * x1 + 6 - 0046
apply add_le_add_left - 0047
exact hrle - 0048
have hsixsucc : 6 * S x1 = 6 * x1 + 6 - 0049
apply PA6 - 0050
rewrite hsixsucc - 0051
rewrite hdiv_witness_witness_left - 0052
exact hlow - 0053
exists x3 - 0054
rewrite hdiv_witness_witness_left - 0055
rewrite zero_or_succ_right_witness - 0056
simp [add_comm]