cfahlgren1's picture
download
raw
937 Bytes
import Mathlib
namespace OAI
section
open scoped BigOperators Topology Matrix.Norms.Operator
open MeasureTheory
open scoped BigOperators ENNReal Classical
open Filter MeasureTheory
open Filter
open scoped BigOperators Topology
open scoped BigOperators
namespace SharpTerminalLeave
section FiberCount
variable {α β : Type*} [DecidableEq α] [DecidableEq β]
omit [DecidableEq α] in
lemma real_card_le_fiber_bound (s : Finset α) (t : Finset β) (f : α → β)
(hf : ∀ a ∈ s, f a ∈ t) (b : ℝ)
(hb : ∀ y ∈ t, ((s.filter (fun a => f a = y)).card : ℝ) ≤ b) :
(s.card : ℝ) ≤ b * t.card := by
have he : s.card = ∑ y ∈ t, (s.filter (fun a => f a = y)).card :=
Finset.card_eq_sum_card_fiberwise hf
rw [he,Nat.cast_sum]
calc
_ ≤ ∑ _y ∈ t, b := Finset.sum_le_sum hb
_ = _ := by simp only [Finset.sum_const,nsmul_eq_mul]; ring
end FiberCount
end SharpTerminalLeave
end
end OAI

Xet Storage Details

Size:
937 Bytes
·
Xet hash:
108e119e4e90630e723f846fa893496207058c1301da92cc8ed47b12432d2868

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.