LU000S

lucas_positive_digit_has_bounded_complement

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

Every nonzero digit strictly below its prime base has a complementary digit strictly below that base.

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 p k. ~(k = 0) -> (exists lcv_gap_complement_source. lcv_gap_complement_source + S (k) = (p)) -> exists j. ((k + j = p) /\ (exists lcv_gap_complement_result. lcv_gap_complement_result + S (j) = (p)))

Constructive proof overview

Generated structural guide

Every nonzero digit strictly below its prime base has a complementary digit strictly below that base.

The unchanged tactic script uses 3 declared prerequisites and contains 22 exact native proof lines.

dependency-curried kernel-checked theorem body; Alpha enrollment and checked-use authority follow separately sealed release evidence; Stable membership remains unchanged

Historical empty-context replay experiment only; that experiment persisted no certificate and granted no release authority. Current checked use follows separately sealed, independently verified proof bundles; there is no Stable promotion.

Proof neighborhood

Direct dependencies

nonzero_is_succ Stable theorem; checked-use authorized add_comm Stable theorem; checked-use authorized add_succ_left 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

22 script commands · 10 reading checkpoints · 1 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–4

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

  1. L1
    intro p
  2. L2
    intro k
  3. L3
    intro hnonzero
  4. L4
    intro hbound
02Establish hsuccessorL5–8

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

  1. L5
    have hsuccessor : exists a. k = S a
  2. L6
    specialize nonzero_is_succ k
  3. L7
    apply nonzero_is_succ
  4. L8
    exact hnonzero
03Separate the logical casesL9–10

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

  1. L9
    cases hsuccessor
  2. L10
    cases hbound
04Construct an explicit witnessL11–11

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

  1. L11
    exists S x1
05Separate the logical casesL12–12

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

  1. L12
    split
06Calculate and transport equalitiesL13–16

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

  1. L13
    rewrite hsuccessor_witness
  2. L14
    trans x1 + S (S x)
  3. L15
    simp [add_comm, add_succ_left]
  4. L16
    rewrite hsuccessor_witness at hbound_witness
07Use earlier factsL17–17

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

  1. L17
    exact hbound_witness
08Construct an explicit witnessL18–18

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

  1. L18
    exists x
09Calculate and transport equalitiesL19–21

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

  1. L19
    trans x1 + S (S x)
  2. L20
    simp [add_comm, add_succ_left]
  3. L21
    rewrite hsuccessor_witness at hbound_witness
10Use earlier factsL22–22

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

  1. L22
    exact hbound_witness

Library-wide reading audit

Original exact command ledger · 22 lines
  1. 0001intro p
  2. 0002intro k
  3. 0003intro hnonzero
  4. 0004intro hbound
  5. 0005have hsuccessor : exists a. k = S a
  6. 0006specialize nonzero_is_succ k
  7. 0007apply nonzero_is_succ
  8. 0008exact hnonzero
  9. 0009cases hsuccessor
  10. 0010cases hbound
  11. 0011exists S x1
  12. 0012split
  13. 0013rewrite hsuccessor_witness
  14. 0014trans x1 + S (S x)
  15. 0015simp [add_comm, add_succ_left]
  16. 0016rewrite hsuccessor_witness at hbound_witness
  17. 0017exact hbound_witness
  18. 0018exists x
  19. 0019trans x1 + S (S x)
  20. 0020simp [add_comm, add_succ_left]
  21. 0021rewrite hsuccessor_witness at hbound_witness
  22. 0022exact hbound_witness