Proposition 3
Tag 067R, permanent. Cite it as [Bourbaki, Tag 067R].
Algebra, chapter III, § 11. Cogebras, products of multilinear forms, inner products and duality
Let E be a cogebra over A. In order that, for every unital A-algebra B, the A-algebra be unital, it is necessary and sufficient that there exist a linear form on E rendering commutative the diagrams
where is the coproduct and and the canonical isomorphisms
(II, § 3, no. 4, Proposition 4). The unit of Hom(E, B) is then the linear mapping x (where 1 denotes the unit element of B).
Let be a linear form on E rendering diagram (16) commutative. Let B be a unital A-algebra with unit element 1, the canonical mapping and the element of the A-algebra C = Hom(E, B). For every element , is the composite mapping
Then . It is similarly proved that and hence is unit element of C. Conversely, let the A-module A E be given a unital algebra structure such that for in A and in E. Let B denote the A-algebra thus defined and let C be the A-algebra Hom(E, B). Suppose that C is unital and let be its unit element (where and ). On the other hand let be the element of C. An immediate calculation shows that is the element
of C. The condition implies the commutativity of the second diagram of (16) and it is similarly seen that the condition implies the commutativity of the first diagram of (16).
A linear form on E rendering diagrams (16) commutative is called a counit of the cogebra E. A cogebra admits at most one counit: for it is the unit element of the algebra Hom(E, A). A cogebra with a counit is called counital.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.