The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V13. General topology

Mathlib.Topology.LocallyFinsupp

122 declarations. Mathlib docs · Source

Type of functions with locally finite support

This file defines functions with locally finite support, provides supporting API. For suitable targets, it establishes functions with locally finite support as an instance of a lattice ordered commutative group.

Throughout the present file, X denotes a topologically space and U a subset of X.

Definition, coercion to functions and basic extensionality lemmas

A function with locally finite support within U is a function X → Y whose support is locally finite within U and entirely contained in U. For T1-spaces, the theorem supportDiscreteWithin_iff_locallyFiniteWithin shows that the first condition is equivalent to the condition that the support f is discrete within U.

Singleton Indicators as Functions with Locally Finite Support

Elementary properties of the support

Lattice ordered group structure

If X is a suitable instance, this section equips functions with locally finite support within U with the standard structure of a lattice ordered group, where addition, comparison, min and max are defined pointwise.

Restriction

Composition a.k.a. mapRange

See the documentation of Finsupp.mapRange for further explanation and a list of similar definitions.

Truncation of a Function with Locally Finite Support

theorem Function.locallyFinsuppWithin.mk.inj E1 #

∀ {X : Type u_1} {inst : TopologicalSpace X} {U : Set X} {Y : Type u_2} {inst_1 : Zero Y} {toFun : X → Y}
  {supportWithinDomain' : Function.support toFun ⊆ U}
  {supportLocallyFiniteWithinDomain' : ∀ z ∈ U, ∃ t ∈ nhds z, (t ∩ Function.support toFun).Finite} {toFun_1 : X → Y}
  {supportWithinDomain'_1 : Function.support toFun_1 ⊆ U}
  {supportLocallyFiniteWithinDomain'_1 : ∀ z ∈ U, ∃ t ∈ nhds z, (t ∩ Function.support toFun_1).Finite},
  { toFun := toFun, supportWithinDomain' := supportWithinDomain',
        supportLocallyFiniteWithinDomain' := supportLocallyFiniteWithinDomain' } =
      { toFun := toFun_1, supportWithinDomain' := supportWithinDomain'_1,
        supportLocallyFiniteWithinDomain' := supportLocallyFiniteWithinDomain'_1 } →
    toFun = toFun_1

theorem Function.locallyFinsuppWithin.mapRange.congr_simp E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} {Z : Type u_4} [inst_1 : Zero Y]
  [inst_2 : Zero Z] (f f_1 : Y → Z) (e_f : f = f_1) (hf : f 0 = 0) (g g_1 : Function.locallyFinsuppWithin U Y),
  g = g_1 → Function.locallyFinsuppWithin.mapRange f hf g = Function.locallyFinsuppWithin.mapRange f_1 ⋯ g_1

theorem Function.locallyFinsuppWithin.mk.congr_simp E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y] (toFun toFun_1 : X → Y)
  (e_toFun : toFun = toFun_1) (supportWithinDomain' : Function.support toFun ⊆ U)
  (supportLocallyFiniteWithinDomain' : ∀ z ∈ U, ∃ t ∈ nhds z, (t ∩ Function.support toFun).Finite),
  { toFun := toFun, supportWithinDomain' := supportWithinDomain',
      supportLocallyFiniteWithinDomain' := supportLocallyFiniteWithinDomain' } =
    { toFun := toFun_1, supportWithinDomain' := ⋯, supportLocallyFiniteWithinDomain' := ⋯ }

def Function.locallyFinsuppWithin.ctorIdx E1 #

{X : Type u_1} →
  {inst : TopologicalSpace X} → {U : Set X} → {Y : Type u_2} → {inst_1 : Zero Y} → Function.locallyFinsuppWithin U Y → ℕ

theorem Function.locallyFinsuppWithin.restrict.congr_simp E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y] {V : Set X}
  (D D_1 : Function.locallyFinsuppWithin U Y), D = D_1 → ∀ (h : V ⊆ U), D.restrict h = D_1.restrict h

theorem Function.locallyFinsuppWithin.mk.injEq E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y] (toFun : X → Y)
  (supportWithinDomain' : Function.support toFun ⊆ U)
  (supportLocallyFiniteWithinDomain' : ∀ z ∈ U, ∃ t ∈ nhds z, (t ∩ Function.support toFun).Finite) (toFun_1 : X → Y)
  (supportWithinDomain'_1 : Function.support toFun_1 ⊆ U)
  (supportLocallyFiniteWithinDomain'_1 : ∀ z ∈ U, ∃ t ∈ nhds z, (t ∩ Function.support toFun_1).Finite),
  ({ toFun := toFun, supportWithinDomain' := supportWithinDomain',
        supportLocallyFiniteWithinDomain' := supportLocallyFiniteWithinDomain' } =
      { toFun := toFun_1, supportWithinDomain' := supportWithinDomain'_1,
        supportLocallyFiniteWithinDomain' := supportLocallyFiniteWithinDomain'_1 }) =
    (toFun = toFun_1)

theorem Function.locallyFinsuppWithin.truncate.congr_simp E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} [inst_1 : Zero Y] [inst_2 : LinearOrder Y]
  (D D_1 : Function.locallyFinsuppWithin U Y),
  D = D_1 → ∀ (y y_1 : Y) (e_y : y = y_1) (hy : 0 ≤ y), D.truncate y hy = D_1.truncate y_1 ⋯

structure Function.locallyFinsuppWithin E1 #

{X : Type u_1} → [TopologicalSpace X] → Set X → (Y : Type u_2) → [Zero Y] → Type (max u_1 u_2)

A function with locally finite support within U is a triple as specified below.

ctor Function.locallyFinsuppWithin.mk E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} →
      {Y : Type u_2} →
        [inst_1 : Zero Y] →
          (toFun : X → Y) →
            Function.support toFun ⊆ U →
              (∀ z ∈ U, ∃ t ∈ nhds z, (t ∩ Function.support toFun).Finite) → Function.locallyFinsuppWithin U Y

abbrev Function.locallyFinsuppWithin.toFun E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : Zero Y] → Function.locallyFinsuppWithin U Y → X → Y

A function X → Y

theorem Function.locallyFinsuppWithin.supportWithinDomain' E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y]
  (self : Function.locallyFinsuppWithin U Y), Function.support self.toFun ⊆ U

A proof that the support of toFun is contained in U

theorem Function.locallyFinsuppWithin.supportLocallyFiniteWithinDomain' E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y]
  (self : Function.locallyFinsuppWithin U Y), ∀ z ∈ U, ∃ t ∈ nhds z, (t ∩ Function.support self.toFun).Finite

A proof that the support is locally finite within U

abbrev Function.locallyFinsupp E1 #

(X : Type u_1) → [TopologicalSpace X] → (Y : Type u_2) → [Zero Y] → Type (max u_1 u_2)

A function with locally finite support is a function with locally finite support within ⊤ : Set X.

instance instZeroLocallyFinsuppWithin E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : Zero Y] → Zero (Function.locallyFinsuppWithin U Y)

Function with locally finite support have a zero.

theorem supportDiscreteWithin_iff_locallyFiniteWithin E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [T1Space X] [inst_2 : Zero Y] {f : X → Y},
  Function.support f ⊆ U → (f =ᶠ[Filter.codiscreteWithin U] 0 ↔ ∀ z ∈ U, ∃ t ∈ nhds z, (t ∩ Function.support f).Finite)

For T1 spaces, the condition supportLocallyFiniteWithinDomain' is equivalent to saying that the support is codiscrete within U.

def LocallyFiniteSupport E1 #

{X : Type u_1} → [TopologicalSpace X] → {Y : Type u_2} → [Zero Y] → (X → Y) → Prop

A function f : X → Y has locally finite support if for every z : X, there is a neighbourhood t around z such that t ∩ f.support is finite.

theorem LocallyFiniteSupport.iff_locallyFinite_support E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : Zero Y] (f : X → Y),
  (LocallyFinite fun s ↦ {↑s}) ↔ LocallyFiniteSupport f

theorem LocallyFiniteSupport.locallyFinite_support E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : Zero Y] (f : X → Y),
  LocallyFiniteSupport f → LocallyFinite fun s ↦ {↑s}

