The unit interval, as a topological space #
Use open unitInterval
to turn on the notation I := Set.Icc (0 : ℝ) (1 : ℝ)
.
We provide basic instances, as well as a custom tactic for discharging
0 ≤ ↑x
, 0 ≤ 1 - ↑x
, ↑x ≤ 1
, and 1 - ↑x ≤ 1
when x : I
.
The unit interval #
The unit interval [0,1]
in ℝ.
Equations
- unitInterval.termI = Lean.ParserDescr.node `unitInterval.termI 1024 (Lean.ParserDescr.symbol "I")
Instances For
Equations
- unitInterval.hasZero = { zero := ⟨0, unitInterval.zero_mem⟩ }
Equations
- unitInterval.hasOne = { one := ⟨1, unitInterval.hasOne.proof_1⟩ }
Equations
Equations
- unitInterval.instMulElemReal = { mul := fun (x y : ↑unitInterval) => ⟨↑x * ↑y, ⋯⟩ }
Unit interval central symmetry.
Equations
- unitInterval.termσ = Lean.ParserDescr.node `unitInterval.termσ 1024 (Lean.ParserDescr.symbol "σ")
Instances For
unitInterval.symm
as a Homeomorph
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Alias of unitInterval.symm_involutive
.
Alias of unitInterval.symm_bijective
.
like unitInterval.nonneg
, but with the inequality in I
.
like unitInterval.le_one
, but with the inequality in I
.
Equations
Set.projIcc
is a contraction.
When h : a ≤ b
and δ > 0
, addNSMul h δ
is a sequence of points in the closed interval
[a,b]
, which is initially equally spaced but eventually stays at the right endpoint b
.
Equations
- Set.Icc.addNSMul h δ n = Set.projIcc a b h (a + n • δ)
Instances For
Any open cover of the unit interval can be refined to a finite partition into subintervals.
A tactic that solves 0 ≤ ↑x
, 0 ≤ 1 - ↑x
, ↑x ≤ 1
, and 1 - ↑x ≤ 1
for x : I
.
Equations
- Tactic.Interactive.tacticUnit_interval = Lean.ParserDescr.node `Tactic.Interactive.tacticUnit_interval 1024 (Lean.ParserDescr.nonReservedSymbol "unit_interval" false)
Instances For
The image of [0,1]
under the homeomorphism fun x ↦ a * x + b
is [b, a+b]
.
The affine homeomorphism from a nontrivial interval [a,b]
to [0,1]
.
Equations
- iccHomeoI a b h = let e := (affineHomeomorph (b - a) a ⋯).image (Set.Icc 0 1); (e.trans (Homeomorph.setCongr ⋯)).symm