Theorem: ENat.encard_support_le_tsum (Matroid/ForMathlib/ENatTopology.lean)

State before:
α : Type u_1
β : Type u_2
ι : Type u_3
s : Set α
n : ℕ∞
f g : α → ℕ∞
⊢ (support f).encard ≤ ∑' (x : α), f x
Tactic:
rw [← ENat.tsum_one', tsum_subtype]
State after:
α : Type u_1
β : Type u_2
ι : Type u_3
s : Set α
n : ℕ∞
f g : α → ℕ∞
⊢ ∑' (x : α), (support f).indicator 1 x ≤ ∑' (x : α), f x

State before:
α : Type u_1
β : Type u_2
ι : Type u_3
s : Set α
n : ℕ∞
f g : α → ℕ∞
⊢ ∑' (x : α), (support f).indicator 1 x ≤ ∑' (x : α), f x
Tactic:
exact ENat.tsum_le_tsum <| ENat.indicator_support_le _
State after:
no goals