Documentation

WeightedNetKAT.Semantics

theorem List.succ_range_map {α : Type} (f : α) {n : } :
map f (range (n + 1)) = map f (range n) ++ [f n]
@[reducible, inline]
abbrev WeightedNetKAT.η {ι α : Type} [DecidableEq ι] [Zero α] [One α] (i : ι) :
ι →c α
Equations
Instances For
    @[simp]
    theorem WeightedNetKAT.η_apply {ι α : Type} [DecidableEq ι] [Zero α] [One α] {x y : ι} :
    (η x) y = if x = y then 1 else 0
    def WeightedNetKAT.Pred.test {F : Type} [Listed F] {N : Type} (t : Pred[F,N]) (pk : Pk[F,N]) :
    Equations
    Instances For
      def WeightedNetKAT.Pred.sem {𝒮 : Type} [Semiring 𝒮] {F : Type} [DecidableEq F] [Listed F] {N : Type} [DecidableEq N] (p : Pred[F,N]) (h : Pk[F,N] × List Pk[F,N]) :
      Equations
      Instances For
        @[implicit_reducible]
        instance WeightedNetKAT.instSubstPk {F : Type} [DecidableEq F] [Listed F] {N : Type} :
        Subst Pk[F,N] F N
        Equations
        def WeightedNetKAT.Pol.iter {X F N : Type} (p : Pol[F,N,X]) :
        Pol[F,N,X]
        Equations
        Instances For
          @[reducible]
          Equations
          @[simp]
          theorem WeightedNetKAT.Pol.pow_eq_iter {X F N : Type} {p : Pol[F,N,X]} {n : } :
          p ^ n = p.iter n
          @[simp]
          theorem WeightedNetKAT.Pol.iterDepth_iter {X F N : Type} {p : Pol[F,N,X]} {n : } :
          @[simp]
          theorem WeightedNetKAT.Pol.iterDepth_pow {X F N : Type} {p : Pol[F,N,X]} {n : } :
          (p ^ n).iterDepth = if n = 0 then 0 else p.iterDepth
          @[irreducible]
          noncomputable def WeightedNetKAT.Pol.sem {𝒮 : Type} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type} [DecidableEq F] [Listed F] {N : Type} [DecidableEq N] (p : Pol[F,N,𝒮]) :
          Pk[F,N] × List Pk[F,N]Pk[F,N] × List Pk[F,N] →c 𝒮
          Equations
          Instances For
            noncomputable def WeightedNetKAT.Pol.map {𝒮 : Type} [Semiring 𝒮] {F N M : Type} [Semiring M] (p : Pol[F,N,𝒮]) (f : 𝒮 →+* M) :
            Equations
            Instances For
              theorem WeightedNetKAT.map_ωSum {𝒮 : Type} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {M : Type} [Semiring M] [OmegaCompletePartialOrder M] [OrderBot M] [IsPositiveOrderedAddMonoid M] {ι : Type} [Countable ι] (g : 𝒮 →+* M) (hg : OmegaCompletePartialOrder.ωScottContinuous g) (f : ι𝒮) :
              g (ω∑ (i : ι), f i) = ω∑ (i : ι), g (f i)
              theorem WeightedNetKAT.Pol.map_sem {𝒮 : Type} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type} [DecidableEq F] [Listed F] {N : Type} [DecidableEq N] {M : Type} [Semiring M] [OmegaCompletePartialOrder M] [OrderBot M] [IsPositiveOrderedAddMonoid M] (p : Pol[F,N,𝒮]) (f : 𝒮 →+* M) (hf : OmegaCompletePartialOrder.ωScottContinuous f) (h h' : Pk[F,N] × List Pk[F,N]) :
              f ((p.sem h) h') = ((p.map f).sem h) h'
              @[simp]
              theorem WeightedNetKAT.zero_apply {𝒮 : Type} [Semiring 𝒮] {F : Type} [Listed F] {N : Type} {x : Pk[F,N] × List Pk[F,N]} :
              noncomputable def WeightedNetKAT.Φ {𝒮 : Type} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type} [DecidableEq F] [Listed F] {N : Type} [DecidableEq N] (p : Pol[F,N,𝒮]) (d : Pk[F,N] × List Pk[F,N]Pk[F,N] × List Pk[F,N] →c 𝒮) :
              Pk[F,N] × List Pk[F,N]Pk[F,N] × List Pk[F,N] →c 𝒮
              Equations
              Instances For
                @[simp]
                theorem WeightedNetKAT.𝒲.wZero_le {𝒮 : Type} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type} [Listed F] {N : Type} (p : Pk[F,N] × List Pk[F,N] →c 𝒮) :
                0 p
                @[simp]
                theorem WeightedNetKAT.𝒲.Pi_wZero_le {𝒮 : Type} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type} [Listed F] {N X : Type} (p : XPk[F,N] × List Pk[F,N] →c 𝒮) :
                0 p
                Equations
                Instances For
                  def WeightedNetKAT.IsLfp {α : Type} [OmegaCompletePartialOrder α] (f : αα) (p : α) :
                  Equations
                  Instances For
                    theorem WeightedNetKAT.IsLfp_unique {α : Type} [OmegaCompletePartialOrder α] {f : αα} {p₁ p₂ : α} (h₁ : IsLfp f p₁) (h₂ : IsLfp f p₂) :
                    p₁ = p₂