Main Page: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
mNo edit summary
Replaced content with "<br><br>Here's more in regards to [http://www.standrewkim.org/xe/?document_srl=685742 Single Women In Boston] visit our own web page."
Line 1: Line 1:
[[File:Dispersant Mechanism.jpg|thumb|Oil dispersant mechanism of action|alt=Color illustration of how oil dispersants work]]
{{Orphan|date=July 2012}}
'''Oil dispersants''' are a mixture of [[surfactants]] and solvents that break up an [[oil spill]] into droplets. By breaking it up, microbes and the environment can more easily [[biodegrade]] the oil. A mixture of oil and water is normally unstable, but can be stabilized with the addition of surfactants. Surfactants improve interaction at the oil-water junction, decreasing surface energy. Dispersants have had negative environmental effects due to their toxicity; however, reformulated dispersants have been accepted by the [[United States Environmental Protection Agency]] (EPA).<ref>{{cite web|title=Dispersants|url=http://www.epa.gov/bpspill/dispersants.html}}</ref>


==History==
'''Computable topology''' studies the topological and algebraic structure of computation. Computable topology includes algorithmic topology and therefore encompasses computer science. [[Computational topology]] is equivalent to the topology of [[lambda calculus|&lambda;-calculus]]. Within [[computer science]] computational forms can be reduced to λ-calculus's functional based mathematics. As shown by [[Allan Turing]] and [[Alonzo Church]], the λ-calculus is strong enough to describe all mechanically computable functions (see [[Church-Turing thesis]]).<ref>Church 1934:90 footnote in Davis 1952</ref><ref>Turing 1936–7 in Davis 1952:149</ref><ref>Barendregt, H.P., The Lambda Calculus Syntax and Semantics. North-Holland Publishing Company. 1981</ref> Lambda-calculus is then a foundational mathematics easily made into a principle programming language from which other languages can be built. For this reason when considering the [[topology]] of computation it is suitable to focus on the topology of λ-calculus. Functional programming, e.g. type free [[lambda Calculus]], originated as a theoretical [[foundation of mathematics]]. The premise relies on functional computability, where objects and functions are of the same type. The [[topology]] of λ-calculus is the [[#Scott Topology|Scott topology]], and when restricted to continuous functions the type free λ-Calculus amounts to a [[topological space]] reliant on the [[tree topology]]. Both the Scott and Tree topologies exhibit continuity with respect to the [[binary operators]] of application ( f ''applied to'' a = fa ) and abstraction ((λx.t(x))a = t(a)) with a modular equivalence relation based on a [[congruence relation|congruency]]. The algebraic structure of computation may also be considered as equivalent to the algebraic structure of λ-calculus, meaning the λ-algebra. The λ-algebra is found to be an extension of the combinatory algebra, with an element introduced to accommodate abstraction.
In 1967, the ''Torrey Canyon'' leaked oil onto the [[Torrey Canyon oil spill|English coastline]].<ref name=Clayton /> [[Alkylphenol]] surfactants were primarily used to break up the oil, but proved very toxic in the marine environment; all types of marine life were killed. This led to a reformulation of dispersants to be more environmentally sensitive. After the Torrey Canyon spill, new boat-spraying systems were developed.<ref name=Clayton /> Later reformulations allowed more dispersant to be contained (at a higher concentration) to be aerosolized.


==Theory==
A primary concern of algorithmic topology, as its name suggests, is to develop efficient [[algorithm]]s for solving topological problems, or using topological methods to solve algorithmic problems from other fields.
===Requirements===
There are five requirements for surfactants to successfully disperse oil:<ref name=Clayton/>
*Dispersant must be on the oil's surface in the proper concentration
*Dispersant must penetrate (mix with) the oil
* Surfactant molecules must orient at the oil-water interface (hydrophobic in oil and [[Hydrophile|hydrophilic]] in water)
* Oil-water interfacial surface tension must be lowered (so the oil can be broken up).
* Energy must be applied to the mix (for example, by waves)


The [[hydrophilic-lipophilic balance]] (HLB) is a coding scale from 0 to 20 for non-[[ion]]ic surfactants, and takes into account the chemical structure of the surfactant molecule. A zero value corresponds to the most [[Lipophilicity|lipophilic]] and a value of 20 is the most hydrophilic for a non-ionic surfactant.<ref name=Clayton>{{cite book|last=Clayton|first=John R.|title=Oil Spill Dispersants: Mechanisms of Action and Laboratory Tests|year=1992|publisher= C K Smoley & Sons|isbn=0-87371-946-8|pages=9-23}}</ref>[[File:Oil with Surfactant.jpg|thumb|left|Oil reacting with surfactant in water|alt=Illustration of oil reacting with surfactant in water]]
==Computational topology from &lambda;-calculus topology==
Type free λ-calculus treats functions as rules and does not differentiate functions and the objects which they are applied to, meaning λ-calculus is [[data type|type]] free. A by-product of type free λ-Calculus is an [[effective method|effective computability]] equivalent to [[recursion|general recursion]] and [[Turing machine]]s.<ref name="Barendregt">Barendregt, H.P., The Lambda Calculus Syntax and Semantics. North-Holland Publishing Company. 1981.</ref> The set of λ -terms can be considered a functional topology in which a function space can be [[embedding|embedded]], meaning λ mappings within the space X are such that λ:X → X.<ref name="Barendregt" /><ref name="ScottModels">D. S. Scott. Models for the &lambda;-calculus. Informally distributed, 1969. Notes, December 1969, Oxford Univ.</ref> Introduced November 1969, [[Dana Scott]]'s untyped set theoretic model constructed a proper topology for any λ-calculus model whose function space is limited to continuous functions.<ref name="Barendregt" /><ref name="ScottModels" /> The result of a [[Scott continuous]] λ-calculus topology is a function space built upon a programming semantic allowing fixed point combinatorics, such as the [[Y Combinator]], and data types.<ref>Gordon, M.J.C., The Denotational Description of Programming Languages. Springer Verlag, Berlin. 1979.</ref><ref>Scott, D. S. and Strachey, C. Toward a Mathematical Semantics for Computer Languages, Proc. Symp. on Computers and Automata, Polytechnic Institute of Brooklyn, 21, pp. 19-46. 1971.</ref> By 1971, λ-calculus was equipped to define any sequential computation and could be easily adapted to parallel computations.<ref>G. Berry, Sequential algorithms on concrete data structures, Theoretical Computer Science 20, 265-321 (1982).</ref> The reducibility of all computations to λ-calculus allows these λ-topological properties to become adopted by all programming languages.<ref name="Barendregt" />


==={{anchor|Dispersion Models}}Dispersion models===
==Computational Algebra from &lambda;-calculus algebra==
Developing well-constructed models (accounting for variables such as oil type, salinity and surfactant) are necessary to select the appropriate dispersant in a given situation. Two models exist which integrate the use of dispersants: Mackay's model and Johansen's model.<ref name="Using Oil Dispersants">National Research Council Committee on Effectiveness of Oil Spill Dispersants: Using Oil Dispersants on the Sea, National Academy Press, 1989 pp 63-75</ref> There are several parameters which must be considered when creating a dispersion model, including oil-slick thickness, [[advection]], resurfacing and wave action.<ref name="Using Oil Dispersants">National Research Council Committee on Effectiveness of Oil Spill Dispersants: Using Oil Dispersants on the Sea, National Academy Press, 1989 pp 63-75</ref> A general problem in modeling dispersants is that they change several of these parameters; surfactants lower the thickness of the film, increase the amount of diffusion into the water column and increase the amount of breakup caused by wave action. This causes the oil slick's behavior to be more dominated by vertical diffusion than horizontal advection.<ref name="Using Oil Dispersants">National Research Council Committee on Effectiveness of Oil Spill Dispersants: Using Oil Dispersants on the Sea, National Academy Press, 1989 pp 63-75</ref>
Based on the operators within [[lambda calculus]], application and abstraction, it is possible to develop an algebra whose group structure uses application and abstraction as binary operators. Application is defined as an operation between [[lambda term]]s producing a λ-term, e.g. the application of λ onto the lambda term ''a'' produces the lambda term ''&lambda;a''. Abstraction incorporates undefined variables by denoting λx.t(x) as the function assigning the variable ''a'' to the lambda term with value ''t(a)'' via the operation ((λ x.t(x))a = t(a)). Lastly, an [[equivalence relation]] emerges which identifies λ-terms modulo convertible terms, an example being [[beta normal form]].


One equation for the modeling of oil spills is:<ref name= "Tkalich"> Tkalich,P Xiaobo,C Accurate Simulation of Oil Slicks, Tropical marine science institute, Presented 2001 International Oil Spill Conference pp 1133-1135 http://www.iosc.org/papers_posters/00015.pdf</ref>
==Scott Topology==
The Scott Topology is essential in understanding the topological structure of computation as expressed through the λ-calculus. Scott found that after constructing a function space using λ-calculus one obtains a [[Kolmogorov space]], a <math>T_o</math> topological space which is [[homeomorphic]] to itself and exhibits [[pointwise convergence]], in short the [[product topology]].<ref>D. S. Scott. “Continuous Lattices.” Oxford University Computing Laboratory August, 1971.</ref> It is the ability of self homeomorphism as well as the ability to embed every space into such a space, denoted [[Scott continuous]], as previously described which allows Scott's topology to be applicable to logic and recursive function theory. Scott approaches his derivation using a [[complete lattice]], resulting in a topology dependent on the lattice structure. It is possible to generalise Scott's theory with the use of [[complete partial order]]s. For this reason a more general understanding of the computational topology is provided through complete partial orders. We will re-iterate to familiarize ourselves with the notation to be used during the discussion of Scott topology.
Complete partial orders are defined as follows:


<math>(\frac {\partial h}{\partial t})\bigtriangledown (h(\vec {U} + (\frac {\vec {t}}{f}) - \bigtriangledown(E\bigtriangledown h) = R </math>
First, given the [[partially ordered set]] D=(D,≤) where a subset ''X'' of ''D'', ''X'' ≤ ''D'' is directed, i.e.:
::if ''X'' &ne; <math>\empty</math> and
::<math>\forall</math> ''x,y'' &isin; ''X'' <math>\exists</math> ''z'' &isin; ''X'' where ''x''&le; ''z'' & ''y'' &le; ''z''


where
''D'' is a [[complete partial order]] (cpo) if:
::<math>\exists</math> ''bottom'' element <math>\perp</math> such that  <math>\perp</math> &isin; ''D'' & <math>\forall</math> ''x'' &isin; ''D'' <math>\perp</math> &le; ''x''
::<math>\cdot</math> Every directed X <math>\subseteq</math>D there exists a [[supremum]].


* ''h'' is the oil-slick thickness
We are now able to define the '''Scott Topology''' over a cpo (D, ≤ ).
* <math>\vec {U}</math> is the velocity of ocean currents in the mixing layer of the water column (where oil and water mix together)
* <math>\vec {t}</math> is the wind-driven shear stress
''O'' <math>\subseteq</math> ''D'' is ''open'' if:
* ''f'' is the oil-water friction coefficient
* ''E'' is the relative difference in densities between the oil and water
::(1) for x &isin; O, and x &le; y, then y &isin; O, i.e. O is an [[upper set]].
* ''R'' is the rate of spill propagation
::(2) for a directed set X <math>\subseteq</math> D, and [[supremum]](X) &isin; O, then X <math>\cap</math> O <math>\neq</math> <math>\empty </math>.


Mackay's model predicts an increasing dispersion rate, as the slick becomes thinner in one dimension. The model predicts that thin slicks will disperse faster than thick slicks for several reasons. Thin slicks are less effective at dampening waves and other sources of turbidity. Additionally, droplets formed upon dispersion are expected to be smaller in a thin slick and thus easier to disperse in water.
Using the Scott topological definition of open it is apparent that all topological properties are met.  
The model also includes:<ref name="Using Oil Dispersants">National Research Council Committee on Effectiveness of Oil Spill Dispersants: Using Oil Dispersants on the Sea, National Academy Press, 1989 pp 63-75</ref>
::<math>\cdot</math><math>\empty</math> and D, i.e. the empty set and whole space, are open.


* An expression for the diameter of the oil drop
::<math>\cdot</math>Open sets are open under arbitrary unions and under intersection:
* Temperature dependence of oil movement
:::: ''Proof'': Assume <math>U_i</math> is open where i &isin; I, I being the index set. We define U = <math>\cup</math>{ <math>U_i</math> ; i &isin; I}. Take ''b'' as an element of the upper set of U, therefore a &le; ''b''  for some ''a'' &isin; U It must be that ''a'' &isin; <math>U_i</math> for some i, likewise  ''b'' &isin; upset(<math>U_i</math>). U must therefore be upper as well since <math>U_i</math> &isin; U.
* An expression for the resurfacing of oil
* Calibrations based on data from experimental spills


The model is lacking in several areas: it does not account for evaporation, the topography of the ocean floor or the geography of the spill zone.<ref name="Using Oil Dispersants">National Research Council Committee on Effectiveness of Oil Spill DIspersants: Using Oil Dispersants on the Sea, National Academy Press, 1989 pp 63-75</ref>
::::Lastly, if D is a directed set with a supremum in U, then by assumption sup(D) &isin; <math>U_i </math>where <math>U_i </math>is open. There is necessarily a ''b'' &isin; D where upper(b) <math>\cap</math> D <math>\subseteq U_{i} \subseteq</math> U. The union of open sets <math> U_i </math>is therefore open.
::<math>\cdot</math>Open sets under intersection are open:
::::''Proof'': Given two open sets, U and V, we define W = U<math>\cap</math>V. If W=<math>\empty</math> then W is open. If non-empty say ''b'' &isin; upset(W) (the upper set of W), then for some ''a'' &isin; W, ''a'' &le; ''b''. Since a &isin; U <math>\cap</math>V, and b an element of the upper set of both U and V, then ''b'' &isin; W. W being open implies the intersection of open sets is open.
 
Though not shown here, it is the case that the map <math>f: D \rightarrow D^{'}</math> is continuous iff  f(sup(X)) = sup(f(X)) for all directed X<math>\subseteq</math> D, where f(X) = {f(x) | x ∈ X}  and the second supremum in <math>D^{'}</math>.<ref name="Barendregt" />
Before we begin explaining that application as common to λ-calculus is continuous within the Scott topology we require a certain understanding of the behavior of supremums over continuous functions as well as the conditions necessary for the product of spaces to be continuous namely
 
:(1) With <math>{f_{i}}_{i}</math> <math>\subseteq [D \rightarrow D^{'}]</math> be a directed family of maps, then <math>f(x) = \cup_{i}f_{i}(x)</math> if well defined and continuous.
 
:(2) If F <math>\subseteq [D \rightarrow D^{'}]</math> is directed and cpo and <math> [D \rightarrow D^{'}]</math> a cpo where sup({f(x) | f &isin; F).
 
 
We now show the continuity of ''application''. Using the definition of application as follows: 
:::Ap: <math>[D\rightarrow D^{'}] \times D \rightarrow D^{'}</math>  where  Ap(f,x) = f(x).
Ap is continuous with respect to the Scott topology on the product (<math> [D \rightarrow D^{'}] \times D \rightarrow D^{'}</math>) :
::''Proof'': &lambda;x.f(x) =  f is continuous. Let h =  &lambda; f.f(x). For directed F<math>\subseteq [D \rightarrow D^{'}]</math>
::h(sup(F)) = sup(F)(x)
:::: = sup( {f(x) | f &isin; F} )
:::: = sup( {h(f) | f &isin; F} )
:::: = sup( h(F) )
::By definition of Scott continuity h has been shown continuous. All that is now required to prove is that ''application'' is continuous when it's separate arguments are continuous, i.e. <math>[D \rightarrow D^{'}] </math>and <math>D \rightarrow D^{'} </math>are continuous, in our case ''f'' and ''h''.
::Now abstracting our argument to show <math>f:D \times  D^{'} \rightarrow D^{''} </math> with ''g'' =  &lambda; x.f(x,<math>x_{0}</math>) and ''d'' = &lambda;<math> x^'.f(x_0,x^')</math> as the arguments for D and <math>D^'</math> respectively, then for a directed X <math>\subseteq</math> D
::g(sup(X)) = f( sup(X),<math>x_{0}^{'})</math> )
:::: = f( sup( (x,<math>x_{0}^{'}</math>) | x &isin; X} ))
:::: (since ''f'' is continuous and {(x,<math>x_{0}^{'}</math>) | x &isin; X}) is directed):
:::: = sup( {f(x,<math>x_{0}^{'}</math>) | x &isin; X} )
:::: = sup(g(X))
::g is therefore continuous. The same process can be taken to show d is continuous.
::It has now been shown application is continuous under the Scott topology.


Johansen's model is more complex than Mackay's model. It considers particles to be in one of three states: at the surface, [[entrainment|entrained]] in the water column or evaporated. The empirically based model uses probabilistic variables to determine where the dispersant will move and where it will go after it breaks up oil slicks. The drift of each particle is determined by the state of that particle; this means that a particle in the vapor state will travel much further than a particle on the surface (or under the surface) of the ocean.<ref name="Using Oil Dispersants">National Research Council Committee on Effectiveness of Oil Spill DIspersants: Using Oil Dispersants on the Sea, National Academy Press, 1989 pp 63-75</ref> This model improves on Mackay's model in several key areas, including terms for:<ref name="Using Oil Dispersants">National Research Council Committee on Effectiveness of Oil Spill DIspersants: Using Oil Dispersants on the Sea, National Academy Press, 1989 pp 63-75</ref>
In order to demonstrate the Scott topology is a suitable fit for λ-calculus it is necessary to prove ''abstraction'' remains continuous over the Scott topology. Once completed it will have been shown that the mathematical foundation of λ-calculus is a well defined and suitable candidate functional paradigm for the Scott topology.


* Probability of [[entrainment]] – depends on wind
With f ∈ [D <math>\times D^{'} \rightarrow D^{''}</math>]  we define <math>\check{f}</math> (x) =λ y ∈ <math>D^{'}</math>f(x,y)We will show:
* Probability of resurfacing – depends on density, droplet size, time submerged and wind
* Probability of evaporation – matched with empirical data
:(i) <math>\check{f} </math> is continuous, meaning <math>\check{f}</math> &isin; <math>[D \rightarrow [D^{'} \rightarrow D^{''}] </math>
:(ii) &lambda; <math> f.\check{f}: [D \times D^{'} \rightarrow D^{''}]\rightarrow [D\rightarrow [D^{'}\rightarrow D^{''}]</math> is continuous.
::''Proof'' (i): Let X <math>\subseteq</math> D be directed, then


Oil dispersants are modeled by Johansen using a different set of entrainment and resurfacing parameters for treated versus untreated oil. This allows areas of the oil slick to be modeled differently, to better understand how oil spreads along the water's surface.
::<math>\check{f}</math>(sup(X)) = &lambda; y.f( sup(X),y )
:::: = &lambda; y.<math>sup_{x \isin X}</math>( f(x,y) )
:::: = <math>sup_{x \isin X}</math>( &lambda;y.f(x,y) )
:::: = sup(<math>\check{f}</math>(X))
::''Proof'' (ii): Defining L = &lambda; <math> f.\check{f} </math> then for F <math> \subseteq [D \times D^{'} \rightarrow D^{''}]</math> directed
::L(sup(F)) = &lambda; x &lambda; y. (sup(F))(x,y))
:::: = &lambda; x &lambda; y. <math>sup_{y \isin F}</math>f(x,y)
:::: = <math>sup_{y \isin F} </math>&lambda;x &lambda;y.f(x,y)
:::: = sup(L(F))
It has not been demonstrated how and why the λ-calculus defines the Scott topology.


== Thermodynamics ==
==Böhm trees and Computational Topology==
=== {{anchor|Non-Ionic Surfactants}}Non-ionic surfactants ===
[[Böhm trees]], easily represented graphically, express the computational behavior of a [[lambda term]]. It is possible to predict the functionality of a given lambda expression from reference to its correlating Böhm tree.<ref name="Barendregt" /> Böhm trees can be seen somewhat analogous to <math>\mathbb{R}</math> where the Böhm tree of a given set is similar to the continued fraction of a real number, and what is more, the Böhm tree corresponding to a sequence in [[normal form]] is finite, similar to the rational subset of the Reals.
To determine the [[Gibbs free energy]] of [[Micelle|micellization]], the change in chemical potential for the surfactant going from a single [[Solvation|solvated]] [[molecule]] to a micelle is measured. There are many approaches to this, one of which is the ''phase-separation model''. This model takes advantage of the fact that micellization resembles two phases separated by a [[monolayer]]. However, the model does not take into account changes in energy associated with the interactions of charges and is suitable only for describing non-ionic surfactants.<ref name="Butt"> Butt, Hans-Jürgen.  Graf, Karlheinz. Kappl, Michael.  "Physics and Chemistry of Interfaces".  2nd Edition.  WILEY-VCH. pp 265-299. 2006.</ref> In the phase-separation model, there are two distinct phases: alpha(α) and beta(β). The [[surface tension]] between the two phases is described by the [[Laplace Equation]], which relates the change in pressure across two phases to the curvature and surface tension.


<math> \Delta P= \gamma (C_1 +C_2)</math>
Böhm trees are defined by a mapping of elements within a sequence of numbers with ordering (≤, lh) and a binary operator * to a set of symbols. The Böhm tree is then a relation among a set of symbols through a partial mapping <math>\psi</math>.
Informally Böhm trees may be conceptualized as follows:


where:
:Given: <math>\Sigma</math> = <math>\perp \cup </math> { &lambda; x_{1} <math>\cdots </math>x_{n} . y | n &isin; <math> \mathbb{N}, x_{1} ... x_{n}</math>y are variables and denoting BT(M) as the Böhm tree for a lambda term M we then have:
:BT(M) = <math>\perp</math>  if M is unsolvable (therefore a single node)
<poem>
    BT(M) = λ<math>\vec{x}</math>.y
                  /&nbsp;&nbsp;&nbsp;&nbsp;\             
    BT(<math> M_{1} )</math>&nbsp;&nbsp;&nbsp;BT(<math> M_{m}</math> ) ; if M is solvable
</poem>
More Formally:
<math>\Sigma</math> is defined as a set of symbols. The Böhm tree of a λ term M, denoted BT(M), is the <math>\Sigma</math> labelled tree defined as follows:
::If M is unsolvable:
::BT(M)(<  >) = <math>\perp</math>,
::BT(M)(<math><k> *  \alpha</math>) is unsolvable <math>\forall k, \alpha</math>


<math> \Delta P</math> is the change in pressure across the interface
If M is solvable, where M = λ x_{1}<math> \cdots x_{n}.y M_{0} \cdots M_{m-1}</math>:
::BT(M)(< >) = &lambda; x_{1} <math>\cdots x_{n}.y</math>
::BT(M)(<math><k> *  \alpha</math>) = BT(M_k)(<math>\alpha</math>) <math>\forall \alpha</math> and k < m
:::::= undefined  <math>\forall  \alpha</math> and k <math>\ge</math> m


<math>\gamma</math> is the surface tension
We may now move on to show that Böhm trees act as suitable mappings from the tree topology to the scott topology. Allowing one to see computational constructs, be it within the Scott or tree topology, as Böhm tree formations.


<math>C_1 </math>and <math>C_2</math> are the curvatures of the selected interface
===Böhm tree and tree topology===


The chemical potential, μ, at low concentrations can be described by the equation:<ref name=Butt />
It is found that [[Böhm tree]]'s allow for a [[continuous]] mapping from the tree topology to the Scott topology. More specifically:


<math>\mu _{sur} (micelle) = \mu ^0 _{sur} + RTln[S]</math>
We begin with the cpo B = (B,<math>\subseteq</math>) on the Scott topology, with ordering of Böhm tree's denoted M<math>\subseteq</math> N, meaning M, N are trees and M results from N. The [[tree topology]] on the set <math>\Gamma</math> is the smallest set allowing for a continuous map


When ''[S]'' (the concentration of surfactant) reaches the [[critical micelle concentration]], the chemical potential of the surfactant in the micelle is equal to the chemical potential of the surfactant when it is solvated.<ref name=Butt />
::BT:<math>\Gamma \rightarrow </math>''B''.
Thus, the Gibbs free energy of micelle formation is described by the equation:


<math>\Delta G^{mic} _m = \mu_{micelle} - \mu^{0} _{sur} = RTlnCMC</math>
An equivalent definition would be to say the open sets of <math>\Gamma</math> are the image of the inverse Böhm tree <math> BT^{-1}</math> (O) where O is Scott open in B.


The main factor driving the formation of micelles, the movement of [[aliphatic compound]]s out of water and into an environment where they can interact with other non-polar groups, is driven by [[Introduction to entropy|entropy]]. Although there is [[Order and disorder (physics)|ordering]] occurring by means of a phase separation, the entropy gained by the water molecules interacting with other water molecules is far greater in magnitude.<ref name=Butt />
The applicability of the Bömh trees and the tree topology has many interesting consequences to λ-terms expressed topologically:


=== {{anchor|Ionic Surfactants}}Ionic surfactants ===
:Normal forms are found to exist as isolated points.
[[File:C-130_support_oil_spill_cleanup.jpg|thumb|U.S. Air Force C-130 plane releases dispersants over the [[''Deepwater Horizon'' oil spill]].|alt=Plane spraying dispersants over an oil spill]]
Describing the formation of micelles mathematically for ionic surfactants is far more difficult because of the repulsion that occurs between the head groups as the micelle is formed.<ref name=Butt /> The surfactant molecules must also be dehydrated prior to micelle formation (which decreases the shielding of each head group, thus increasing the repulsion between two molecules). For this reason, the [[critical micelle concentration]] (CMC) of ionic surfactants tends to be higher than that of their non-ionic counterparts.<ref name=Butt /> . When addressing ionic surfactants, one must consider the [[electric double layer]] that forms at the surface of the micelle.
<ref name="Rusanov"> Rusanov, A I.  Thermodynamics of Ionic Micelles.  Russian Chemical Reviews Vol 58(2) pp101-113 (1989)</ref> This double layer has the effect of stabilizing the micelle by shielding the like charges from each head group. Adding salt to ionic surfactants has the effect of drastically reducing the CMC. The salt increases the concentration of ions available to screen the charge of the ionic head groups, and will thus make it easier for [[particle aggregation]] to occur. Another method to reduce the CMC of an ionic micelle is to increase the length of the [[Alkane|alkyl]] chain, increasing the amount of [[Dispersion (chemistry)|dispersion interactions]] and thus making micelle formation more energetically favorable. <ref name=Butt />


Ionic micelles are very difficult to describe mathematically due to the repulsion occurring between all head groups, the number of variables and the fact that the electric potential felt by each head group is dependent on the other groups.
:Unsolvable &lambda;-terms are compactification points.


=={{anchor|Types of Surfactants}}Surfactant types==
:Application and abstraction, similar to the Scott topology, are continuous on the tree topology.
There are four main types of surfactants, each with different properties and applications: [[anion]]ic, cationic, nonionic and [[zwitterion]]ic (or amphoteric). Anionic surfactants are compounds that contain an anionic polar group. Examples of anionic surfactants include [[sodium dodecyl sulfate]] and [[dioctyl sodium sulfosuccinate]].<ref name="Butler et. al." /> Included in this class of surfactants are sodium alkylcarboxylates (soaps).<ref name=Butt /> Cationic surfactats are similar in nature to anionic surfactants, except the surfactant molecules carry a positive charge at the hydrophilic portion. Many of these compounds are [[Quaternary ammonium cation|quaternary ammonium salts]], as well as [[cetrimonium bromide]] (CTAB). <ref name=Butt /> Non-ionic surfactants are non-charged and together with anionic surfactants make up the majority of oil-dispersant formulations.<ref name="Butler et. al." /> The hydrophilic portion of the surfactant contains polar [[functional groups]], such as -OH or -NH.<ref name=Butt /> Zwitterionic surfactants are the most expensive, and are used for specific applications.<ref name=Butt /> These compounds have both positively and negatively charged components. An example of a zwitterionic compound is [[phosphatidylcholine]], which as a lipid is largely insoluble in water.<ref name=Butt />


=={{anchor|HLB Values}}HLB values==
==Algebraic structure of Computation==
Surfactant behavior is highly dependent on the [[hydrophilic-lipophilic balance]] (HLB) value. In general, compounds with an HLB between one and four will not mix with water. Compounds with an HLB value above 13 will form a clear solution in water.<ref name="Butler et. al."> Using Oil Spill Dispersants.  National Academy Press.  pp 29-32 1989</ref> Oil dispersants usually have HLB values from 8–18.<ref name="Butler et. al." />
{{anchor|Table of HLB Values for Various Surfactants}}
{| class="wikitable" style="text-align: center"
|+ HLB values for various surfactants
|-
! Surfactant !! Structure !! Avg mol wt !! HLB
|-
| Arkopal N-300 || C<sub>9</sub>H<sub>19</sub>C<sub>6</sub>H<sub>4</sub>O(CH<sub>2</sub>CH<sub>2</sub>O)<sub>30</sub>H || 1,550 || 17.0<ref name=Tiehm />
|-
| Brij 30 || polyoxyethylenated straight chain alcohol || 362 || 9.7<ref name=Grimberg>{{cite journal|last=Grimberg|first=S.J.|coauthors=Nagel, J; Aitken, M.D.|title=Kinetics of phenanthrene dissolution into water in the presence of nonionic surfactants.|journal=Environ. Sci. Technol.|year=1995|month=June|volume=29|issue=6|pages=1480-1487|doi=10.1021/es00006a008}}</ref>
|-
| Brij 35 || C<sub>12</sub>H<sub>25</sub>O(CH<sub>2</sub>CH<sub>2</sub>O)<sub>23</sub>H || 1,200 || 17.0<ref name=Tiehm />
|-
| Brij 56 || C<sub>16</sub>H<sub>33</sub>O(CH<sub>2</sub>CH<sub>2</sub>O)<sub>10</sub>H || 682 || 12.9<ref name=Egan>{{cite journal|last=Egan|first=Robert|coauthors=Lehninger, A., Jones, M.A.|title=Hydrophile-Lipophile Balance and Critical Micelle Concentration as Key Factors Influencing Surfactant Disruption of Mitochondrial Membranes|journal=Journal of Biological Chemistry|date=January 26, 1976|year=1976|month=January|volume=251|series=14|pages=4442-4447}}</ref>
|-
| Brij 58 || C<sub>16</sub>H<sub>33</sub>O(CH<sub>2</sub>CH<sub>2</sub>O)<sub>20</sub>H || 1122 || 15.7<ref name=Egan />
|-
| EGE Coco || ethyl glucoside || 415 || 10.6<ref name=Grimberg />
|-
| EGE no. 10 || ethyl glucoside || 362 || 12.5<ref name=Grimberg />
|-
| Genapol X-150 || C<sub>13</sub>H<sub>27</sub>O(CH<sub>2</sub>CH<sub>2</sub>O)<sub>15</sub>H || 860 || 15.0<ref name=Tiehm />
|-
| Tergitol NP-10 || nonylphenolethoxylate || 682 || 13.6<ref name=Grimberg />
|-
| Marlipal 013/90 || C<sub>13</sub>H<sub>27</sub>O(CH<sub>2</sub>CH<sub>2</sub>O)<sub>9</sub>H || 596 || 13.3<ref name=Tiehm>{{cite journal|last=Tiehm|first=Andreas|title=Degradation of polycyclic aromatic hydrocarbons in the presence of synthetic surfactants.|journal=Appl. Environ. Microbiol.|year=1994|month=January|volume=60|issue=1|pages=258-263|url=http://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?dbfrom=pubmed&id=8117081&retmode=ref&cmd=prlinks}}</ref>
|-
| Pluronic PE6400 || HO(CH<sub>2</sub>CH<sub>2</sub>O)<sub>x</sub>(C<sub>2</sub>H<sub>4</sub>CH<sub>2</sub>O)<sub>30</sub>(CH<sub>2</sub>CH<sub>2</sub>O)<sub>28-x</sub>H || 3000 || N.A.<ref name=Tiehm />
|-
| Sapogenat T-300 || (C<sub>4</sub>H<sub>9</sub>)<sub>3</sub>C<sub>6</sub>H<sub>2</sub>O(CH<sub>2</sub>CH<sub>2</sub>O)<sub>30</sub>H || 1600 || 17.0<ref name=Tiehm />
|-
| T-Maz 60K || ethoxylated sorbitan monostearate || 1310 || 14.9<ref name=Grimberg />
|-
| T-Maz 20 || ethoxylated sorbitan monolaurate || 1226 || 16.7<ref name=Grimberg />
|-
| Triton X-45 || C<sub>8</sub>H<sub>17</sub>C<sub>6</sub>H<sub>4</sub>O(CH<sub>2</sub>CH<sub>2</sub>O)<sub>5</sub>H || 427 || 10.4<ref name=Egan />
|-
| Triton X-100 || C<sub>8</sub>H<sub>17</sub>C<sub>6</sub>H<sub>4</sub>(OC<sub>2</sub>H<sub>4</sub>)<sub>10</sub>OH || 625 || 13.6<ref name=Kim>{{cite journal|last=Kim|first=I.S.|coauthors=Park, J.S.; Kim, K.W.|title=Enhanced biodegradation of polycyclic aromatic hydrocarbons using nonionic surfactants in soil slurry|journal=Applied Geochemistry|year=2001|volume=16|issue=11-12|pages=1419-1428|url=http://www.sciencedirect.com/science/article/pii/S0883292701000439}}</ref>
|-
| Triton X-102 || C<sub>8</sub>H<sub>17</sub>C<sub>6</sub>H<sub>4</sub>O(CH<sub>2</sub>CH<sub>2</sub>O)<sub>12</sub>H || 756 || 14.6<ref name=Tiehm />
|-
| Triton X-114 || C<sub>8</sub>H<sub>17</sub>C<sub>6</sub>H<sub>4</sub>O(CH<sub>2</sub>CH<sub>2</sub>O)<sub>7.5</sub>H || 537 || 12.4<ref name=Egan />
|-
| Triton X-165 || C<sub>8</sub>H<sub>17</sub>C<sub>6</sub>H<sub>4</sub>O(CH<sub>2</sub>CH<sub>2</sub>O)<sub>16</sub>H || 911 || 15.8<ref name=Egan />
|-
| Tween 80 || C<sub>18</sub>H<sub>37</sub>-C<sub>6</sub>H<sub>9</sub>O<sub>5</sub>-(OC<sub>2</sub>H<sub>4</sub>)<sub>20</sub>OH || 1309 || 13.4<ref name=Kim />
|}


== {{anchor|Comparative Industrial Formulations}}Comparative industrial formulations ==
New methods of interpretation of the λ-calculus are not only interesting in themselves but allow new modes of thought concerning the behaviors of computer science. The binary operator within the λ-algebra  A is application. Application is denoted <math>\cdot</math> and is said to give structure <math>A=(X, \cdot)</math>. A [[Combinatory algebra]] allows for the application operator and acts as a useful starting point but remains insufficient for the λ-calculus in being unable to express abstraction. The λ algebra becomes a combinatory algebra M combined with a syntactic operator λ* that transforms a term ''B(x,y)'', with constants in ''M'', into C(<math>\hat{y}</math>)<math>\equiv</math> λ* x.B(x,<math>\hat{y}</math>). It is also possible to define an [[extension]] model to circumvent the need of the λ* operator by allowing <math>\forall</math>x  (fx =gx) <math>\rightarrow</math> f =g . The construction of the λ-algebra through the introduction of an abstraction operator proceeds as follows:
Two formulations of different dispersing agents for oil spills, DISPERSIT and Omni-Clean, are shown below. A key difference between the two is that Omni-Clean uses ionic surfactants and DISPERSIT uses entirely non-ionic surfactants. Omni-Clean was formulated for little or no toxicity toward the environment. DISPERSIT, however, was designed as a competitor with COREXIT. DISPERSIT contains non-ionic surfactants, which permit both primarily oil-soluble and primarily water-soluble surfactants. The partitioning of surfactants between the phases allows for effective dispersion.


{| class="wikitable" border="1"
We must construct an algebra which allows for solutions to equations such as axy = xyy such that a = λ xy.xyy there is need for the combinatory algebra. Relevant attributes of the combinatory algebra are:
|-
! colspan="4" style="background: #efefef;" | Omni-Clean OSD <ref>{{ cite patent
| country = US
| number = 4992213
| status = patent
| title = Cleaning composition, oil dispersant and use thereof
| pubdate = 1991-02-12
| fdate = 1989-06-23
| inventor =  G. Troy Mallett, Edward E. Friloux, David I. Foster
}}</ref>
! colspan="4" style="background: #efefef;" | DISPERSIT <ref>{{ cite patent
| country = US
| number = 6261463
| status = patent
| title = Water based oil dispersant
| pubdate = 2001-07-17
| fdate = 1999-03-4
| inventor Savarimuthu M. Jacob, Robert E. Bergman, Jr.
| assign1 = U.S. Polychemical Marine Corp.
}}</ref>
|-
! Category !! colspan="2" |Ingredient  !! Function !! Category !! colspan="2" |Ingredient !! Function
|-
| Surfactant || [[File:Sodium_laurylsulfonate_V.1.svg|199x65px]] || Sodium lauryl sulfate || Charged ionic surfactant and thickener || Emulsifying agent || [[File:Oleic Acid Sorbitan Monoester.png|Oleic Acid Sorbitan Monoester|199x65px]] || Oleic acid sorbitan monoester || Emulsifying agent
|-
| Surfactant || [[File:Cocamidopropyl betaine2.png|199x65px]] || Cocamidopropyl betaine || Emulsifying agent || Surfactant || [[File:Coconut oil monoethanolamide.png|199x65px]] || Coconut oil monoethanolamide || Dissolves oil and water into each other
|-
| Surfactant || [[File:Nonoxynol-9.png|199x65px]] || Ethoxylated nonylphenol || Petroleum emulsifier & wetting agent|| Surfactant || [[File:Poly(ethylene glycol) monooleate.png|199x65px]] || Poly(ethylene glycol) monooleate || Oil-soluble surfactant
|-
| Dispersant || [[File:Cocamide_DEA.png|199x65px]] || Lauric acid diethanolamide || Non-ionic viscosity booster & emulsifier || Surfactant || [[File:Polyethoxylated_tallow_amine.svg|199x65px]] || Polyethoxylated tallow amine || Oil-soluble surfactant
|-
| Detergent || [[File:Diethanolamine.png|199x65px]] || Diethanolamine || Water-soluble detergent for cutting oil || Surfactant || [[File:Polyethoxylated linear secondary alcohol.png|199x65px]] || Polyethoxylated linear secondary alcohol || Oil-soluble surfactant
|-
| Emulsifier || [[File:Propylene_glycol_chemical_structure.png|199x65px]] || Propylene glycol || Solvent for oils, wetting agent, emulsifier || Solvent || [[File:Dipropylene glycol methyl ether.png|199x65px]] || Dipropylene glycol methyl ether || Enhances solubility of surfactants in water and oil.
|-
| Solvent || H<sub>2</sub>O || Water || Reduces viscosity || Solvent || H<sub>2</sub>O || Water || Reduces viscosity
|}


=={{anchor|Degradation and Toxicity}}Degradation and toxicity==
Within combinatory algebra there exists ''applicative structures''. An applicative structure W is a combinatory algebra provided:
Both the degradation and the toxicity of dispersants depend on the chemicals chosen within the formulation. Compounds which interact too harshly with oil dispersants should be tested to ensure that they meet three criteria:<ref name=Mulkins>{{cite journal|last=Mulkins-Phillips|first=G. J.|coauthors=Stewart, J.E.|title=Effect of Four Dispersants on Biodegradation and Growth of Bacteria on Crude Oil|journal=Applied Microbiology|date=October|year=1974|volume=28|pages=547-552}}</ref>  
::<math>\cdot</math>W is non-trival, meaning W has [[cardinality]] > 1
::<math>\cdot</math>W exibits combinatory completeness (see [[combinatory logic|completeness of the S-K basis]]). More specifically: for every term A &isin; the set of terms of W, and <math> x_1, ... , x_n </math> with the free variables of A within <math>{x_1, ... ,x_n}</math> then:
::: <math> \exists f  \forall x_1 \cdot \cdot \cdot x_n</math> where <math> fx_1 \cdot \cdot \cdot x_n = A </math>


* They should be biodegradable.
The combiniatory algebra is:
* In the presence of oil, they must not be preferentially utilized as a carbon source.
* They must be nontoxic to indigenous bacteria.


==Applications==
:<math>\cdot</math>Never commutative
==={{anchor|Oil Treatment}}Oil treatment===
The effectiveness of the dispersant depends on the weathering of the oil, sea energy (waves), salinity of the water, temperature and the type of oil.<ref name=Fingas>{{cite book|last=Fingas|first=Merv|title=The Basics of Oil Spill Cleanup|year=2001|publisher=Lewis Publishers|isbn=1-56670-537-1|pages=120-125}}</ref> Dispersion is unlikely to occur if the oil spreads into a thin layer, because the dispersant requires a particular thickness to work; otherwise, the dispersant will interact with both the water and the oil. More dispersant may be required if the sea energy is low. The salinity of the water is more important for ionic-surfactant dispersants, since they will preferentially interact with the water more than the oil.
The [[viscosity]] of the oil is another important factor; viscosity can retard dispersant migration to the oil-water interface and also increase the energy required to shear a drop from the slick. Viscosities below 2,000 centi[[poise]] are optimal for dispersants. If the viscosity is above 10,000 centipoise, no dispersion is possible.<ref name=NRC>{{cite book|last=National Research Council (U.S.)|title=Using Oil Spill Dispersants on the Sea|year=1989|publisher=National Academy Press|location=Washington, D.C.|pages=54}}</ref>


=={{anchor|Methods of Use}}Methods of use==
:<math>\cdot</math>Not associative.
Dispersants are delivered in concentrated, dilute solutions and are aerosolized by aerial spraying (typically by an aircraft or boat). Sufficient dispersant with droplets in the proper size are necessary; this can be achieved with an appropriate pumping rate. Droplets larger than 1,000 µm are preferred, to ensure they are not blown away by the wind. The ratio of dispersant to oil is typically 1:20.<ref name=Fingas />  


== {{anchor|Oil Spills and Dispersants Used}}Oil spills and dispersants used ==
:<math>\cdot</math>Never finite.
=== {{anchor|Deep Water Horizion}}''Deepwater Horizon'' ===
During the Deepwater Horizon oil spill, an estimated 1.84 million gallons of oil dispersants were used in an attempt to reduce the amount of surface oil and mitigate the damage to wildlife. Nearly half (771,000 gallons) of the dispersants were applied directly at the wellhead.<ref name="Gov't Commission">National Commission on the BP Deepwater Horizon Oil Spill and Offshore DrillingTHE USE OF SURFACE AND SUBSEA DISPERSANTS DURING THE BP DEEPWATER HORIZON OIL SPILL http://www.oilspillcommission.gov/sites/default/files/documents/Updated%20Dispersants%20Working%20Paper.pdf accessed 5/23/2012</ref> The primary dispersant used was [[Corexit]], which was controversial due to its toxicity relative to other dispersants.


==={{anchor|Exxon Valdez}}''Exxon Valdez''===
:<math>\cdot</math>Never recursive.
{{Main|Exxon Valdez oil spill}}
 
Dispersants were also used during the Exxon Valdez oil spill, although their use was far less effective. Alaska had fewer than 4,000 gallons of dispersants available at the time of the incident, and no aircraft with which to dispense them. The dispersants introduced were relatively ineffective (due to insufficient wave action to mix the oil and water), and their use was shortly abandoned. <ref name="epa">EPA: Learning Center: Exxon Valdez. http://www.epa.gov/oem/content/learning/exxon.htm accessed 5/23/2012</ref>
Combinatory algebras remain unable to act as the algebraic structure for λ-calculus, the lack of recursion being a major disadvantage. However the existence of an applicative term <math>A(x, \vec{y}</math>) provides a good starting point to build a λ-calculus algebra. What is needed is the introduction of a [[lambda term]], i.e. include λx.A(x, <math>\vec{y}</math>).
 
We begin by exploiting the fact that within a combinatory algebra M, with A(x, <math>\vec{y}</math>) within the set of terms, then:
::<math>\forall \vec{y}</math> <math>\exists b</math> s.t. bx = A(x, <math>\vec{y}</math>).
We then require b have a dependence on <math> \vec{y}</math> resulting in:
:::<math>\forall x</math> B(<math>\vec{y}</math>)x = A(x, <math>\vec{y}</math>).
B(<math>\vec{y}</math>) becomes equivalent to a λ term, and is therefore suitably defined as follows:  B(<math>\vec{y}) \equiv</math> λ*.
 
A ''pre-&lambda;-algebra'' (pλA) can now be defined.
::p&lambda;A is an applicative structure W = (X,<math>\cdot</math>) such that for each term A within the set of terms within W and for every x there is a term &lambda;*x.A &isin; T(W) (T(W) <math>\equiv</math> the terms of W) where (the set of free variables of &lambda;*x.A) = (the set of free variables of A) - {x}. W must also demonstrate:
::<math>(\beta)</math> (&lambda;*x.A)x = A
::<math>\alpha_{1}</math>&lambda;*x.A<math>\equiv</math> &lambda;*x.A[x:=y] provided y is not a free variable of A
::<math>\alpha_{2}</math>(&lambda;*x.A)[y:=z]<math>\equiv</math>&lambda;*x.A[x:=y] provided y,z &ne; x and z is not a free variable of A
 
Before defining the full λ-algebra we must introduce the following definition for the set of λ-terms within W denoted <math>\Gamma(W) </math> with the following requirements:
::a &isin; W <math>\Rightarrow c_{a} \isin \Gamma(W) </math>
::x &isin; <math> \Gamma(W) </math> for x &isin; (<math> v_0, v_1, ... </math>)
::M,N &isin; <math>\Gamma(W) \Rightarrow </math> (MN) &isin; <math> \Gamma(W) </math>
::M &isin; <math>\Gamma(W) \Rightarrow</math> (&lambda;x.M) &isin; <math>\Gamma(W)</math>
 
A mapping from the terms within <math>\Gamma(W)</math> to all λ terms within W, denoted '''*''' : <math>\Gamma(W)\rightarrow \Tau(W) </math>, can then be designed as follows:
::<math>v_{i}^{*} = w_i, c_{a}^{*} = c_a </math>
::(MN)* = M* N*
::(&lambda;x.M)* = &lambda;* x*.M*
 
We now define '''λ'''(M) to denote the extension after evaluating the terms within <math>\Gamma(W)</math>.
::&lambda;x.(&lambda;y.yx)<math>c_a</math> = &lambda;x.<math>c_a</math>x in '''&lambda;'''(W).
 
Finally we obtain the full ''&lambda;-algebra'' through the following definition:
::(1) A &lambda;-algebra is a p&lambda;A W such that for M,N &isin; <math>\Gamma</math>(W):
:::'''&lambda;'''(W) [[turnstile (symbol)|<math>\vdash</math>]] M = N <math>\Rightarrow</math> W <math> \vDash </math> M = N.
 
Though arduous, the foundation has been set for a proper algebraic framework for which the λ-calculus, and therefore computation, may be investigated in a [[group theory|group theoretic]] manner.


==References==
==References==
{{Reflist}}


{{reflist}}


[[Category:Oil spills]]
[[Category:Computational topology]]
[[Category:Environmental issues]]
[[Category:Computational complexity theory]]
[[Category:Environmental chemistry]]
[[Category:Computational science|Topology]]

Revision as of 22:38, 18 August 2014

Template:Orphan

Computable topology studies the topological and algebraic structure of computation. Computable topology includes algorithmic topology and therefore encompasses computer science. Computational topology is equivalent to the topology of λ-calculus. Within computer science computational forms can be reduced to λ-calculus's functional based mathematics. As shown by Allan Turing and Alonzo Church, the λ-calculus is strong enough to describe all mechanically computable functions (see Church-Turing thesis).[1][2][3] Lambda-calculus is then a foundational mathematics easily made into a principle programming language from which other languages can be built. For this reason when considering the topology of computation it is suitable to focus on the topology of λ-calculus. Functional programming, e.g. type free lambda Calculus, originated as a theoretical foundation of mathematics. The premise relies on functional computability, where objects and functions are of the same type. The topology of λ-calculus is the Scott topology, and when restricted to continuous functions the type free λ-Calculus amounts to a topological space reliant on the tree topology. Both the Scott and Tree topologies exhibit continuity with respect to the binary operators of application ( f applied to a = fa ) and abstraction ((λx.t(x))a = t(a)) with a modular equivalence relation based on a congruency. The algebraic structure of computation may also be considered as equivalent to the algebraic structure of λ-calculus, meaning the λ-algebra. The λ-algebra is found to be an extension of the combinatory algebra, with an element introduced to accommodate abstraction.

A primary concern of algorithmic topology, as its name suggests, is to develop efficient algorithms for solving topological problems, or using topological methods to solve algorithmic problems from other fields.

Computational topology from λ-calculus topology

Type free λ-calculus treats functions as rules and does not differentiate functions and the objects which they are applied to, meaning λ-calculus is type free. A by-product of type free λ-Calculus is an effective computability equivalent to general recursion and Turing machines.[4] The set of λ -terms can be considered a functional topology in which a function space can be embedded, meaning λ mappings within the space X are such that λ:X → X.[4][5] Introduced November 1969, Dana Scott's untyped set theoretic model constructed a proper topology for any λ-calculus model whose function space is limited to continuous functions.[4][5] The result of a Scott continuous λ-calculus topology is a function space built upon a programming semantic allowing fixed point combinatorics, such as the Y Combinator, and data types.[6][7] By 1971, λ-calculus was equipped to define any sequential computation and could be easily adapted to parallel computations.[8] The reducibility of all computations to λ-calculus allows these λ-topological properties to become adopted by all programming languages.[4]

Computational Algebra from λ-calculus algebra

Based on the operators within lambda calculus, application and abstraction, it is possible to develop an algebra whose group structure uses application and abstraction as binary operators. Application is defined as an operation between lambda terms producing a λ-term, e.g. the application of λ onto the lambda term a produces the lambda term λa. Abstraction incorporates undefined variables by denoting λx.t(x) as the function assigning the variable a to the lambda term with value t(a) via the operation ((λ x.t(x))a = t(a)). Lastly, an equivalence relation emerges which identifies λ-terms modulo convertible terms, an example being beta normal form.

Scott Topology

The Scott Topology is essential in understanding the topological structure of computation as expressed through the λ-calculus. Scott found that after constructing a function space using λ-calculus one obtains a Kolmogorov space, a topological space which is homeomorphic to itself and exhibits pointwise convergence, in short the product topology.[9] It is the ability of self homeomorphism as well as the ability to embed every space into such a space, denoted Scott continuous, as previously described which allows Scott's topology to be applicable to logic and recursive function theory. Scott approaches his derivation using a complete lattice, resulting in a topology dependent on the lattice structure. It is possible to generalise Scott's theory with the use of complete partial orders. For this reason a more general understanding of the computational topology is provided through complete partial orders. We will re-iterate to familiarize ourselves with the notation to be used during the discussion of Scott topology.

Complete partial orders are defined as follows:

First, given the partially ordered set D=(D,≤) where a subset X of D, XD is directed, i.e.:

if X and
x,yX zX where xz & yz


D is a complete partial order (cpo) if:

bottom element such that D & xD x
Every directed X D there exists a supremum.

We are now able to define the Scott Topology over a cpo (D, ≤ ).

O D is open if:

(1) for x ∈ O, and x ≤ y, then y ∈ O, i.e. O is an upper set.
(2) for a directed set X D, and supremum(X) ∈ O, then X O .


Using the Scott topological definition of open it is apparent that all topological properties are met.

and D, i.e. the empty set and whole space, are open.
Open sets are open under arbitrary unions and under intersection:
Proof: Assume is open where i ∈ I, I being the index set. We define U = {  ; i ∈ I}. Take b as an element of the upper set of U, therefore a ≤ b for some a ∈ U It must be that a for some i, likewise b ∈ upset(). U must therefore be upper as well since ∈ U.
Lastly, if D is a directed set with a supremum in U, then by assumption sup(D) ∈ where is open. There is necessarily a b ∈ D where upper(b) D U. The union of open sets is therefore open.
Open sets under intersection are open:
Proof: Given two open sets, U and V, we define W = UV. If W= then W is open. If non-empty say b ∈ upset(W) (the upper set of W), then for some a ∈ W, ab. Since a ∈ U V, and b an element of the upper set of both U and V, then b ∈ W. W being open implies the intersection of open sets is open.


Though not shown here, it is the case that the map is continuous iff f(sup(X)) = sup(f(X)) for all directed X D, where f(X) = {f(x) | x ∈ X} and the second supremum in .[4]

Before we begin explaining that application as common to λ-calculus is continuous within the Scott topology we require a certain understanding of the behavior of supremums over continuous functions as well as the conditions necessary for the product of spaces to be continuous namely

(1) With be a directed family of maps, then if well defined and continuous.
(2) If F is directed and cpo and a cpo where sup({f(x) | f ∈ F).


We now show the continuity of application. Using the definition of application as follows:

Ap: where Ap(f,x) = f(x).

Ap is continuous with respect to the Scott topology on the product () :

Proof: λx.f(x) = f is continuous. Let h = λ f.f(x). For directed F
h(sup(F)) = sup(F)(x)
= sup( {f(x) | f ∈ F} )
= sup( {h(f) | f ∈ F} )
= sup( h(F) )
By definition of Scott continuity h has been shown continuous. All that is now required to prove is that application is continuous when it's separate arguments are continuous, i.e. and are continuous, in our case f and h.
Now abstracting our argument to show with g = λ x.f(x,) and d = λ as the arguments for D and respectively, then for a directed X D
g(sup(X)) = f( sup(X), )
= f( sup( (x,) | x ∈ X} ))
(since f is continuous and {(x,) | x ∈ X}) is directed):
= sup( {f(x,) | x ∈ X} )
= sup(g(X))
g is therefore continuous. The same process can be taken to show d is continuous.
It has now been shown application is continuous under the Scott topology.


In order to demonstrate the Scott topology is a suitable fit for λ-calculus it is necessary to prove abstraction remains continuous over the Scott topology. Once completed it will have been shown that the mathematical foundation of λ-calculus is a well defined and suitable candidate functional paradigm for the Scott topology.


With f ∈ [D ] we define (x) =λ y ∈ f(x,y)We will show:

(i) is continuous, meaning
(ii) λ is continuous.
Proof (i): Let X D be directed, then
(sup(X)) = λ y.f( sup(X),y )
= λ y.( f(x,y) )
= ( λy.f(x,y) )
= sup((X))
Proof (ii): Defining L = λ then for F directed
L(sup(F)) = λ x λ y. (sup(F))(x,y))
= λ x λ y. f(x,y)
= λx λy.f(x,y)
= sup(L(F))

It has not been demonstrated how and why the λ-calculus defines the Scott topology.

Böhm trees and Computational Topology

Böhm trees, easily represented graphically, express the computational behavior of a lambda term. It is possible to predict the functionality of a given lambda expression from reference to its correlating Böhm tree.[4] Böhm trees can be seen somewhat analogous to where the Böhm tree of a given set is similar to the continued fraction of a real number, and what is more, the Böhm tree corresponding to a sequence in normal form is finite, similar to the rational subset of the Reals.

Böhm trees are defined by a mapping of elements within a sequence of numbers with ordering (≤, lh) and a binary operator * to a set of symbols. The Böhm tree is then a relation among a set of symbols through a partial mapping .

Informally Böhm trees may be conceptualized as follows:

Given: = { λ x_{1} x_{n} . y | n ∈ y are variables and denoting BT(M) as the Böhm tree for a lambda term M we then have:
BT(M) = if M is unsolvable (therefore a single node)

<poem>

    BT(M) = λ.y
                 /    \               
    BT(   BT( ) ; if M is solvable

</poem> More Formally:

is defined as a set of symbols. The Böhm tree of a λ term M, denoted BT(M), is the labelled tree defined as follows:

If M is unsolvable:
BT(M)(< >) = ,
BT(M)() is unsolvable

If M is solvable, where M = λ x_{1}:

BT(M)(< >) = λ x_{1}
BT(M)() = BT(M_k)() and k < m
= undefined and k m

We may now move on to show that Böhm trees act as suitable mappings from the tree topology to the scott topology. Allowing one to see computational constructs, be it within the Scott or tree topology, as Böhm tree formations.

Böhm tree and tree topology

It is found that Böhm tree's allow for a continuous mapping from the tree topology to the Scott topology. More specifically:

We begin with the cpo B = (B,) on the Scott topology, with ordering of Böhm tree's denoted M N, meaning M, N are trees and M results from N. The tree topology on the set is the smallest set allowing for a continuous map

BT:B.

An equivalent definition would be to say the open sets of are the image of the inverse Böhm tree (O) where O is Scott open in B.

The applicability of the Bömh trees and the tree topology has many interesting consequences to λ-terms expressed topologically:

Normal forms are found to exist as isolated points.
Unsolvable λ-terms are compactification points.
Application and abstraction, similar to the Scott topology, are continuous on the tree topology.

Algebraic structure of Computation

New methods of interpretation of the λ-calculus are not only interesting in themselves but allow new modes of thought concerning the behaviors of computer science. The binary operator within the λ-algebra A is application. Application is denoted and is said to give structure . A Combinatory algebra allows for the application operator and acts as a useful starting point but remains insufficient for the λ-calculus in being unable to express abstraction. The λ algebra becomes a combinatory algebra M combined with a syntactic operator λ* that transforms a term B(x,y), with constants in M, into C() λ* x.B(x,). It is also possible to define an extension model to circumvent the need of the λ* operator by allowing x (fx =gx) f =g . The construction of the λ-algebra through the introduction of an abstraction operator proceeds as follows:

We must construct an algebra which allows for solutions to equations such as axy = xyy such that a = λ xy.xyy there is need for the combinatory algebra. Relevant attributes of the combinatory algebra are:

Within combinatory algebra there exists applicative structures. An applicative structure W is a combinatory algebra provided:

W is non-trival, meaning W has cardinality > 1
W exibits combinatory completeness (see completeness of the S-K basis). More specifically: for every term A ∈ the set of terms of W, and with the free variables of A within then:
where

The combiniatory algebra is:

Never commutative
Not associative.
Never finite.
Never recursive.

Combinatory algebras remain unable to act as the algebraic structure for λ-calculus, the lack of recursion being a major disadvantage. However the existence of an applicative term ) provides a good starting point to build a λ-calculus algebra. What is needed is the introduction of a lambda term, i.e. include λx.A(x, ).

We begin by exploiting the fact that within a combinatory algebra M, with A(x, ) within the set of terms, then:

s.t. bx = A(x, ).

We then require b have a dependence on resulting in:

B()x = A(x, ).

B() becomes equivalent to a λ term, and is therefore suitably defined as follows: B( λ*.

A pre-λ-algebra (pλA) can now be defined.

pλA is an applicative structure W = (X,) such that for each term A within the set of terms within W and for every x there is a term λ*x.A ∈ T(W) (T(W) the terms of W) where (the set of free variables of λ*x.A) = (the set of free variables of A) - {x}. W must also demonstrate:
(λ*x.A)x = A
λ*x.A λ*x.A[x:=y] provided y is not a free variable of A
(λ*x.A)[y:=z]λ*x.A[x:=y] provided y,z ≠ x and z is not a free variable of A

Before defining the full λ-algebra we must introduce the following definition for the set of λ-terms within W denoted with the following requirements:

a ∈ W
x ∈ for x ∈ ()
M,N ∈ (MN) ∈
M ∈ (λx.M) ∈

A mapping from the terms within to all λ terms within W, denoted * : , can then be designed as follows:

(MN)* = M* N*
(λx.M)* = λ* x*.M*

We now define λ(M) to denote the extension after evaluating the terms within .

λx.(λy.yx) = λx.x in λ(W).

Finally we obtain the full λ-algebra through the following definition:

(1) A λ-algebra is a pλA W such that for M,N ∈ (W):
λ(W) M = N W M = N.

Though arduous, the foundation has been set for a proper algebraic framework for which the λ-calculus, and therefore computation, may be investigated in a group theoretic manner.

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to  destinations like Camino Real de Tierra Adentro.
  1. Church 1934:90 footnote in Davis 1952
  2. Turing 1936–7 in Davis 1952:149
  3. Barendregt, H.P., The Lambda Calculus Syntax and Semantics. North-Holland Publishing Company. 1981
  4. 4.0 4.1 4.2 4.3 4.4 4.5 Barendregt, H.P., The Lambda Calculus Syntax and Semantics. North-Holland Publishing Company. 1981.
  5. 5.0 5.1 D. S. Scott. Models for the λ-calculus. Informally distributed, 1969. Notes, December 1969, Oxford Univ.
  6. Gordon, M.J.C., The Denotational Description of Programming Languages. Springer Verlag, Berlin. 1979.
  7. Scott, D. S. and Strachey, C. Toward a Mathematical Semantics for Computer Languages, Proc. Symp. on Computers and Automata, Polytechnic Institute of Brooklyn, 21, pp. 19-46. 1971.
  8. G. Berry, Sequential algorithms on concrete data structures, Theoretical Computer Science 20, 265-321 (1982).
  9. D. S. Scott. “Continuous Lattices.” Oxford University Computing Laboratory August, 1971.