Exercise507: uncurry apply
ProvedScott1980.Neighborhood.Exercise507.uncurry_applyscott1980
One-argument-at-a-time application. For h : D₀ → (D₁ → D₂), applying the uncurried map to
a pair is the same as applying h to x and then to y:
(uncurry h)(⟨x, y⟩) = h(x)(y).
Preamble
import Definitions.Def_Scott1980_Neighborhood_FunctionSpace
import Definitions.Def_Scott1980_Neighborhood_Exercise507
set_option autoImplicit true
open Scott1980 Scott1980.Neighborhood Scott1980.Neighborhood.Exercise507
open Scott1980.Neighborhood NeighborhoodSystem ApproximableMap
variable {α β γ δ : Type*}
{V₀ : NeighborhoodSystem α} {V₁ : NeighborhoodSystem β}
{V₂ : NeighborhoodSystem γ} {V₃ : NeighborhoodSystem δ}Formal statement
theorem Scott1980.Neighborhood.Exercise507.uncurry_apply (h : ApproximableMap V₀ (funSpace V₁ V₂))
(x : V₀.Element) (y : V₁.Element) :
(uncurry h).toElementMap (pair x y) =
(toApproxMap (h.toElementMap x)).toElementMap y := by sorrySource