A left unit composable with a right unit equals it
ProvedBalancedAlgebra.leftUnit_eq_rightUnitCall a left unit when for every with defined, and a right unit when for every with defined.
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 equals because is a left unit and equals because is a right unit.
import Definitions.Def_BalancedAlgebra_core
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 BalancedAlgebraRead-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 and a partial algebra on , and let . Three hypotheses are assumed.
- is a left unit: for all and , if is defined with value , then .
- is a right unit: for all and , if is defined with value , then .
- The product is defined, i.e. there exists some with .
The conclusion is the equality in .
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.
Confirmed by the mission captain (proposal self-audit).