AF0006

factor_permutation_prefix_reflect

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

Actual beta functionality turns a finite forward entry preservation into reverse preservation at every original index.

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 original first-admission records.

Exact expanded first-order arithmetic statement

forall b c d e l i a. (forall pfp_i_reflect pfp_a_reflect. (exists pfp_gap_reflectbound. pfp_gap_reflectbound + S (pfp_i_reflect) = (l)) -> (((exists ff_h_pfp_reflectold. ff_h_pfp_reflectold + S (pfp_a_reflect) = S ((S (pfp_i_reflect)) * c)) /\ exists ff_q_pfp_reflectold. b = ff_q_pfp_reflectold * S ((S (pfp_i_reflect)) * c) + (pfp_a_reflect))) -> (((exists ff_h_pfp_reflectnew. ff_h_pfp_reflectnew + S (pfp_a_reflect) = S ((S (pfp_i_reflect)) * e)) /\ exists ff_q_pfp_reflectnew. d = ff_q_pfp_reflectnew * S ((S (pfp_i_reflect)) * e) + (pfp_a_reflect)))) -> (exists pfp_gap_reflect_index. pfp_gap_reflect_index + S (i) = (l)) -> (((exists ff_h_pfp_reflect_new. ff_h_pfp_reflect_new + S (a) = S ((S (i)) * e)) /\ exists ff_q_pfp_reflect_new. d = ff_q_pfp_reflect_new * S ((S (i)) * e) + (a))) -> (((exists ff_h_pfp_reflect_old. ff_h_pfp_reflect_old + S (a) = S ((S (i)) * c)) /\ exists ff_q_pfp_reflect_old. b = ff_q_pfp_reflect_old * S ((S (i)) * c) + (a)))

Constructive proof overview

Generated structural guide

Actual beta functionality turns a finite forward entry preservation into reverse preservation at every original index.

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

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

Proof neighborhood

Direct dependencies

beta_at_exists Stable theorem; checked-use authorized beta_at_unique 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

34 script commands · 7 reading checkpoints · 3 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–10

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

  1. L1
    intro b
  2. L2
    intro c
  3. L3
    intro d
  4. L4
    intro e
  5. L5
    intro l
  6. L6
    intro i
  7. L7
    intro a
  8. L8
    intro hp
  9. L9
    intro hi
  10. L10
    intro hnew
02Establish holdL11–15

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at exists.

  1. L11
    have hold : exists z. (((exists ff_h_pfp_reflect_witness. ff_h_pfp_reflect_witness + S (z) = S ((S (i)) * c)) /\ exists ff_q_pfp_reflect_witness. b = ff_q_pfp_reflect_witness * S ((S (i)) * c) + (z)))
  2. L12
    specialize beta_at_exists (b)
  3. L13
    specialize beta_at_exists (c)
  4. L14
    specialize beta_at_exists (i)
  5. L15
    apply beta_at_exists
03Separate the logical casesL16–16

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

  1. L16
    cases hold
04Establish hmovedL17–22

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hp.

  1. L17
    have hmoved : ((exists ff_h_pfp_reflect_moved. ff_h_pfp_reflect_moved + S (x) = S ((S (i)) * e)) /\ exists ff_q_pfp_reflect_moved. d = ff_q_pfp_reflect_moved * S ((S (i)) * e) + (x))
  2. L18
    specialize hp (i)
  3. L19
    specialize hp (x)
  4. L20
    apply hp
  5. L21
    exact hi
  6. L22
    exact hold_witness
05Establish heqL23–32

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at unique.

  1. L23
    have heq : a = x
  2. L24
    specialize beta_at_unique (d)
  3. L25
    specialize beta_at_unique (e)
  4. L26
    specialize beta_at_unique (i)
  5. L27
    specialize beta_at_unique (a)
  6. L28
    specialize beta_at_unique (x)
  7. L29
    apply beta_at_unique
  8. L30
    exact hnew
  9. L31
    exact hmoved
  10. L32
    rewrite heq
06Calculate and transport equalitiesL33–33

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L33
    rewrite heq
07Use earlier factsL34–34

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

  1. L34
    exact hold_witness

Library-wide reading audit

Original exact command ledger · 34 lines
  1. 0001intro b
  2. 0002intro c
  3. 0003intro d
  4. 0004intro e
  5. 0005intro l
  6. 0006intro i
  7. 0007intro a
  8. 0008intro hp
  9. 0009intro hi
  10. 0010intro hnew
  11. 0011have hold : exists z. (((exists ff_h_pfp_reflect_witness. ff_h_pfp_reflect_witness + S (z) = S ((S (i)) * c)) /\ exists ff_q_pfp_reflect_witness. b = ff_q_pfp_reflect_witness * S ((S (i)) * c) + (z)))
  12. 0012specialize beta_at_exists (b)
  13. 0013specialize beta_at_exists (c)
  14. 0014specialize beta_at_exists (i)
  15. 0015apply beta_at_exists
  16. 0016cases hold
  17. 0017have hmoved : ((exists ff_h_pfp_reflect_moved. ff_h_pfp_reflect_moved + S (x) = S ((S (i)) * e)) /\ exists ff_q_pfp_reflect_moved. d = ff_q_pfp_reflect_moved * S ((S (i)) * e) + (x))
  18. 0018specialize hp (i)
  19. 0019specialize hp (x)
  20. 0020apply hp
  21. 0021exact hi
  22. 0022exact hold_witness
  23. 0023have heq : a = x
  24. 0024specialize beta_at_unique (d)
  25. 0025specialize beta_at_unique (e)
  26. 0026specialize beta_at_unique (i)
  27. 0027specialize beta_at_unique (a)
  28. 0028specialize beta_at_unique (x)
  29. 0029apply beta_at_unique
  30. 0030exact hnew
  31. 0031exact hmoved
  32. 0032rewrite heq
  33. 0033rewrite heq
  34. 0034exact hold_witness