Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§II p.5: orbit-completed monomial encodings

Open
QAlgorithms.Papers.Independent.Extend50.P01.monomial_embedding

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

prove2quantum

Let KKK be a subgroup of the permutations of ddd features, and let AAA be a squarefree support, that is, a subset of the feature indices. Let O={σA:σ∈K}\mathcal O=\{\sigma A:\sigma\in K\}O={σA:σ∈K} contain each distinct support once. Define

EA(x)=exp⁡ ⁣[−i2∑B∈O(∏i∈Bxi)(∏i∈BZi)].E_A(x)=\exp\!\left[-\frac i2\sum_{B\in\mathcal O}\left(\prod_{i\in B}x_i\right)\left(\prod_{i\in B}Z_i\right)\right].EA​(x)=exp[−2i​B∈O∑​(i∈B∏​xi​)(i∈B∏​Zi​)].

For every σ∈K\sigma\in Kσ∈K, EA(σx)=UσEA(x)Uσ†E_A(\sigma x)=U_\sigma E_A(x)U_\sigma^\daggerEA​(σx)=Uσ​EA​(x)Uσ†​, with UσU_\sigmaUσ​ the wire permutation. If the subgroup is generated by a translation ttt with td=1t^d=1td=1, d>0d>0d>0, and AAA has two sites, then ∣O∣≤d|\mathcal O|\le d∣O∣≤d. This counts orbit terms, without asserting a gate complexity.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P01
Formal statement
noncomputable section

open scoped Matrix Kronecker ComplexConjugate Matrix.Norms.L2Operator Manifold ContDiff

open MeasureTheory

namespace QAlgorithms.Papers.Independent.Extend50.P01

attribute [local instance] Classical.propDecidable Classical.decEq

-- PDF pp.3,8: reuse the accepted operator type, exp(-itH), and A X A†.
-- Notation specializes the imported interfaces without introducing duplicate declarations.

local notation "Op" => (fun n : ℕ => QAlgorithms.Papers.Independent.Information100.P21.Op (Qubits n))

local notation "evolve" => QAlgorithms.Papers.Independent.Information100.P32.evolution

local notation "conjugate" => QAlgorithms.conjSuperop

-- PDF pp.3,10–11: the imported quadratic form is Re(psi† A psi).

local notation "expectation" => QAlgorithms.Papers.Independent.Information100.P21.quad

-- PDF pp.5,16–19: accepted active-wire operator, with identities on all spectators.

local notation "onWire" => QAlgorithms.Papers.Independent.Advance50.P49.onWire

-- PDF p.5: the imported phase-free Pauli tensor uses 0=I,1=X,2=Y,3=Z.

local notation "pauliWord" => QAlgorithms.Papers.Independent.Gap48.P33.pauliWord

/-- PDF p.5: matched squarefree monomial orbits; translation of a pair uses at most d terms. -/
theorem monomial_embedding (d : ℕ) (K : Subgroup (Equiv.Perm (Fin d))) (A : Finset (Fin d)) :
    (∀ s ∈ K, ∀ x : Fin d → ℝ,
      monomialEncoding K A (featurePullback s x) = conjugate (wireMatrix s) (monomialEncoding K A x)) ∧
    (∀ t : Equiv.Perm (Fin d), 0 < d → t ^ d = 1 → A.card = 2 →
      (supportOrbit (Subgroup.zpowers t) A).card ≤ d) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P01

end
Source
Exploiting symmetry in variational quantum machine learning, arXiv:2205.06217v1, PDF p. 5, §II p.5: orbit-completed monomial encodings
Read-back

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

For every natural number ddd, subgroup KKK of permutations of {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, and finite subset AAA of that set, define OK(A)={s(A):s∈K}\mathcal O_K(A)=\{s(A):s\in K\}OK​(A)={s(A):s∈K} with duplicates removed, let ZBZ_BZB​ be diagonal on ddd-bit strings with diagonal entry ∏i∈B(−1)bi\prod_{i\in B}(-1)^{b_i}∏i∈B​(−1)bi​, and set

EK,A(x)=exp⁡ ⁣(−i2∑B∈OK(A)(∏i∈Bxi)ZB).E_{K,A}(x)=\exp\!\left(-\frac{\mathrm i}{2} \sum_{B\in\mathcal O_K(A)}\left(\prod_{i\in B}x_i\right)Z_B\right).EK,A​(x)=exp​−2i​B∈OK​(A)∑​(i∈B∏​xi​)ZB​​.

If WsW_sWs​ sends ∣b⟩|b\rangle∣b⟩ to ∣b∘s−1⟩|b\circ s^{-1}\rangle∣b∘s−1⟩, then for every s∈Ks\in Ks∈K and every real vector xxx,

EK,A(x∘s−1)=WsEK,A(x)Ws†.E_{K,A}(x\circ s^{-1})=W_sE_{K,A}(x)W_s^\dagger.EK,A​(x∘s−1)=Ws​EK,A​(x)Ws†​.

In addition, for every permutation ttt, if d>0d>0d>0, td=idt^d=\mathrm{id}td=id, and ∣A∣=2|A|=2∣A∣=2, then ∣{tz(A):z∈Z}∣≤d|\{t^z(A):z\in\mathbb Z\}|\le d∣{tz(A):z∈Z}∣≤d. The condition td=idt^d=\mathrm{id}td=id does not require the order of ttt to equal ddd. Empty AAA and d=0d=0d=0 are included in the first assertion, with empty products equal to 111; the second assertion has unsatisfiable hypotheses when d=0d=0d=0 or d=1d=1d=1.

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

    Confirmed by the moderator at approval.

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