Documentation

WeightedNetKAT.Semantics

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