Documentation

WeightedNetKAT.Approximate

@[implicit_reducible]
instance WeightedNetKAT.instZeroPol {𝒮 F N : Type} :
Equations
@[implicit_reducible]
instance WeightedNetKAT.instAddPol {𝒮 F N : Type} :
Add Pol[F,N,𝒮]
Equations
@[simp]
@[simp]
theorem WeightedNetKAT.Pol.add_def {𝒮 F N : Type} (p q : Pol[F,N,𝒮]) :
p + q = wnk_pol {~p ~q}
@[simp]
theorem WeightedNetKAT.Pol.instAdd_sem {𝒮 : Type} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type} [Listed F] [DecidableEq F] {N : Type} [DecidableEq N] (p q : Pol[F,N,𝒮]) :
(p + q).sem = p.sem + q.sem
@[irreducible]
noncomputable def WeightedNetKAT.Pol.sem_n {𝒮 : Type} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type} [Listed F] [DecidableEq F] {N : Type} [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} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [IsPositiveOrderedAddMonoid 𝒮] {F : Type} [Listed F] [DecidableEq F] {N : Type} [DecidableEq N] (p : Pol[F,N,𝒮]) (n : ) :
    (p.approx_n n).sem = p.sem_n n
    theorem WeightedNetKAT.Pol.iter_m_sem_eq_ωSup_sem_n {𝒮 : Type} [Semiring 𝒮] [OmegaCompletePartialOrder 𝒮] [OrderBot 𝒮] [MulLeftMono 𝒮] [MulRightMono 𝒮] [IsPositiveOrderedAddMonoid 𝒮] [OmegaContinuousNonUnitalSemiring 𝒮] {F : Type} [Listed F] [DecidableEq F] {N : Type} [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' := }