Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equivalence of arbitrary irreducibles by a constructed direct sum

Open
QAlgorithms.Papers.Independent.Extend50.P23.direct_sum_equivalence

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let σ:G→U(p)\sigma:G\to U(p)σ:G→U(p) and τ:G→U(q)\tau:G\to U(q)τ:G→U(q) be any two continuous irreducible representations of a compact Hausdorff group. Let μ\muμ be its normalized regular Borel Haar measure. Construct the continuous unitary representation ρ=σ⊕τ\rho=\sigma\oplus\tauρ=σ⊕τ on Cp⊕Cq\mathbb C^p\oplus\mathbb C^qCp⊕Cq. Draw a fresh GUE matrix HHH on that direct sum, apply exact Haar averaging, and take the indicated off-diagonal block:

F=[∫G(σ(g)⊕τ(g))H(σ(g)⊕τ(g))† dμ(g)]12.F=\left[\int_G (\sigma(g)\oplus\tau(g))H(\sigma(g)\oplus\tau(g))^\dagger\,d\mu(g)\right]_{12}.F=[∫G​(σ(g)⊕τ(g))H(σ(g)⊕τ(g))†dμ(g)]12​.

Almost surely, F=0F=0F=0 if and only if σ\sigmaσ and τ\tauτ are inequivalent. For every draw with F≠0F\ne0F=0, FFF is invertible, σ(g)=Fτ(g)F−1\sigma(g)=F\tau(g)F^{-1}σ(g)=Fτ(g)F−1 for every g∈Gg\in Gg∈G, and αF\alpha FαF is unitary for some nonzero complex scalar α\alphaα.

Thus the direct sum constructs the common representation required for the equivalence primitive. Equal dimensions are a conclusion of the nonzero case rather than an assumption; no numerical error or runtime guarantee is asserted.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P23
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P23

open MeasureTheory

open scoped ComplexConjugate BigOperators Matrix.Norms.Elementwise

open QAlgorithms.Papers.Independent.Support21.P09 (EquivalentModels)

open QAlgorithms.Papers.Independent.Dependency50.P05 (UnitaryBetween)

/-- PDF p.6, §2.3: apply Proposition 1 to the constructed direct sum of any
two continuous complex unitary irreducibles. The off-diagonal block of a fresh
Haar-projected GUE sample decides equivalence almost surely and, when nonzero,
computes the change of basis up to unitary normalization. Dimensions need not
be assumed equal. This is the exact compact-group primitive, not a guarantee
for the 1000-step numerical Haar approximation. -/
theorem direct_sum_equivalence {G : Type*} [Group G] [TopologicalSpace G]
    [IsTopologicalGroup G] [CompactSpace G] [T2Space G]
    [MeasurableSpace G] [BorelSpace G]
    (mu : Measure G) [Measure.IsHaarMeasure mu] [Measure.Regular mu]
    [IsProbabilityMeasure mu] {p q : ℕ}
    (sigma : G → Matrix (Fin p) (Fin p) ℂ)
    (tau : G → Matrix (Fin q) (Fin q) ℂ)
    (hsigma : IsUnitaryRepresentation sigma) (htau : IsUnitaryRepresentation tau)
    (hisigma : QAlgorithms.Papers.Independent.Support21.P09.Irreducible sigma) (hitau : QAlgorithms.Papers.Independent.Support21.P09.Irreducible tau) :
    IsUnitaryRepresentation (representationDirectSum sigma tau) ∧
    DetectionLaw sigma tau
      (fun x => (representationHaarProjection (representationDirectSum sigma tau) mu (gueMatrix x)).submatrix
        Sum.inl Sum.inr)
      (gaussianCoordinatesLaw (Fin p ⊕ Fin q)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P23

end
Source
RepLAB: a computational/numerical approach to representation theory, arXiv:1911.09154v1, PDF p. 6, §2.3, extension of Proposition 1 to arbitrary irreducibles
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let GGG be a compact Hausdorff topological group with its Borel measurable structure, and let μ\muμ be a regular Haar probability measure. Let p,q≥0p,q\ge0p,q≥0 be natural numbers, and suppose σ:G→Cp×p\sigma:G\to\mathbb C^{p\times p}σ:G→Cp×p and τ:G→Cq×q\tau:G\to\mathbb C^{q\times q}τ:G→Cq×q are continuous, preserve identity and multiplication, and have unitary values. Assume each is irreducible, meaning its coordinate index set is nonempty and its only invariant complex subspaces are zero and the whole space; thus these hypotheses require p,q>0p,q>0p,q>0. On the disjoint union I={0,…,p−1}⊔{0,…,q−1}I=\{0,\ldots,p-1\}\sqcup\{0,\ldots,q-1\}I={0,…,p−1}⊔{0,…,q−1}, set R(g)=diag⁡(σ(g),τ(g))R(g)=\operatorname{diag}(\sigma(g),\tau(g))R(g)=diag(σ(g),τ(g)), with zero cross blocks. The theorem first asserts that RRR also preserves identity and multiplication, has unitary values, and is continuous. For real arrays x:I×I×{false,true}→Rx:I\times I\times\{\mathrm{false},\mathrm{true}\}\to\mathbb Rx:I×I×{false,true}→R, define

H(x)ab=xab,false+ixab,true+xba,false+ixba,true‾2,F(x)ij=(∫GR(g)H(x)R(g)∗ dμ(g))inl⁡(i),inr⁡(j).H(x)_{ab}=\frac{x_{ab,\mathrm{false}}+\mathrm{i}x_{ab,\mathrm{true}} +\overline{x_{ba,\mathrm{false}}+\mathrm{i}x_{ba,\mathrm{true}}}}2, \qquad F(x)_{ij}= \left(\int_G R(g)H(x)R(g)^*\,d\mu(g)\right)_{\operatorname{inl}(i),\operatorname{inr}(j)}.H(x)ab​=2xab,false​+ixab,true​+xba,false​+ixba,true​​​,F(x)ij​=(∫G​R(g)H(x)R(g)∗dμ(g))inl(i),inr(j)​.

Equip these arrays with the product measure of independent real Gaussians of mean 000 and variance 111. Call σ,τ\sigma,\tauσ,τ equivalent if there exist A∈Cp×qA\in\mathbb C^{p\times q}A∈Cp×q, C∈Cq×pC\in\mathbb C^{q\times p}C∈Cq×p satisfying AC=IpAC=I_pAC=Ip​, CA=IqCA=I_qCA=Iq​, and σ(g)A=Aτ(g)\sigma(g)A=A\tau(g)σ(g)A=Aτ(g) for every ggg. The remaining conclusion says that almost surely F(x)=0F(x)=0F(x)=0 if and only if the families are not equivalent; and, for every array xxx with F(x)≠0F(x)\ne0F(x)=0, the families are equivalent, some B∈Cq×pB\in\mathbb C^{q\times p}B∈Cq×p satisfies F(x)B=IpF(x)B=I_pF(x)B=Ip​, BF(x)=IqBF(x)=I_qBF(x)=Iq​, and σ(g)=F(x)τ(g)B\sigma(g)=F(x)\tau(g)Bσ(g)=F(x)τ(g)B for every ggg, and some nonzero complex scalar α\alphaα satisfies (αF(x))∗(αF(x))=Iq(\alpha F(x))^*(\alpha F(x))=I_q(αF(x))∗(αF(x))=Iq​ and (αF(x))(αF(x))∗=Ip(\alpha F(x))(\alpha F(x))^*=I_p(αF(x))(αF(x))∗=Ip​. The condition on every nonzero sample includes samples belonging to exceptional null sets.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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