Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
@[simp]
def
Finsupp.zipWith'
{α M N P : Type}
[Zero M]
[Zero N]
[Zero P]
[DecidableEq α]
[DecidableEq P]
(f : M → N → P)
(hf : f 0 0 = 0)
(g₁ : α →₀ M)
(g₂ : α →₀ N)
:
Given finitely supported functions g₁ : α →₀ M and g₂ : α →₀ N and function f : M → N → P,
Finsupp.zipWith f hf g₁ g₂ is the finitely supported function α →₀ P satisfying
zipWith f hf g₁ g₂ a = f (g₁ a) (g₂ a), which is well-defined when f 0 0 = 0.
Equations
Instances For
@[simp]
theorem
Finsupp.zipWith'_apply
{α M N P : Type}
[Zero M]
[Zero N]
[Zero P]
[DecidableEq α]
[DecidableEq P]
{f : M → N → P}
{hf : f 0 0 = 0}
{g₁ : α →₀ M}
{g₂ : α →₀ N}
{a : α}
:
@[implicit_reducible, instance 10000]
Equations
- Finsupp.instAdd' = { add := Finsupp.zipWith' (fun (x1 x2 : M) => x1 + x2) ⋯ }
@[simp]
theorem
Finsupp.coe_add'
{ι M : Type}
[AddZeroClass M]
[DecidableEq ι]
[DecidableEq M]
(f g : ι →₀ M)
:
@[implicit_reducible]
instance
Finsupp.instAddZeroClass'
{ι M : Type}
[AddZeroClass M]
[DecidableEq ι]
[DecidableEq M]
:
AddZeroClass (ι →₀ M)
Equations
- Finsupp.instAddZeroClass' = Function.Injective.addZeroClass (fun (f : ι →₀ M) => ⇑f) ⋯ ⋯ ⋯
instance
Finsupp.instIsLeftCancelAdd'
{ι M : Type}
[AddZeroClass M]
[DecidableEq ι]
[DecidableEq M]
[IsLeftCancelAdd M]
:
IsLeftCancelAdd (ι →₀ M)
@[implicit_reducible]
instance
Finsupp.instMul_weightedNetKAT
{α β : Type}
[MulZeroClass β]
[DecidableEq α]
[DecidableEq β]
:
The product of f g : α →₀ β is the finitely supported function
whose value at a is f a * g a.
Equations
- Finsupp.instMul_weightedNetKAT = { mul := Finsupp.zipWith' (fun (x1 x2 : β) => x1 * x2) ⋯ }
theorem
Finsupp.coe_mul
{α β : Type}
[MulZeroClass β]
[DecidableEq α]
[DecidableEq β]
(g₁ g₂ : α →₀ β)
:
@[simp]
theorem
Finsupp.mul_apply
{α β : Type}
[MulZeroClass β]
[DecidableEq α]
[DecidableEq β]
{g₁ g₂ : α →₀ β}
{a : α}
:
theorem
Finsupp.support_mul_subset_left
{α β : Type}
[MulZeroClass β]
[DecidableEq α]
[DecidableEq β]
{g₁ g₂ : α →₀ β}
:
theorem
Finsupp.support_mul_subset_right
{α β : Type}
[MulZeroClass β]
[DecidableEq α]
[DecidableEq β]
{g₁ g₂ : α →₀ β}
:
theorem
Finsupp.support_mul
{α β : Type}
[MulZeroClass β]
[DecidableEq β]
[DecidableEq α]
{g₁ g₂ : α →₀ β}
:
@[implicit_reducible]
instance
Finsupp.instMulZeroClass_weightedNetKAT
{α β : Type}
[MulZeroClass β]
[DecidableEq α]
[DecidableEq β]
:
MulZeroClass (α →₀ β)
Equations
- Finsupp.instMulZeroClass_weightedNetKAT = Function.Injective.mulZeroClass (fun (f : α →₀ β) => ⇑f) ⋯ ⋯ ⋯
@[implicit_reducible]
@[implicit_reducible]
@[simp]
theorem
Finsupp.hMul_left_apply
{α β : Type}
[MulZeroClass β]
[DecidableEq β]
{s : β}
{g : α →₀ β}
{a : α}
:
theorem
Finsupp.support_hMul_left_subset_right
{α β : Type}
[MulZeroClass β]
[DecidableEq β]
{s : β}
{g : α →₀ β}
:
theorem
Finsupp.support_hMul_left
{α β : Type}
[MulZeroClass β]
[DecidableEq β]
[DecidableEq α]
{s : β}
{g : α →₀ β}
:
@[simp]
theorem
Finsupp.hMul_right_apply
{α β : Type}
[MulZeroClass β]
[DecidableEq β]
{s : β}
{g : α →₀ β}
{a : α}
:
theorem
Finsupp.support_hMul_right_subset_right
{α β : Type}
[MulZeroClass β]
[DecidableEq β]
{s : β}
{g : α →₀ β}
:
theorem
Finsupp.support_hMul_right
{α β : Type}
[MulZeroClass β]
[DecidableEq β]
[DecidableEq α]
{s : β}
{g : α →₀ β}
:
@[implicit_reducible]
@[implicit_reducible]
instance
Finsupp.instDecidableForallForallMemFinsetSupportOfDecidablePred_weightedNetKAT
{M : Type}
[Semiring M]
{ι : Type}
[DecidableEq ι]
{f : ι →₀ M}
{p : ι → Prop}
[DecidablePred p]
:
Equations
- Finsupp.instDecidableForallForallMemFinsetSupportOfDecidablePred_weightedNetKAT = if h : Finset.filter p f.support = f.support then isTrue ⋯ else isFalse ⋯
@[implicit_reducible]
instance
Finsupp.instPartialOrder_weightedNetKAT
{M : Type}
[Semiring M]
[PartialOrder M]
{ι : Type}
:
PartialOrder (ι →₀ M)
Equations
- Finsupp.instPartialOrder_weightedNetKAT = { toLE := Finsupp.instLE_weightedNetKAT, toLT := Finsupp.preorder.toLT, le_refl := ⋯, le_trans := ⋯, lt_iff_le_not_ge := ⋯, le_antisymm := ⋯ }
@[implicit_reducible]
instance
Finsupp.instOrderBot_weightedNetKAT
{M : Type}
[Semiring M]
[PartialOrder M]
[OrderBot M]
[IsPositiveOrderedAddMonoid M]
{ι : Type}
:
Equations
- Finsupp.instOrderBot_weightedNetKAT = { bot := 0, bot_le := ⋯ }
instance
Finsupp.instMulLeftMono_weightedNetKAT
{M : Type}
[Semiring M]
[PartialOrder M]
[MulLeftMono M]
{ι : Type}
[DecidableEq ι]
[DecidableEq M]
:
MulLeftMono (ι →₀ M)
instance
Finsupp.instMulRightMono_weightedNetKAT
{M : Type}
[Semiring M]
[PartialOrder M]
[MulRightMono M]
{ι : Type}
[DecidableEq ι]
[DecidableEq M]
:
MulRightMono (ι →₀ M)
@[implicit_reducible]
instance
Finsupp.instAddCommMonoid_weightedNetKAT
{M : Type}
[Semiring M]
{ι : Type}
[DecidableEq ι]
[DecidableEq M]
:
AddCommMonoid (ι →₀ M)
Equations
- One or more equations did not get rendered due to their size.
@[simp]
theorem
Finsupp.sum_apply'''
{M : Type}
[Semiring M]
{ι : Type}
[DecidableEq ι]
[DecidableEq M]
{Y : Type}
[DecidableEq Y]
{S : Finset ι}
{f : ι → Y →₀ M}
{a : Y}
:
instance
Finsupp.instIsPositiveOrderedAddMonoid
{M : Type}
[Semiring M]
[PartialOrder M]
[OrderBot M]
[IsPositiveOrderedAddMonoid M]
{ι : Type}
[DecidableEq ι]
[DecidableEq M]
:
IsPositiveOrderedAddMonoid (ι →₀ M)
@[implicit_reducible]
instance
Finsupp.instNonUnitalSemiring_weightedNetKAT
{M : Type}
[Semiring M]
{ι : Type}
[DecidableEq ι]
[DecidableEq M]
:
NonUnitalSemiring (ι →₀ M)
Equations
- One or more equations did not get rendered due to their size.
def
Finsupp.bind
{M : Type}
[Semiring M]
[PartialOrder M]
[OrderBot M]
[IsPositiveOrderedAddMonoid M]
{ι Y : Type}
[DecidableEq M]
[DecidableEq Y]
(f : ι →₀ M)
(g : ι → Y →₀ M)
:
Equations
Instances For
@[implicit_reducible]
instance
Finsupp.instOmegaCompletePartialOrderOfFintype_weightedNetKAT
{M : Type}
[Semiring M]
[OmegaCompletePartialOrder M]
[OrderBot M]
[IsPositiveOrderedAddMonoid M]
{ι : Type}
[DecidableEq M]
[Fintype ι]
:
OmegaCompletePartialOrder (ι →₀ M)
Equations
- One or more equations did not get rendered due to their size.
@[simp]
theorem
Finsupp.ωSup_apply
{M : Type}
[Semiring M]
[OmegaCompletePartialOrder M]
[OrderBot M]
[IsPositiveOrderedAddMonoid M]
{ι : Type}
[Fintype ι]
[DecidableEq M]
(C : OmegaCompletePartialOrder.Chain (ι →₀ M))
(x : ι)
:
(OmegaCompletePartialOrder.ωSup C) x = OmegaCompletePartialOrder.ωSup (C.map { toFun := fun (x_1 : ι →₀ M) => x_1 x, monotone' := ⋯ })
instance
Finsupp.instOmegaContinuousNonUnitalSemiring
{M : Type}
[Semiring M]
[OmegaCompletePartialOrder M]
[OrderBot M]
[MulLeftMono M]
[MulRightMono M]
[IsPositiveOrderedAddMonoid M]
[OmegaContinuousNonUnitalSemiring M]
{ι : Type}
[DecidableEq ι]
[DecidableEq M]
[Fintype ι]
:
@[simp]
theorem
Finsupp.ωSum_apply
{M : Type}
[Semiring M]
[OmegaCompletePartialOrder M]
[OrderBot M]
[IsPositiveOrderedAddMonoid M]
{ι : Type}
[DecidableEq M]
[Countable ι]
{Y : Type}
[DecidableEq Y]
[Fintype Y]
{f : ι → Y →₀ M}
{y : Y}
: