Exact expanded PA statement
forall a b c l. (forall bpr_index_bpifpe_before. (exists bpr_gap_bpifpe_before_bound. bpr_gap_bpifpe_before_bound + S (bpr_index_bpifpe_before) = l) -> exists bpr_value_bpifpe_before. ((((exists bpr_height_bpifpe_before_decoded. bpr_height_bpifpe_before_decoded + S (bpr_value_bpifpe_before) = S ((S (bpr_index_bpifpe_before)) * c)) /\ exists bpr_quotient_bpifpe_before_decoded. b = bpr_quotient_bpifpe_before_decoded * S ((S (bpr_index_bpifpe_before)) * c) + (bpr_value_bpifpe_before))) /\ (((((~(S (a + bpr_index_bpifpe_before) = 1) /\ forall bpr_left_bpifpe_before_choice_prime bpr_right_bpifpe_before_choice_prime. S (a + bpr_index_bpifpe_before) = bpr_left_bpifpe_before_choice_prime * bpr_right_bpifpe_before_choice_prime -> bpr_left_bpifpe_before_choice_prime = 1 \/ bpr_right_bpifpe_before_choice_prime = 1)) /\ bpr_value_bpifpe_before = S (a + bpr_index_bpifpe_before)) \/ (~((~(S (a + bpr_index_bpifpe_before) = 1) /\ forall bpr_left_bpifpe_before_choice_prime bpr_right_bpifpe_before_choice_prime. S (a + bpr_index_bpifpe_before) = bpr_left_bpifpe_before_choice_prime * bpr_right_bpifpe_before_choice_prime -> bpr_left_bpifpe_before_choice_prime = 1 \/ bpr_right_bpifpe_before_choice_prime = 1)) /\ bpr_value_bpifpe_before = 1))))) -> exists d e. (forall bpr_index_bpifpe_after. (exists bpr_gap_bpifpe_after_bound. bpr_gap_bpifpe_after_bound + S (bpr_index_bpifpe_after) = S l) -> exists bpr_value_bpifpe_after. ((((exists bpr_height_bpifpe_after_decoded. bpr_height_bpifpe_after_decoded + S (bpr_value_bpifpe_after) = S ((S (bpr_index_bpifpe_after)) * e)) /\ exists bpr_quotient_bpifpe_after_decoded. d = bpr_quotient_bpifpe_after_decoded * S ((S (bpr_index_bpifpe_after)) * e) + (bpr_value_bpifpe_after))) /\ (((((~(S (a + bpr_index_bpifpe_after) = 1) /\ forall bpr_left_bpifpe_after_choice_prime bpr_right_bpifpe_after_choice_prime. S (a + bpr_index_bpifpe_after) = bpr_left_bpifpe_after_choice_prime * bpr_right_bpifpe_after_choice_prime -> bpr_left_bpifpe_after_choice_prime = 1 \/ bpr_right_bpifpe_after_choice_prime = 1)) /\ bpr_value_bpifpe_after = S (a + bpr_index_bpifpe_after)) \/ (~((~(S (a + bpr_index_bpifpe_after) = 1) /\ forall bpr_left_bpifpe_after_choice_prime bpr_right_bpifpe_after_choice_prime. S (a + bpr_index_bpifpe_after) = bpr_left_bpifpe_after_choice_prime * bpr_right_bpifpe_after_choice_prime -> bpr_left_bpifpe_after_choice_prime = 1 \/ bpr_right_bpifpe_after_choice_prime = 1)) /\ bpr_value_bpifpe_after = 1)))))Structural proof guide
Append one offset selector while preserving the prior interval.
Direct prerequisites: primorial_factor_choice_exists, beta_prefix_extend, finite_lt_succ_eq_or_lt. The authored body proceeds by case analysis (7), intermediate claims (4), equality transport (7).
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 a - 0002
intro b - 0003
intro c - 0004
intro l - 0005
intro hprefix - 0006
have hchoice : exists x. (((((~(S (a + l) = 1) /\ forall bpr_left_bpifpe_last_choice_prime bpr_right_bpifpe_last_choice_prime. S (a + l) = bpr_left_bpifpe_last_choice_prime * bpr_right_bpifpe_last_choice_prime -> bpr_left_bpifpe_last_choice_prime = 1 \/ bpr_right_bpifpe_last_choice_prime = 1)) /\ x = S (a + l)) \/ (~((~(S (a + l) = 1) /\ forall bpr_left_bpifpe_last_choice_prime bpr_right_bpifpe_last_choice_prime. S (a + l) = bpr_left_bpifpe_last_choice_prime * bpr_right_bpifpe_last_choice_prime -> bpr_left_bpifpe_last_choice_prime = 1 \/ bpr_right_bpifpe_last_choice_prime = 1)) /\ x = 1))) - 0007
apply primorial_factor_choice_exists - 0008
cases hchoice - 0009
have hext : exists d e. ((((exists bpr_height_bpifpe_append. bpr_height_bpifpe_append + S (x) = S ((S (l)) * e)) /\ exists bpr_quotient_bpifpe_append. d = bpr_quotient_bpifpe_append * S ((S (l)) * e) + (x))) /\ forall i p. (exists bpr_gap_bpifpe_old_bound. bpr_gap_bpifpe_old_bound + S (i) = l) -> (((exists bpr_height_bpifpe_old. bpr_height_bpifpe_old + S (p) = S ((S (i)) * c)) /\ exists bpr_quotient_bpifpe_old. b = bpr_quotient_bpifpe_old * S ((S (i)) * c) + (p))) -> (((exists bpr_height_bpifpe_new. bpr_height_bpifpe_new + S (p) = S ((S (i)) * e)) /\ exists bpr_quotient_bpifpe_new. d = bpr_quotient_bpifpe_new * S ((S (i)) * e) + (p)))) - 0010
apply beta_prefix_extend - 0011
cases hext - 0012
cases hext_witness - 0013
cases hext_witness_witness - 0014
exists x1 - 0015
exists x2 - 0016
intro i - 0017
intro hi - 0018
have hsplit : i = l \/ exists gap. gap + S i = l - 0019
apply finite_lt_succ_eq_or_lt - 0020
exact hi - 0021
cases hsplit - 0022
rewrite hsplit_left - 0023
rewrite hsplit_left - 0024
rewrite hsplit_left - 0025
rewrite hsplit_left - 0026
rewrite hsplit_left - 0027
rewrite hsplit_left - 0028
rewrite hsplit_left - 0029
exists x - 0030
split - 0031
exact hext_witness_witness_left - 0032
exact hchoice_witness - 0033
have hold : exists p. ((((exists bpr_height_bpifpe_hold_decoded. bpr_height_bpifpe_hold_decoded + S (p) = S ((S (i)) * c)) /\ exists bpr_quotient_bpifpe_hold_decoded. b = bpr_quotient_bpifpe_hold_decoded * S ((S (i)) * c) + (p))) /\ (((((~(S (a + i) = 1) /\ forall bpr_left_bpifpe_hold_choice_prime bpr_right_bpifpe_hold_choice_prime. S (a + i) = bpr_left_bpifpe_hold_choice_prime * bpr_right_bpifpe_hold_choice_prime -> bpr_left_bpifpe_hold_choice_prime = 1 \/ bpr_right_bpifpe_hold_choice_prime = 1)) /\ p = S (a + i)) \/ (~((~(S (a + i) = 1) /\ forall bpr_left_bpifpe_hold_choice_prime bpr_right_bpifpe_hold_choice_prime. S (a + i) = bpr_left_bpifpe_hold_choice_prime * bpr_right_bpifpe_hold_choice_prime -> bpr_left_bpifpe_hold_choice_prime = 1 \/ bpr_right_bpifpe_hold_choice_prime = 1)) /\ p = 1)))) - 0034
apply hprefix - 0035
exact hsplit_right - 0036
cases hold - 0037
cases hold_witness - 0038
exists x3 - 0039
split - 0040
apply hext_witness_witness_right - 0041
exact hsplit_right - 0042
exact hold_witness_left - 0043
exact hold_witness_right