theorem LocallyFiniteSupport.finite_inter_support_of_isCompact E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} {W : Set X} [inst_1 : Zero Y] {f : X → Y},
  LocallyFiniteSupport f → IsCompact W → (W ∩ Function.support f).Finite

theorem Function.locallyFinsupp.locallyFiniteSupport E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : Zero Y] (f : Function.locallyFinsupp X Y),
  LocallyFiniteSupport f.toFun

instance Function.locallyFinsuppWithin.instFunLike E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : Zero Y] → FunLike (Function.locallyFinsuppWithin U Y) X Y

Functions with locally finite support within U are FunLike: the coercion to functions is injective.

theorem Function.locallyFinsuppWithin.toFun_eq_coe E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y]
  (c : Function.locallyFinsuppWithin U Y), c.toFun = ⇑c

theorem Function.locallyFinsuppWithin.coe_mk E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y] (f : X → Y)
  (h : Function.support f ⊆ U) (h' : ∀ z ∈ U, ∃ t ∈ nhds z, (t ∩ Function.support f).Finite),
  ⇑{ toFun := f, supportWithinDomain' := h, supportLocallyFiniteWithinDomain' := h' } = f

abbrev Function.locallyFinsuppWithin.support E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : Zero Y] → Function.locallyFinsuppWithin U Y → Set X

This allows writing D.support instead of Function.support D

theorem Function.locallyFinsuppWithin.supportWithinDomain E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y]
  (D : Function.locallyFinsuppWithin U Y), D.support ⊆ U

