Weighted semiring instances #
We provide a set of proven sound weighted semirings, including instances for Kleene-star and ω-continuity for these.
Most of the semirings are computable (i.e. have computable instances of Semiring), but some,
specifically those that do operations on reals, have noncomputable instances for now.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
@[implicit_reducible]
Equations
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Instances For
@[implicit_reducible]
@[implicit_reducible]
Equations
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
Equations
- Weighted.Tropical.instOfNatOfENat = { ofNat := OfNat.ofNat n✝ }
@[implicit_reducible]
@[implicit_reducible]
Equations
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
Equations
Equations
- Weighted.Arctic.max x✝ (some none) = ⊤
- Weighted.Arctic.max (some none) x✝ = ⊤
- Weighted.Arctic.max (some (some a)) (some (some b)) = some (some (max a b))
- Weighted.Arctic.max none x✝ = x✝
- Weighted.Arctic.max x✝ none = x✝
Instances For
Equations
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
@[implicit_reducible]
@[implicit_reducible]
Equations
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- Weighted.Arctic.instOfNatOfWithBotENat = { ofNat := OfNat.ofNat n✝ }
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Instances For
@[implicit_reducible]
Equations
- Weighted.Boolean.instOfNatOfBool = { ofNat := OfNat.ofNat n✝ }
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
instance
Weighted.Bottleneck.instOfNatOfWithBotENat
{n✝ : ℕ}
[OfNat (WithBot ℕ∞) n✝]
:
OfNat Bottleneck n✝
Equations
- Weighted.Bottleneck.instOfNatOfWithBotENat = { ofNat := OfNat.ofNat n✝ }
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
Equations
@[implicit_reducible]
@[implicit_reducible]
Equations
@[implicit_reducible]
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- Weighted.ENNReal.instOfNatENNReal'OfENNReal = { ofNat := OfNat.ofNat n✝ }
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
Equations
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[reducible, inline]
Equations
- Weighted.Viterbi.PReal = { carrier := {r : ENNReal | r ≤ 1}, mul_mem' := @Weighted.Viterbi.PReal._proof_2, one_mem' := Weighted.Viterbi.PReal._proof_3 }
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- Weighted.Viterbi.instWLESubtypeENNRealMemSubmonoidPReal = { wle := fun (x1 x2 : ↥Weighted.Viterbi.PReal) => x1 ≤ x2 }
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
noncomputable def
Weighted.Viterbi.instWOmegaContinuousNonUnitalSemiringSubtypeENNRealMemSubmonoidPReal :
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- Weighted.Viterbi.instWKStarSubtypeENNRealMemSubmonoidPReal = { wkstar := fun (x : ↥Weighted.Viterbi.PReal) => 1 }
Instances For
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
Equations
@[implicit_reducible]