Compfiles/UpperLowerContinuous.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 compfiles documentation, Pinned compfiles corpus index
15 declarations, 0 contain sorry, 0 declared as axioms
Suppose f : ℝ -> ℝ is continuous in both the upper topology (where the basic open sets are half-open intervals (a, b]) and lower topology (where the basic open sets are half-open intervals [a,b)). Then f is continuous in the usual topology (where the basic open sets are open intervals (a,b)) and also monotone nondecreasing.
Imports (8)
Imported by 1 file
- def
UpperLowerContinuous.upper_intervalsline 34 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,RealProof uses:
Set.ofPred,Exists,Eq,Set.Ioc1 instances, coercions and auxiliary constants left out.
- def
UpperLowerContinuous.lower_intervalsline 35 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,RealProof uses:
Set.ofPred,Exists,Eq,Set.Ico1 instances, coercions and auxiliary constants left out.
- def
UpperLowerContinuous.open_intervalsline 36 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,RealProof uses:
Set.ofPred,Exists,Eq,Set.Ioo1 instances, coercions and auxiliary constants left out.
- def
UpperLowerContinuous.tᵤGenerate the toplogy on ℝ by intervals of the form (a, b] line 40 sourceSource documentation
Generate the toplogy on ℝ by intervals of the form (a, b].
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
TopologicalSpace,RealProof uses:
TopologicalSpace.generateFrom, UpperLowerContinuous.upper_intervalsdef tᵤ : TopologicalSpace ℝ := TopologicalSpace.generateFrom upper_intervals …
Mentions: UpperLowerContinuous.upper_intervals
- def
UpperLowerContinuous.tₗGenerate the toplogy on ℝ by intervals of the form [a, b) line 44 sourceSource documentation
Generate the toplogy on ℝ by intervals of the form [a, b).
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
TopologicalSpace,RealProof uses:
TopologicalSpace.generateFrom, UpperLowerContinuous.lower_intervalsdef tₗ : TopologicalSpace ℝ := TopologicalSpace.generateFrom lower_intervals …
Mentions: UpperLowerContinuous.lower_intervals
- def
UpperLowerContinuous.tₛThis should be equivalent to the default instance forTopologicalSpace ℝ, which goes throughUniformSpace, but for now I don't want to bother with proving that equivalence line 51 sourceSource documentation
This should be equivalent to the default instance for
TopologicalSpace ℝ, which goes throughUniformSpace, but for now I don't want to bother with proving that equivalence.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
TopologicalSpace,RealProof uses:
TopologicalSpace.generateFrom, UpperLowerContinuous.open_intervalsdef tₛ : TopologicalSpace ℝ := TopologicalSpace.generateFrom open_intervals …
Mentions: UpperLowerContinuous.open_intervals
- lemma
UpperLowerContinuous.real_inductionLet S be a set of real numbers such that: 1 line 64 sourceSource documentation
Let S be a set of real numbers such that:
- If x ∈ S, then we can find y > x such that [x, y) ⊆ S.
- If [x, y) ⊆ S, then y ∈ S. Then, given z ∈ S, we have [z, ∞) ⊆ S.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Real,Membership.mem,Exists,And,LT.lt,LE.le,Set.Ico,Set.IciProof uses:
Classical.byContradiction,Not,False,Eq.mp,Eq.trans,Mathlib.Tactic.Push.not_forall_eq,congrArg,funext,Set.subset_def,Set.ofPred,InfSet.sInf,Set.Nonempty,Exists.intro,And.intro,lowerBounds,And.left,BddBelow,Set.nonempty_of_mem,Iff.mpr,not_leand 15 more24 instances, coercions and auxiliary constants left out.
Tactic trace: 40 steps
Open to load the checked before-and-after goal states.
lemma real_induction {S : Set ℝ} (h1 : ∀ x ∈ S, ∃ y, x < y ∧ Set.Ico x y ⊆ S) (h2 : ∀ x y, x < y → Set.Ico x y ⊆ S → y ∈ S) {z : ℝ} (hz : z ∈ S) : Set.Ici z ⊆ S := by …Mentions: S
- lemma
UpperLowerContinuous.lower_basisline 130 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
TopologicalSpace.IsTopologicalBasis,Real, UpperLowerContinuous.tₗ, UpperLowerContinuous.lower_intervalsProof uses:
TopologicalSpace.IsTopologicalBasis.mk,Set,Membership.mem,Inter.inter,Exists,Eq,Set.Ico,And,LE.le,Exists.intro,Max.max,Min.min,And.intro,rfl,of_eq_true,Eq.trans,LT.lt,True,congr,congrArgand 13 more54 instances, coercions and auxiliary constants left out.
Tactic trace: 30 steps
Open to load the checked before-and-after goal states.
- lemma
UpperLowerContinuous.upper_basisline 152 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
TopologicalSpace.IsTopologicalBasis,Real, UpperLowerContinuous.tᵤ, UpperLowerContinuous.upper_intervalsProof uses:
TopologicalSpace.IsTopologicalBasis.mk,Set,Membership.mem,Inter.inter,Exists,Eq,Set.Ioc,And,LE.le,Exists.intro,Max.max,Min.min,And.intro,rfl,of_eq_true,Eq.trans,LT.lt,True,congr,congrArgand 13 more58 instances, coercions and auxiliary constants left out.
Tactic trace: 30 steps
Open to load the checked before-and-after goal states.
- lemma
UpperLowerContinuous.open_basisline 174 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
TopologicalSpace.IsTopologicalBasis,Real, UpperLowerContinuous.tₛ, UpperLowerContinuous.open_intervalsProof uses:
TopologicalSpace.IsTopologicalBasis.mk,Set,Membership.mem,Inter.inter,Exists,Eq,Set.Ioo,And,LE.le,Exists.intro,Max.max,Min.min,And.intro,rfl,of_eq_true,Eq.trans,LT.lt,True,congr,congrArgand 14 more60 instances, coercions and auxiliary constants left out.
Tactic trace: 30 steps
Open to load the checked before-and-after goal states.
- lemma
UpperLowerContinuous.continuous_of_upper_lower_continuousline 195 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Continuous, UpperLowerContinuous.tᵤ, UpperLowerContinuous.tₗ, UpperLowerContinuous.tₛProof uses:
Iff.mpr,TopologicalSpace.generateFrom, UpperLowerContinuous.open_intervals,Set,Membership.mem,IsOpen,Set.preimage,continuous_generateFrom_iff,Exists,Eq,Set.Ioo,And,LE.le,Set.Ioc,LT.lt,TopologicalSpace.isOpen_generateFrom_of_mem, UpperLowerContinuous.upper_intervals,Exists.intro,rfl,Iff.mpand 25 more22 instances, coercions and auxiliary constants left out.
Tactic trace: 68 steps
Open to load the checked before-and-after goal states.
- lemma
UpperLowerContinuous.infinite_interval_lower_open[x, ∞) is open in tₗ line 288 sourceSource comment
[x, ∞) is open in tₗstandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,IsOpen, UpperLowerContinuous.tₗ,Set.IciProof uses:
Eq.mpr,Membership.mem,Set,Exists,And, UpperLowerContinuous.lower_intervals,LE.le,id,Eq,congrArg,propext,TopologicalSpace.IsTopologicalBasis.isOpen_iff, UpperLowerContinuous.lower_basis,Exists.intro,Set.Ico,HAdd.hAdd,OfNat.ofNat,And.intro,rfl,LT.ltand 6 more33 instances, coercions and auxiliary constants left out.
Tactic trace: 18 steps
Open to load the checked before-and-after goal states.
lemma infinite_interval_lower_open (x : ℝ) : IsOpen[tₗ] (Set.Ici x) := by …
Mentions: UpperLowerContinuous.tₗ
- lemma
UpperLowerContinuous.infinite_interval_upper_open(-∞, x) is open in tᵤ line 306 sourceSource comment
(-∞, x) is open in tᵤstandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,IsOpen, UpperLowerContinuous.tᵤ,Set.IioProof uses:
Eq.mpr,Membership.mem,Set,Exists,And, UpperLowerContinuous.upper_intervals,LE.le,id,Eq,congrArg,propext,TopologicalSpace.IsTopologicalBasis.isOpen_iff, UpperLowerContinuous.upper_basis,Exists.intro,Set.Ioc,HSub.hSub,OfNat.ofNat,And.intro,rfl,LT.ltand 6 more42 instances, coercions and auxiliary constants left out.
Tactic trace: 17 steps
Open to load the checked before-and-after goal states.
lemma infinite_interval_upper_open (x : ℝ) : IsOpen[tᵤ] (Set.Iio x) := by …
Mentions: UpperLowerContinuous.tᵤ
- theorem
UpperLowerContinuous.monotone_of_upper_lower_continuousline 321 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Continuous, UpperLowerContinuous.tᵤ, UpperLowerContinuous.tₗ,MonotoneProof uses:
LE.le,Membership.mem,Set,Set.preimage,Set.Ici,Exists,And,LT.lt,Set.Ico,IsOpen,Iff.mp,continuous_def, UpperLowerContinuous.infinite_interval_lower_open, UpperLowerContinuous.lower_intervals,TopologicalSpace.IsTopologicalBasis.isOpen_iff, UpperLowerContinuous.lower_basis,Eq,Exists.intro,And.intro,And.rightand 117 more117 instances, coercions and auxiliary constants left out.
Tactic trace: 68 steps
Open to load the checked before-and-after goal states.
- problem
UpperLowerContinuous.properties_of_upper_lower_continuousline 423 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Continuous, UpperLowerContinuous.tᵤ, UpperLowerContinuous.tₗ,And, UpperLowerContinuous.tₛ,MonotoneProof uses:
And.intro, UpperLowerContinuous.continuous_of_upper_lower_continuous, UpperLowerContinuous.monotone_of_upper_lower_continuous2 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.