theorem Function.locallyFinsuppWithin.supportLocallyFiniteWithinDomain E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y]
  (D : Function.locallyFinsuppWithin U Y), ∀ z ∈ U, ∃ t ∈ nhds z, (t ∩ D.support).Finite

theorem Function.locallyFinsupp.finite_support E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : Zero Y] [CompactSpace X]
  (f : Function.locallyFinsupp X Y), (Function.locallyFinsuppWithin.support f).Finite

theorem Function.locallyFinsuppWithin.ext_iff E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y]
  {D₁ D₂ : Function.locallyFinsuppWithin U Y}, D₁ = D₂ ↔ ∀ (a : X), D₁ a = D₂ a

theorem Function.locallyFinsuppWithin.ext E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y]
  {D₁ D₂ : Function.locallyFinsuppWithin U Y}, (∀ (a : X), D₁ a = D₂ a) → D₁ = D₂

theorem Function.locallyFinsuppWithin.coe_injective E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y], Function.Injective fun x ↦ ⇑x

def Function.locallyFinsuppWithin.single E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {Y : Type u_2} → [DecidableEq X] → [inst_2 : Zero Y] → X → Y → Function.locallyFinsupp X Y

Is analogy to Finsupp.single, this definition presents the indicator function of a single point as a function with locally finite support.

theorem Function.locallyFinsuppWithin.single_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : DecidableEq X] [inst_2 : Zero Y] {x₁ x₂ : X}
  {y : Y}, (Function.locallyFinsuppWithin.single x₁ y) x₂ = if x₂ = x₁ then y else 0

Simplifier lemma: single x y takes the value y at x and is zero otherwise.

theorem Function.locallyFinsuppWithin.single_zero E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : DecidableEq X] [inst_2 : Zero Y] {x : X},
  Function.locallyFinsuppWithin.single x 0 = 0

Simplifier lemma: single x 0 is zero.

theorem Function.locallyFinsuppWithin.coe_single E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : DecidableEq X] [inst_2 : Zero Y] {x : X} {y : Y},
  ⇑(Function.locallyFinsuppWithin.single x y) = Pi.single x y

Simplifier lemma: coercion of single x y to a function.

theorem Function.locallyFinsuppWithin.apply_eq_zero_of_notMem E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y] {z : X}
  (D : Function.locallyFinsuppWithin U Y), z ∉ U → D z = 0

Simplifier lemma: Functions with locally finite support within U evaluate to zero outside of U.

theorem Function.locallyFinsuppWithin.discreteSupport E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y] [T1Space X]
  (D : Function.locallyFinsuppWithin U Y), IsDiscrete D.support

On a T1 space, the support of a function with locally finite support within U is discrete.

theorem Function.locallyFinsuppWithin.closedSupport E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [T1Space X] [inst_2 : Zero Y]
  (D : Function.locallyFinsuppWithin U Y), IsClosed U → IsClosed D.support

If X is T1 and if U is closed, then the support of support of a function with locally finite support within U is also closed.

theorem Function.locallyFinsuppWithin.finiteSupport E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [T2Space X] [inst_2 : Zero Y]
  (D : Function.locallyFinsuppWithin U Y), IsCompact U → D.support.Finite

If X is T2 and if U is compact, then the support of a function with locally finite support within U is finite.

def Function.locallyFinsuppWithin.addSubmonoid E1 #

{X : Type u_1} → [TopologicalSpace X] → Set X → {Y : Type u_2} → [inst : AddMonoid Y] → AddSubmonoid (X → Y)

Functions with locally finite support within U form an additive submonoid of functions X → Y.

theorem Function.locallyFinsuppWithin.memAddSubmonoid E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddMonoid Y]
  (D : Function.locallyFinsuppWithin U Y), ⇑D ∈ Function.locallyFinsuppWithin.addSubmonoid U

def Function.locallyFinsuppWithin.addSubgroup E1 #

{X : Type u_1} → [TopologicalSpace X] → Set X → {Y : Type u_2} → [inst : AddGroup Y] → AddSubgroup (X → Y)

Functions with locally finite support within U form an additive subgroup of functions X → Y.

theorem Function.locallyFinsuppWithin.memAddSubgroup E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddGroup Y]
  (D : Function.locallyFinsuppWithin U Y), ⇑D ∈ Function.locallyFinsuppWithin.addSubgroup U

