Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A left unit composable with a right unit equals it

Proved
BalancedAlgebra.leftUnit_eq_rightUnit

by LG · Sep 14, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebracategory-theoryidealspartial-algebra

Call uuu a left unit when u⋅a=au\cdot a=au⋅a=a for every aaa with u⋅au\cdot au⋅a defined, and vvv a right unit when a⋅v=aa\cdot v=aa⋅v=a for every aaa with a⋅va\cdot va⋅v defined.

u a left unit, v a right unit, u⋅v defined ⟹ u=v.u \text{ a left unit},\ v \text{ a right unit},\ u\cdot v \text{ defined}\ \Longrightarrow\ u=v.u a left unit, v a right unit, u⋅v defined ⟹ u=v.

This is the manuscript's "key fact about units", and it is what later forces the left and right unit structures of a quivered algebra to coincide. No balance or associativity hypothesis is needed: the product u⋅vu\cdot vu⋅v equals vvv because uuu is a left unit and equals uuu because vvv is a right unit.

Preamble
import Definitions.Def_BalancedAlgebra_core
Formal statement
namespace BalancedAlgebra

open PartialAlgebra

theorem leftUnit_eq_rightUnit {A : Type*} (P : PartialAlgebra A) (u v : A)
    (hu : P.IsLeftUnit u) (hv : P.IsRightUnit v) (huv : P.IsDefined u v) : u = v := by sorry

end BalancedAlgebra
Source
Andrew Winkler, *Ideals in Balanced Algebras and the Genesis of Mathematics*, manuscript dated 20 March 2020, §1 (p. 3): "A key fact about units is that if u is a left unit and v is a right unit, then if uv is defined, then u = v."
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the proposal owner. It was not produced blind by an independent auditor, so it cannot be used as independent evidence that the formalization is faithful; a reviewer comparing it against the source should keep in mind that both texts come from the same author.

Fix a type AAA and a partial algebra PPP on AAA, and let u,v∈Au,v\in Au,v∈A. Three hypotheses are assumed.

  1. uuu is a left unit: for all aaa and ccc, if u⋅au\cdot au⋅a is defined with value ccc, then c=ac=ac=a.
  2. vvv is a right unit: for all aaa and ccc, if a⋅va\cdot va⋅v is defined with value ccc, then c=ac=ac=a.
  3. The product u⋅vu\cdot vu⋅v is defined, i.e. there exists some ccc with u⋅v=cu\cdot v=cu⋅v=c.

The conclusion is the equality u=vu=vu=v in AAA.

Note that hypotheses 1 and 2 are conditional statements about products that happen to be defined; an element admitting no defined products at all satisfies both. Hypothesis 3 is what makes the conclusion non-vacuous. Nothing is assumed about the rest of the algebra.

Human review
  • Endorsed by Shuze Chen · Sep 14, 2026

  • Endorsed by LG · Sep 14, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me