-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b5bf552
commit f8b6c82
Showing
31 changed files
with
163 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Mathlib.Data.Complex.BigOperators | ||
|
||
open Fintype | ||
|
||
namespace Complex | ||
variable {ι : Type*} | ||
|
||
@[simp] lemma ofReal'_comp_balance [Fintype ι] (f : ι → ℝ) : | ||
ofReal' ∘ balance f = balance (ofReal' ∘ f) := ofReal_comp_balance _ | ||
|
||
end Complex |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import Mathlib.Probability.ConditionalProbability | ||
|
||
open MeasureTheory | ||
open scoped ENNReal | ||
|
||
namespace ProbabilityTheory | ||
variable {Ω Ω' α : Type*} {m : MeasurableSpace Ω} {m' : MeasurableSpace Ω'} {μ : Measure Ω} | ||
{s t : Set Ω} | ||
|
||
-- TODO: Replace `cond_eq_zero` | ||
@[simp] lemma cond_eq_zero' : μ[|s] = 0 ↔ μ s = ∞ ∨ μ s = 0 := by simp [cond] | ||
|
||
end ProbabilityTheory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Mathlib.Probability.UniformOn | ||
import LeanAPAP.Mathlib.Probability.ConditionalProbability | ||
|
||
namespace ProbabilityTheory | ||
variable {Ω : Type*} [MeasurableSpace Ω] [MeasurableSingletonClass Ω] {s : Set Ω} | ||
|
||
@[simp] lemma uniformOn_eq_zero : uniformOn s = 0 ↔ s.Infinite ∨ s = ∅ := by simp [uniformOn] | ||
@[simp] lemma uniformOn_eq_zero' (hs : s.Finite) : uniformOn s = 0 ↔ s = ∅ := by | ||
simp [uniformOn, hs] | ||
|
||
end ProbabilityTheory |
Oops, something went wrong.