DI0006

divisor_complement_bounded

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

Divisor complementation stays in the exact inclusive interval 0..n, including its explicitly fixed omitted indices.

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 n d q. ~(n=0) -> (exists pvs_le_gap_bounded_input. pvs_le_gap_bounded_input + (d) = (n)) -> ((((~((d)=0)) /\ ((n)=(d)*(q)))) \/ ((((d)=0 \/ ~(exists pvs_factor_bounded_graphnondivisor. (n) = (d) * pvs_factor_bounded_graphnondivisor)) /\ ((q)=(d))))) -> (exists pvs_le_gap_bounded_result. pvs_le_gap_bounded_result + (q) = (n))

Constructive proof overview

Generated structural guide

Divisor complementation stays in the exact inclusive interval 0..n, including its explicitly fixed omitted indices.

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

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

Proof neighborhood

Direct dependencies

divisor_le_nonzero Stable theorem; checked-use authorized mul_comm 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

19 script commands · 9 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 n
  2. L2
    intro d
  3. L3
    intro q
  4. L4
    intro hn
  5. L5
    intro hd
  6. L6
    intro hq
02Separate the logical casesL7–8

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

  1. L7
    cases hq
  2. L8
    cases hq_left
03Use earlier factsL9–12

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

  1. L9
    specialize divisor_le_nonzero (q)
  2. L10
    specialize divisor_le_nonzero (n)
  3. L11
    apply divisor_le_nonzero
  4. L12
    exact hn
04Construct an explicit witnessL13–13

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

  1. L13
    exists d
05Calculate and transport equalitiesL14–14

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

  1. L14
    trans d*q
06Use earlier factsL15–16

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

  1. L15
    exact hq_left_right
  2. L16
    apply mul_comm
07Separate the logical casesL17–17

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

  1. L17
    cases hq_right
08Calculate and transport equalitiesL18–18

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

  1. L18
    rewrite hq_right_right
09Use earlier factsL19–19

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

  1. L19
    exact hd

Library-wide reading audit

Original exact command ledger · 19 lines
  1. 0001intro n
  2. 0002intro d
  3. 0003intro q
  4. 0004intro hn
  5. 0005intro hd
  6. 0006intro hq
  7. 0007cases hq
  8. 0008cases hq_left
  9. 0009specialize divisor_le_nonzero (q)
  10. 0010specialize divisor_le_nonzero (n)
  11. 0011apply divisor_le_nonzero
  12. 0012exact hn
  13. 0013exists d
  14. 0014trans d*q
  15. 0015exact hq_left_right
  16. 0016apply mul_comm
  17. 0017cases hq_right
  18. 0018rewrite hq_right_right
  19. 0019exact hd