Trace, conjugation, and the conic calculus #
The trace and the conjugation of a conic algebra (GPR 16.1–16.6), and the identities they
satisfy. Everything here is derived from the two axioms of ConicAlgebra; no regularity, no
projectivity, and no assumption that 2 is invertible.
Main definitions #
ConicAlgebra.trace:t(x) = n(1, x), the un-halved polar form of the norm at the unit. Notet(1) = 2, not1.ConicAlgebra.conj:x ↦ t(x) • 1 - x, ak-linear involution.ConicAlgebra.traceDefect:t(x)t(y) - n(x, y) - t(xy), the obstruction to conjugation being an anti-homomorphism.
Main results #
ConicAlgebra.conj_conj: conjugation is an involution.ConicAlgebra.add_conj:x + conj x = t(x) • 1.ConicAlgebra.mul_conj_self,ConicAlgebra.conj_mul_self:x (conj x) = (conj x) x = n(x) • 1.ConicAlgebra.trace_conj,ConicAlgebra.norm_conj: trace and norm are conjugation-invariant.ConicAlgebra.mul_add_mul: the linearized degree-two identityxy + yx = t(x) • y + t(y) • x - n(x, y) • 1.ConicAlgebra.conj_mul_conj:(conj y) (conj x) = conj (xy) + traceDefect x y • 1, the sharp unconditional statement of how far conjugation is from being an anti-homomorphism.ConicAlgebra.traceDefect_smul_eq_smul_one: in an alternative conic algebra,traceDefect x y • xis a scalar multiple of1.ConicAlgebra.traceDefect_eq_zero,ConicAlgebra.conj_mul: over a field, conjugation of an alternative conic algebra is an anti-homomorphism,conj (xy) = (conj y) (conj x).
Implementation notes #
Conjugation is not mathlib's star. Star is a typeclass on the type A, but the conjugation
of a conic algebra is a function of the norm, which is data attached to C : ConicAlgebra k A and
need not be unique; two conic structures on the same algebra have different conjugations. So conj
is a field-free definition taking C as an argument, and no StarRing instance is (or can be)
declared.
⚠ Alternativity alone does not make conjugation an anti-homomorphism over a ring. The
obstruction traceDefect x y = t(x)t(y) - n(x, y) - t(xy) vanishes identically over a field, but
not over an arbitrary commutative ring, even for associative A. This is not new: GPR 16.10
gives the exact criterion (conjugation is an involution iff the obstruction lies in Ann(A)), the
projectivity hypotheses in GPR 16.14(b) and GPR 17.6 are there for this reason, and GPR says
so explicitly in 17.4 ("one might be tempted to conjecture that conic alternative algebras are
multiplicative. But, according to Exc. 17.8 below, this is not so"). Counterexample: let k = ℤ/4,
let M = (ℤ/2)² as a k-module with basis m₁, m₂, let β : M × M → k be the k-bilinear form
with β(m₁, m₂) = 2 and β = 0 on the other three pairs of basis vectors, and put
A = k·1 ⊕ M with
(a·1 + m)(b·1 + p) = (ab + β(m, p))·1 + (a p + b m).
Then A is associative — associativity of the M-component asks β(m, p) q = β(p, q) m, and both
sides lie in 2 · M = 0 — and n(a·1 + m) = a² - β(m, m) with t(a·1 + m) = 2a makes it a conic
algebra. But traceDefect m₁ m₂ = β(m₂, m₁) - β(m₁, m₂) = -2 ≠ 0, so
conj (m₁ m₂) = 2·1 ≠ 0 = conj m₂ · conj m₁. Here A is finitely generated but not projective;
projectivity of A (which every composition algebra has) is the hypothesis that rules such examples
out in general, via a localization argument — GPR 16.14(b). It is a small variant of
GPR Exc. 17.8, due to McCrimmon; see Conic/TraceDefectCounterexample.lean.
References #
- [GPR] Garibaldi, Petersson, Racine, Albert Algebras over Commutative Rings, 16.1–16.6 (the conic calculus), 16.10 and 16.14 (when conjugation is an involution), 17.6 and Exc. 17.8 (the role of projectivity, and McCrimmon's counterexample without it).
Norm identities #
The trace #
The trace of a conic algebra: t(x) = n(1, x), the un-halved polar form of the norm,
evaluated at the unit (GPR 16.2).
⚠ t(1) = 2, not 1: this is QuadraticMap.polar, not QuadraticMap.associated.
Equations
- C.trace = (QuadraticMap.polarBilin C.norm) 1
Instances For
The linearized degree-two identity: xy + yx = t(x) • y + t(y) • x - n(x, y) • 1.
This is the workhorse of the conic calculus, and holds in every conic algebra — no alternativity,
no regularity. It is obtained from the degree-two identity at x + y by subtracting the identities
at x and at y; only additivity is used, so it is valid in characteristic 2.
Conjugation #
The conjugation of a conic algebra: conj x = t(x) • 1 - x (GPR 16.2), as a k-linear
map.
It is not mathlib's star: the conjugation depends on the norm, which is data, so it cannot be a
typeclass on A.
Equations
- C.conj = LinearMap.toSpanSingleton k A 1 ∘ₗ C.trace - LinearMap.id
Instances For
Conjugation is an involution (GPR 16.2).
x (conj x) = n(x) • 1 (GPR 16.2).
(conj x) x = n(x) • 1 (GPR 16.2).
The base ring #
ConicAlgebra.baseRing k is k with norm x ↦ x². Its trace is doubling and its conjugation is
the identity — the degenerate case that starts the Cayley–Dickson tower, and the reason the
first double is commutative (ConicAlgebra.mul_comm_cay).
The obstruction to anti-multiplicativity of the conjugation #
The trace defect t(x)t(y) - n(x, y) - t(xy): the obstruction to conjugation being an
anti-homomorphism, by ConicAlgebra.conj_mul_conj.
This name is ours, not GPR's, but the quantity is: traceDefect x y = n(x, conj y) - t(xy), the
negative of the obstruction t(x, y) - n(x, conj y) appearing in GPR 16.5(11) and GPR 16.10
(where t(x, y) denotes the bilinear trace t(xy), and n(x, conj y) = t(x)t(y) - n(x, y) by
GPR 16.5(10)). Equivalently it is the difference of the two sides of the identity
t(xy) = t(x)t(y) - n(x, y), which holds in every composition algebra but not in every conic
algebra. See the ⚠ in the module docstring for an associative conic algebra over ℤ/4 with nonzero
trace defect.
Equations
Instances For
How far conjugation is from being an anti-homomorphism, exactly, in any conic algebra
(GPR 16.5(11)): (conj y) (conj x) = conj (xy) + traceDefect x y • 1.
Conjugation is an anti-homomorphism exactly where the trace defect vanishes. Globally,
GPR 16.10(a): conjugation is an involution iff traceDefect x y ∈ Ann(A) for all x, y, which
for the faithful A we care about means it vanishes.
The conjugation of C is an involution (GPR 16.9 ff.): an anti-automorphism of A.
Only anti-multiplicativity is asked for, because the rest is automatic: conj is k-linear by
construction, fixes 1 (ConicAlgebra.conj_one) and squares to the identity
(ConicAlgebra.conj_conj), all with no hypotheses. By ConicAlgebra.conj_mul_conj this condition
says exactly that the trace defect lies in Ann(A), which is GPR 16.10(a).
It holds for alternative C over a field (ConicAlgebra.conj_mul) and, more generally, whenever
A is finitely generated projective (ConicAlgebra.conjIsInvolution_of_projective), but not in
general — see Conic/TraceDefectCounterexample.lean.
Instances For
The conjugation of the base ring is an involution, trivially: it is the identity
(ConicAlgebra.baseRing_conj_apply), and k is commutative. This is what starts the
Cayley–Dickson tower.
Anti-multiplicativity, as a rewrite rule. ConicAlgebra.ConjIsInvolution is a def, so it
has to be unfolded before simp can use it.
The trace defect is alternating: traceDefect x y + traceDefect y x = 0. Consequently it
vanishes on the diagonal (traceDefect_self) and is antisymmetric.
Alternative conic algebras #
In an alternative conic algebra the trace defect is still not visibly zero, but it is almost so:
traceDefect x y • x is a scalar multiple of the unit. Over a field that forces it to vanish.
Left alternativity plus the degree-two identity: x(xy) = t(x) • xy - n(x) • y.
Flexibility plus the degree-two identity, expanding x(yx).
The trace defect is almost zero in an alternative conic algebra: traceDefect x y • x is a
scalar multiple of 1.
Over a field this forces traceDefect x y = 0 (traceDefect_eq_zero): if the scalar were nonzero,
x would lie in k · 1, where the defect vanishes anyway. Over a general commutative ring it does
not — see the ⚠ in the module docstring.
Alternative conic algebras over a field #
Over a field, the conjugation of an alternative conic algebra is an anti-homomorphism.
Over a field, the trace defect of an alternative conic algebra vanishes:
t(xy) = t(x)t(y) - n(x, y).
⚠ The field hypothesis is doing real work; see the ⚠ in the module docstring for an associative
conic algebra over ℤ/4 whose trace defect is nonzero.
The trace is "multiplicative up to the norm" over a field: t(xy) = t(x)t(y) - n(x, y).
Conjugation is an algebra anti-homomorphism for an alternative conic algebra over a field:
conj (xy) = conj y * conj x.