CG000A

linear_congruence_zero_modulus_zero_coefficient_iff

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

With coefficient and modulus both zero, every natural x is a solution exactly when the target is zero.

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 b x. ((((exists hgcrt_mod_left_lcc_zero_coefficient hgcrt_mod_right_lcc_zero_coefficient. (0 * x) + 0 * hgcrt_mod_left_lcc_zero_coefficient = b + 0 * hgcrt_mod_right_lcc_zero_coefficient) -> (b=0)) /\ (((b=0) -> (exists hgcrt_mod_left_lcc_zero_coefficient hgcrt_mod_right_lcc_zero_coefficient. (0 * x) + 0 * hgcrt_mod_left_lcc_zero_coefficient = b + 0 * hgcrt_mod_right_lcc_zero_coefficient)))))

Constructive proof overview

Generated structural guide

With coefficient and modulus both zero, every natural x is a solution exactly when the target is zero.

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

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

Proof neighborhood

Direct dependencies

mul_zero_left Alpha theorem; checked-use authorized mod_eq_zero_iff_eq 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 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

23 script commands · 13 reading checkpoints · 2 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–2

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

  1. L1
    intro b
  2. L2
    intro x
02Establish h0L3–4

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

  1. L3
    have h0 : 0*x=0
  2. L4
    apply mul_zero_left
03Establish hcL5–8

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq zero iff eq.

  1. L5
    have hc : (((exists hgcrt_mod_left_lcc_zero_coefficient hgcrt_mod_right_lcc_zero_coefficient. (0 * x) + 0 * hgcrt_mod_left_lcc_zero_coefficient = b + 0 * hgcrt_mod_right_lcc_zero_coefficient) -> (0*x=b)) /\ (((0*x=b) -> (exists hgcrt_mod_left_lcc_zero_coefficient hgcrt_mod_right_lcc_zero_coefficient. (0 * x) + 0 * hgcrt_mod_left_lcc_zero_coefficient = b + 0 * hgcrt_mod_right_lcc_zero_coefficient))))
  2. L6
    specialize mod_eq_zero_iff_eq (0*x)
  3. L7
    specialize mod_eq_zero_iff_eq (b)
  4. L8
    apply mod_eq_zero_iff_eq
04Separate the logical casesL9–10

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

  1. L9
    cases hc
  2. L10
    split
05Fix variables and assumptionsL11–11

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

  1. L11
    intro h
06Calculate and transport equalitiesL12–14

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

  1. L12
    symm
  2. L13
    trans 0*x
  3. L14
    symm
07Use earlier factsL15–17

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

  1. L15
    exact h0
  2. L16
    apply hc_left
  3. L17
    exact h
08Fix variables and assumptionsL18–18

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

  1. L18
    intro h
09Use earlier factsL19–19

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

  1. L19
    apply hc_right
10Calculate and transport equalitiesL20–20

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

  1. L20
    trans 0
11Use earlier factsL21–21

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

  1. L21
    exact h0
12Calculate and transport equalitiesL22–22

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

  1. L22
    symm
13Use earlier factsL23–23

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

  1. L23
    exact h

Library-wide reading audit

Original exact command ledger · 23 lines
  1. 0001intro b
  2. 0002intro x
  3. 0003have h0 : 0*x=0
  4. 0004apply mul_zero_left
  5. 0005have hc : (((exists hgcrt_mod_left_lcc_zero_coefficient hgcrt_mod_right_lcc_zero_coefficient. (0 * x) + 0 * hgcrt_mod_left_lcc_zero_coefficient = b + 0 * hgcrt_mod_right_lcc_zero_coefficient) -> (0*x=b)) /\ (((0*x=b) -> (exists hgcrt_mod_left_lcc_zero_coefficient hgcrt_mod_right_lcc_zero_coefficient. (0 * x) + 0 * hgcrt_mod_left_lcc_zero_coefficient = b + 0 * hgcrt_mod_right_lcc_zero_coefficient))))
  6. 0006specialize mod_eq_zero_iff_eq (0*x)
  7. 0007specialize mod_eq_zero_iff_eq (b)
  8. 0008apply mod_eq_zero_iff_eq
  9. 0009cases hc
  10. 0010split
  11. 0011intro h
  12. 0012symm
  13. 0013trans 0*x
  14. 0014symm
  15. 0015exact h0
  16. 0016apply hc_left
  17. 0017exact h
  18. 0018intro h
  19. 0019apply hc_right
  20. 0020trans 0
  21. 0021exact h0
  22. 0022symm
  23. 0023exact h