Exact expanded PA statement
forall p h a b c i x q r. p = 2 * h + 1 -> (((exists ff_h_gsp_point_source. ff_h_gsp_point_source + S (x) = S ((S (i)) * c)) /\ exists ff_q_gsp_point_source. b = ff_q_gsp_point_source * S ((S (i)) * c) + (x))) -> a * x = q * p + r -> (exists gsp_lt_gap_point_remainder_bound. gsp_lt_gap_point_remainder_bound + S r = p) -> ~(r = 0) -> (exists gsp_value_point_result gsp_magnitude_point_result gsp_sign_point_result. (((exists ff_h_gsp_point_result_source. ff_h_gsp_point_result_source + S (gsp_value_point_result) = S ((S (i)) * c)) /\ exists ff_q_gsp_point_result_source. b = ff_q_gsp_point_result_source * S ((S (i)) * c) + (gsp_value_point_result))) /\ ((exists gsp_lt_gap_point_result_positive. gsp_lt_gap_point_result_positive + S 0 = gsp_magnitude_point_result) /\ ((exists gsp_le_gap_point_result_bounded. gsp_le_gap_point_result_bounded + gsp_magnitude_point_result = h) /\ ((gsp_sign_point_result = 0 \/ gsp_sign_point_result = 1) /\ (((gsp_sign_point_result = 0 /\ (exists gsp_mod_left_point_result_lower gsp_mod_right_point_result_lower. (a * gsp_value_point_result) + p * gsp_mod_left_point_result_lower = (gsp_magnitude_point_result) + p * gsp_mod_right_point_result_lower)) \/ (gsp_sign_point_result = 1 /\ (exists gsp_mod_left_point_result_reflected gsp_mod_right_point_result_reflected. (a * gsp_value_point_result) + p * gsp_mod_left_point_result_reflected = ((2 * h) * gsp_magnitude_point_result) + p * gsp_mod_right_point_result_reflected))))))))Structural proof guide
Generated structural guide
A canonical nonzero remainder yields one explicit zero/one signed-half choice at its decoded source index.
Use the direct prerequisites gauss_pointwise_signed_half_representative as previously established PA formulas.
The proof proceeds by case analysis (4), intermediate claims (1).
Referenced ingredients
Proof neighborhood
Direct dependencies
Direct dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Linked names are exact direct references. This Alpha-v16 checked-use theorem is independently kernel-checked when replayed; it is not a Stable theorem.
- 0001
intro p - 0002
intro h - 0003
intro a - 0004
intro b - 0005
intro c - 0006
intro i - 0007
intro x - 0008
intro q - 0009
intro r - 0010
intro hp - 0011
intro hsource - 0012
intro hdecomp - 0013
intro hrp - 0014
intro hr0 - 0015
have hrepresentative : exists m. (exists gsp_lt_gap_point_result_positive. gsp_lt_gap_point_result_positive + S 0 = m) /\ ((exists gsp_le_gap_point_result_bounded. gsp_le_gap_point_result_bounded + m = h) /\ ((exists gsp_mod_left_point_result_lower gsp_mod_right_point_result_lower. (a * x) + p * gsp_mod_left_point_result_lower = (m) + p * gsp_mod_right_point_result_lower) \/ (exists gsp_mod_left_point_result_reflected gsp_mod_right_point_result_reflected. (a * x) + p * gsp_mod_left_point_result_reflected = ((2 * h) * m) + p * gsp_mod_right_point_result_reflected))) - 0016
specialize gauss_pointwise_signed_half_representative p - 0017
specialize gauss_pointwise_signed_half_representative h - 0018
specialize gauss_pointwise_signed_half_representative a - 0019
specialize gauss_pointwise_signed_half_representative x - 0020
specialize gauss_pointwise_signed_half_representative q - 0021
specialize gauss_pointwise_signed_half_representative r - 0022
apply gauss_pointwise_signed_half_representative - 0023
exact hp - 0024
exact hdecomp - 0025
exact hrp - 0026
exact hr0 - 0027
cases hrepresentative - 0028
cases hrepresentative_witness - 0029
cases hrepresentative_witness_right - 0030
cases hrepresentative_witness_right_right - 0031
exists x - 0032
exists x1 - 0033
exists 0 - 0034
split - 0035
exact hsource - 0036
split - 0037
exact hrepresentative_witness_left - 0038
split - 0039
exact hrepresentative_witness_right_left - 0040
split - 0041
left - 0042
refl - 0043
left - 0044
split - 0045
refl - 0046
exact hrepresentative_witness_right_right_left - 0047
exists x - 0048
exists x1 - 0049
exists 1 - 0050
split - 0051
exact hsource - 0052
split - 0053
exact hrepresentative_witness_left - 0054
split - 0055
exact hrepresentative_witness_right_left - 0056
split - 0057
right - 0058
refl - 0059
right - 0060
split - 0061
refl - 0062
exact hrepresentative_witness_right_right_right