Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
instance
WeightedNetKAT.instDecidableEqGS
{F N : Type}
[Listed F]
[DecidableEq F]
[DecidableEq N]
:
DecidableEq (GS F N)
instance
WeightedNetKAT.instCountableGSOfListedOfDecidableEq
{F N : Type}
[Listed F]
[Listed N]
[DecidableEq N]
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concatenation ♢
Equations
- WeightedNetKAT.«term_♢_» = Lean.ParserDescr.trailingNode `WeightedNetKAT.«term_♢_» 70 70 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ♢ ") (Lean.ParserDescr.cat `term 71))
Instances For
@[implicit_reducible]
instance
WeightedNetKAT.instConcatGSOption
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[DecidableEq N]
:
theorem
WeightedNetKAT.G.concat_eq_ωSum
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
{L R : GS F N →c 𝒮}
{xₙ : GS F N}
:
def
WeightedNetKAT.G.ofPk
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
(f : Pk[F,N] → GS F N)
:
Equations
Instances For
def
WeightedNetKAT.G.ofConst
{F : Type}
[Listed F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[DecidableEq (GS F N)]
(f : GS F N)
:
Equations
- WeightedNetKAT.G.ofConst f = { toFun := fun (x : WeightedNetKAT.GS F N) => if f = x then 1 else 0, countable := ⋯ }
Instances For
@[irreducible]
noncomputable def
WeightedNetKAT.G
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
(p : RPol 𝒮)
:
Equations
- G⟦~WeightedNetKAT.RPol.Drop⟧ = 0
- G⟦skip⟧ = WeightedNetKAT.G.ofPk fun (α : Pk[F,N]) => (α, [], α)
- G⟦@test ~α⟧ = WeightedNetKAT.G.ofConst (α, [], α)
- G⟦@mod ~π⟧ = WeightedNetKAT.G.ofPk fun (α : Pk[F,N]) => (α, [], π)
- G⟦dup⟧ = WeightedNetKAT.G.ofPk fun (α : Pk[F,N]) => (α, [α], α)
- G⟦~p₁ ⨁ ~p₂⟧ = G⟦~p₁⟧ + G⟦~p₂⟧
- G⟦~p₁; ~p₂⟧ = G⟦~p₁⟧ ♢ G⟦~p₂⟧
- G⟦~w ⨀ ~p₁⟧ = w * G⟦~p₁⟧
- G⟦~p₁*⟧ = ω∑ (n : ℕ), G⟦~(p₁ ^ n)⟧
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
theorem
WeightedNetKAT.G.test_eq
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
{gs : GS F N}
{π : Pk[F,N]}
:
@[simp]
@[simp]
theorem
WeightedNetKAT.G.skip_concat
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
{x : GS F N →c 𝒮}
:
@[simp]
theorem
WeightedNetKAT.G.concat_skip
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
{x : GS F N →c 𝒮}
:
@[simp]
theorem
WeightedNetKAT.G.seq_skip
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
{p : RPol 𝒮}
:
theorem
WeightedNetKAT.G.iter_succ
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
(p₁ : RPol 𝒮)
(n : ℕ)
:
@[implicit_reducible]
noncomputable instance
WeightedNetKAT.GS.instHPowCountsuppNat
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
:
Equations
- WeightedNetKAT.GS.instHPowCountsuppNat = { hPow := fun (s : WeightedNetKAT.GS F N →c 𝒮) (n : ℕ) => (fun (x : WeightedNetKAT.GS F N →c 𝒮) => s ♢ x)^[n] G⟦skip⟧ }
instance
WeightedNetKAT.GS.instConcatAssocCountsupp
{F : Type}
[Listed F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
:
ConcatAssoc (GS F N →c 𝒮)
@[simp]
theorem
WeightedNetKAT.GS.pow_zero
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
(M : GS F N →c 𝒮)
:
@[simp]
theorem
WeightedNetKAT.GS.pow_one
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
(M : GS F N →c 𝒮)
:
theorem
WeightedNetKAT.GS.pow_succ
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
(M : GS F N →c 𝒮)
{n : ℕ}
:
theorem
WeightedNetKAT.GS.pow_succ'
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
(M : GS F N →c 𝒮)
{n : ℕ}
:
theorem
WeightedNetKAT.GS.pow_add
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
(M : GS F N →c 𝒮)
{n m : ℕ}
:
noncomputable def
WeightedNetKAT.GS.sem
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
(g : GS F N)
:
Instances For
noncomputable def
WeightedNetKAT.RPol.sem_G_theorem
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
(p : RPol 𝒮)
:
Equations
Instances For
theorem
WeightedNetKAT.RPol.sem_G.Drop
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
:
theorem
WeightedNetKAT.RPol.sem_G.Skip
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
:
theorem
WeightedNetKAT.RPol.sem_G.Test
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
{π₀ : Pk[F,N]}
:
theorem
WeightedNetKAT.RPol.sem_G.Mod
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
{γ : Pk[F,N]}
:
theorem
WeightedNetKAT.RPol.sem_G.Dup
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
:
theorem
WeightedNetKAT.RPol.sem_G.Seq
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
[MulLeftMono 𝒮]
[MulRightMono 𝒮]
[OmegaContinuousNonUnitalSemiring 𝒮]
{p₁ p₂ : RPol 𝒮}
(ih₁ : p₁.sem_G_theorem)
(ih₂ : p₂.sem_G_theorem)
:
theorem
WeightedNetKAT.RPol.sem_G.Add
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
[MulLeftMono 𝒮]
[MulRightMono 𝒮]
[OmegaContinuousNonUnitalSemiring 𝒮]
{p₁ p₂ : RPol 𝒮}
(ih₁ : p₁.sem_G_theorem)
(ih₂ : p₂.sem_G_theorem)
:
theorem
WeightedNetKAT.RPol.sem_G.Weight
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
[MulLeftMono 𝒮]
[MulRightMono 𝒮]
[OmegaContinuousNonUnitalSemiring 𝒮]
{w : 𝒮}
{p₁ : RPol 𝒮}
(ih : p₁.sem_G_theorem)
:
theorem
WeightedNetKAT.RPol.sem_G.Iter
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
[MulLeftMono 𝒮]
[MulRightMono 𝒮]
[OmegaContinuousNonUnitalSemiring 𝒮]
{p₁ : RPol 𝒮}
(ih : p₁.sem_G_theorem)
:
theorem
WeightedNetKAT.RPol.sem_G
{F : Type}
[Listed F]
[DecidableEq F]
{N : Type}
[Listed N]
[DecidableEq N]
{𝒮 : Type}
[Semiring 𝒮]
[OmegaCompletePartialOrder 𝒮]
[OrderBot 𝒮]
[IsPositiveOrderedAddMonoid 𝒮]
[MulLeftMono 𝒮]
[MulRightMono 𝒮]
[OmegaContinuousNonUnitalSemiring 𝒮]
(p : RPol 𝒮)
: