Documentation

Complexity.Computability.Circuit.Rational.QuantumSeries

Hahn series with coefficients on monomial lines #

Given units B g of a K-algebra R, indexed by an ordered group Γ and multiplying like monomials up to scalars, the Hahn series over R whose g-th coefficient lies on the line K ∙ B g form a subring. Every nonzero element of this subring has a unit leading coefficient, and a noncommutative geometric series argument inverts it inside the subring, so the subring is a division ring. No commutativity of R is assumed; HahnGeometric adapts Mathlib's HahnSeries.SummableFamily.powers, which requires a commutative coefficient ring.

Main definitions #

Main results #

References #

def Cslib.Circuits.Rational.QuantumSeries.line {Γ : Type u_1} {K : Type u_2} {R : Type u_3} [Field K] [Ring R] [Algebra K R] (B : Γ → Rˣ) (g : Γ) :

Each exponent has the one-dimensional coefficient line of its ordered quantum monomial. Lexicographic leading terms do not require a domain matrix coefficient ring.

Instances For
    def Cslib.Circuits.Rational.QuantumSeries.coefficientRing {Γ : Type u_1} {K : Type u_2} {R : Type u_3} [AddCommGroup Γ] [LinearOrder Γ] [IsOrderedAddMonoid Γ] [Field K] [Ring R] [Algebra K R] (B : Γ → Rˣ) (h0 : B 0 = 1) (hB : ∀ (g h : Γ), ∃ (c : K), ↑(B g) * ↑(B h) = c • ↑(B (g + h))) :

    The Hahn-series subring with each coefficient on its prescribed monomial line.

    Instances For

      Geometric series of Hahn series over a noncommutative ring #

      This section adapts Mathlib's HahnSeries.SummableFamily.powers and its lemmas (Mathlib/RingTheory/HahnSeries/Summable.lean, by Aaron Anderson), whose coefficient ring must be commutative, to an arbitrary ring of coefficients.

      theorem Cslib.Circuits.Rational.HahnGeometric.power_finite_co_support {Γ : Type u_1} {R : Type u_2} [AddCommGroup Γ] [LinearOrder Γ] [IsOrderedAddMonoid Γ] [Ring R] {x : HahnSeries Γ R} (hx : 0 < x.orderTop) (g : Γ) :
      {a : ℕ | ((fun (n : ℕ) => x ^ n) a).coeff g ≠ 0}.Finite

      The summable family of powers of a Hahn series x. If x does not have positive orderTop, this returns the junk value obtained by pretending x = 0.

      Instances For

        When 0 < x.orderTop, the n-th term of geometricPowers x is x ^ n.

        @[simp]

        When 0 < x.orderTop, geometricPowers x coerces to the power function x ^ ·.

        When 0 < x.orderTop, (1 - x) * (geometricPowers x).hsum = 1.

        theorem Cslib.Circuits.Rational.HahnGeometric.normalized_pos {Γ : Type u_1} {R : Type u_2} [AddCommGroup Γ] [LinearOrder Γ] [IsOrderedAddMonoid Γ] [Ring R] (x : HahnSeries Γ R) (u : Rˣ) (hu : x.leadingCoeff = ↑u) :

        A unit leading coefficient permits the usual normalization, without any commutativity assumption on the coefficient ring.

        A Hahn series x with unit leading coefficient u has a right inverse given by a geometric series.

        theorem Cslib.Circuits.Rational.QuantumSeries.single_mem {Γ : Type u_1} {K : Type u_2} {R : Type u_3} [AddCommGroup Γ] [LinearOrder Γ] [IsOrderedAddMonoid Γ] [Field K] [Ring R] [Algebra K R] (B : Γ → Rˣ) (h0 : B 0 = 1) (hB : ∀ (g h : Γ), ∃ (c : K), ↑(B g) * ↑(B h) = c • ↑(B (g + h))) {g : Γ} {r : R} (hr : r ∈ line B g) :

        A single-term Hahn series with coefficient in line B g belongs to coefficientRing B h0 hB.

        theorem Cslib.Circuits.Rational.QuantumSeries.hsum_mem {Γ : Type u_1} {K : Type u_2} {R : Type u_3} [AddCommGroup Γ] [LinearOrder Γ] [IsOrderedAddMonoid Γ] [Field K] [Ring R] [Algebra K R] (B : Γ → Rˣ) (h0 : B 0 = 1) (hB : ∀ (g h : Γ), ∃ (c : K), ↑(B g) * ↑(B h) = c • ↑(B (g + h))) {α : Type u_4} (x : HahnSeries.SummableFamily Γ R α) (hx : ∀ (i : α), x i ∈ coefficientRing B h0 hB) :

        The sum of a summable family in coefficientRing B h0 hB belongs to coefficientRing B h0 hB.

        theorem Cslib.Circuits.Rational.QuantumSeries.inverse_candidate_mem {Γ : Type u_1} {K : Type u_2} {R : Type u_3} [AddCommGroup Γ] [LinearOrder Γ] [IsOrderedAddMonoid Γ] [Field K] [Ring R] [Algebra K R] [Nontrivial R] (B : Γ → Rˣ) (h0 : B 0 = 1) (hB : ∀ (g h : Γ), ∃ (c : K), ↑(B g) * ↑(B h) = c • ↑(B (g + h))) (x : HahnSeries Γ R) (hx : x ∈ coefficientRing B h0 hB) (u : Rˣ) (hu : x.leadingCoeff = ↑u) :

        The geometric-series right inverse of a series in coefficientRing B h0 hB with unit leading coefficient belongs to coefficientRing B h0 hB.

        theorem Cslib.Circuits.Rational.QuantumSeries.coefficientRing_isUnit_or_eq_zero {Γ : Type u_1} {K : Type u_2} {R : Type u_3} [AddCommGroup Γ] [LinearOrder Γ] [IsOrderedAddMonoid Γ] [Field K] [Ring R] [Algebra K R] [Nontrivial R] (B : Γ → Rˣ) (h0 : B 0 = 1) (hB : ∀ (g h : Γ), ∃ (c : K), ↑(B g) * ↑(B h) = c • ↑(B (g + h))) (x : ↥(coefficientRing B h0 hB)) :
        IsUnit x ∨ x = 0

        Every element of coefficientRing B h0 hB is either a unit or zero.

        @[reducible, inline]
        noncomputable abbrev Cslib.Circuits.Rational.QuantumSeries.divisionRing {Γ : Type u_1} {K : Type u_2} {R : Type u_3} [AddCommGroup Γ] [LinearOrder Γ] [IsOrderedAddMonoid Γ] [Field K] [Ring R] [Algebra K R] [Nontrivial R] (B : Γ → Rˣ) (h0 : B 0 = 1) (hB : ∀ (g h : Γ), ∃ (c : K), ↑(B g) * ↑(B h) = c • ↑(B (g + h))) :

        An actual division ring containing all ordered quantum-monomial series; no finite-dimensional-domain or external division-algebra theorem is assumed.

        Instances For