def Function.locallyFinsuppWithin.mk_of_mem_addSubmonoid E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} →
      {Y : Type u_2} →
        [inst_1 : AddMonoid Y] →
          (f : X → Y) → f ∈ Function.locallyFinsuppWithin.addSubmonoid U → Function.locallyFinsuppWithin U Y

Assign a function with locally finite support within U to a function in the subgroup.

theorem Function.locallyFinsuppWithin.mk_of_mem_addSubmonoid_toFun E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddMonoid Y] (f : X → Y)
  (hf : f ∈ Function.locallyFinsuppWithin.addSubmonoid U) (a : X),
  (Function.locallyFinsuppWithin.mk_of_mem_addSubmonoid f hf) a = f a

instance Function.locallyFinsuppWithin.instAdd E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : AddMonoid Y] → Add (Function.locallyFinsuppWithin U Y)

instance Function.locallyFinsuppWithin.instSMulNat E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : AddMonoid Y] → SMul ℕ (Function.locallyFinsuppWithin U Y)

def Function.locallyFinsuppWithin.mk_of_mem_addSubgroup E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} →
      {Y : Type u_2} →
        [inst_1 : AddGroup Y] →
          (f : X → Y) → f ∈ Function.locallyFinsuppWithin.addSubgroup U → Function.locallyFinsuppWithin U Y

Assign a function with locally finite support within U to a function in the subgroup.

theorem Function.locallyFinsuppWithin.mk_of_mem_addSubgroup_toFun E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddGroup Y] (f : X → Y)
  (hf : f ∈ Function.locallyFinsuppWithin.addSubgroup U) (a : X),
  (Function.locallyFinsuppWithin.mk_of_mem_addSubgroup f hf) a = f a

instance Function.locallyFinsuppWithin.instNeg E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : AddGroup Y] → Neg (Function.locallyFinsuppWithin U Y)

instance Function.locallyFinsuppWithin.instSub E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : AddGroup Y] → Sub (Function.locallyFinsuppWithin U Y)

instance Function.locallyFinsuppWithin.instSMulInt E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : AddGroup Y] → SMul ℤ (Function.locallyFinsuppWithin U Y)

theorem Function.locallyFinsuppWithin.coe_zero E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddMonoid Y], ⇑0 = 0

theorem Function.locallyFinsuppWithin.coe_add E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddMonoid Y]
  (D₁ D₂ : Function.locallyFinsuppWithin U Y), ⇑(D₁ + D₂) = ⇑D₁ + ⇑D₂

theorem Function.locallyFinsuppWithin.coe_neg E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddGroup Y]
  (D : Function.locallyFinsuppWithin U Y), ⇑(-D) = -⇑D

theorem Function.locallyFinsuppWithin.coe_sub E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddGroup Y]
  (D₁ D₂ : Function.locallyFinsuppWithin U Y), ⇑(D₁ - D₂) = ⇑D₁ - ⇑D₂

theorem Function.locallyFinsuppWithin.coe_nsmul E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddMonoid Y]
  (D : Function.locallyFinsuppWithin U Y) (n : ℕ), ⇑(n • D) = n • ⇑D

theorem Function.locallyFinsuppWithin.coe_zsmul E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddGroup Y]
  (D : Function.locallyFinsuppWithin U Y) (n : ℤ), ⇑(n • D) = n • ⇑D

instance Function.locallyFinsuppWithin.instAddMonoid E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : AddMonoid Y] → AddMonoid (Function.locallyFinsuppWithin U Y)

instance Function.locallyFinsuppWithin.instAddCommMonoid E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : AddCommMonoid Y] → AddCommMonoid (Function.locallyFinsuppWithin U Y)

theorem Function.locallyFinsuppWithin.coe_sum E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddCommMonoid Y] {ι : Type u_3}
  {s : Finset ι} {F : ι → Function.locallyFinsuppWithin U Y}, ⇑(∑ n ∈ s, F n) = ∑ n ∈ s, ⇑(F n)

theorem Function.locallyFinsuppWithin.coe_finsum E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {ι : Type u_3} {F : ι → Function.locallyFinsuppWithin U ℤ},
  ⇑(∑ᶠ (i : ι), F i) = ∑ᶠ (i : ι), ⇑(F i)

instance Function.locallyFinsuppWithin.instAddGroup E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : AddGroup Y] → AddGroup (Function.locallyFinsuppWithin U Y)

theorem Function.locallyFinsuppWithin.support_neg E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddGroup Y]
  (D : Function.locallyFinsuppWithin U Y), (-D).support = D.support

Simplifier lemma: Support does not change when replacing a function with locally finite support by its negative.

instance Function.locallyFinsuppWithin.instAddCommGroup E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [inst_1 : AddCommGroup Y] → AddCommGroup (Function.locallyFinsuppWithin U Y)

