Documentation

WeightedNetKAT.Approximate

@[implicit_reducible]
instance WeightedNetKAT.instZeroPol {𝒮 : Type u_2} {F : Type u_3} {N : Type u_4} :
Equations
@[implicit_reducible]
instance WeightedNetKAT.instAddPol {𝒮 : Type u_2} {F : Type u_3} {N : Type u_4} :
Add Pol[F,N,𝒮]
Equations
@[simp]
theorem WeightedNetKAT.Pol.zero_def {𝒮 : Type u_2} {F : Type u_3} {N : Type u_4} :
@[simp]
theorem WeightedNetKAT.Pol.add_def {𝒮 : Type u_2} {F : Type u_3} {N : Type u_4} (p q : Pol[F,N,𝒮]) :
p + q = wnk_pol {~p ~q}
@[simp]
theorem WeightedNetKAT.Pol.instAdd_sem {𝒮 : Type u_2} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type u_3} [Listed F] [DecidableEq F] {N : Type u_4} [DecidableEq N] (p q : Pol[F,N,𝒮]) :
(p + q).sem = p.sem + q.sem
@[simp]
theorem WeightedNetKAT.Pol.instZero_sem {𝒮 : Type u_2} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type u_3} [Listed F] [DecidableEq F] {N : Type u_4} [DecidableEq N] :
sem 0 = 0
noncomputable def WeightedNetKAT.Pol.approx_n {𝒮 : Type u_2} {F : Type u_3} {N : Type u_4} (p : Pol[F,N,𝒮]) (n : ) :
Pol[F,N,𝒮]
Equations
Instances For
    @[irreducible]
    noncomputable def WeightedNetKAT.Pol.sem_n {𝒮 : Type u_2} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type u_3} [Listed F] [DecidableEq F] {N : Type u_4} [DecidableEq N] (p : Pol[F,N,𝒮]) (n : ) :
    Pk[F,N] × List Pk[F,N]Pk[F,N] × List Pk[F,N] →c 𝒮
    Equations
    Instances For
      theorem WeightedNetKAT.Pol.approx_n_sem {𝒮 : Type u_2} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type u_3} [Listed F] [DecidableEq F] {N : Type u_4} [DecidableEq N] (p : Pol[F,N,𝒮]) (n : ) :
      (p.approx_n n).sem = p.sem_n n
      theorem WeightedNetKAT.Pol.sem_n_mono {𝒮 : Type u_2} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type u_3} [Listed F] [DecidableEq F] {N : Type u_4} [DecidableEq N] (p : Pol[F,N,𝒮]) :
      theorem WeightedNetKAT.Pol.iter_m_sem_eq_ωSup_sem_n {𝒮 : Type u_2} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {F : Type u_3} [Listed F] [DecidableEq F] {N : Type u_4} [DecidableEq N] [Fintype N] {p : Pol[F,N,𝒮]} (h : p.sem = OmegaCompletePartialOrder.ωSup { toFun := p.sem_n, monotone' := }) (m : ) :
      (p.iter m).sem = OmegaCompletePartialOrder.ωSup { toFun := fun (n : ) => (p.iter m).sem_n n, monotone' := }
      theorem WeightedNetKAT.Pol.sem_n_approx {𝒮 : Type u_2} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {F : Type u_3} [Listed F] [DecidableEq F] {N : Type u_4} [DecidableEq N] [Fintype N] (p : Pol[F,N,𝒮]) :
      p.sem = OmegaCompletePartialOrder.ωSup { toFun := p.sem_n, monotone' := }