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 L t d e M. ((((L)=(t)+(M)) /\ (((forall fom_index_pfp_trim_nonempty_inputinput. (exists fom_gap_pfp_trim_nonempty_inputinput_index_bound. fom_gap_pfp_trim_nonempty_inputinput_index_bound + S (fom_index_pfp_trim_nonempty_inputinput) = L) -> exists fom_value_pfp_trim_nonempty_inputinput. ((((exists fom_beta_height_pfp_trim_nonempty_inputinput_entry. fom_beta_height_pfp_trim_nonempty_inputinput_entry + S (fom_value_pfp_trim_nonempty_inputinput) = S ((S (fom_index_pfp_trim_nonempty_inputinput)) * c)) /\ exists fom_beta_quotient_pfp_trim_nonempty_inputinput_entry. b = fom_beta_quotient_pfp_trim_nonempty_inputinput_entry * S ((S (fom_index_pfp_trim_nonempty_inputinput)) * c) + (fom_value_pfp_trim_nonempty_inputinput))) /\ (exists fom_gap_pfp_trim_nonempty_inputinput_value_bound. fom_gap_pfp_trim_nonempty_inputinput_value_bound + S (fom_value_pfp_trim_nonempty_inputinput) = p))) /\ (((forall pfp_repeat_index_trim_nonempty_inputremoved. (exists pfa_gap_trim_nonempty_inputremovedindex. pfa_gap_trim_nonempty_inputremovedindex + S (pfp_repeat_index_trim_nonempty_inputremoved) = (t)) -> (((exists ff_h_pfp_trim_nonempty_inputremovedentry. ff_h_pfp_trim_nonempty_inputremovedentry + S (0) = S ((S (pfp_repeat_index_trim_nonempty_inputremoved)) * c)) /\ exists ff_q_pfp_trim_nonempty_inputremovedentry. b = ff_q_pfp_trim_nonempty_inputremovedentry * S ((S (pfp_repeat_index_trim_nonempty_inputremoved)) * c) + (0)))) /\ (((forall pftrim_index_trim_nonempty_inputsuffix pftrim_value_trim_nonempty_inputsuffix. (exists pfa_gap_trim_nonempty_inputsuffixbound. pfa_gap_trim_nonempty_inputsuffixbound + S (pftrim_index_trim_nonempty_inputsuffix) = (M)) -> (((exists ff_h_pfp_trim_nonempty_inputsuffixsource. ff_h_pfp_trim_nonempty_inputsuffixsource + S (pftrim_value_trim_nonempty_inputsuffix) = S ((S ((t)+pftrim_index_trim_nonempty_inputsuffix)) * c)) /\ exists ff_q_pfp_trim_nonempty_inputsuffixsource. b = ff_q_pfp_trim_nonempty_inputsuffixsource * S ((S ((t)+pftrim_index_trim_nonempty_inputsuffix)) * c) + (pftrim_value_trim_nonempty_inputsuffix))) -> (((exists ff_h_pfp_trim_nonempty_inputsuffixoutput. ff_h_pfp_trim_nonempty_inputsuffixoutput + S (pftrim_value_trim_nonempty_inputsuffix) = S ((S (pftrim_index_trim_nonempty_inputsuffix)) * e)) /\ exists ff_q_pfp_trim_nonempty_inputsuffixoutput. d = ff_q_pfp_trim_nonempty_inputsuffixoutput * S ((S (pftrim_index_trim_nonempty_inputsuffix)) * e) + (pftrim_value_trim_nonempty_inputsuffix)))) /\ (((M)=0 \/ (exists pftrim_leading_trim_nonempty_inputnormal. ((((exists ff_h_pfp_trim_nonempty_inputnormalentry. ff_h_pfp_trim_nonempty_inputnormalentry + S (pftrim_leading_trim_nonempty_inputnormal) = S ((S (0)) * e)) /\ exists ff_q_pfp_trim_nonempty_inputnormalentry. d = ff_q_pfp_trim_nonempty_inputnormalentry * S ((S (0)) * e) + (pftrim_leading_trim_nonempty_inputnormal))) /\ ((~(pftrim_leading_trim_nonempty_inputnormal=0))))))))))))))) -> ~(M=0) -> exists q. ((((M)=S (q)) /\ (((forall fom_index_pfp_trim_nonempty_degreecoefficients. (exists fom_gap_pfp_trim_nonempty_degreecoefficients_index_bound. fom_gap_pfp_trim_nonempty_degreecoefficients_index_bound + S (fom_index_pfp_trim_nonempty_degreecoefficients) = M) -> exists fom_value_pfp_trim_nonempty_degreecoefficients. ((((exists fom_beta_height_pfp_trim_nonempty_degreecoefficients_entry. fom_beta_height_pfp_trim_nonempty_degreecoefficients_entry + S (fom_value_pfp_trim_nonempty_degreecoefficients) = S ((S (fom_index_pfp_trim_nonempty_degreecoefficients)) * e)) /\ exists fom_beta_quotient_pfp_trim_nonempty_degreecoefficients_entry. d = fom_beta_quotient_pfp_trim_nonempty_degreecoefficients_entry * S ((S (fom_index_pfp_trim_nonempty_degreecoefficients)) * e) + (fom_value_pfp_trim_nonempty_degreecoefficients))) /\ (exists fom_gap_pfp_trim_nonempty_degreecoefficients_value_bound. fom_gap_pfp_trim_nonempty_degreecoefficients_value_bound + S (fom_value_pfp_trim_nonempty_degreecoefficients) = p))) /\ ((exists pfd_leading_trim_nonempty_degree. ((((exists ff_h_pfp_trim_nonempty_degreeentry. ff_h_pfp_trim_nonempty_degreeentry + S (pfd_leading_trim_nonempty_degree) = S ((S (0)) * e)) /\ exists ff_q_pfp_trim_nonempty_degreeentry. d = ff_q_pfp_trim_nonempty_degreeentry * S ((S (0)) * e) + (pfd_leading_trim_nonempty_degree))) /\ ((~(pfd_leading_trim_nonempty_degree=0))))))))))Constructive proof overview
Generated structural guide
Positive retained length constructs an actual represented degree, with no claim of a degree for empty output.
The unchanged tactic script uses 2 declared prerequisites and contains 28 exact native proof lines.
Alpha v34 checked-use · first admitted v32 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
nonzero_is_succ Stable theorem; checked-use authorized PQ002E prime_field_polynomial_trim_represented_degreeDirect 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.
Named ingredients (1)
01Fix variables and assumptionsL1–10
02Establish hqL11–14
03Separate the logical casesL15–15
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L15
cases hq
04Construct an explicit witnessL16–16
Supply the displayed value, then prove that it has the required property.
- L16
exists x
05Use earlier factsL17–26
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L17
specialize prime_field_polynomial_trim_represented_degree (p) - L18
specialize prime_field_polynomial_trim_represented_degree (b) - L19
specialize prime_field_polynomial_trim_represented_degree (c) - L20
specialize prime_field_polynomial_trim_represented_degree (L) - L21
specialize prime_field_polynomial_trim_represented_degree (t) - L22
specialize prime_field_polynomial_trim_represented_degree (d) - L23
specialize prime_field_polynomial_trim_represented_degree (e) - L24
specialize prime_field_polynomial_trim_represented_degree (M) - L25
specialize prime_field_polynomial_trim_represented_degree (x) - L26
apply prime_field_polynomial_trim_represented_degree
Original exact command ledger · 28 lines
- 0001
intro p - 0002
intro b - 0003
intro c - 0004
intro L - 0005
intro t - 0006
intro d - 0007
intro e - 0008
intro M - 0009
intro h - 0010
intro hM - 0011
have hq : exists q. M=S q - 0012
specialize nonzero_is_succ (M) - 0013
apply nonzero_is_succ - 0014
exact hM - 0015
cases hq - 0016
exists x - 0017
specialize prime_field_polynomial_trim_represented_degree (p) - 0018
specialize prime_field_polynomial_trim_represented_degree (b) - 0019
specialize prime_field_polynomial_trim_represented_degree (c) - 0020
specialize prime_field_polynomial_trim_represented_degree (L) - 0021
specialize prime_field_polynomial_trim_represented_degree (t) - 0022
specialize prime_field_polynomial_trim_represented_degree (d) - 0023
specialize prime_field_polynomial_trim_represented_degree (e) - 0024
specialize prime_field_polynomial_trim_represented_degree (M) - 0025
specialize prime_field_polynomial_trim_represented_degree (x) - 0026
apply prime_field_polynomial_trim_represented_degree - 0027
exact h - 0028
exact hq_witness