def Function.locallyFinsuppWithin.supported E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    (Y : Type u_2) → [inst_1 : AddGroup Y] → (U : Set X) → Set X → AddSubgroup (Function.locallyFinsuppWithin U Y)

supported Y U s is the additive subgroup of those functions with locally finite support within U whose support is contained in s.

This is the analogue of Finsupp.supported, which cannot be used here: it is a Submodule of α →₀ M and so requires a semiring acting on a commutative M, whereas Y is an arbitrary additive group.

theorem Function.locallyFinsuppWithin.mem_supported E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddGroup Y] {s : Set X}
  {D : Function.locallyFinsuppWithin U Y}, D ∈ Function.locallyFinsuppWithin.supported Y U s ↔ D.support ⊆ s

instance Function.locallyFinsuppWithin.instLE E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [LE Y] → [inst_2 : Zero Y] → LE (Function.locallyFinsuppWithin U Y)

theorem Function.locallyFinsuppWithin.le_def E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : LE Y] [inst_2 : Zero Y]
  {D₁ D₂ : Function.locallyFinsuppWithin U Y}, D₁ ≤ D₂ ↔ ⇑D₁ ≤ ⇑D₂

theorem Function.locallyFinsuppWithin.single_nonneg E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : DecidableEq X] [inst_2 : Zero Y]
  [inst_3 : Preorder Y] {x : X} {y : Y}, 0 ≤ Function.locallyFinsuppWithin.single x y ↔ 0 ≤ y

instance Function.locallyFinsuppWithin.instLTOfPreorder E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [Preorder Y] → [inst_2 : Zero Y] → LT (Function.locallyFinsuppWithin U Y)

theorem Function.locallyFinsuppWithin.lt_def E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Preorder Y] [inst_2 : Zero Y]
  {D₁ D₂ : Function.locallyFinsuppWithin U Y}, D₁ < D₂ ↔ ⇑D₁ < ⇑D₂

theorem Function.locallyFinsuppWithin.single_pos E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : DecidableEq X] [inst_2 : Zero Y]
  [inst_3 : Preorder Y] {x : X} {y : Y}, 0 < Function.locallyFinsuppWithin.single x y ↔ 0 < y

theorem Function.locallyFinsuppWithin.single_pos_nat_one E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [inst_1 : DecidableEq X] {x : X},
  0 < Function.locallyFinsuppWithin.single x 1

theorem Function.locallyFinsuppWithin.single_pos_int_one E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [inst_1 : DecidableEq X] {x : X},
  0 < Function.locallyFinsuppWithin.single x 1

instance Function.locallyFinsuppWithin.instMaxOfSemilatticeSup E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [SemilatticeSup Y] → [inst_2 : Zero Y] → Max (Function.locallyFinsuppWithin U Y)

theorem Function.locallyFinsuppWithin.max_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : SemilatticeSup Y] [inst_2 : Zero Y]
  {D₁ D₂ : Function.locallyFinsuppWithin U Y} {x : X}, (D₁ ⊔ D₂) x = D₁ x ⊔ D₂ x

instance Function.locallyFinsuppWithin.instMinOfSemilatticeInf E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [SemilatticeInf Y] → [inst_2 : Zero Y] → Min (Function.locallyFinsuppWithin U Y)

theorem Function.locallyFinsuppWithin.min_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : SemilatticeInf Y] [inst_2 : Zero Y]
  {D₁ D₂ : Function.locallyFinsuppWithin U Y} {x : X}, (D₁ ⊓ D₂) x = D₁ x ⊓ D₂ x

instance Function.locallyFinsuppWithin.instLattice E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} → {Y : Type u_2} → [Lattice Y] → [inst_2 : Zero Y] → Lattice (Function.locallyFinsuppWithin U Y)

theorem Function.locallyFinsuppWithin.posPart_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Lattice Y] [inst_2 : AddCommGroup Y]
  (a : Function.locallyFinsuppWithin U Y) (x : X), a⁺ x = (a x)⁺

theorem Function.locallyFinsuppWithin.negPart_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Lattice Y] [inst_2 : AddCommGroup Y]
  (a : Function.locallyFinsuppWithin U Y) (x : X), a⁻ x = (a x)⁻

instance Function.locallyFinsuppWithin.instIsOrderedAddMonoid E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddCommGroup Y]
  [inst_2 : LinearOrder Y] [IsOrderedAddMonoid Y], IsOrderedAddMonoid (Function.locallyFinsuppWithin U Y)

Functions with locally finite support within U form an ordered commutative group.

theorem Function.locallyFinsuppWithin.posPart_add E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddCommGroup Y]
  [inst_2 : LinearOrder Y] [IsOrderedAddMonoid Y] (f₁ f₂ : Function.locallyFinsuppWithin U Y), (f₁ + f₂)⁺ ≤ f₁⁺ + f₂⁺

