Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

In an association the left cancellable elements form a subalgebra

Proved
BalancedAlgebra.leftCancellable_subalgebra

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

algebracategory-theoryidealspartial-algebra

Let AAA be an association and call bbb left cancellable when b⋅x=b⋅yb\cdot x=b\cdot yb⋅x=b⋅y, both defined, forces x=yx=yx=y.

a,b left cancellable, a⋅b defined ⟹ a⋅b left cancellable.a,b \text{ left cancellable},\ a\cdot b \text{ defined}\ \Longrightarrow\ a\cdot b \text{ left cancellable.}a,b left cancellable, a⋅b defined ⟹ a⋅b left cancellable.

Equivalently, the complement of the set of left cancellable elements — the elements the manuscript collects into the left ideal of non-left-cancellable elements — has a subalgebra as its complement, which is exactly the primality of that ideal. The argument is the displayed computation of §4: from (ab)x=(ab)y(ab)x=(ab)y(ab)x=(ab)y one passes to a(bx)=a(by)a(bx)=a(by)a(bx)=a(by) using the association, cancels aaa, and then cancels bbb.

Preamble
import Definitions.Def_BalancedAlgebra_core
Formal statement
namespace BalancedAlgebra

open PartialAlgebra

theorem leftCancellable_subalgebra {A : Type*} (P : PartialAlgebra A) (hP : P.IsAssociation) :
    P.IsSubalgebra {b : A | P.LeftCancellable b} := by sorry

end BalancedAlgebra
Source
Andrew Winkler, *Ideals in Balanced Algebras and the Genesis of Mathematics*, manuscript dated 20 March 2020, §4 (p. 8): "Those elements which are not left cancellable form a left prime ideal. If a is left cancellable, and b is left cancellable, then (ab)x = (ab)y implies a(bx) = a(by) which implies that bx = by which implies x = y."
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. The hypothesis is that PPP is an association: every element xxx is associating, i.e. for all u,vu,vu,v the products (u⋅x)⋅v(u\cdot x)\cdot v(u⋅x)⋅v and u⋅(x⋅v)u\cdot(x\cdot v)u⋅(x⋅v) are defined together and agree when both are defined.

The conclusion is that the set {b∈A:b is left cancellable}\{b\in A: b \text{ is left cancellable}\}{b∈A:b is left cancellable} is a subalgebra: for all a,b,e∈Aa,b,e\in Aa,b,e∈A, if aaa is left cancellable, bbb is left cancellable, and a⋅ba\cdot ba⋅b is defined with value eee, then eee is left cancellable.

"xxx is left cancellable" means: for all p,q,cp,q,cp,q,c, if x⋅px\cdot px⋅p and x⋅qx\cdot qx⋅q are both defined and both have the same value ccc, then p=qp=qp=q.

This is a closure statement about the cancellable elements only; it makes no claim that the non-cancellable elements form an ideal, and it does not assert that any product is defined. An element with no defined products is left cancellable vacuously.

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