Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.
Canonical signed +1 is code 2 and -1 is code 1. The two-case unit graph does not assume an inverse or cancellation law: its actual product characterization and affine existence and uniqueness are proved. These scalar lemmas support the separately checked finite inverse criterion; full G009 remains broader.
Exact theorem in conservative defined notation
∀ u. ((∃ x. SignedMul(u,x,2)) → SignedUnit(u)) ∧ (SignedUnit(u) → ∃ x. SignedMul(u,x,2))
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 21 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay script.
Read the argument
Proof checkpoints
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.
Named ingredients (2)
01Fix variables and assumptionsL1–1
Work with arbitrary variables or the premises of the current implication.
- L1
intro u
02Separate the logical casesL2–2
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L2
split
03Fix variables and assumptionsL3–3
Work with arbitrary variables or the premises of the current implication.
- L3
intro h
04Separate the logical casesL4–4
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L4
cases h
05Establish hcL5–9
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply dirichlet signed unit product classification.
06Separate the logical casesL10–12
07Use earlier factsL13–13
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L13
exact hc_left_left
08Separate the logical casesL14–15
09Use earlier factsL16–16
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L16
exact hc_right_left
10Fix variables and assumptionsL17–17
Work with arbitrary variables or the premises of the current implication.
- L17
intro hu
11Construct an explicit witnessL18–18
Supply the displayed value, then prove that it has the required property.
- L18
exists u
Original defined command ledger · 21 lines
- 0001
intro u - 0002
split - 0003
intro h - 0004
cases h - 0005
have hc : (u=2 /\ x=2) \/ (u=1 /\ x=1) - 0006
specialize dirichlet_signed_unit_product_classification (u) - 0007
specialize dirichlet_signed_unit_product_classification (x) - 0008
apply dirichlet_signed_unit_product_classification - 0009
exact h_witness - 0010
cases hc - 0011
cases hc_left - 0012
left - 0013
exact hc_left_left - 0014
cases hc_right - 0015
right - 0016
exact hc_right_left - 0017
intro hu - 0018
exists u - 0019
specialize dirichlet_signed_unit_self_product (u) - 0020
apply dirichlet_signed_unit_self_product - 0021
exact hu