The positive part of a sum is less than or equal to the sum of the positive parts.

theorem Function.locallyFinsuppWithin.negPart_add E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddCommGroup Y]
  [inst_2 : LinearOrder Y] [IsOrderedAddMonoid Y] (f₁ f₂ : Function.locallyFinsuppWithin U Y), (f₁ + f₂)⁻ ≤ f₁⁻ + f₂⁻

The negative part of a sum is less than or equal to the sum of the negative parts.

theorem Function.locallyFinsuppWithin.nsmul_posPart E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddCommGroup Y]
  [inst_2 : LinearOrder Y] [IsOrderedAddMonoid Y] (n : ℕ) (f : Function.locallyFinsuppWithin U Y), (n • f)⁺ = n • f⁺

Taking the positive part of a function with locally finite support commutes with scalar multiplication by a natural number.

theorem Function.locallyFinsuppWithin.nsmul_negPart E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddCommGroup Y]
  [inst_2 : LinearOrder Y] [IsOrderedAddMonoid Y] (n : ℕ) (f : Function.locallyFinsuppWithin U Y), (n • f)⁻ = n • f⁻

Taking the negative part of a function with locally finite support commutes with scalar multiplication by a natural number.

theorem Function.locallyFinsuppWithin.exists_single_le_pos E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [inst_1 : DecidableEq X] {D : Function.locallyFinsupp X ℤ},
  0 < D → ∃ e, Function.locallyFinsuppWithin.single e 1 ≤ D

Every positive function with locally finite supports dominates a singleton indicator.

def Function.locallyFinsuppWithin.restrict E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} →
      {Y : Type u_2} →
        [inst_1 : Zero Y] → {V : Set X} → Function.locallyFinsuppWithin U Y → V ⊆ U → Function.locallyFinsuppWithin V Y

If V is a subset of U, then functions with locally finite support within U restrict to functions with locally finite support within V, by setting their values to zero outside of V.

theorem Function.locallyFinsuppWithin.restrict_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y] {V : Set X}
  (D : Function.locallyFinsuppWithin U Y) (h : V ⊆ U) (z : X), (D.restrict h) z = if z ∈ V then D z else 0

theorem Function.locallyFinsuppWithin.restrict_eqOn E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y] {V : Set X}
  (D : Function.locallyFinsuppWithin U Y) (h : V ⊆ U), Set.EqOn (⇑(D.restrict h)) (⇑D) V

theorem Function.locallyFinsuppWithin.restrict_eqOn_compl E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y] {V : Set X}
  (D : Function.locallyFinsuppWithin U Y) (h : V ⊆ U), Set.EqOn (⇑(D.restrict h)) 0 Vᶜ

theorem Function.locallyFinsuppWithin.restrict_zero E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : Zero Y] {U V : Set X} (hV : V ⊆ U),
  Function.locallyFinsuppWithin.restrict 0 hV = 0

Restriction of the zero function is the zero function.

theorem Function.locallyFinsuppWithin.restrict_mono E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y] [inst_2 : LinearOrder Y]
  {A B : Function.locallyFinsuppWithin U Y} {V : Set X} (hVU : V ⊆ U), A ≤ B → A.restrict hVU ≤ B.restrict hVU

Restriction is monotone

def Function.locallyFinsuppWithin.restrictMonoidHom E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} →
      {Y : Type u_2} →
        [inst_1 : AddCommGroup Y] →
          {V : Set X} → V ⊆ U → Function.locallyFinsuppWithin U Y →+ Function.locallyFinsuppWithin V Y

Restriction as a group morphism

theorem Function.locallyFinsuppWithin.restrictMonoidHom_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddCommGroup Y] {V : Set X}
  (D : Function.locallyFinsuppWithin U Y) (h : V ⊆ U),
  (Function.locallyFinsuppWithin.restrictMonoidHom h) D = D.restrict h

def Function.locallyFinsuppWithin.restrictOrderMonoidHom E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} →
      {Y : Type u_2} →
        [inst_1 : AddCommGroup Y] →
          [inst_2 : LinearOrder Y] →
            {V : Set X} → V ⊆ U → Function.locallyFinsuppWithin U Y →+o Function.locallyFinsuppWithin V Y

Restriction as an ordered group morphism

theorem Function.locallyFinsuppWithin.restrictOrderMonoidHom_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddCommGroup Y]
  [inst_2 : LinearOrder Y] {V : Set X} (D : Function.locallyFinsuppWithin U Y) (h : V ⊆ U),
  (Function.locallyFinsuppWithin.restrictOrderMonoidHom h) D = D.restrict h

