diff --git a/LeanMachineLearning/ForMathlib/MeasureTheory/Measure/Dirac.lean b/LeanMachineLearning/ForMathlib/MeasureTheory/Measure/Dirac.lean index 21547b4b..62d2547b 100644 --- a/LeanMachineLearning/ForMathlib/MeasureTheory/Measure/Dirac.lean +++ b/LeanMachineLearning/ForMathlib/MeasureTheory/Measure/Dirac.lean @@ -18,7 +18,8 @@ On a subsingleton, every probability measure is a Dirac mass. namespace MeasureTheory.Measure /-- On a subsingleton, every probability measure is a Dirac mass. -/ -lemma eq_dirac_of_subsingleton {α : Type*} {mα : MeasurableSpace α} +-- A prime was added to the name for compatibility with Tau Ceti. +lemma eq_dirac_of_subsingleton' {α : Type*} {mα : MeasurableSpace α} [Subsingleton α] (μ : Measure α) [IsProbabilityMeasure μ] (x : α) : μ = Measure.dirac x := by ext s hs diff --git a/LeanMachineLearning/ForMathlib/MeasureTheory/Order/Lattice.lean b/LeanMachineLearning/ForMathlib/MeasureTheory/Order/Lattice.lean index 2552702e..abe33fc5 100644 --- a/LeanMachineLearning/ForMathlib/MeasureTheory/Order/Lattice.lean +++ b/LeanMachineLearning/ForMathlib/MeasureTheory/Order/Lattice.lean @@ -21,7 +21,8 @@ variable {α δ : Type*} [MeasurableSpace δ] [SemilatticeInf α] {m : Measurabl attribute [to_dual existing] MeasurableInf₂ /-- Dual version of `Finset.measurable_sup'`. -/ -@[to_dual existing (attr := fun_prop)] -theorem Finset.measurable_inf' {ι : Type*} {s : Finset ι} (hs : s.Nonempty) {f : ι → δ → α} +-- 2 primes were added to the name for compatibility with Tau Ceti. +@[to_dual existing (attr := fun_prop) Finset.measurable_sup'] +theorem Finset.measurable_inf''' {ι : Type*} {s : Finset ι} (hs : s.Nonempty) {f : ι → δ → α} (hf : ∀ n ∈ s, Measurable (f n)) : Measurable (s.inf' hs f) := Finset.inf'_induction hs _ (fun _f hf _g hg => hf.inf hg) fun n hn => hf n hn diff --git a/LeanMachineLearning/ForMathlib/Probability/Kernel/Basic.lean b/LeanMachineLearning/ForMathlib/Probability/Kernel/Basic.lean index 2ed5d225..a7cfc52d 100644 --- a/LeanMachineLearning/ForMathlib/Probability/Kernel/Basic.lean +++ b/LeanMachineLearning/ForMathlib/Probability/Kernel/Basic.lean @@ -31,6 +31,6 @@ lemma eq_const_dirac_of_subsingleton [Subsingleton β] (κ : Kernel α β) [IsMa κ = Kernel.const α (Measure.dirac y) := by ext a : 1 rw [Kernel.const_apply] - exact (κ a).eq_dirac_of_subsingleton y + exact (κ a).eq_dirac_of_subsingleton' y end ProbabilityTheory.Kernel diff --git a/LeanMachineLearning/SequentialLearning/StationaryEnv.lean b/LeanMachineLearning/SequentialLearning/StationaryEnv.lean index c8103ff8..2a36fd0a 100644 --- a/LeanMachineLearning/SequentialLearning/StationaryEnv.lean +++ b/LeanMachineLearning/SequentialLearning/StationaryEnv.lean @@ -471,7 +471,7 @@ instance : (Environment.banditSeq ν).IsOblivious := @[simp] lemma obsLaw_banditSeq (n : ℕ) : (Environment.banditSeq ν).obsLaw n = Measure.dirac () := - Measure.eq_dirac_of_subsingleton _ () + Measure.eq_dirac_of_subsingleton' _ () @[simp] lemma feedbackCondObsAction_banditSeq (n : ℕ) : @@ -522,7 +522,7 @@ instance : (Environment.bandit ν).IsOblivious := @[simp] lemma obsLaw_bandit (n : ℕ) : (Environment.bandit ν).obsLaw n = Measure.dirac () := - Measure.eq_dirac_of_subsingleton _ () + Measure.eq_dirac_of_subsingleton' _ () @[simp] lemma feedbackCondObsAction_bandit (n : ℕ) :