FC0002

crt_gcd_nonzero_left

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

A gcd of a nonzero left input is nonzero, without restricting the right input.

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 a b g. ~(a = 0) -> ((((exists ec_gcd_left_gfull_nonzero. a = g * ec_gcd_left_gfull_nonzero) /\ (exists ec_gcd_right_gfull_nonzero. b = g * ec_gcd_right_gfull_nonzero)) /\ forall ec_gcd_common_gfull_nonzero. (exists ec_gcd_common_left_gfull_nonzero. a = ec_gcd_common_gfull_nonzero * ec_gcd_common_left_gfull_nonzero) -> (exists ec_gcd_common_right_gfull_nonzero. b = ec_gcd_common_gfull_nonzero * ec_gcd_common_right_gfull_nonzero) -> exists ec_gcd_greatest_gfull_nonzero. g = ec_gcd_common_gfull_nonzero * ec_gcd_greatest_gfull_nonzero)) -> ~(g = 0)

Constructive proof overview

Generated structural guide

A gcd of a nonzero left input is nonzero, without restricting the right input.

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

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

Proof neighborhood

Direct dependencies

is_gcd_dvd_left Stable theorem; checked-use authorized factor_nonzero_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

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

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

  1. L1
    intro a
  2. L2
    intro b
  3. L3
    intro g
  4. L4
    intro ha
  5. L5
    intro hg
02Establish hdivL6–11

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

  1. L6
    have hdiv : exists q. a = g * q
  2. L7
    specialize is_gcd_dvd_left g
  3. L8
    specialize is_gcd_dvd_left a
  4. L9
    specialize is_gcd_dvd_left b
  5. L10
    apply is_gcd_dvd_left
  6. L11
    exact hg
03Separate the logical casesL12–12

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

  1. L12
    cases hdiv
04Fix variables and assumptionsL13–13

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

  1. L13
    intro hz
05Use earlier factsL14–20

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

  1. L14
    specialize factor_nonzero_left a
  2. L15
    specialize factor_nonzero_left g
  3. L16
    specialize factor_nonzero_left x
  4. L17
    apply factor_nonzero_left
  5. L18
    exact ha
  6. L19
    exact hdiv_witness
  7. L20
    exact hz

Library-wide reading audit

Original exact command ledger · 20 lines
  1. 0001intro a
  2. 0002intro b
  3. 0003intro g
  4. 0004intro ha
  5. 0005intro hg
  6. 0006have hdiv : exists q. a = g * q
  7. 0007specialize is_gcd_dvd_left g
  8. 0008specialize is_gcd_dvd_left a
  9. 0009specialize is_gcd_dvd_left b
  10. 0010apply is_gcd_dvd_left
  11. 0011exact hg
  12. 0012cases hdiv
  13. 0013intro hz
  14. 0014specialize factor_nonzero_left a
  15. 0015specialize factor_nonzero_left g
  16. 0016specialize factor_nonzero_left x
  17. 0017apply factor_nonzero_left
  18. 0018exact ha
  19. 0019exact hdiv_witness
  20. 0020exact hz