theorem Function.locallyFinsuppWithin.sum_apply_smul_single_eq_self E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : DecidableEq X] [inst_2 : AddCommMonoid Y]
  {U : Set X} {F : Function.locallyFinsuppWithin U Y},
  F.support.Finite →
    ∑ᶠ (x : X), Function.locallyFinsuppWithin.restrict (Function.locallyFinsuppWithin.single x (F x)) ⋯ = F

Present a function with finite support as a finsum of singleton indicator functions.

theorem Function.locallyFinsuppWithin.sum_apply_smul_single_eq_self_on_univ E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [inst_1 : DecidableEq X] {D : Function.locallyFinsupp X ℤ}
  (h : (Function.locallyFinsuppWithin.support D).Finite),
  ∑ z ∈ h.toFinset, Function.locallyFinsuppWithin.single z (D z) = D

Represent a function (of locally finite support) that in fact has finite support as a finsum of singleton indicator functions.

def Function.locallyFinsuppWithin.restrictLatticeHom E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} →
      {Y : Type u_2} →
        [inst_1 : AddCommGroup Y] →
          [inst_2 : Lattice Y] →
            {V : Set X} → V ⊆ U → LatticeHom (Function.locallyFinsuppWithin U Y) (Function.locallyFinsuppWithin V Y)

Restriction as a lattice morphism

theorem Function.locallyFinsuppWithin.restrictLatticeHom_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : AddCommGroup Y] [inst_2 : Lattice Y]
  {V : Set X} (D : Function.locallyFinsuppWithin U Y) (h : V ⊆ U),
  (Function.locallyFinsuppWithin.restrictLatticeHom h) D = D.restrict h

theorem Function.locallyFinsuppWithin.restrict_posPart E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U V : Set X} (D : Function.locallyFinsuppWithin U ℤ) (h : V ⊆ U),
  D⁺.restrict h = (D.restrict h)⁺

Restriction commutes with taking positive parts.

theorem Function.locallyFinsuppWithin.restrict_negPart E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U V : Set X} (D : Function.locallyFinsuppWithin U ℤ) (h : V ⊆ U),
  D⁻.restrict h = (D.restrict h)⁻

Restriction commutes with taking negative parts.

theorem Function.locallyFinsuppWithin.disjoint_nhdsWithin_cofinite_of_mem E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_2} [inst_1 : Zero Y]
  (f : Function.locallyFinsuppWithin U Y), ∀ p ∈ U, Disjoint (nhdsWithin p f.support) Filter.cofinite

theorem Function.locallyFinsupp.disjoint_nhdsWithin_cofinite E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {Y : Type u_2} [inst_1 : Zero Y] (f : Function.locallyFinsupp X Y) (p : X),
  Disjoint (nhdsWithin p (Function.locallyFinsuppWithin.support f)) Filter.cofinite

def Function.locallyFinsuppWithin.mapRange E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} →
      {Y : Type u_3} →
        {Z : Type u_4} →
          [inst_1 : Zero Y] →
            [inst_2 : Zero Z] →
              (f : Y → Z) → f 0 = 0 → Function.locallyFinsuppWithin U Y → Function.locallyFinsuppWithin U Z

The composition of f : Y → Z and g : locallyFinsuppWithin is mapRange f hf g : locallyFinsuppWithin, which is well-defined when f 0 = 0.

theorem Function.locallyFinsuppWithin.mapRange_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} {Z : Type u_4} [inst_1 : Zero Y]
  [inst_2 : Zero Z] {f : Y → Z} {hf : f 0 = 0} {g : Function.locallyFinsuppWithin U Y} {a : X},
  (Function.locallyFinsuppWithin.mapRange f hf g) a = f (g a)

theorem Function.locallyFinsuppWithin.support_mapRange_subset E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} {Z : Type u_4} [inst_1 : Zero Y]
  [inst_2 : Zero Z] (f : Y → Z) (hf : f 0 = 0) (g : Function.locallyFinsuppWithin U Y),
  (Function.locallyFinsuppWithin.mapRange f hf g).support ⊆ g.support

abbrev Function.locallyFinsuppWithin.truncate E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} →
      {Y : Type u_3} →
        [inst_1 : Zero Y] →
          [inst_2 : LinearOrder Y] →
            Function.locallyFinsuppWithin U Y → (y : Y) → 0 ≤ y → Function.locallyFinsuppWithin U Y

Truncation of a function with locally finite support: the pointwise minimum with a non-negative constant y.

abbrev Function.locallyFinsuppWithin.truncate₁ E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {U : Set X} →
      {Y : Type u_3} →
        [inst_1 : Zero Y] →
          [inst_2 : LinearOrder Y] →
            [inst_3 : One Y] →
              [ZeroLEOneClass Y] → Function.locallyFinsuppWithin U Y → Function.locallyFinsuppWithin U Y

Truncation of a function with locally finite support: the pointwise minimum with the constant 1.

