cfahlgren1's picture
download
raw
498 Bytes
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Data.Finset.Basic
import Mathlib.Basic.Real.Basic
namespace OAI
namespace Balanced.FiniteProbability
open scoped BigOperators
def mass {Ω : Type*} (w : Ω → ℝ) (A : Finset Ω) : ℝ :=
∑ ω ∈ A, w ω
def avoid {Ω ι : Type*} [Fintype Ω] [DecidableEq Ω]
(E : ι → Finset Ω) (S : Finset ι) : Finset Ω :=
Finset.univ.filter (fun ω => ∀ i ∈ S, ω ∉ E i)
end Balanced.FiniteProbability
end OAI

Xet Storage Details

Size:
498 Bytes
·
Xet hash:
3663225e0ec6c816310c2e8a345d2325cd8cc2a447595a02075040532bcde8dd

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