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 b c L d e i a. (((forall mdr_i_pfp_shift_pad_reverse_relationprefix mdr_a_pfp_shift_pad_reverse_relationprefix. (exists mdr_gap_pfp_shift_pad_reverse_relationprefixb. mdr_gap_pfp_shift_pad_reverse_relationprefixb + S (mdr_i_pfp_shift_pad_reverse_relationprefix) = (L)) -> (((exists ff_h_mdr_pfp_shift_pad_reverse_relationprefixo. ff_h_mdr_pfp_shift_pad_reverse_relationprefixo + S (mdr_a_pfp_shift_pad_reverse_relationprefix) = S ((S (mdr_i_pfp_shift_pad_reverse_relationprefix)) * c)) /\ exists ff_q_mdr_pfp_shift_pad_reverse_relationprefixo. b = ff_q_mdr_pfp_shift_pad_reverse_relationprefixo * S ((S (mdr_i_pfp_shift_pad_reverse_relationprefix)) * c) + (mdr_a_pfp_shift_pad_reverse_relationprefix))) -> (((exists ff_h_mdr_pfp_shift_pad_reverse_relationprefixn. ff_h_mdr_pfp_shift_pad_reverse_relationprefixn + S (mdr_a_pfp_shift_pad_reverse_relationprefix) = S ((S (mdr_i_pfp_shift_pad_reverse_relationprefix)) * e)) /\ exists ff_q_mdr_pfp_shift_pad_reverse_relationprefixn. d = ff_q_mdr_pfp_shift_pad_reverse_relationprefixn * S ((S (mdr_i_pfp_shift_pad_reverse_relationprefix)) * e) + (mdr_a_pfp_shift_pad_reverse_relationprefix)))) /\ ((((exists ff_h_pfp_shift_pad_reverse_relationlast. ff_h_pfp_shift_pad_reverse_relationlast + S (0) = S ((S (L)) * e)) /\ exists ff_q_pfp_shift_pad_reverse_relationlast. d = ff_q_pfp_shift_pad_reverse_relationlast * S ((S (L)) * e) + (0)))))) -> ((((exists pfa_gap_shift_pad_reverse_sourceinside. pfa_gap_shift_pad_reverse_sourceinside + S (i) = (S L)) /\ ((((exists ff_h_pfp_shift_pad_reverse_sourceentry. ff_h_pfp_shift_pad_reverse_sourceentry + S (a) = S ((S (i)) * e)) /\ exists ff_q_pfp_shift_pad_reverse_sourceentry. d = ff_q_pfp_shift_pad_reverse_sourceentry * S ((S (i)) * e) + (a)))))) \/ (((exists pfc_gap_shift_pad_reverse_sourceoutside. pfc_gap_shift_pad_reverse_sourceoutside+(S L)=(i)) /\ (((a)=0))))) -> ((((exists pfa_gap_shift_pad_reverse_resultinside. pfa_gap_shift_pad_reverse_resultinside + S (i) = (L)) /\ ((((exists ff_h_pfp_shift_pad_reverse_resultentry. ff_h_pfp_shift_pad_reverse_resultentry + S (a) = S ((S (i)) * c)) /\ exists ff_q_pfp_shift_pad_reverse_resultentry. b = ff_q_pfp_shift_pad_reverse_resultentry * S ((S (i)) * c) + (a)))))) \/ (((exists pfc_gap_shift_pad_reverse_resultoutside. pfc_gap_shift_pad_reverse_resultoutside+(L)=(i)) /\ (((a)=0)))))Constructive proof overview
Generated structural guide
Conversely every zero-extended value of an actual shift is the original zero-extended value; this is not formal polynomial equality.
The unchanged tactic script uses 3 declared prerequisites and contains 39 exact native proof lines.
Alpha v34 checked-use · first admitted v34 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
polynomial_zero_extended_entry_exists Alpha theorem; checked-use authorized polynomial_zero_extended_entry_functional Alpha theorem; checked-use authorized PG0005 polynomial_zero_extended_shift_forwardDirect 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–9
02Establish hxL10–15
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply polynomial zero extended entry exists.
- L10
have hx : exists x. ((((exists pfa_gap_shift_pad_reverse_choseninside. pfa_gap_shift_pad_reverse_choseninside + S (i) = (L)) /\ ((((exists ff_h_pfp_shift_pad_reverse_chosenentry. ff_h_pfp_shift_pad_reverse_chosenentry + S (x) = S ((S (i)) * c)) /\ exists ff_q_pfp_shift_pad_reverse_chosenentry. b = ff_q_pfp_shift_pad_reverse_chosenentry * S ((S (i)) * c) + (x)))))) \/ (((exists pfc_gap_shift_pad_reverse_chosenoutside. pfc_gap_shift_pad_reverse_chosenoutside+(L)=(i)) /\ (((x)=0))))) - L11
specialize polynomial_zero_extended_entry_exists (b) - L12
specialize polynomial_zero_extended_entry_exists (c) - L13
specialize polynomial_zero_extended_entry_exists (L) - L14
specialize polynomial_zero_extended_entry_exists (i) - L15
apply polynomial_zero_extended_entry_exists
03Separate the logical casesL16–16
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L16
cases hx
04Establish heqL17–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply polynomial zero extended entry functional.
- L17
have heq : a=x - L18
specialize polynomial_zero_extended_entry_functional (d) - L19
specialize polynomial_zero_extended_entry_functional (e) - L20
specialize polynomial_zero_extended_entry_functional (S L) - L21
specialize polynomial_zero_extended_entry_functional (i) - L22
specialize polynomial_zero_extended_entry_functional (a) - L23
specialize polynomial_zero_extended_entry_functional (x) - L24
apply polynomial_zero_extended_entry_functional - L25
exact ha - L26
specialize polynomial_zero_extended_shift_forward (b)
05Use earlier factsL27–35
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L27
specialize polynomial_zero_extended_shift_forward (c) - L28
specialize polynomial_zero_extended_shift_forward (L) - L29
specialize polynomial_zero_extended_shift_forward (d) - L30
specialize polynomial_zero_extended_shift_forward (e) - L31
specialize polynomial_zero_extended_shift_forward (i) - L32
specialize polynomial_zero_extended_shift_forward (x) - L33
apply polynomial_zero_extended_shift_forward - L34
exact hs - L35
exact hx_witness
06Calculate and transport equalitiesL36–38
07Use earlier factsL39–39
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L39
exact hx_witness
Original exact command ledger · 39 lines
- 0001
intro b - 0002
intro c - 0003
intro L - 0004
intro d - 0005
intro e - 0006
intro i - 0007
intro a - 0008
intro hs - 0009
intro ha - 0010
have hx : exists x. ((((exists pfa_gap_shift_pad_reverse_choseninside. pfa_gap_shift_pad_reverse_choseninside + S (i) = (L)) /\ ((((exists ff_h_pfp_shift_pad_reverse_chosenentry. ff_h_pfp_shift_pad_reverse_chosenentry + S (x) = S ((S (i)) * c)) /\ exists ff_q_pfp_shift_pad_reverse_chosenentry. b = ff_q_pfp_shift_pad_reverse_chosenentry * S ((S (i)) * c) + (x)))))) \/ (((exists pfc_gap_shift_pad_reverse_chosenoutside. pfc_gap_shift_pad_reverse_chosenoutside+(L)=(i)) /\ (((x)=0))))) - 0011
specialize polynomial_zero_extended_entry_exists (b) - 0012
specialize polynomial_zero_extended_entry_exists (c) - 0013
specialize polynomial_zero_extended_entry_exists (L) - 0014
specialize polynomial_zero_extended_entry_exists (i) - 0015
apply polynomial_zero_extended_entry_exists - 0016
cases hx - 0017
have heq : a=x - 0018
specialize polynomial_zero_extended_entry_functional (d) - 0019
specialize polynomial_zero_extended_entry_functional (e) - 0020
specialize polynomial_zero_extended_entry_functional (S L) - 0021
specialize polynomial_zero_extended_entry_functional (i) - 0022
specialize polynomial_zero_extended_entry_functional (a) - 0023
specialize polynomial_zero_extended_entry_functional (x) - 0024
apply polynomial_zero_extended_entry_functional - 0025
exact ha - 0026
specialize polynomial_zero_extended_shift_forward (b) - 0027
specialize polynomial_zero_extended_shift_forward (c) - 0028
specialize polynomial_zero_extended_shift_forward (L) - 0029
specialize polynomial_zero_extended_shift_forward (d) - 0030
specialize polynomial_zero_extended_shift_forward (e) - 0031
specialize polynomial_zero_extended_shift_forward (i) - 0032
specialize polynomial_zero_extended_shift_forward (x) - 0033
apply polynomial_zero_extended_shift_forward - 0034
exact hs - 0035
exact hx_witness - 0036
rewrite heq - 0037
rewrite heq - 0038
rewrite heq - 0039
exact hx_witness