PQ0017

prime_field_polynomial_subtract_equal_entry_zero

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

Equal aligned coefficients, in particular equal leading coefficients, leave actual zero at that result position.

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 ab ac bb bc rb rc l i a r. (~((p) = 1) /\ forall pfa_factor_left_sub_entry_zero_prime pfa_factor_right_sub_entry_zero_prime. (p) = pfa_factor_left_sub_entry_zero_prime * pfa_factor_right_sub_entry_zero_prime -> pfa_factor_left_sub_entry_zero_prime = 1 \/ pfa_factor_right_sub_entry_zero_prime = 1) -> (forall pfs_index_sub_entry_zero_graph. (exists pfa_gap_sub_entry_zero_graphindex. pfa_gap_sub_entry_zero_graphindex + S (pfs_index_sub_entry_zero_graph) = (l)) -> exists pfs_left_sub_entry_zero_graph pfs_right_sub_entry_zero_graph pfs_result_sub_entry_zero_graph. ((((exists ff_h_pfp_sub_entry_zero_graphleft. ff_h_pfp_sub_entry_zero_graphleft + S (pfs_left_sub_entry_zero_graph) = S ((S (pfs_index_sub_entry_zero_graph)) * ac)) /\ exists ff_q_pfp_sub_entry_zero_graphleft. ab = ff_q_pfp_sub_entry_zero_graphleft * S ((S (pfs_index_sub_entry_zero_graph)) * ac) + (pfs_left_sub_entry_zero_graph))) /\ (((((exists ff_h_pfp_sub_entry_zero_graphright. ff_h_pfp_sub_entry_zero_graphright + S (pfs_right_sub_entry_zero_graph) = S ((S (pfs_index_sub_entry_zero_graph)) * bc)) /\ exists ff_q_pfp_sub_entry_zero_graphright. bb = ff_q_pfp_sub_entry_zero_graphright * S ((S (pfs_index_sub_entry_zero_graph)) * bc) + (pfs_right_sub_entry_zero_graph))) /\ (((((exists ff_h_pfp_sub_entry_zero_graphresult. ff_h_pfp_sub_entry_zero_graphresult + S (pfs_result_sub_entry_zero_graph) = S ((S (pfs_index_sub_entry_zero_graph)) * rc)) /\ exists ff_q_pfp_sub_entry_zero_graphresult. rb = ff_q_pfp_sub_entry_zero_graphresult * S ((S (pfs_index_sub_entry_zero_graph)) * rc) + (pfs_result_sub_entry_zero_graph))) /\ ((((exists pfa_gap_sub_entry_zero_graphoperationleft. pfa_gap_sub_entry_zero_graphoperationleft + S (pfs_right_sub_entry_zero_graph) = (p)) /\ (((exists pfa_gap_sub_entry_zero_graphoperationright. pfa_gap_sub_entry_zero_graphoperationright + S (pfs_result_sub_entry_zero_graph) = (p)) /\ ((((exists pfa_gap_sub_entry_zero_graphoperationresultbound. pfa_gap_sub_entry_zero_graphoperationresultbound + S (pfs_left_sub_entry_zero_graph) = (p)) /\ ((exists pfa_offset_left_sub_entry_zero_graphoperationresultcongruence pfa_offset_right_sub_entry_zero_graphoperationresultcongruence. ((pfs_right_sub_entry_zero_graph) + (pfs_result_sub_entry_zero_graph)) + (p) * pfa_offset_left_sub_entry_zero_graphoperationresultcongruence = (pfs_left_sub_entry_zero_graph) + (p) * pfa_offset_right_sub_entry_zero_graphoperationresultcongruence)))))))))))))))) -> (exists pfa_gap_sub_entry_zero_index. pfa_gap_sub_entry_zero_index + S (i) = (l)) -> (((exists ff_h_pfp_sub_entry_zero_a. ff_h_pfp_sub_entry_zero_a + S (a) = S ((S (i)) * ac)) /\ exists ff_q_pfp_sub_entry_zero_a. ab = ff_q_pfp_sub_entry_zero_a * S ((S (i)) * ac) + (a))) -> (((exists ff_h_pfp_sub_entry_zero_b. ff_h_pfp_sub_entry_zero_b + S (a) = S ((S (i)) * bc)) /\ exists ff_q_pfp_sub_entry_zero_b. bb = ff_q_pfp_sub_entry_zero_b * S ((S (i)) * bc) + (a))) -> (((exists ff_h_pfp_sub_entry_zero_r. ff_h_pfp_sub_entry_zero_r + S (r) = S ((S (i)) * rc)) /\ exists ff_q_pfp_sub_entry_zero_r. rb = ff_q_pfp_sub_entry_zero_r * S ((S (i)) * rc) + (r))) -> r=0

