LU0009

lucas_base_p_zero_digit_iff_divides

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

The canonical least-significant base-p digit is zero exactly when its value is divisible by p.

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

Constructive proof overview

Generated structural guide

The canonical least-significant base-p digit is zero exactly when its value is divisible by p.

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

zero_remainder_implies_multiple Stable theorem; checked-use authorized eq_decidable Stable theorem; checked-use authorized nonzero_remainder_not_multiple Alpha 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

29 script commands · 11 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–5

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 hdigit
02Separate the logical casesL6–7

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

  1. L6
    cases hdigit
  2. L7
    split
03Fix variables and assumptionsL8–8

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

  1. L8
    intro hzero
04Calculate and transport equalitiesL9–9

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

  1. L9
    rewrite hzero at hdigit_left
05Use earlier factsL10–14

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

  1. L10
    specialize zero_remainder_implies_multiple p
  2. L11
    specialize zero_remainder_implies_multiple n
  3. L12
    specialize zero_remainder_implies_multiple q
  4. L13
    apply zero_remainder_implies_multiple
  5. L14
    exact hdigit_left
06Fix variables and assumptionsL15–15

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

  1. L15
    intro hdivides
07Use earlier factsL16–17

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

  1. L16
    specialize eq_decidable d
  2. L17
    specialize eq_decidable 0
08Separate the logical casesL18–18

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

  1. L18
    cases eq_decidable
09Use earlier factsL19–19

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

  1. L19
    exact eq_decidable_left
10Separate the logical casesL20–20

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

  1. L20
    exfalso
11Use earlier factsL21–29

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

  1. L21
    specialize nonzero_remainder_not_multiple p
  2. L22
    specialize nonzero_remainder_not_multiple n
  3. L23
    specialize nonzero_remainder_not_multiple q
  4. L24
    specialize nonzero_remainder_not_multiple d
  5. L25
    apply nonzero_remainder_not_multiple
  6. L26
    exact hdigit_left
  7. L27
    exact eq_decidable_right
  8. L28
    exact hdigit_right
  9. L29
    exact hdivides

Library-wide reading audit

Original exact command ledger · 29 lines
  1. 0001intro p
  2. 0002intro n
  3. 0003intro q
  4. 0004intro d
  5. 0005intro hdigit
  6. 0006cases hdigit
  7. 0007split
  8. 0008intro hzero
  9. 0009rewrite hzero at hdigit_left
  10. 0010specialize zero_remainder_implies_multiple p
  11. 0011specialize zero_remainder_implies_multiple n
  12. 0012specialize zero_remainder_implies_multiple q
  13. 0013apply zero_remainder_implies_multiple
  14. 0014exact hdigit_left
  15. 0015intro hdivides
  16. 0016specialize eq_decidable d
  17. 0017specialize eq_decidable 0
  18. 0018cases eq_decidable
  19. 0019exact eq_decidable_left
  20. 0020exfalso
  21. 0021specialize nonzero_remainder_not_multiple p
  22. 0022specialize nonzero_remainder_not_multiple n
  23. 0023specialize nonzero_remainder_not_multiple q
  24. 0024specialize nonzero_remainder_not_multiple d
  25. 0025apply nonzero_remainder_not_multiple
  26. 0026exact hdigit_left
  27. 0027exact eq_decidable_right
  28. 0028exact hdigit_right
  29. 0029exact hdivides