Carleson/ToMathlib/MeasureTheory/Function/SimpleFunc.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Pinned Carleson blueprint
20 declarations, 0 contain sorry, 0 declared as axioms
Imports (1)
Imported by 3 files
- theorem
MeasureTheory.SimpleFunc.measurable_compTODO: tag this as @[fun_prop] (currently this gives an error) line 26 sourceSource comment
TODO: tag this as @[fun_prop] (currently this gives an error)standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,MeasureTheory.SimpleFunc,Measurable,Function.compProof uses:
MeasureTheory.SimpleFunc.measurable_bind,measurable_const2 instances, coercions and auxiliary constants left out.
theorem measurable_comp [MeasurableSpace α] [MeasurableSpace γ] {f : SimpleFunc α β} {g : β → γ} : Measurable (g ∘ f) := …Mentions: g
- theorem
MeasureTheory.SimpleFunc.measurable_comp'line 31 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,MeasureTheory.SimpleFunc,MeasurableProof uses:
MeasureTheory.SimpleFunc.measurable_bind,measurable_const2 instances, coercions and auxiliary constants left out.
- theorem
MeasureTheory.SimpleFunc.induction₀Proof stolen from the mathlibSimpleFunc.inductionwith a minor modification that is even suggested there line 40 sourceSource comment
Proof stolen from the mathlib `SimpleFunc.induction` with a minor modification that is even suggested there. TODO: update notation in mathlib version to match this onestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,AddZeroClass,MeasureTheory.SimpleFunc,Set,MeasurableSet,MeasureTheory.SimpleFunc.restrict,MeasureTheory.SimpleFunc.const,Disjoint,Function.support,HAdd.hAddProof uses:
Finset.induction,Finset,Eq,SDiff.sdiff,Set.range,Singleton.singleton,OfNat.ofNat,Classical.propDecidable,EmptyCollection.emptyCollection,Eq.mpr,Set.univ,eq_of_heq,HEq,Eq.refl,HEq.refl,Eq.symm,MeasureTheory.SimpleFunc.ext,of_eq_true,Eq.trans,Trueand 68 more65 instances, coercions and auxiliary constants left out.
Tactic trace: 34 steps
Open to load the checked before-and-after goal states.
protected theorem induction₀ [MeasurableSpace α] [AddZeroClass γ] {motive : SimpleFunc α γ → Prop} (const : ∀ (c) {s} (_ : MeasurableSet s), motive ((SimpleFunc.const _ c).restrict s)) (add : ∀ ⦃f : SimpleFunc α γ⦄ (c : γ) ⦃s : Set α⦄ (_ : MeasurableSet s), Disjoint (Function.support ⇑f) s → motive f → motive ((SimpleFunc.const α c).restrict s) → motive (f + ((SimpleFunc.const α c).restrict s))) (f : SimpleFunc α γ) : motive f := by … - lemma
MeasureTheory.SimpleFunc.helperline 82 source - lemma
MeasureTheory.SimpleFunc.Antitone.support_eqline 218 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
ConditionallyCompleteLinearOrderBot,AddMonoid,LinearOrder,CanonicallyOrderedAdd,OrderBot,Antitone,Eq,Set,Function.support,ite,BddAbove,Classical.propDecidable,Membership.mem,SupSet.sSup,Set.Iic,Set.Iio,Set.univProof uses:
Set.ext,Eq.mpr,Iff,Not,OfNat.ofNat,id,congr,congrArg,congrFun',ite_congr,Eq.refl,Eq.trans,ite_not,dite,ite_eq_left,Mathlib.Tactic.Contrapose.contrapose_iff₂,LE.le,LT.lt,Iff.intro,csSup_le'and 27 more55 instances, coercions and auxiliary constants left out.
Tactic trace: 58 steps
Open to load the checked before-and-after goal states.
- theorem
MeasureTheory.SimpleFunc.antitone_inductionline 277 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,ConditionallyCompleteLinearOrderBot,LinearOrder,AddCommMonoid,CanonicallyOrderedAdd,OrderBot,Sub,OrderedSub,MeasureTheory.SimpleFunc,MeasureTheory.SimpleFunc.restrict,MeasureTheory.SimpleFunc.const,Set.Iio,Set.Iic,Set,MeasurableSet,LE.le,Function.support,HAdd.hAdd,AntitoneProof uses:
Nat.recAux,Nat,Eq,Finset.card,SDiff.sdiff,Finset,MeasureTheory.SimpleFunc.range,Singleton.singleton,OfNat.ofNat,Eq.mpr,eq_of_heq,HEq,Eq.refl,HEq.refl,Eq.symm,MeasureTheory.SimpleFunc.ext,of_eq_true,Eq.trans,True,congrFun'and 63 more88 instances, coercions and auxiliary constants left out.
Tactic trace: 78 steps
Open to load the checked before-and-after goal states.
- theorem
MeasureTheory.SimpleFunc.induction''line 361 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,LinearOrder,AddCommMonoid,CanonicallyOrderedAdd,OrderBot,Sub,OrderedSub,MeasureTheory.SimpleFunc,Set,MeasurableSet,MeasureTheory.SimpleFunc.restrict,MeasureTheory.SimpleFunc.const,LE.le,Function.support,HAdd.hAddProof uses:
Nat.recAux,Nat,Eq,Finset.card,SDiff.sdiff,Finset,MeasureTheory.SimpleFunc.range,Singleton.singleton,OfNat.ofNat,Eq.mpr,Set.univ,eq_of_heq,HEq,Eq.refl,HEq.refl,Eq.symm,MeasureTheory.SimpleFunc.ext,of_eq_true,Eq.trans,Trueand 45 more72 instances, coercions and auxiliary constants left out.
Tactic trace: 43 steps
Open to load the checked before-and-after goal states.
- theorem
MeasureTheory.SimpleFunc.approx_leline 420 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,ConditionallyCompleteLinearOrderBot,Zero,TopologicalSpace,OrderClosedTopology,OpensMeasurableSpace,Nat,Measurable,Eq,OfNat.ofNat,Bot.bot,LE.le,MeasureTheory.SimpleFunc,MeasureTheory.SimpleFunc.approxProof uses:
Eq.mpr,Finset.sup,Finset.range,ite,Classical.propDecidable,id,congrArg,MeasureTheory.SimpleFunc.approx_apply,LT.lt,Eq.trans,Membership.mem,Finset,forall_congr,implies_congr,Eq.refl,dite,congrFun',ite_eq_left,Not,ite_eq_rightand 1 more38 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- theorem
MeasureTheory.SimpleFunc.iSup_approx_apply'Version ofiSup_approx_applyforConditionallyCompleteLinearOrderBotline 434 sourceSource comment
Version of `iSup_approx_apply` for `ConditionallyCompleteLinearOrderBot`.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,ConditionallyCompleteLinearOrderBot,TopologicalSpace,OrderClosedTopology,Zero,OpensMeasurableSpace,Nat,Measurable,Eq,OfNat.ofNat,Bot.bot,iSup,MeasureTheory.SimpleFunc,MeasureTheory.SimpleFunc.approx,LE.leProof uses:
le_antisymm,ciSup_le',Eq.mpr,Finset.sup,Finset.range,ite,Classical.propDecidable,id,congrArg,MeasureTheory.SimpleFunc.approx_apply,Finset.sup_le,Membership.mem,Finset,dite,congrFun',ite_eq_left,propext,le_ciSup_iff',Exists.intro,Setand 35 more51 instances, coercions and auxiliary constants left out.
Tactic trace: 37 steps
Open to load the checked before-and-after goal states.
theorem iSup_approx_apply' [ConditionallyCompleteLinearOrderBot β] [TopologicalSpace β] [OrderClosedTopology β] [Zero β] [MeasurableSpace β] [OpensMeasurableSpace β] (i : ℕ → β) (f : α → β) (a : α) (hf : Measurable f) (h_zero : (0 : β) = ⊥) : ⨆ n, (approx i f n : SimpleFunc α β) a = ⨆ (k) (_ : i k ≤ f a), i k := by …Mentions: k
- def
MeasureTheory.SimpleFunc.nnrealRatEmbedA sequence ofℝ≥0s such that its range is the set of non-negative rational numbers line 471 sourceSource documentation
A sequence of
ℝ≥0s such that its range is the set of non-negative rational numbers.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,NNRealProof uses:
Real.toNNReal,Real,Option.getD,Rat,Encodable.decode,OfNat.ofNat4 instances, coercions and auxiliary constants left out.
def nnrealRatEmbed (n : ℕ) : ℝ≥0 := …
- theorem
MeasureTheory.SimpleFunc.nnrealRatEmbed_encodeline 474 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Rat,Eq,NNReal, MeasureTheory.SimpleFunc.nnrealRatEmbed,Encodable.encode,Real.toNNReal,RealProof uses:
Eq.mpr,Option.getD,Encodable.decode,OfNat.ofNat,id,congrArg,MeasureTheory.SimpleFunc.nnrealRatEmbed.eq_1,Option.some,Option,Encodable.encodek,Eq.refl7 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- def
MeasureTheory.SimpleFunc.nnapproxApproximate a functionα → ℝ≥0by a sequence of simple functions line 479 sourceSource documentation
Approximate a function
α → ℝ≥0by a sequence of simple functions.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,NNReal,Nat,MeasureTheory.SimpleFuncProof uses:
MeasureTheory.SimpleFunc.approx, MeasureTheory.SimpleFunc.nnrealRatEmbed3 instances, coercions and auxiliary constants left out.
def nnapprox : (α → ℝ≥0) → ℕ → SimpleFunc α ℝ≥0 := …
- lemma
MeasureTheory.SimpleFunc.nnapprox_leline 482 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,NNReal,Measurable,Nat,LE.le,MeasureTheory.SimpleFunc, MeasureTheory.SimpleFunc.nnapproxProof uses: MeasureTheory.SimpleFunc.approx_le, MeasureTheory.SimpleFunc.nnrealRatEmbed,
rfl,OfNat.ofNat16 instances, coercions and auxiliary constants left out.
- theorem
MeasureTheory.SimpleFunc.monotone_nnapproxline 486 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,NNReal,Monotone,Nat,MeasureTheory.SimpleFunc, MeasureTheory.SimpleFunc.nnapproxProof uses:
MeasureTheory.SimpleFunc.monotone_approx, MeasureTheory.SimpleFunc.nnrealRatEmbed7 instances, coercions and auxiliary constants left out.
- lemma
MeasureTheory.SimpleFunc.iSup_nnapprox_applyline 490 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,NNReal,Measurable,Eq,iSup,Nat,MeasureTheory.SimpleFunc, MeasureTheory.SimpleFunc.nnapproxProof uses:
le_antisymm,ciSup_le, MeasureTheory.SimpleFunc.nnapprox_le,le_of_not_gt,LT.lt,Rat,And,LE.le,OfNat.ofNat,Real.toNNReal,Real,Exists,False,Iff.mp,NNReal.lt_iff_exists_rat_btwn, MeasureTheory.SimpleFunc.nnrealRatEmbed,le_ciSup_of_le,Exists.intro,Membership.mem,Setand 32 more69 instances, coercions and auxiliary constants left out.
Tactic trace: 30 steps
Open to load the checked before-and-after goal states.
- lemma
MeasureTheory.SimpleFunc.iSup_nnapproxline 517 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,NNReal,Measurable,Eq,iSup,Nat,MeasureTheory.SimpleFunc, MeasureTheory.SimpleFunc.nnapproxProof uses:
funext, MeasureTheory.SimpleFunc.iSup_nnapprox_apply18 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- theorem
MeasureTheory.Measurable.nnreal_inductionmodelled after Measurable.ennreal_induction but with very raw assumptions line 527 sourceSource documentation
modelled after Measurable.ennreal_induction but with very raw assumptions
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,NNReal,MeasureTheory.SimpleFunc,Measurable,Nat, MeasureTheory.SimpleFunc.nnapprox6 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
protected theorem Measurable.nnreal_induction {α : Type*} {mα : MeasurableSpace α} {motive : (α → ℝ≥0) → Prop} (simpleFunc : ∀ ⦃f : SimpleFunc α ℝ≥0⦄, motive f) (approx : ∀ ⦃f : α → ℝ≥0⦄, (_ : Measurable f) → (∀ (n : ℕ), motive (SimpleFunc.nnapprox f n)) → motive f) ⦃f : α → ℝ≥0⦄ (hf : Measurable f) : motive f := by …Mentions: MeasureTheory.SimpleFunc.nnapprox
- theorem
MeasureTheory.Measurable.ennreal_induction'modified from ennreal_induction line 538 sourceSource comment
modified from ennreal_inductionstandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
MeasurableSpace,ENNReal,MeasureTheory.SimpleFunc,Nat,Monotone,iSup,MeasurableProof uses:
Eq.mpr,MeasureTheory.SimpleFunc.eapprox,eq_of_heq,Eq,HEq,Eq.refl,HEq.refl,Eq.symm,funext,id,congrArg,MeasureTheory.SimpleFunc.iSup_eapprox_apply,MeasureTheory.SimpleFunc.monotone_eapprox30 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
protected theorem Measurable.ennreal_induction' {α : Type*} {mα : MeasurableSpace α} {motive : (α → ℝ≥0∞) → Prop} (simpleFunc : ∀ ⦃f : SimpleFunc α ℝ≥0∞⦄, motive f) (iSup : ∀ ⦃f : ℕ → (SimpleFunc α ℝ≥0∞)⦄, Monotone f → (∀ (n : ℕ), motive (f n)) → motive fun x ↦ ⨆ n, f n x) ⦃f : α → ℝ≥0∞⦄ (hf : Measurable f) : motive f := by … - lemma
MeasureTheory.Antitone.antitone_eapproxline 549 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
TopologicalSpace,MeasurableSpace,BorelSpace,LinearOrder,OrderClosedTopology,ENNReal,Antitone,Nat,MeasureTheory.SimpleFunc,MeasureTheory.SimpleFunc.eapproxProof uses:
id,LE.le,Eq.mpr,MeasureTheory.SimpleFunc.approx,MeasureTheory.SimpleFunc.ennrealRatEmbed,Finset.sup,Finset.range,ite,Classical.propDecidable,OfNat.ofNat,Eq,congrArg,MeasureTheory.SimpleFunc.approx_apply,Antitone.measurable,Finset.sup_mono_fun,Membership.mem,Finset,dite,congrFun',ite_eq_leftand 10 more43 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- theorem
MeasureTheory.Antitone.ennreal_induction'modified from ennreal_induction line 566 sourceSource comment
modified from ennreal_inductionstandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
TopologicalSpace,MeasurableSpace,BorelSpace,LinearOrder,OrderClosedTopology,ENNReal,MeasureTheory.SimpleFunc,Antitone,Nat,Monotone,iSupProof uses:
Eq.mpr,MeasureTheory.SimpleFunc.eapprox,eq_of_heq,Eq,HEq,Eq.refl,HEq.refl,Eq.symm,funext,id,congrArg,MeasureTheory.SimpleFunc.iSup_eapprox_apply,Antitone.measurable,MeasureTheory.SimpleFunc.monotone_eapprox, MeasureTheory.Antitone.antitone_eapprox42 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
protected theorem Antitone.ennreal_induction' {α : Type*} [TopologicalSpace α] {mα : MeasurableSpace α} [BorelSpace α] [LinearOrder α] [OrderClosedTopology α] {motive : (α → ℝ≥0∞) → Prop} (simpleFunc : ∀ ⦃f : SimpleFunc α ℝ≥0∞⦄, Antitone f → motive f) (iSup : ∀ ⦃f : ℕ → (SimpleFunc α ℝ≥0∞)⦄, Monotone f → (∀ (n : ℕ), motive (f n)) → motive fun x ↦ ⨆ n, f n x) ⦃f : α → ℝ≥0∞⦄ (hf : Antitone f) : motive f := by …