Constructive proof overview

Generated structural guide

Equal aligned coefficients, in particular equal leading coefficients, leave actual zero at that result position.

The unchanged tactic script uses 2 declared prerequisites and contains 40 exact native proof lines.

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

Proof neighborhood

Direct dependencies

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

40 script commands · 5 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.

Named ingredients (2)
01Fix variables and assumptionsL1–10

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

  1. L1
    intro p
  2. L2
    intro ab
  3. L3
    intro ac
  4. L4
    intro bb
  5. L5
    intro bc
  6. L6
    intro rb
  7. L7
    intro rc
  8. L8
    intro l
  9. L9
    intro i
  10. L10
    intro a
02Fix variables and assumptionsL11–17

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

  1. L11
    intro r
  2. L12
    intro hp
  3. L13
    intro h
  4. L14
    intro hi
  5. L15
    intro ha
  6. L16
    intro hb
  7. L17
    intro hr
03Use earlier factsL18–27

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

  1. L18
    specialize prime_field_subtract_equal_zero (p)
  2. L19
    specialize prime_field_subtract_equal_zero (a)
  3. L20
    specialize prime_field_subtract_equal_zero (r)
  4. L21
    apply prime_field_subtract_equal_zero
  5. L22
    exact hp
  6. L23
    specialize prime_field_polynomial_subtract_entry (p)
  7. L24
    specialize prime_field_polynomial_subtract_entry (ab)
  8. L25
    specialize prime_field_polynomial_subtract_entry (ac)
  9. L26
    specialize prime_field_polynomial_subtract_entry (bb)
  10. L27
    specialize prime_field_polynomial_subtract_entry (bc)
04Use earlier factsL28–37

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

  1. L28
    specialize prime_field_polynomial_subtract_entry (rb)
  2. L29
    specialize prime_field_polynomial_subtract_entry (rc)
  3. L30
    specialize prime_field_polynomial_subtract_entry (l)
  4. L31
    specialize prime_field_polynomial_subtract_entry (i)
  5. L32
    specialize prime_field_polynomial_subtract_entry (a)
  6. L33
    specialize prime_field_polynomial_subtract_entry (a)
  7. L34
    specialize prime_field_polynomial_subtract_entry (r)
  8. L35
    apply prime_field_polynomial_subtract_entry
  9. L36
    exact h
  10. L37
    exact hi
05Use earlier factsL38–40

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

  1. L38
    exact ha
  2. L39
    exact hb
  3. L40
    exact hr

Library-wide reading audit

Original exact command ledger · 40 lines
  1. 0001intro p
  2. 0002intro ab
  3. 0003intro ac
  4. 0004intro bb
  5. 0005intro bc
  6. 0006intro rb
  7. 0007intro rc
  8. 0008intro l
  9. 0009intro i
  10. 0010intro a
  11. 0011intro r
  12. 0012intro hp
  13. 0013intro h
  14. 0014intro hi
  15. 0015intro ha
  16. 0016intro hb
  17. 0017intro hr
  18. 0018specialize prime_field_subtract_equal_zero (p)
  19. 0019specialize prime_field_subtract_equal_zero (a)
  20. 0020specialize prime_field_subtract_equal_zero (r)
  21. 0021apply prime_field_subtract_equal_zero
  22. 0022exact hp
  23. 0023specialize prime_field_polynomial_subtract_entry (p)
  24. 0024specialize prime_field_polynomial_subtract_entry (ab)
  25. 0025specialize prime_field_polynomial_subtract_entry (ac)
  26. 0026specialize prime_field_polynomial_subtract_entry (bb)
  27. 0027specialize prime_field_polynomial_subtract_entry (bc)
  28. 0028specialize prime_field_polynomial_subtract_entry (rb)
  29. 0029specialize prime_field_polynomial_subtract_entry (rc)
  30. 0030specialize prime_field_polynomial_subtract_entry (l)
  31. 0031specialize prime_field_polynomial_subtract_entry (i)
  32. 0032specialize prime_field_polynomial_subtract_entry (a)
  33. 0033specialize prime_field_polynomial_subtract_entry (a)
  34. 0034specialize prime_field_polynomial_subtract_entry (r)
  35. 0035apply prime_field_polynomial_subtract_entry
  36. 0036exact h
  37. 0037exact hi
  38. 0038exact ha
  39. 0039exact hb
  40. 0040exact hr