Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.
Exact expanded first-order arithmetic statement
forall p b c a r v. (~((p) = 1) /\ forall pfa_factor_left_constant_prime pfa_factor_right_constant_prime. (p) = pfa_factor_left_constant_prime * pfa_factor_right_constant_prime -> pfa_factor_left_constant_prime = 1 \/ pfa_factor_right_constant_prime = 1) -> (exists pfh_trace_code_constant_execution pfh_trace_scale_constant_execution. (((exists pfa_gap_constant_executiontracebase. pfa_gap_constant_executiontracebase + S (a) = (p)) /\ (((((exists ff_h_pfp_constant_executiontraceinitial. ff_h_pfp_constant_executiontraceinitial + S (0) = S ((S (0)) * pfh_trace_scale_constant_execution)) /\ exists ff_q_pfp_constant_executiontraceinitial. pfh_trace_code_constant_execution = ff_q_pfp_constant_executiontraceinitial * S ((S (0)) * pfh_trace_scale_constant_execution) + (0))) /\ (((((exists ff_h_pfp_constant_executiontraceterminal. ff_h_pfp_constant_executiontraceterminal + S (r) = S ((S (1)) * pfh_trace_scale_constant_execution)) /\ exists ff_q_pfp_constant_executiontraceterminal. pfh_trace_code_constant_execution = ff_q_pfp_constant_executiontraceterminal * S ((S (1)) * pfh_trace_scale_constant_execution) + (r))) /\ ((forall pfh_index_constant_executiontracesteps. (exists pfa_gap_constant_executiontracestepsindex. pfa_gap_constant_executiontracestepsindex + S (pfh_index_constant_executiontracesteps) = (1)) -> (exists pfh_coefficient_constant_executiontracestepsstep pfh_before_constant_executiontracestepsstep pfh_after_constant_executiontracestepsstep pfh_product_constant_executiontracestepsstep. ((((exists ff_h_pfp_constant_executiontracestepsstepcoefficient. ff_h_pfp_constant_executiontracestepsstepcoefficient + S (pfh_coefficient_constant_executiontracestepsstep) = S ((S (pfh_index_constant_executiontracesteps)) * c)) /\ exists ff_q_pfp_constant_executiontracestepsstepcoefficient. b = ff_q_pfp_constant_executiontracestepsstepcoefficient * S ((S (pfh_index_constant_executiontracesteps)) * c) + (pfh_coefficient_constant_executiontracestepsstep))) /\ (((((exists ff_h_pfp_constant_executiontracestepsstepbefore. ff_h_pfp_constant_executiontracestepsstepbefore + S (pfh_before_constant_executiontracestepsstep) = S ((S (pfh_index_constant_executiontracesteps)) * pfh_trace_scale_constant_execution)) /\ exists ff_q_pfp_constant_executiontracestepsstepbefore. pfh_trace_code_constant_execution = ff_q_pfp_constant_executiontracestepsstepbefore * S ((S (pfh_index_constant_executiontracesteps)) * pfh_trace_scale_constant_execution) + (pfh_before_constant_executiontracestepsstep))) /\ (((((exists ff_h_pfp_constant_executiontracestepsstepafter. ff_h_pfp_constant_executiontracestepsstepafter + S (pfh_after_constant_executiontracestepsstep) = S ((S (S (pfh_index_constant_executiontracesteps))) * pfh_trace_scale_constant_execution)) /\ exists ff_q_pfp_constant_executiontracestepsstepafter. pfh_trace_code_constant_execution = ff_q_pfp_constant_executiontracestepsstepafter * S ((S (S (pfh_index_constant_executiontracesteps))) * pfh_trace_scale_constant_execution) + (pfh_after_constant_executiontracestepsstep))) /\ (((((exists pfa_gap_constant_executiontracestepsstepmultiplyleft. pfa_gap_constant_executiontracestepsstepmultiplyleft + S (pfh_before_constant_executiontracestepsstep) = (p)) /\ (((exists pfa_gap_constant_executiontracestepsstepmultiplyright. pfa_gap_constant_executiontracestepsstepmultiplyright + S (a) = (p)) /\ ((((exists pfa_gap_constant_executiontracestepsstepmultiplyresultbound. pfa_gap_constant_executiontracestepsstepmultiplyresultbound + S (pfh_product_constant_executiontracestepsstep) = (p)) /\ ((exists pfa_offset_left_constant_executiontracestepsstepmultiplyresultcongruence pfa_offset_right_constant_executiontracestepsstepmultiplyresultcongruence. ((pfh_before_constant_executiontracestepsstep) * (a)) + (p) * pfa_offset_left_constant_executiontracestepsstepmultiplyresultcongruence = (pfh_product_constant_executiontracestepsstep) + (p) * pfa_offset_right_constant_executiontracestepsstepmultiplyresultcongruence))))))))) /\ ((((exists pfa_gap_constant_executiontracestepsstepaddleft. pfa_gap_constant_executiontracestepsstepaddleft + S (pfh_product_constant_executiontracestepsstep) = (p)) /\ (((exists pfa_gap_constant_executiontracestepsstepaddright. pfa_gap_constant_executiontracestepsstepaddright + S (pfh_coefficient_constant_executiontracestepsstep) = (p)) /\ ((((exists pfa_gap_constant_executiontracestepsstepaddresultbound. pfa_gap_constant_executiontracestepsstepaddresultbound + S (pfh_after_constant_executiontracestepsstep) = (p)) /\ ((exists pfa_offset_left_constant_executiontracestepsstepaddresultcongruence pfa_offset_right_constant_executiontracestepsstepaddresultcongruence. ((pfh_product_constant_executiontracestepsstep) + (pfh_coefficient_constant_executiontracestepsstep)) + (p) * pfa_offset_left_constant_executiontracestepsstepaddresultcongruence = (pfh_after_constant_executiontracestepsstep) + (p) * pfa_offset_right_constant_executiontracestepsstepaddresultcongruence))))))))))))))))))))))))))) -> (((exists ff_h_pfp_constant_actual_coefficient. ff_h_pfp_constant_actual_coefficient + S (v) = S ((S (0)) * c)) /\ exists ff_q_pfp_constant_actual_coefficient. b = ff_q_pfp_constant_actual_coefficient * S ((S (0)) * c) + (v))) -> r=vConstructive proof overview
Generated structural guide
An actual one-step execution returns the decoded constant coefficient; coefficient bounds follow from the execution itself.
The unchanged tactic script uses 4 declared prerequisites and contains 49 exact native proof lines.
Alpha v34 checked-use · first admitted v32 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
prime_field_polynomial_horner_input_bounds Alpha theorem; checked-use authorized prime_field_polynomial_horner_functional Alpha theorem; checked-use authorized prime_field_polynomial_horner_constant Alpha theorem; checked-use authorized matrix_rank_bounded_prefix_value Alpha theorem; checked-use authorizedDirect dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
Read the argument
Proof checkpoints
This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.
01Fix variables and assumptionsL1–9
02Establish hbL10–18
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime field polynomial horner input bounds.
- L10
have hb : Lt(a,p) ∧ BetaPrefixInto(b,c,1,p)Definitions: BetaPrefixIntoLt - L11
specialize prime_field_polynomial_horner_input_bounds (p) - L12
specialize prime_field_polynomial_horner_input_bounds (b) - L13
specialize prime_field_polynomial_horner_input_bounds (c) - L14
specialize prime_field_polynomial_horner_input_bounds (a) - L15
specialize prime_field_polynomial_horner_input_bounds (1) - L16
specialize prime_field_polynomial_horner_input_bounds (r) - L17
apply prime_field_polynomial_horner_input_bounds - L18
exact he
03Separate the logical casesL19–19
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L19
cases hb
04Use earlier factsL20–29
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
specialize prime_field_polynomial_horner_functional (p) - L21
specialize prime_field_polynomial_horner_functional (b) - L22
specialize prime_field_polynomial_horner_functional (c) - L23
specialize prime_field_polynomial_horner_functional (a) - L24
specialize prime_field_polynomial_horner_functional (1) - L25
specialize prime_field_polynomial_horner_functional (r) - L26
specialize prime_field_polynomial_horner_functional (v) - L27
apply prime_field_polynomial_horner_functional - L28
exact hp - L29
exact he
05Use earlier factsL30–39
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L30
specialize prime_field_polynomial_horner_constant (p) - L31
specialize prime_field_polynomial_horner_constant (b) - L32
specialize prime_field_polynomial_horner_constant (c) - L33
specialize prime_field_polynomial_horner_constant (a) - L34
specialize prime_field_polynomial_horner_constant (v) - L35
apply prime_field_polynomial_horner_constant - L36
exact hp - L37
exact hb_left - L38
specialize matrix_rank_bounded_prefix_value (b) - L39
specialize matrix_rank_bounded_prefix_value (c)
06Use earlier factsL40–45
Instantiate or apply named facts and discharge the corresponding proof obligations.
07Construct an explicit witnessL46–46
Supply the displayed value, then prove that it has the required property.
- L46
exists 0
08Calculate and transport equalitiesL47–47
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L47
simp
Original exact command ledger · 49 lines
- 0001
intro p - 0002
intro b - 0003
intro c - 0004
intro a - 0005
intro r - 0006
intro v - 0007
intro hp - 0008
intro he - 0009
intro hv - 0010
have hb : ((exists pfa_gap_constant_base. pfa_gap_constant_base + S (a) = (p)) /\ ((forall fom_index_pfp_constant_coefficients. (exists fom_gap_pfp_constant_coefficients_index_bound. fom_gap_pfp_constant_coefficients_index_bound + S (fom_index_pfp_constant_coefficients) = 1) -> exists fom_value_pfp_constant_coefficients. ((((exists fom_beta_height_pfp_constant_coefficients_entry. fom_beta_height_pfp_constant_coefficients_entry + S (fom_value_pfp_constant_coefficients) = S ((S (fom_index_pfp_constant_coefficients)) * c)) /\ exists fom_beta_quotient_pfp_constant_coefficients_entry. b = fom_beta_quotient_pfp_constant_coefficients_entry * S ((S (fom_index_pfp_constant_coefficients)) * c) + (fom_value_pfp_constant_coefficients))) /\ (exists fom_gap_pfp_constant_coefficients_value_bound. fom_gap_pfp_constant_coefficients_value_bound + S (fom_value_pfp_constant_coefficients) = p))))) - 0011
specialize prime_field_polynomial_horner_input_bounds (p) - 0012
specialize prime_field_polynomial_horner_input_bounds (b) - 0013
specialize prime_field_polynomial_horner_input_bounds (c) - 0014
specialize prime_field_polynomial_horner_input_bounds (a) - 0015
specialize prime_field_polynomial_horner_input_bounds (1) - 0016
specialize prime_field_polynomial_horner_input_bounds (r) - 0017
apply prime_field_polynomial_horner_input_bounds - 0018
exact he - 0019
cases hb - 0020
specialize prime_field_polynomial_horner_functional (p) - 0021
specialize prime_field_polynomial_horner_functional (b) - 0022
specialize prime_field_polynomial_horner_functional (c) - 0023
specialize prime_field_polynomial_horner_functional (a) - 0024
specialize prime_field_polynomial_horner_functional (1) - 0025
specialize prime_field_polynomial_horner_functional (r) - 0026
specialize prime_field_polynomial_horner_functional (v) - 0027
apply prime_field_polynomial_horner_functional - 0028
exact hp - 0029
exact he - 0030
specialize prime_field_polynomial_horner_constant (p) - 0031
specialize prime_field_polynomial_horner_constant (b) - 0032
specialize prime_field_polynomial_horner_constant (c) - 0033
specialize prime_field_polynomial_horner_constant (a) - 0034
specialize prime_field_polynomial_horner_constant (v) - 0035
apply prime_field_polynomial_horner_constant - 0036
exact hp - 0037
exact hb_left - 0038
specialize matrix_rank_bounded_prefix_value (b) - 0039
specialize matrix_rank_bounded_prefix_value (c) - 0040
specialize matrix_rank_bounded_prefix_value (1) - 0041
specialize matrix_rank_bounded_prefix_value (p) - 0042
specialize matrix_rank_bounded_prefix_value (0) - 0043
specialize matrix_rank_bounded_prefix_value (v) - 0044
apply matrix_rank_bounded_prefix_value - 0045
exact hb_right - 0046
exists 0 - 0047
simp - 0048
exact hv - 0049
exact hv