PQ0032

prime_field_polynomial_monic_represented_degree

Alpha v34 independently verified · alpha_closed; checked-use authorized; not Stable

A monic prefix of annotated length S d has represented degree d, also for d=0.

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 d. (((~((L) = 0)) /\ (((forall fom_index_pfp_monic_degree_sourcecoefficients. (exists fom_gap_pfp_monic_degree_sourcecoefficients_index_bound. fom_gap_pfp_monic_degree_sourcecoefficients_index_bound + S (fom_index_pfp_monic_degree_sourcecoefficients) = L) -> exists fom_value_pfp_monic_degree_sourcecoefficients. ((((exists fom_beta_height_pfp_monic_degree_sourcecoefficients_entry. fom_beta_height_pfp_monic_degree_sourcecoefficients_entry + S (fom_value_pfp_monic_degree_sourcecoefficients) = S ((S (fom_index_pfp_monic_degree_sourcecoefficients)) * c)) /\ exists fom_beta_quotient_pfp_monic_degree_sourcecoefficients_entry. b = fom_beta_quotient_pfp_monic_degree_sourcecoefficients_entry * S ((S (fom_index_pfp_monic_degree_sourcecoefficients)) * c) + (fom_value_pfp_monic_degree_sourcecoefficients))) /\ (exists fom_gap_pfp_monic_degree_sourcecoefficients_value_bound. fom_gap_pfp_monic_degree_sourcecoefficients_value_bound + S (fom_value_pfp_monic_degree_sourcecoefficients) = p))) /\ ((((exists ff_h_pfp_monic_degree_sourceleading. ff_h_pfp_monic_degree_sourceleading + S (1) = S ((S (0)) * c)) /\ exists ff_q_pfp_monic_degree_sourceleading. b = ff_q_pfp_monic_degree_sourceleading * S ((S (0)) * c) + (1)))))))) -> L=S d -> ((((L)=S (d)) /\ (((forall fom_index_pfp_monic_degree_resultcoefficients. (exists fom_gap_pfp_monic_degree_resultcoefficients_index_bound. fom_gap_pfp_monic_degree_resultcoefficients_index_bound + S (fom_index_pfp_monic_degree_resultcoefficients) = L) -> exists fom_value_pfp_monic_degree_resultcoefficients. ((((exists fom_beta_height_pfp_monic_degree_resultcoefficients_entry. fom_beta_height_pfp_monic_degree_resultcoefficients_entry + S (fom_value_pfp_monic_degree_resultcoefficients) = S ((S (fom_index_pfp_monic_degree_resultcoefficients)) * c)) /\ exists fom_beta_quotient_pfp_monic_degree_resultcoefficients_entry. b = fom_beta_quotient_pfp_monic_degree_resultcoefficients_entry * S ((S (fom_index_pfp_monic_degree_resultcoefficients)) * c) + (fom_value_pfp_monic_degree_resultcoefficients))) /\ (exists fom_gap_pfp_monic_degree_resultcoefficients_value_bound. fom_gap_pfp_monic_degree_resultcoefficients_value_bound + S (fom_value_pfp_monic_degree_resultcoefficients) = p))) /\ ((exists pfd_leading_monic_degree_result. ((((exists ff_h_pfp_monic_degree_resultentry. ff_h_pfp_monic_degree_resultentry + S (pfd_leading_monic_degree_result) = S ((S (0)) * c)) /\ exists ff_q_pfp_monic_degree_resultentry. b = ff_q_pfp_monic_degree_resultentry * S ((S (0)) * c) + (pfd_leading_monic_degree_result))) /\ ((~(pfd_leading_monic_degree_result=0))))))))))

Constructive proof overview

Generated structural guide

A monic prefix of annotated length S d has represented degree d, also for d=0.

The unchanged tactic script uses 1 declared prerequisite and contains 20 exact native proof lines.

Alpha v34 checked-use · first admitted v32 · independently kernel and Lean verified; not Stable

Proof neighborhood

Direct dependencies

succ_ne_zero Stable theorem; checked-use authorized

Direct 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

20 script commands · 10 reading checkpoints · 0 local claims

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–7

Work with arbitrary variables or the premises of the current implication.

  1. L1
    intro p
  2. L2
    intro b
  3. L3
    intro c
  4. L4
    intro L
  5. L5
    intro d
  6. L6
    intro h
  7. L7
    intro hlen
02Separate the logical casesL8–10

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L8
    cases h
  2. L9
    cases h_right
  3. L10
    split
03Use earlier factsL11–11

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L11
    exact hlen
04Separate the logical casesL12–12

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L12
    split
05Use earlier factsL13–13

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L13
    exact h_right_left
06Construct an explicit witnessL14–14

Supply the displayed value, then prove that it has the required property.

  1. L14
    exists 1
07Separate the logical casesL15–15

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L15
    split
08Use earlier factsL16–16

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L16
    exact h_right_right
09Fix variables and assumptionsL17–17

Work with arbitrary variables or the premises of the current implication.

  1. L17
    intro hz
10Use earlier factsL18–20

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L18
    specialize succ_ne_zero (0)
  2. L19
    apply succ_ne_zero
  3. L20
    exact hz

Library-wide reading audit

Original exact command ledger · 20 lines
  1. 0001intro p
  2. 0002intro b
  3. 0003intro c
  4. 0004intro L
  5. 0005intro d
  6. 0006intro h
  7. 0007intro hlen
  8. 0008cases h
  9. 0009cases h_right
  10. 0010split
  11. 0011exact hlen
  12. 0012split
  13. 0013exact h_right_left
  14. 0014exists 1
  15. 0015split
  16. 0016exact h_right_right
  17. 0017intro hz
  18. 0018specialize succ_ne_zero (0)
  19. 0019apply succ_ne_zero
  20. 0020exact hz