Documentation

WeightedNetKAT.OmegaContinuousNonUnitalSemiring

@[simp]
theorem Chain.mk_apply {β : Type u_1} [Preorder β] (f : β) (hf : Monotone f) (a : ) :
{ toFun := f, monotone' := hf } a = f a
@[simp]
theorem OmegaCompletePartialOrder.ωSup_const {α : Type u_1} [OmegaCompletePartialOrder α] (x : α) :
ωSup { toFun := fun (x_1 : ) => x, monotone' := } = x
theorem OmegaCompletePartialOrder.ωSup_ωSup_eq_ωSup {α : Type u_1} [OmegaCompletePartialOrder α] (f : →o →o α) :
ωSup { toFun := fun (i : ) => ωSup { toFun := fun (j : ) => (f i) j, monotone' := }, monotone' := } = ωSup { toFun := fun (i : ) => (f i) i, monotone' := }
theorem OmegaCompletePartialOrder.ωSup_ωSup_eq_ωSup' {α : Type u_1} [OmegaCompletePartialOrder α] (f : α) (hf : Monotone f) (hf' : ∀ (i : ), Monotone (f i)) :
ωSup { toFun := fun (i : ) => ωSup { toFun := fun (j : ) => f i j, monotone' := }, monotone' := } = ωSup { toFun := fun (i : ) => f i i, monotone' := }
class IsPositiveOrderedAddMonoid (𝒮 : Type u_1) [AddCommMonoid 𝒮] [PartialOrder 𝒮] [OrderBot 𝒮] extends IsOrderedAddMonoid 𝒮 :
Instances
    @[simp]
    theorem nonpos_iff_eq_zero' {α : Type u_1} [AddCommMonoid α] [PartialOrder α] [OrderBot α] [IsPositiveOrderedAddMonoid α] {a : α} :
    a 0 a = 0
    @[simp]
    theorem zero_le'' {α : Type u_1} [AddCommMonoid α] [PartialOrder α] [OrderBot α] [IsPositiveOrderedAddMonoid α] (a : α) :
    0 a
    theorem Finset.sum_range_le_sup_of_le {𝒮 : Type u_1} [Semiring 𝒮] [PartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {m n : } {f g : 𝒮} (h : f g) :
    irange n, f i irange (max m n), g i
    Instances
      noncomputable def ωSum {𝒮 : Type u_1} [AddCommMonoid 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {X : Type u_2} [Countable X] (f : X𝒮) :
      𝒮

      Sum over countable X

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Sum over countable X

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          @[simp]
          theorem ωSum_zero {𝒮 : Type u_1} [AddCommMonoid 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {X : Type u_2} [Countable X] :
          ω∑ (x : X), 0 = 0
          @[simp]
          theorem ωSum_eq_zero_iff {𝒮 : Type u_1} [AddCommMonoid 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {X : Type u_2} [Countable X] {f : X𝒮} :
          ω∑ (i : X), f i = 0 ∀ (x : X), f x = 0
          theorem ωSum_mono {𝒮 : Type u_1} [AddCommMonoid 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {X : Type u_2} [Countable X] {f g : X𝒮} (h : f g) :
          ω∑ (n : X), f n ω∑ (n : X), g n
          theorem ωSum_le_of_finset {𝒮 : Type u_1} [AddCommMonoid 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {X : Type u_2} [Countable X] {f : X𝒮} {a : 𝒮} (h : ∀ (S : Finset X), xS, f x a) :
          ω∑ (x : X), f x a
          theorem le_ωSum_of_finset {𝒮 : Type u_1} [AddCommMonoid 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {X : Type u_2} [Countable X] {f : X𝒮} (S : Finset X) :
          xS, f x ω∑ (x : X), f x
          theorem ωSum_finset {𝒮 : Type u_1} [AddCommMonoid 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {I : Type u_3} [DecidableEq I] [Countable I] (S : Finset I) (f : I𝒮) :
          ω∑ (x : S), f x = xS, f x
          theorem ωSum_fintype {𝒮 : Type u_1} [AddCommMonoid 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {I : Type u_3} [DecidableEq I] [Countable I] [Fintype I] (f : I𝒮) :
          ω∑ (x : I), f x = x : I, f x
          @[simp]
          theorem asdsad {𝒮 : Type u_1} [OmegaCompletePartialOrder 𝒮] {X : Type u_2} {c : OmegaCompletePartialOrder.Chain (X𝒮)} {x : X} :
          OmegaCompletePartialOrder.ωSup c x = OmegaCompletePartialOrder.ωSup (c.map { toFun := fun (x_1 : X𝒮) => x_1 x, monotone' := })
          @[simp]
          theorem ωSum_apply {𝒮 : Type u_1} [AddCommMonoid 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {X : Type u_2} [Countable X] {Y : Type u_3} {f : XY𝒮} {y : Y} :
          (ω∑ (x : X), f x) y = ω∑ (x : X), f x y
          theorem ωSum_nat_eq_ωSup {𝒮 : Type u_1} [AddCommMonoid 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {f : 𝒮} :
          ω∑ (x : ), f x = OmegaCompletePartialOrder.ωSup { toFun := fun (n : ) => xFinset.range n, f x, monotone' := }
          theorem ωSum_nat_eq_ωSup_succ {𝒮 : Type u_1} [AddCommMonoid 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {f : 𝒮} :
          ω∑ (x : ), f x = OmegaCompletePartialOrder.ωSup { toFun := fun (n : ) => xFinset.range (n + 1), f x, monotone' := }
          theorem ωSum_ωSup {𝒮 : Type u_1} [NonUnitalSemiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {X : Type u_2} [Countable X] (C : OmegaCompletePartialOrder.Chain (X𝒮)) :
          ω∑ (n : X), OmegaCompletePartialOrder.ωSup C n = OmegaCompletePartialOrder.ωSup { toFun := fun (x : ) => ω∑ (n : X), C x n, monotone' := }
          theorem ωSum_ωSup' {𝒮 : Type u_1} [NonUnitalSemiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {X : Type u_2} [Countable X] (C : XOmegaCompletePartialOrder.Chain 𝒮) :
          ω∑ (n : X), OmegaCompletePartialOrder.ωSup (C n) = OmegaCompletePartialOrder.ωSup { toFun := fun (x : ) => ω∑ (n : X), (C n) x, monotone' := }
          theorem sum_ωSup {𝒮 : Type u_1} [NonUnitalSemiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {X : Type u_2} [DecidableEq X] (S : Finset X) (C : OmegaCompletePartialOrder.Chain (X𝒮)) :
          nS, OmegaCompletePartialOrder.ωSup C n = OmegaCompletePartialOrder.ωSup { toFun := fun (x : ) => nS, C x n, monotone' := }
          theorem sum_ωSup' {𝒮 : Type u_1} [NonUnitalSemiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {X : Type u_2} [DecidableEq X] (S : Finset X) (C : XOmegaCompletePartialOrder.Chain 𝒮) :
          nS, OmegaCompletePartialOrder.ωSup (C n) = OmegaCompletePartialOrder.ωSup { toFun := fun (x : ) => nS, (C n) x, monotone' := }
          theorem ωSum_nat_eq_succ {𝒮 : Type u_1} [NonUnitalSemiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {f : 𝒮} :
          ω∑ (x : ), f x = f 0 + ω∑ (x : ), f (x + 1)
          theorem ωSum_add {𝒮 : Type u_1} [NonUnitalSemiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {X : Type u_2} [Countable X] {f g : X𝒮} :
          ω∑ (x : X), (f x + g x) = ω∑ (x : X), f x + ω∑ (x : X), g x
          theorem ωSum_mul_left {𝒮 : Type u_1} [NonUnitalSemiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {X : Type u_2} [Countable X] {f : X𝒮} {a : 𝒮} :
          ω∑ (x : X), a * f x = a * ω∑ (x : X), f x
          theorem ωSum_mul_right {𝒮 : Type u_1} [NonUnitalSemiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {X : Type u_2} [Countable X] {f : X𝒮} {a : 𝒮} :
          ω∑ (x : X), f x * a = (ω∑ (x : X), f x) * a
          theorem ωSum_sum_comm {𝒮 : Type u_1} [NonUnitalSemiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {X : Type u_2} [Countable X] {Y : Type u_3} (S : Finset Y) {f : XY𝒮} :
          ω∑ (x : X), yS, f x y = yS, ω∑ (x : X), f x y
          theorem ωSum_comm_le {𝒮 : Type u_1} [NonUnitalSemiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {X : Type u_2} [Countable X] {Y : Type u_3} [Countable Y] {f : XY𝒮} :
          ω∑ (x : X) (y : Y), f x y ω∑ (y : Y) (x : X), f x y
          theorem ωSum_comm {𝒮 : Type u_1} [NonUnitalSemiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {X : Type u_2} [Countable X] {Y : Type u_3} [DecidableEq Y] [Countable Y] {f : XY𝒮} :
          ω∑ (x : X) (y : Y), f x y = ω∑ (y : Y) (x : X), f x y
          theorem Function.Injective.ωSum_eq {α : Type u_3} {ι : Type u_4} {γ : Type u_5} [NonUnitalSemiring α] [OmegaCompletePartialOrder α] [OrderBot α] [IsPositiveOrderedAddMonoid α] [Countable ι] [Countable γ] {g : γι} (hg : Injective g) {f : ια} (hf : support f Set.range g) :
          ω∑ (c : γ), f (g c) = ω∑ (b : ι), f b
          theorem ωSum_subtype_eq_of_supp_subset {α : Type u_3} {ι : Type u_4} [NonUnitalSemiring α] [OmegaCompletePartialOrder α] [OrderBot α] [IsPositiveOrderedAddMonoid α] [Countable ι] {f : ια} {s : Set ι} (hs : Function.support f s) :
          ω∑ (x : s), f x = ω∑ (x : ι), f x
          theorem ωSum_substype_supp {α : Type u_3} {ι : Type u_4} [NonUnitalSemiring α] [OmegaCompletePartialOrder α] [OrderBot α] [IsPositiveOrderedAddMonoid α] [Countable ι] (f : ια) :
          ω∑ (x : (Function.support f)), f x = ω∑ (x : ι), f x
          theorem ωSum_eq_ωSum_of_ne_one_bij {α : Type u_3} {ι : Type u_4} {γ : Type u_5} [NonUnitalSemiring α] [OmegaCompletePartialOrder α] [OrderBot α] [IsPositiveOrderedAddMonoid α] [Countable ι] [Countable γ] {f : ια} {g : γα} (i : (Function.support g)ι) (hi : Function.Injective i) (hf : Function.support f Set.range i) (hfg : ∀ (x : (Function.support g)), f (i x) = g x) :
          ω∑ (x : ι), f x = ω∑ (y : γ), g y
          theorem ωSum_eq_single {α : Type u_3} {ι : Type u_4} [NonUnitalSemiring α] [OmegaCompletePartialOrder α] [OrderBot α] [IsPositiveOrderedAddMonoid α] [Countable ι] {f : ια} (x : ι) (hf : ∀ (x' : ι), x' xf x' = 0) :
          ω∑ (x : ι), f x = f x
          theorem ωSum_prod {α : Type u_3} {β : Type u_4} {γ : Type u_5} [NonUnitalSemiring α] [OmegaCompletePartialOrder α] [OrderBot α] [IsPositiveOrderedAddMonoid α] [MulLeftMono α] [MulRightMono α] [OmegaContinuousNonUnitalSemiring α] [Countable β] [Countable γ] {f : β × γα} :
          ω∑ (p : β × γ), f p = ω∑ (b : β) (c : γ), f (b, c)
          theorem ωSum_prod' {α : Type u_3} {β : Type u_4} {γ : Type u_5} [NonUnitalSemiring α] [OmegaCompletePartialOrder α] [OrderBot α] [IsPositiveOrderedAddMonoid α] [MulLeftMono α] [MulRightMono α] [OmegaContinuousNonUnitalSemiring α] [Countable β] [Countable γ] {f : βγα} :
          ω∑ (p : β × γ), f p.1 p.2 = ω∑ (b : β) (c : γ), f b c