This is an abbrev for D.truncate 1 zero_le_one, so all lemmas about truncate apply directly. For instance, D.truncate_le 1 _ : D.truncate₁ ≤ D, where Lean infers the proof of 0 ≤ 1 from the expected type.

theorem Function.locallyFinsuppWithin.truncate_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} [inst_1 : Zero Y] [inst_2 : LinearOrder Y]
  (D : Function.locallyFinsuppWithin U Y) (y : Y) (hy : 0 ≤ y) (z : X), (D.truncate y hy) z = min (D z) y

Evaluation of the truncation.

theorem Function.locallyFinsuppWithin.truncate_zero E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} {y : Y} [inst_1 : Zero Y]
  [inst_2 : LinearOrder Y] {hy : 0 ≤ y}, Function.locallyFinsuppWithin.truncate 0 y hy = 0

Truncation of the zero function.

theorem Function.locallyFinsuppWithin.truncate_le E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} [inst_1 : Zero Y] [inst_2 : LinearOrder Y]
  (D : Function.locallyFinsuppWithin U Y) (y : Y) (hy : 0 ≤ y), D.truncate y hy ≤ D

Truncation decreases functions.

theorem Function.locallyFinsuppWithin.truncate_mono E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} [inst_1 : Zero Y] [inst_2 : LinearOrder Y]
  {D₁ D₂ : Function.locallyFinsuppWithin U Y} (y : Y) (hy : 0 ≤ y), D₁ ≤ D₂ → D₁.truncate y hy ≤ D₂.truncate y hy

Truncation is monotone.

theorem Function.locallyFinsuppWithin.truncate_nonneg E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} [inst_1 : Zero Y] [inst_2 : LinearOrder Y]
  {D : Function.locallyFinsuppWithin U Y} (y : Y) (hy : 0 ≤ y), 0 ≤ D → 0 ≤ D.truncate y hy

Truncation preserves non-negativity.

theorem Function.locallyFinsuppWithin.truncate_truncate E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} [inst_1 : Zero Y] [inst_2 : LinearOrder Y]
  (D : Function.locallyFinsuppWithin U Y) (y₁ y₂ : Y) (hy₁ : 0 ≤ y₁) (hy₂ : 0 ≤ y₂),
  (D.truncate y₁ hy₁).truncate y₂ hy₂ = D.truncate (min y₁ y₂) ⋯

Repeated truncation is truncation at minimum.

theorem Function.locallyFinsuppWithin.truncate_idempotent E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} [inst_1 : Zero Y] [inst_2 : LinearOrder Y]
  (D : Function.locallyFinsuppWithin U Y) (y : Y) (hy : 0 ≤ y), (D.truncate y hy).truncate y hy = D.truncate y hy

Truncation is idempotent.

theorem Function.locallyFinsuppWithin.support_truncate E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} [inst_1 : Zero Y] [inst_2 : LinearOrder Y]
  (D : Function.locallyFinsuppWithin U Y) (y : Y) (hy : 0 < y), (D.truncate y ⋯).support = D.support

Truncation does not change the support.

def Function.locallyFinsuppWithin.truncateOrderHom E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    (U : Set X) →
      {Y : Type u_3} →
        [inst_1 : Zero Y] →
          [inst_2 : LinearOrder Y] →
            (y : Y) → 0 ≤ y → Function.locallyFinsuppWithin U Y →o Function.locallyFinsuppWithin U Y

Truncation as an order homomorphism.

theorem Function.locallyFinsuppWithin.truncateOrderHom_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} [inst_1 : Zero Y] [inst_2 : LinearOrder Y]
  (y : Y) (hy : 0 ≤ y) (D : Function.locallyFinsuppWithin U Y),
  (Function.locallyFinsuppWithin.truncateOrderHom U y hy) D = D.truncate y hy

Evaluation of the order homomorphism truncateOrderHom.

def Function.locallyFinsuppWithin.truncateLatticeHom E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    (U : Set X) →
      {Y : Type u_3} →
        [inst_1 : Zero Y] →
          [inst_2 : LinearOrder Y] →
            (y : Y) → 0 ≤ y → LatticeHom (Function.locallyFinsuppWithin U Y) (Function.locallyFinsuppWithin U Y)

Truncation as a lattice homomorphism.

theorem Function.locallyFinsuppWithin.truncateLatticeHom_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {U : Set X} {Y : Type u_3} [inst_1 : Zero Y] [inst_2 : LinearOrder Y]
  (y : Y) (hy : 0 ≤ y) (D : Function.locallyFinsuppWithin U Y),
  (Function.locallyFinsuppWithin.truncateLatticeHom U y hy) D = D.truncate y hy

Evaluation of the lattice homomorphism truncateLatticeHom.