Carleson/ToMathlib/CoveredByBalls.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 (2)
Imported by 2 files
- lemma
CoveredByBalls.mono_setline 24 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Set,Nat,Real, CoveredByBalls,LE.leProof uses:
Finset,Finset.card,Set.iUnion,Membership.mem,Metric.ball,CoveredByBalls.mk7 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
CoveredByBalls.mono_natline 28 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Set,Nat,Real, CoveredByBalls,LE.leProof uses:
Finset,Finset.card,Set.iUnion,Membership.mem,Metric.ball,CoveredByBalls.mk,LE.le.trans7 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
CoveredByBalls.mono_realline 32 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Set,Nat,Real, CoveredByBalls,LE.leProof uses:
Finset,Finset.card,Set.iUnion,Membership.mem,Metric.ball,CoveredByBalls.mk,LE.le.trans,Set.iUnion_mono'',Metric.ball_subset_ball13 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
CoveredByBalls.emptyline 38 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Nat,Real, CoveredByBalls,EmptyCollection.emptyCollection,SetProof uses:
CoveredByBalls.mk,Finset,of_eq_true,LE.le,OfNat.ofNat,Set.iUnion,Membership.mem,Metric.ball,Eq.trans,True,congrArg,funext,False,Set.iUnion_congr_Prop,Iff.of_eq,Eq.refl,Set.iUnion_of_empty,Set.iUnion_empty23 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
CoveredByBalls.zero_leftline 42 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Set,Real,Iff, CoveredByBalls,OfNat.ofNat,Nat,Eq,EmptyCollection.emptyCollectionProof uses:
Iff.intro,Finset,LE.le,Finset.card,Set.iUnion,Membership.mem,Metric.ball,Eq.mp,Eq.trans,congrArg,funext,False,Set.iUnion_congr_Prop,Iff.of_eq,Eq.refl,Set.iUnion_of_empty,Set.iUnion_empty,Eq.symm, CoveredByBalls.empty24 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- lemma
CoveredByBalls.zero_rightline 47 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Set,Nat,Iff, CoveredByBalls,OfNat.ofNat,Real,Eq,EmptyCollection.emptyCollectionProof uses:
Iff.intro,Finset,LE.le,Finset.card,Set.iUnion,Membership.mem,Metric.ball,Eq.mp,Eq.trans,congrArg,funext,Set.iUnion_congr_Prop,Iff.of_eq,Eq.refl,Metric.ball_zero,Set.iUnion_empty,Eq.mpr,id,False,Set.iUnion_of_emptyand 8 more27 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- lemma
CoveredByBalls.ballline 55 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Real, CoveredByBalls,Metric.ball,OfNat.ofNat,NatProof uses:
Finset,Singleton.singleton,LE.le,Finset.card,le_refl,Set,Set.iUnion,Membership.mem,of_eq_true,Eq.trans,True,congrArg,Eq,funext,Set.iUnion_congr_Prop,Iff.of_eq,Eq.refl,Set.iUnion_iUnion_eq_left,CoveredByBalls.mk17 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- lemma
CoveredByBalls.transline 65 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Set,Nat,Real, CoveredByBalls, BallsCoverBalls,HMul.hMulProof uses:
Finset,LE.le,Finset.card,Set.iUnion,Membership.mem,Metric.ball,Eq.mpr,Exists,And,id,Eq,congrArg,propext,coveredByBalls_iff,Iff.mp,Exists.intro,Finset.biUnion,Classical.propDecidable,Exists.choose,And.introand 16 more17 instances, coercions and auxiliary constants left out.
Tactic trace: 18 steps
Open to load the checked before-and-after goal states.
- lemma
BallsCoverBalls.monoline 87 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Nat,Real, BallsCoverBalls,LE.leProof uses: CoveredByBalls.mono_set,
Metric.ball,Metric.ball_subset_ball2 instances, coercions and auxiliary constants left out.
- lemma
BallsCoverBalls.transline 91 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Nat,Real, BallsCoverBalls,HMul.hMulProof uses: CoveredByBalls.trans,
Metric.ball2 instances, coercions and auxiliary constants left out.
- lemma
BallsCoverBalls.zeroline 95 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Nat,Real, BallsCoverBalls,OfNat.ofNatProof uses:
Eq.mpr, CoveredByBalls,Metric.ball,EmptyCollection.emptyCollection,Set,eq_of_heq,Eq,HEq,Eq.refl,HEq.refl,Eq.symm,of_eq_true,Eq.trans,True,congrFun',congrArg,Metric.ball_zero,eq_self, CoveredByBalls.empty7 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
BallsCoverBalls.nonposline 100 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Nat,Real,LE.le,OfNat.ofNat, BallsCoverBallsProof uses: BallsCoverBalls.mono, BallsCoverBalls.zero
6 instances, coercions and auxiliary constants left out.
- lemma
AllBallsCoverBalls.mkProveAllBallsCoverBallsonly for balls of positive radius line 110 sourceSource documentation
Prove
AllBallsCoverBallsonly for balls of positive radius.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Nat,Real,LE.le,OfNat.ofNat,GT.gt, BallsCoverBalls,HMul.hMul, AllBallsCoverBallsProof uses:
LT.lt,Or,lt_or_ge, BallsCoverBalls.nonpos,mul_nonpos_of_nonneg_of_nonpos24 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
lemma mk {a : ℝ} (ha : 0 ≤ a) (h : ∀ r > 0, BallsCoverBalls X (a * r) r n) : AllBallsCoverBalls X a n := by …Mentions: BallsCoverBalls, AllBallsCoverBalls
- lemma
AllBallsCoverBalls.powline 117 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Nat,Real, AllBallsCoverBalls,HPow.hPowProof uses:
Nat.recAux, BallsCoverBalls,HMul.hMul,Eq.mpr,OfNat.ofNat,id,Eq,congr,congrFun',congrArg,Eq.trans,pow_zero,one_mul, CoveredByBalls.ball,HAdd.hAdd,pow_succ,pow_succ', BallsCoverBalls.trans,Eq.mp,Eq.symmand 2 more31 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- lemma
AllBallsCoverBalls.ballsCoverBalls_powline 129 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Nat,Real, AllBallsCoverBalls, BallsCoverBalls,HPow.hPow,OfNat.ofNatProof uses: BallsCoverBalls.mono,
HMul.hMul, AllBallsCoverBalls.pow,Eq.mpr,LE.le,id,Eq,congrArg,mul_one,le_refl24 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
AllBallsCoverBalls.ballsCoverBallsline 134 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Nat,Real, AllBallsCoverBalls,LT.lt,OfNat.ofNat, BallsCoverBalls,HPow.hPow,Nat.ceil,Real.logb,HDiv.hDivProof uses:
LE.le,Or,le_or_gt, BallsCoverBalls.nonpos, BallsCoverBalls.mono,HMul.hMul, AllBallsCoverBalls.pow,Trans.trans,Eq,Eq.mpr,id,congrArg,div_mul_cancel₀,LT.lt.ne',Eq.refl,mul_le_mul_of_nonneg_right, Real.le_pow_natCeil_logb,div_pos,le_of_lt64 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- theorem
Metric.secondCountableTopology_of_almost_dense_set_balls_natDocumented declaration: secondCountableTopology_of_almost_dense_set_balls_nat line 153 sourceSource documentation
A pseudometric space is second countable if, for every
ε > 0and every ballBwith natural number radius around a given pointx₀, there is a countable set which isε-dense inB.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Real,GT.gt,OfNat.ofNat,Nat,Exists,Set,And,Set.Countable,Membership.mem,Metric.ball,LE.le,Dist.dist,SecondCountableTopologyProof uses:
Metric.secondCountable_of_almost_dense_set,Exists.intro,Set.iUnion,And.intro,of_eq_true,Eq.trans,True,forall_congr,eq_true,And.left,implies_true,HAdd.hAdd,Nat.floor,LT.lt,congrFun',congrArg,Nat.cast_add,Nat.cast_one,Eq.mpr,idand 6 more40 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
theorem Metric.secondCountableTopology_of_almost_dense_set_balls_nat {α} [PseudoMetricSpace α] (x₀ : α) (H : ∀ ε > (0 : ℝ), ∀ (n : ℕ), ∃ s : Set α, s.Countable ∧ ∀ x ∈ ball x₀ n, ∃ y ∈ s, dist x y ≤ ε) : SecondCountableTopology α := by …Mentions: s
- theorem
Metric.secondCountableTopology_of_almost_dense_set_ballsA pseudometric space is second countable if, for everyε > 0and every ballB, there is a countable set which isε-dense inBline 170 sourceSource documentation
A pseudometric space is second countable if, for every
ε > 0and every ballB, there is a countable set which isε-dense inB.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Real,GT.gt,OfNat.ofNat,Exists,Set,And,Set.Countable,Membership.mem,Metric.ball,LE.le,Dist.dist,SecondCountableTopologyProof uses:
IsEmpty,Nonempty,Or,isEmpty_or_nonempty, Metric.secondCountableTopology_of_almost_dense_set_balls_nat,Inhabited.default,Lean.Elab.Tactic.nonempty_to_inhabited,Nat,Exists.intro,And.intro24 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
theorem Metric.secondCountableTopology_of_almost_dense_set_balls {α} [PseudoMetricSpace α] (H : ∀ (x₀ : α), ∀ ε > (0 : ℝ), ∀ r, ∃ s : Set α, s.Countable ∧ ∀ x ∈ ball x₀ r, ∃ y ∈ s, dist x y ≤ ε) : SecondCountableTopology α := by …Mentions: s
- theorem
BallsCoverBalls.secondCountableTopologyA pseudometric space is second countable if, for everyε > 0and every ballBis covered by finitely many balls of radiusεline 186 sourceSource documentation
A pseudometric space is second countable if, for every
ε > 0and every ballBis covered by finitely many balls of radiusε.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Real,GT.gt,OfNat.ofNat,Exists,Nat, BallsCoverBalls,SecondCountableTopologyProof uses: Metric.secondCountableTopology_of_almost_dense_set_balls,
Set,And,Set.Countable,Membership.mem,Metric.ball,LE.le,Dist.dist, CoveredByBalls,Finset,Finset.card,Set.iUnion,Exists.intro,And.intro,Finset.countable_toSet,Eq.mp,Eq.trans,congrArg,funext,LT.lt.le20 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
theorem BallsCoverBalls.secondCountableTopology (H : ∀ ε > (0 : ℝ), ∀ r, ∃ n, BallsCoverBalls X r ε n) : SecondCountableTopology X := by …Mentions: BallsCoverBalls
- lemma
AllBallsCoverBalls.secondCountableTopologyA pseudometric space is second countable if every ball of radiusa * ris covered bybmany balls of radiusrline 200 sourceSource documentation
A pseudometric space is second countable if every ball of radius
a * ris covered bybmany balls of radiusr.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PseudoMetricSpace,Nat,Real, AllBallsCoverBalls,LT.lt,OfNat.ofNat,SecondCountableTopologyProof uses: BallsCoverBalls.secondCountableTopology,
GT.gt,Exists.intro, BallsCoverBalls,HPow.hPow,Nat.ceil,Real.logb,HDiv.hDiv, AllBallsCoverBalls.ballsCoverBalls23 instances, coercions and auxiliary constants left out.
lemma AllBallsCoverBalls.secondCountableTopology {a : ℝ} (h : AllBallsCoverBalls X a n) (h2 : 1 < a) : SecondCountableTopology X := …Mentions: AllBallsCoverBalls