Exercise508: bracket spec
ProvedScott1980.Neighborhood.Exercise508.bracket_specscott1980
Combinatory completeness (Exercise 5.8, Scott 1981, PRG-19). The variable-free combinator
expression bracket t denotes exactly the function λx.t: applied to any x, it yields t.denote x.
Thus, with I, K, S (and the constants of t) available, every λ-abstraction can be defined
by combining combinators using application as the only mode of combination — Scott's "turning of the
tables".
Preamble
import Definitions.Def_Scott1980_Neighborhood_FunctionSpace
import Definitions.Def_Scott1980_Neighborhood_Exercise508
set_option autoImplicit true
open Scott1980 Scott1980.Neighborhood Scott1980.Neighborhood.Exercise508
open Scott1980.Neighborhood NeighborhoodSystem ApproximableMap
variable {α β γ : Type*}
variable {αx αa αb : Type*}
{Vx : NeighborhoodSystem αx} {Va : NeighborhoodSystem αa} {Vb : NeighborhoodSystem αb}Formal statement
theorem Scott1980.Neighborhood.Exercise508.bracket_spec {X : Dom} {A : Dom} (t : Poly X A) (x : X.sys.Element) :
(toApproxMap (bracket t).denote).toElementMap x = t.denote x := by sorrySource