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 t l n u v U V. (~((p) = 1) /\ forall pfa_factor_left_trace_construct_prime pfa_factor_right_trace_construct_prime. (p) = pfa_factor_left_trace_construct_prime * pfa_factor_right_trace_construct_prime -> pfa_factor_left_trace_construct_prime = 1 \/ pfa_factor_right_trace_construct_prime = 1) -> (forall fom_index_pfp_trace_construct_coefficients. (exists fom_gap_pfp_trace_construct_coefficients_index_bound. fom_gap_pfp_trace_construct_coefficients_index_bound + S (fom_index_pfp_trace_construct_coefficients) = l) -> exists fom_value_pfp_trace_construct_coefficients. ((((exists fom_beta_height_pfp_trace_construct_coefficients_entry. fom_beta_height_pfp_trace_construct_coefficients_entry + S (fom_value_pfp_trace_construct_coefficients) = S ((S (fom_index_pfp_trace_construct_coefficients)) * c)) /\ exists fom_beta_quotient_pfp_trace_construct_coefficients_entry. b = fom_beta_quotient_pfp_trace_construct_coefficients_entry * S ((S (fom_index_pfp_trace_construct_coefficients)) * c) + (fom_value_pfp_trace_construct_coefficients))) /\ (exists fom_gap_pfp_trace_construct_coefficients_value_bound. fom_gap_pfp_trace_construct_coefficients_value_bound + S (fom_value_pfp_trace_construct_coefficients) = p))) -> (exists pfa_gap_trace_construct_base. pfa_gap_trace_construct_base + S (t) = (p)) -> (((((exists fs_h_ph_pfh_trace_construct_natural_start. fs_h_ph_pfh_trace_construct_natural_start + S (0) = S ((S (0)) * v)) /\ exists fs_q_ph_pfh_trace_construct_natural_start. u = fs_q_ph_pfh_trace_construct_natural_start * S ((S (0)) * v) + (0))) /\ ((((exists fs_h_ph_pfh_trace_construct_natural_terminal. fs_h_ph_pfh_trace_construct_natural_terminal + S (n) = S ((S (l)) * v)) /\ exists fs_q_ph_pfh_trace_construct_natural_terminal. u = fs_q_ph_pfh_trace_construct_natural_terminal * S ((S (l)) * v) + (n))) /\ forall ff_i_ph_pfh_trace_construct_natural_steps. (exists ph_bound_pfh_trace_construct_natural_steps. ph_bound_pfh_trace_construct_natural_steps + S ff_i_ph_pfh_trace_construct_natural_steps = l) -> exists ff_coefficient_ph_pfh_trace_construct_natural_steps ff_previous_ph_pfh_trace_construct_natural_steps ff_current_ph_pfh_trace_construct_natural_steps. ((((exists fs_h_ph_pfh_trace_construct_natural_steps_coefficient. fs_h_ph_pfh_trace_construct_natural_steps_coefficient + S (ff_coefficient_ph_pfh_trace_construct_natural_steps) = S ((S (ff_i_ph_pfh_trace_construct_natural_steps)) * c)) /\ exists fs_q_ph_pfh_trace_construct_natural_steps_coefficient. b = fs_q_ph_pfh_trace_construct_natural_steps_coefficient * S ((S (ff_i_ph_pfh_trace_construct_natural_steps)) * c) + (ff_coefficient_ph_pfh_trace_construct_natural_steps))) /\ ((((exists fs_h_ph_pfh_trace_construct_natural_steps_before. fs_h_ph_pfh_trace_construct_natural_steps_before + S (ff_previous_ph_pfh_trace_construct_natural_steps) = S ((S (ff_i_ph_pfh_trace_construct_natural_steps)) * v)) /\ exists fs_q_ph_pfh_trace_construct_natural_steps_before. u = fs_q_ph_pfh_trace_construct_natural_steps_before * S ((S (ff_i_ph_pfh_trace_construct_natural_steps)) * v) + (ff_previous_ph_pfh_trace_construct_natural_steps))) /\ ((((exists fs_h_ph_pfh_trace_construct_natural_steps_after. fs_h_ph_pfh_trace_construct_natural_steps_after + S (ff_current_ph_pfh_trace_construct_natural_steps) = S ((S (S ff_i_ph_pfh_trace_construct_natural_steps)) * v)) /\ exists fs_q_ph_pfh_trace_construct_natural_steps_after. u = fs_q_ph_pfh_trace_construct_natural_steps_after * S ((S (S ff_i_ph_pfh_trace_construct_natural_steps)) * v) + (ff_current_ph_pfh_trace_construct_natural_steps))) /\ ff_current_ph_pfh_trace_construct_natural_steps = ff_previous_ph_pfh_trace_construct_natural_steps * t + ff_coefficient_ph_pfh_trace_construct_natural_steps)))))) -> (forall pfp_index_trace_construct_normalization. (exists pfa_gap_trace_construct_normalizationindex. pfa_gap_trace_construct_normalizationindex + S (pfp_index_trace_construct_normalization) = (S l)) -> exists pfp_source_trace_construct_normalization pfp_residue_trace_construct_normalization. ((((exists ff_h_pfp_trace_construct_normalizationsource. ff_h_pfp_trace_construct_normalizationsource + S (pfp_source_trace_construct_normalization) = S ((S (pfp_index_trace_construct_normalization)) * v)) /\ exists ff_q_pfp_trace_construct_normalizationsource. u = ff_q_pfp_trace_construct_normalizationsource * S ((S (pfp_index_trace_construct_normalization)) * v) + (pfp_source_trace_construct_normalization))) /\ (((((exists ff_h_pfp_trace_construct_normalizationtarget. ff_h_pfp_trace_construct_normalizationtarget + S (pfp_residue_trace_construct_normalization) = S ((S (pfp_index_trace_construct_normalization)) * V)) /\ exists ff_q_pfp_trace_construct_normalizationtarget. U = ff_q_pfp_trace_construct_normalizationtarget * S ((S (pfp_index_trace_construct_normalization)) * V) + (pfp_residue_trace_construct_normalization))) /\ ((((exists pfa_gap_trace_construct_normalizationresiduebound. pfa_gap_trace_construct_normalizationresiduebound + S (pfp_residue_trace_construct_normalization) = (p)) /\ ((exists pfa_offset_left_trace_construct_normalizationresiduecongruence pfa_offset_right_trace_construct_normalizationresiduecongruence. (pfp_source_trace_construct_normalization) + (p) * pfa_offset_left_trace_construct_normalizationresiduecongruence = (pfp_residue_trace_construct_normalization) + (p) * pfa_offset_right_trace_construct_normalizationresiduecongruence))))))))) -> exists r. ((((exists pfa_gap_trace_construct_executionbase. pfa_gap_trace_construct_executionbase + S (t) = (p)) /\ (((((exists ff_h_pfp_trace_construct_executioninitial. ff_h_pfp_trace_construct_executioninitial + S (0) = S ((S (0)) * V)) /\ exists ff_q_pfp_trace_construct_executioninitial. U = ff_q_pfp_trace_construct_executioninitial * S ((S (0)) * V) + (0))) /\ (((((exists ff_h_pfp_trace_construct_executionterminal. ff_h_pfp_trace_construct_executionterminal + S (r) = S ((S (l)) * V)) /\ exists ff_q_pfp_trace_construct_executionterminal. U = ff_q_pfp_trace_construct_executionterminal * S ((S (l)) * V) + (r))) /\ ((forall pfh_index_trace_construct_executionsteps. (exists pfa_gap_trace_construct_executionstepsindex. pfa_gap_trace_construct_executionstepsindex + S (pfh_index_trace_construct_executionsteps) = (l)) -> (exists pfh_coefficient_trace_construct_executionstepsstep pfh_before_trace_construct_executionstepsstep pfh_after_trace_construct_executionstepsstep pfh_product_trace_construct_executionstepsstep. ((((exists ff_h_pfp_trace_construct_executionstepsstepcoefficient. ff_h_pfp_trace_construct_executionstepsstepcoefficient + S (pfh_coefficient_trace_construct_executionstepsstep) = S ((S (pfh_index_trace_construct_executionsteps)) * c)) /\ exists ff_q_pfp_trace_construct_executionstepsstepcoefficient. b = ff_q_pfp_trace_construct_executionstepsstepcoefficient * S ((S (pfh_index_trace_construct_executionsteps)) * c) + (pfh_coefficient_trace_construct_executionstepsstep))) /\ (((((exists ff_h_pfp_trace_construct_executionstepsstepbefore. ff_h_pfp_trace_construct_executionstepsstepbefore + S (pfh_before_trace_construct_executionstepsstep) = S ((S (pfh_index_trace_construct_executionsteps)) * V)) /\ exists ff_q_pfp_trace_construct_executionstepsstepbefore. U = ff_q_pfp_trace_construct_executionstepsstepbefore * S ((S (pfh_index_trace_construct_executionsteps)) * V) + (pfh_before_trace_construct_executionstepsstep))) /\ (((((exists ff_h_pfp_trace_construct_executionstepsstepafter. ff_h_pfp_trace_construct_executionstepsstepafter + S (pfh_after_trace_construct_executionstepsstep) = S ((S (S (pfh_index_trace_construct_executionsteps))) * V)) /\ exists ff_q_pfp_trace_construct_executionstepsstepafter. U = ff_q_pfp_trace_construct_executionstepsstepafter * S ((S (S (pfh_index_trace_construct_executionsteps))) * V) + (pfh_after_trace_construct_executionstepsstep))) /\ (((((exists pfa_gap_trace_construct_executionstepsstepmultiplyleft. pfa_gap_trace_construct_executionstepsstepmultiplyleft + S (pfh_before_trace_construct_executionstepsstep) = (p)) /\ (((exists pfa_gap_trace_construct_executionstepsstepmultiplyright. pfa_gap_trace_construct_executionstepsstepmultiplyright + S (t) = (p)) /\ ((((exists pfa_gap_trace_construct_executionstepsstepmultiplyresultbound. pfa_gap_trace_construct_executionstepsstepmultiplyresultbound + S (pfh_product_trace_construct_executionstepsstep) = (p)) /\ ((exists pfa_offset_left_trace_construct_executionstepsstepmultiplyresultcongruence pfa_offset_right_trace_construct_executionstepsstepmultiplyresultcongruence. ((pfh_before_trace_construct_executionstepsstep) * (t)) + (p) * pfa_offset_left_trace_construct_executionstepsstepmultiplyresultcongruence = (pfh_product_trace_construct_executionstepsstep) + (p) * pfa_offset_right_trace_construct_executionstepsstepmultiplyresultcongruence))))))))) /\ ((((exists pfa_gap_trace_construct_executionstepsstepaddleft. pfa_gap_trace_construct_executionstepsstepaddleft + S (pfh_product_trace_construct_executionstepsstep) = (p)) /\ (((exists pfa_gap_trace_construct_executionstepsstepaddright. pfa_gap_trace_construct_executionstepsstepaddright + S (pfh_coefficient_trace_construct_executionstepsstep) = (p)) /\ ((((exists pfa_gap_trace_construct_executionstepsstepaddresultbound. pfa_gap_trace_construct_executionstepsstepaddresultbound + S (pfh_after_trace_construct_executionstepsstep) = (p)) /\ ((exists pfa_offset_left_trace_construct_executionstepsstepaddresultcongruence pfa_offset_right_trace_construct_executionstepsstepaddresultcongruence. ((pfh_product_trace_construct_executionstepsstep) + (pfh_coefficient_trace_construct_executionstepsstep)) + (p) * pfa_offset_left_trace_construct_executionstepsstepaddresultcongruence = (pfh_after_trace_construct_executionstepsstep) + (p) * pfa_offset_right_trace_construct_executionstepsstepaddresultcongruence)))))))))))))))))))))))))) /\ ((((exists pfa_gap_trace_construct_final_residuebound. pfa_gap_trace_construct_final_residuebound + S (r) = (p)) /\ ((exists pfa_offset_left_trace_construct_final_residuecongruence pfa_offset_right_trace_construct_final_residuecongruence. (n) + (p) * pfa_offset_left_trace_construct_final_residuecongruence = (r) + (p) * pfa_offset_right_trace_construct_final_residuecongruence))))))Constructive proof overview
Generated structural guide
Reducing all l+1 states of a genuine natural Horner trace constructs a genuine canonical execution, including its zero initial state.
The unchanged tactic script uses 10 declared prerequisites and contains 187 exact native proof lines.
Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
beta_at_exists Stable theorem; checked-use authorized PP0003 prime_field_polynomial_normalization_entry zero_add Stable theorem; checked-use authorized prime_field_residue_bounded_value Alpha theorem; checked-use authorized prime_field_zero_below_prime Alpha theorem; checked-use authorized le_succ Stable theorem; checked-use authorized succ_le_succ Stable theorem; checked-use authorized prime_field_residue_input_equal Alpha theorem; checked-use authorized PP0020 prime_field_polynomial_horner_canonical_step 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.
Named ingredients (2)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–15
03Separate the logical casesL16–17
04Establish heL18–22
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at exists.
- L18
have he : exists r. (((exists ff_h_pfp_trace_construct_terminal. ff_h_pfp_trace_construct_terminal + S (r) = S ((S (l)) * V)) /\ exists ff_q_pfp_trace_construct_terminal. U = ff_q_pfp_trace_construct_terminal * S ((S (l)) * V) + (r))) - L19
specialize beta_at_exists (U) - L20
specialize beta_at_exists (V) - L21
specialize beta_at_exists (l) - L22
apply beta_at_exists
05Separate the logical casesL23–23
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L23
cases he
06Establish hrL24–33
Establish this local claim before using it. It is not an additional assumption.
- L24
have hr : ((exists pfa_gap_trace_construct_resultbound. pfa_gap_trace_construct_resultbound + S (x) = (p)) /\ ((exists pfa_offset_left_trace_construct_resultcongruence pfa_offset_right_trace_construct_resultcongruence. (n) + (p) * pfa_offset_left_trace_construct_resultcongruence = (x) + (p) * pfa_offset_right_trace_construct_resultcongruence))) - L25
specialize prime_field_polynomial_normalization_entry (p) - L26
specialize prime_field_polynomial_normalization_entry (u) - L27
specialize prime_field_polynomial_normalization_entry (v) - L28
specialize prime_field_polynomial_normalization_entry (U) - L29
specialize prime_field_polynomial_normalization_entry (V) - L30
specialize prime_field_polynomial_normalization_entry (S l) - L31
specialize prime_field_polynomial_normalization_entry (l) - L32
specialize prime_field_polynomial_normalization_entry (n) - L33
specialize prime_field_polynomial_normalization_entry (x)
07Use earlier factsL34–35
08Construct an explicit witnessL36–36
Supply the displayed value, then prove that it has the required property.
- L36
exists 0
09Use earlier factsL37–39
10Establish hzeroL40–40
Establish this local claim before using it. It is not an additional assumption.
- L40
have hzero : ((exists ff_h_pfp_trace_construct_zero. ff_h_pfp_trace_construct_zero + S (0) = S ((S (0)) * V)) /\ exists ff_q_pfp_trace_construct_zero. U = ff_q_pfp_trace_construct_zero * S ((S (0)) * V) + (0))
11Establish hzL41–45
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at exists.
- L41
have hz : exists z. (((exists ff_h_pfp_trace_construct_first. ff_h_pfp_trace_construct_first + S (z) = S ((S (0)) * V)) /\ exists ff_q_pfp_trace_construct_first. U = ff_q_pfp_trace_construct_first * S ((S (0)) * V) + (z))) - L42
specialize beta_at_exists (U) - L43
specialize beta_at_exists (V) - L44
specialize beta_at_exists (0) - L45
apply beta_at_exists
12Separate the logical casesL46–46
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L46
cases hz
13Establish hzresL47–56
Establish this local claim before using it. It is not an additional assumption.
- L47
have hzres : ((exists pfa_gap_trace_construct_first_residuebound. pfa_gap_trace_construct_first_residuebound + S (x1) = (p)) /\ ((exists pfa_offset_left_trace_construct_first_residuecongruence pfa_offset_right_trace_construct_first_residuecongruence. (0) + (p) * pfa_offset_left_trace_construct_first_residuecongruence = (x1) + (p) * pfa_offset_right_trace_construct_first_residuecongruence))) - L48
specialize prime_field_polynomial_normalization_entry (p) - L49
specialize prime_field_polynomial_normalization_entry (u) - L50
specialize prime_field_polynomial_normalization_entry (v) - L51
specialize prime_field_polynomial_normalization_entry (U) - L52
specialize prime_field_polynomial_normalization_entry (V) - L53
specialize prime_field_polynomial_normalization_entry (S l) - L54
specialize prime_field_polynomial_normalization_entry (0) - L55
specialize prime_field_polynomial_normalization_entry (0) - L56
specialize prime_field_polynomial_normalization_entry (x1)
14Use earlier factsL57–58
15Construct an explicit witnessL59–59
Supply the displayed value, then prove that it has the required property.
- L59
exists l
16Calculate and transport equalitiesL60–60
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L60
simp
17Use earlier factsL61–62
18Establish hzeqL63–72
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime field residue bounded value.
- L63
have hzeq : x1=0 - L64
specialize prime_field_residue_bounded_value (p) - L65
specialize prime_field_residue_bounded_value (0) - L66
specialize prime_field_residue_bounded_value (x1) - L67
apply prime_field_residue_bounded_value - L68
specialize prime_field_zero_below_prime (p) - L69
apply prime_field_zero_below_prime - L70
exact hp - L71
exact hzres - L72
rewrite hzeq at hz_witness
19Calculate and transport equalitiesL73–73
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L73
rewrite hzeq at hz_witness
20Use earlier factsL74–74
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L74
exact hz_witness
21Construct an explicit witnessL75–75
Supply the displayed value, then prove that it has the required property.
- L75
exists x
22Separate the logical casesL76–77
23Use earlier factsL78–78
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L78
exact ht
24Separate the logical casesL79–79
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L79
split
25Use earlier factsL80–80
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L80
exact hzero
26Separate the logical casesL81–81
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L81
split
27Use earlier factsL82–82
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L82
exact he_witness
28Fix variables and assumptionsL83–84
29Establish hsL85–88
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hn right right.
30Separate the logical casesL89–94
31Establish hbL95–99
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at exists.
- L95
have hb : exists r. (((exists ff_h_pfp_trace_construct_canonical_before. ff_h_pfp_trace_construct_canonical_before + S (r) = S ((S (i)) * V)) /\ exists ff_q_pfp_trace_construct_canonical_before. U = ff_q_pfp_trace_construct_canonical_before * S ((S (i)) * V) + (r))) - L96
specialize beta_at_exists (U) - L97
specialize beta_at_exists (V) - L98
specialize beta_at_exists (i) - L99
apply beta_at_exists
32Separate the logical casesL100–100
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L100
cases hb
33Establish haL101–105
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at exists.
- L101
have ha : exists r. (((exists ff_h_pfp_trace_construct_canonical_after. ff_h_pfp_trace_construct_canonical_after + S (r) = S ((S (S i)) * V)) /\ exists ff_q_pfp_trace_construct_canonical_after. U = ff_q_pfp_trace_construct_canonical_after * S ((S (S i)) * V) + (r))) - L102
specialize beta_at_exists (U) - L103
specialize beta_at_exists (V) - L104
specialize beta_at_exists (S i) - L105
apply beta_at_exists
34Separate the logical casesL106–106
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L106
cases ha
35Establish hbeforeL107–116
Establish this local claim before using it. It is not an additional assumption.
- L107
have hbefore : ((exists pfa_gap_trace_construct_before_residuebound. pfa_gap_trace_construct_before_residuebound + S (x4) = (p)) /\ ((exists pfa_offset_left_trace_construct_before_residuecongruence pfa_offset_right_trace_construct_before_residuecongruence. (x2) + (p) * pfa_offset_left_trace_construct_before_residuecongruence = (x4) + (p) * pfa_offset_right_trace_construct_before_residuecongruence))) - L108
specialize prime_field_polynomial_normalization_entry (p) - L109
specialize prime_field_polynomial_normalization_entry (u) - L110
specialize prime_field_polynomial_normalization_entry (v) - L111
specialize prime_field_polynomial_normalization_entry (U) - L112
specialize prime_field_polynomial_normalization_entry (V) - L113
specialize prime_field_polynomial_normalization_entry (S l) - L114
specialize prime_field_polynomial_normalization_entry (i) - L115
specialize prime_field_polynomial_normalization_entry (x2) - L116
specialize prime_field_polynomial_normalization_entry (x4)
36Use earlier factsL117–124
37Establish hafterL125–134
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime field residue input equal.
- L125
have hafter : ((exists pfa_gap_trace_construct_after_residuebound. pfa_gap_trace_construct_after_residuebound + S (x5) = (p)) /\ ((exists pfa_offset_left_trace_construct_after_residuecongruence pfa_offset_right_trace_construct_after_residuecongruence. (x2*t+x1) + (p) * pfa_offset_left_trace_construct_after_residuecongruence = (x5) + (p) * pfa_offset_right_trace_construct_after_residuecongruence))) - L126
specialize prime_field_residue_input_equal (p) - L127
specialize prime_field_residue_input_equal (x2*t+x1) - L128
specialize prime_field_residue_input_equal (x3) - L129
specialize prime_field_residue_input_equal (x5) - L130
apply prime_field_residue_input_equal - L131
symm - L132
exact hs_witness_witness_witness_right_right_right - L133
specialize prime_field_polynomial_normalization_entry (p) - L134
specialize prime_field_polynomial_normalization_entry (u)
38Use earlier factsL135–144
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L135
specialize prime_field_polynomial_normalization_entry (v) - L136
specialize prime_field_polynomial_normalization_entry (U) - L137
specialize prime_field_polynomial_normalization_entry (V) - L138
specialize prime_field_polynomial_normalization_entry (S l) - L139
specialize prime_field_polynomial_normalization_entry (S i) - L140
specialize prime_field_polynomial_normalization_entry (x3) - L141
specialize prime_field_polynomial_normalization_entry (x5) - L142
apply prime_field_polynomial_normalization_entry - L143
exact hred - L144
specialize succ_le_succ (S i)
39Use earlier factsL145–149
40Establish hopL150–159
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime field polynomial horner canonical step.
- L150
- L151
specialize prime_field_polynomial_horner_canonical_step (p) - L152
specialize prime_field_polynomial_horner_canonical_step (x2) - L153
specialize prime_field_polynomial_horner_canonical_step (t) - L154
specialize prime_field_polynomial_horner_canonical_step (x1) - L155
specialize prime_field_polynomial_horner_canonical_step (x4) - L156
specialize prime_field_polynomial_horner_canonical_step (x5) - L157
apply prime_field_polynomial_horner_canonical_step - L158
exact hp - L159
exact ht
41Use earlier factsL160–169
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L160
specialize matrix_rank_bounded_prefix_value (b) - L161
specialize matrix_rank_bounded_prefix_value (c) - L162
specialize matrix_rank_bounded_prefix_value (l) - L163
specialize matrix_rank_bounded_prefix_value (p) - L164
specialize matrix_rank_bounded_prefix_value (i) - L165
specialize matrix_rank_bounded_prefix_value (x1) - L166
apply matrix_rank_bounded_prefix_value - L167
exact hc - L168
exact hi - L169
exact hs_witness_witness_witness_left
42Use earlier factsL170–171
43Separate the logical casesL172–173
44Construct an explicit witnessL174–177
45Separate the logical casesL178–178
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L178
split
46Use earlier factsL179–179
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L179
exact hs_witness_witness_witness_left
47Separate the logical casesL180–180
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L180
split
48Use earlier factsL181–181
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L181
exact hb_witness
49Separate the logical casesL182–182
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L182
split
50Use earlier factsL183–183
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L183
exact ha_witness
51Separate the logical casesL184–184
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L184
split
Original exact command ledger · 187 lines
- 0001
intro p - 0002
intro b - 0003
intro c - 0004
intro t - 0005
intro l - 0006
intro n - 0007
intro u - 0008
intro v - 0009
intro U - 0010
intro V - 0011
intro hp - 0012
intro hc - 0013
intro ht - 0014
intro hn - 0015
intro hred - 0016
cases hn - 0017
cases hn_right - 0018
have he : exists r. (((exists ff_h_pfp_trace_construct_terminal. ff_h_pfp_trace_construct_terminal + S (r) = S ((S (l)) * V)) /\ exists ff_q_pfp_trace_construct_terminal. U = ff_q_pfp_trace_construct_terminal * S ((S (l)) * V) + (r))) - 0019
specialize beta_at_exists (U) - 0020
specialize beta_at_exists (V) - 0021
specialize beta_at_exists (l) - 0022
apply beta_at_exists - 0023
cases he - 0024
have hr : ((exists pfa_gap_trace_construct_resultbound. pfa_gap_trace_construct_resultbound + S (x) = (p)) /\ ((exists pfa_offset_left_trace_construct_resultcongruence pfa_offset_right_trace_construct_resultcongruence. (n) + (p) * pfa_offset_left_trace_construct_resultcongruence = (x) + (p) * pfa_offset_right_trace_construct_resultcongruence))) - 0025
specialize prime_field_polynomial_normalization_entry (p) - 0026
specialize prime_field_polynomial_normalization_entry (u) - 0027
specialize prime_field_polynomial_normalization_entry (v) - 0028
specialize prime_field_polynomial_normalization_entry (U) - 0029
specialize prime_field_polynomial_normalization_entry (V) - 0030
specialize prime_field_polynomial_normalization_entry (S l) - 0031
specialize prime_field_polynomial_normalization_entry (l) - 0032
specialize prime_field_polynomial_normalization_entry (n) - 0033
specialize prime_field_polynomial_normalization_entry (x) - 0034
apply prime_field_polynomial_normalization_entry - 0035
exact hred - 0036
exists 0 - 0037
apply zero_add - 0038
exact hn_right_left - 0039
exact he_witness - 0040
have hzero : ((exists ff_h_pfp_trace_construct_zero. ff_h_pfp_trace_construct_zero + S (0) = S ((S (0)) * V)) /\ exists ff_q_pfp_trace_construct_zero. U = ff_q_pfp_trace_construct_zero * S ((S (0)) * V) + (0)) - 0041
have hz : exists z. (((exists ff_h_pfp_trace_construct_first. ff_h_pfp_trace_construct_first + S (z) = S ((S (0)) * V)) /\ exists ff_q_pfp_trace_construct_first. U = ff_q_pfp_trace_construct_first * S ((S (0)) * V) + (z))) - 0042
specialize beta_at_exists (U) - 0043
specialize beta_at_exists (V) - 0044
specialize beta_at_exists (0) - 0045
apply beta_at_exists - 0046
cases hz - 0047
have hzres : ((exists pfa_gap_trace_construct_first_residuebound. pfa_gap_trace_construct_first_residuebound + S (x1) = (p)) /\ ((exists pfa_offset_left_trace_construct_first_residuecongruence pfa_offset_right_trace_construct_first_residuecongruence. (0) + (p) * pfa_offset_left_trace_construct_first_residuecongruence = (x1) + (p) * pfa_offset_right_trace_construct_first_residuecongruence))) - 0048
specialize prime_field_polynomial_normalization_entry (p) - 0049
specialize prime_field_polynomial_normalization_entry (u) - 0050
specialize prime_field_polynomial_normalization_entry (v) - 0051
specialize prime_field_polynomial_normalization_entry (U) - 0052
specialize prime_field_polynomial_normalization_entry (V) - 0053
specialize prime_field_polynomial_normalization_entry (S l) - 0054
specialize prime_field_polynomial_normalization_entry (0) - 0055
specialize prime_field_polynomial_normalization_entry (0) - 0056
specialize prime_field_polynomial_normalization_entry (x1) - 0057
apply prime_field_polynomial_normalization_entry - 0058
exact hred - 0059
exists l - 0060
simp - 0061
exact hn_left - 0062
exact hz_witness - 0063
have hzeq : x1=0 - 0064
specialize prime_field_residue_bounded_value (p) - 0065
specialize prime_field_residue_bounded_value (0) - 0066
specialize prime_field_residue_bounded_value (x1) - 0067
apply prime_field_residue_bounded_value - 0068
specialize prime_field_zero_below_prime (p) - 0069
apply prime_field_zero_below_prime - 0070
exact hp - 0071
exact hzres - 0072
rewrite hzeq at hz_witness - 0073
rewrite hzeq at hz_witness - 0074
exact hz_witness - 0075
exists x - 0076
split - 0077
split - 0078
exact ht - 0079
split - 0080
exact hzero - 0081
split - 0082
exact he_witness - 0083
intro i - 0084
intro hi - 0085
have hs : exists a h j. ((((exists ff_h_pfp_trace_construct_coefficient. ff_h_pfp_trace_construct_coefficient + S (a) = S ((S (i)) * c)) /\ exists ff_q_pfp_trace_construct_coefficient. b = ff_q_pfp_trace_construct_coefficient * S ((S (i)) * c) + (a))) /\ (((((exists ff_h_pfp_trace_construct_before. ff_h_pfp_trace_construct_before + S (h) = S ((S (i)) * v)) /\ exists ff_q_pfp_trace_construct_before. u = ff_q_pfp_trace_construct_before * S ((S (i)) * v) + (h))) /\ (((((exists ff_h_pfp_trace_construct_after. ff_h_pfp_trace_construct_after + S (j) = S ((S (S i)) * v)) /\ exists ff_q_pfp_trace_construct_after. u = ff_q_pfp_trace_construct_after * S ((S (S i)) * v) + (j))) /\ ((j=h*t+a))))))) - 0086
specialize hn_right_right (i) - 0087
apply hn_right_right - 0088
exact hi - 0089
cases hs - 0090
cases hs_witness - 0091
cases hs_witness_witness - 0092
cases hs_witness_witness_witness - 0093
cases hs_witness_witness_witness_right - 0094
cases hs_witness_witness_witness_right_right - 0095
have hb : exists r. (((exists ff_h_pfp_trace_construct_canonical_before. ff_h_pfp_trace_construct_canonical_before + S (r) = S ((S (i)) * V)) /\ exists ff_q_pfp_trace_construct_canonical_before. U = ff_q_pfp_trace_construct_canonical_before * S ((S (i)) * V) + (r))) - 0096
specialize beta_at_exists (U) - 0097
specialize beta_at_exists (V) - 0098
specialize beta_at_exists (i) - 0099
apply beta_at_exists - 0100
cases hb - 0101
have ha : exists r. (((exists ff_h_pfp_trace_construct_canonical_after. ff_h_pfp_trace_construct_canonical_after + S (r) = S ((S (S i)) * V)) /\ exists ff_q_pfp_trace_construct_canonical_after. U = ff_q_pfp_trace_construct_canonical_after * S ((S (S i)) * V) + (r))) - 0102
specialize beta_at_exists (U) - 0103
specialize beta_at_exists (V) - 0104
specialize beta_at_exists (S i) - 0105
apply beta_at_exists - 0106
cases ha - 0107
have hbefore : ((exists pfa_gap_trace_construct_before_residuebound. pfa_gap_trace_construct_before_residuebound + S (x4) = (p)) /\ ((exists pfa_offset_left_trace_construct_before_residuecongruence pfa_offset_right_trace_construct_before_residuecongruence. (x2) + (p) * pfa_offset_left_trace_construct_before_residuecongruence = (x4) + (p) * pfa_offset_right_trace_construct_before_residuecongruence))) - 0108
specialize prime_field_polynomial_normalization_entry (p) - 0109
specialize prime_field_polynomial_normalization_entry (u) - 0110
specialize prime_field_polynomial_normalization_entry (v) - 0111
specialize prime_field_polynomial_normalization_entry (U) - 0112
specialize prime_field_polynomial_normalization_entry (V) - 0113
specialize prime_field_polynomial_normalization_entry (S l) - 0114
specialize prime_field_polynomial_normalization_entry (i) - 0115
specialize prime_field_polynomial_normalization_entry (x2) - 0116
specialize prime_field_polynomial_normalization_entry (x4) - 0117
apply prime_field_polynomial_normalization_entry - 0118
exact hred - 0119
specialize le_succ (S i) - 0120
specialize le_succ (l) - 0121
apply le_succ - 0122
exact hi - 0123
exact hs_witness_witness_witness_right_left - 0124
exact hb_witness - 0125
have hafter : ((exists pfa_gap_trace_construct_after_residuebound. pfa_gap_trace_construct_after_residuebound + S (x5) = (p)) /\ ((exists pfa_offset_left_trace_construct_after_residuecongruence pfa_offset_right_trace_construct_after_residuecongruence. (x2*t+x1) + (p) * pfa_offset_left_trace_construct_after_residuecongruence = (x5) + (p) * pfa_offset_right_trace_construct_after_residuecongruence))) - 0126
specialize prime_field_residue_input_equal (p) - 0127
specialize prime_field_residue_input_equal (x2*t+x1) - 0128
specialize prime_field_residue_input_equal (x3) - 0129
specialize prime_field_residue_input_equal (x5) - 0130
apply prime_field_residue_input_equal - 0131
symm - 0132
exact hs_witness_witness_witness_right_right_right - 0133
specialize prime_field_polynomial_normalization_entry (p) - 0134
specialize prime_field_polynomial_normalization_entry (u) - 0135
specialize prime_field_polynomial_normalization_entry (v) - 0136
specialize prime_field_polynomial_normalization_entry (U) - 0137
specialize prime_field_polynomial_normalization_entry (V) - 0138
specialize prime_field_polynomial_normalization_entry (S l) - 0139
specialize prime_field_polynomial_normalization_entry (S i) - 0140
specialize prime_field_polynomial_normalization_entry (x3) - 0141
specialize prime_field_polynomial_normalization_entry (x5) - 0142
apply prime_field_polynomial_normalization_entry - 0143
exact hred - 0144
specialize succ_le_succ (S i) - 0145
specialize succ_le_succ (l) - 0146
apply succ_le_succ - 0147
exact hi - 0148
exact hs_witness_witness_witness_right_right_left - 0149
exact ha_witness - 0150
have hop : exists k. ((((exists pfa_gap_trace_construct_multiplyleft. pfa_gap_trace_construct_multiplyleft + S (x4) = (p)) /\ (((exists pfa_gap_trace_construct_multiplyright. pfa_gap_trace_construct_multiplyright + S (t) = (p)) /\ ((((exists pfa_gap_trace_construct_multiplyresultbound. pfa_gap_trace_construct_multiplyresultbound + S (k) = (p)) /\ ((exists pfa_offset_left_trace_construct_multiplyresultcongruence pfa_offset_right_trace_construct_multiplyresultcongruence. ((x4) * (t)) + (p) * pfa_offset_left_trace_construct_multiplyresultcongruence = (k) + (p) * pfa_offset_right_trace_construct_multiplyresultcongruence))))))))) /\ ((((exists pfa_gap_trace_construct_addleft. pfa_gap_trace_construct_addleft + S (k) = (p)) /\ (((exists pfa_gap_trace_construct_addright. pfa_gap_trace_construct_addright + S (x1) = (p)) /\ ((((exists pfa_gap_trace_construct_addresultbound. pfa_gap_trace_construct_addresultbound + S (x5) = (p)) /\ ((exists pfa_offset_left_trace_construct_addresultcongruence pfa_offset_right_trace_construct_addresultcongruence. ((k) + (x1)) + (p) * pfa_offset_left_trace_construct_addresultcongruence = (x5) + (p) * pfa_offset_right_trace_construct_addresultcongruence))))))))))) - 0151
specialize prime_field_polynomial_horner_canonical_step (p) - 0152
specialize prime_field_polynomial_horner_canonical_step (x2) - 0153
specialize prime_field_polynomial_horner_canonical_step (t) - 0154
specialize prime_field_polynomial_horner_canonical_step (x1) - 0155
specialize prime_field_polynomial_horner_canonical_step (x4) - 0156
specialize prime_field_polynomial_horner_canonical_step (x5) - 0157
apply prime_field_polynomial_horner_canonical_step - 0158
exact hp - 0159
exact ht - 0160
specialize matrix_rank_bounded_prefix_value (b) - 0161
specialize matrix_rank_bounded_prefix_value (c) - 0162
specialize matrix_rank_bounded_prefix_value (l) - 0163
specialize matrix_rank_bounded_prefix_value (p) - 0164
specialize matrix_rank_bounded_prefix_value (i) - 0165
specialize matrix_rank_bounded_prefix_value (x1) - 0166
apply matrix_rank_bounded_prefix_value - 0167
exact hc - 0168
exact hi - 0169
exact hs_witness_witness_witness_left - 0170
exact hbefore - 0171
exact hafter - 0172
cases hop - 0173
cases hop_witness - 0174
exists x1 - 0175
exists x4 - 0176
exists x5 - 0177
exists x6 - 0178
split - 0179
exact hs_witness_witness_witness_left - 0180
split - 0181
exact hb_witness - 0182
split - 0183
exact ha_witness - 0184
split - 0185
exact hop_witness_left - 0186
exact hop_witness_right - 0187
exact hr