LeanPool.DirectedTopologyLean4.Interpolate #
The continuous map t ↦ (1 - t) * a + t * b interpolating between a and b in I.
Equations
- interpolateConst a b = { toFun := fun (t : ↑unitInterval) => ⟨↑(unitInterval.symm t) * ↑a + ↑t * ↑b, ⋯⟩, continuous_toFun := ⋯ }
Instances For
The directed-map version of interpolateConst when a ≤ b.
Equations
- directedInterpolateConst h = { toContinuousMap := interpolateConst a b, directed_toFun := ⋯ }
Instances For
Two-parameter interpolation (s, t) ↦ (1 - s) * f t + s * g t.
Equations
- interpolate f g = { toFun := fun (t : ↑unitInterval × ↑unitInterval) => ⟨↑(unitInterval.symm t.1) * ↑(f t.2) + ↑t.1 * ↑(g t.2), ⋯⟩, continuous_toFun := ⋯ }
Instances For
theorem
interpolate_constant_apply
(f g : C(↑unitInterval, ↑unitInterval))
(t v : ↑unitInterval)
(hf : f t = v)
(hg : g t = v)
(x : ↑unitInterval)
:
theorem
directed_interpolate
(f g : D(↑unitInterval,↑unitInterval))
(h : ∀ (t : ↑unitInterval), f t ≤ g t)
: