LU0008

lucas_base_p_digit_of_small_value

Dependency-curried candidate body; not Alpha-enrolled; no checked-use authority

A value strictly below its base has quotient zero and itself as its unique canonical digit.

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 n q d. (exists ldc_lt_small_value. ldc_lt_small_value + S (n) = p) -> (((n) = (p) * (q) + (d)) /\ (exists ldc_lt_native_bound. ldc_lt_native_bound + S (d) = p)) -> ((q = 0) /\ (d = n))

Constructive proof overview

Generated structural guide

A value strictly below its base has quotient zero and itself as its unique canonical digit.

The unchanged tactic script uses 2 declared prerequisites and contains 18 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

Proof neighborhood

Direct dependencies

division_remainder_unique Stable theorem; checked-use authorized zero_add Stable theorem; checked-use authorized

Direct dependents

none

Formal native tactic body

Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This dependency-curried candidate body does not grant checked theorem use or Stable membership.

Read the argument

Proof checkpoints

18 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.

01Fix variables and assumptionsL1–6

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

  1. L1
    intro p
  2. L2
    intro n
  3. L3
    intro q
  4. L4
    intro d
  5. L5
    intro hsmall
  6. L6
    intro hdigit
02Separate the logical casesL7–7

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

  1. L7
    cases hdigit
03Use earlier factsL8–16

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

  1. L8
    specialize division_remainder_unique p
  2. L9
    specialize division_remainder_unique n
  3. L10
    specialize division_remainder_unique q
  4. L11
    specialize division_remainder_unique d
  5. L12
    specialize division_remainder_unique 0
  6. L13
    specialize division_remainder_unique n
  7. L14
    apply division_remainder_unique
  8. L15
    exact hdigit_left
  9. L16
    exact hdigit_right
04Calculate and transport equalitiesL17–17

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

  1. L17
    simp [zero_add]
05Use earlier factsL18–18

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

  1. L18
    exact hsmall

Library-wide reading audit

Original exact command ledger · 18 lines
  1. 0001intro p
  2. 0002intro n
  3. 0003intro q
  4. 0004intro d
  5. 0005intro hsmall
  6. 0006intro hdigit
  7. 0007cases hdigit
  8. 0008specialize division_remainder_unique p
  9. 0009specialize division_remainder_unique n
  10. 0010specialize division_remainder_unique q
  11. 0011specialize division_remainder_unique d
  12. 0012specialize division_remainder_unique 0
  13. 0013specialize division_remainder_unique n
  14. 0014apply division_remainder_unique
  15. 0015exact hdigit_left
  16. 0016exact hdigit_right
  17. 0017simp [zero_add]
  18. 0018exact hsmall