Results 1 
1 of
1
The HasCasl prologue: categorical syntax and semantics of the partial λcalculus
 COMPUT. SCI
, 2006
"... We develop the semantic foundations of the specification language HasCasl, which combines algebraic specification and functional programming on the basis of Moggi’s partial λcalculus. Generalizing Lambek’s classical equivalence between the simply typed λcalculus and cartesian closed categories, we ..."
Abstract

Cited by 6 (4 self)
 Add to MetaCart
We develop the semantic foundations of the specification language HasCasl, which combines algebraic specification and functional programming on the basis of Moggi’s partial λcalculus. Generalizing Lambek’s classical equivalence between the simply typed λcalculus and cartesian closed categories, we establish an equivalence between partial cartesian closed categories (pccc’s) and partial λtheories. Building on these results, we define (settheoretic) notions of intensional Henkin model and syntactic λalgebra for Moggi’s partial λcalculus. These models are shown to be equivalent to the originally described categorical models in pccc’s via the global element construction. The semantics of HasCasl is defined in terms of syntactic λalgebras. Correlations between logics and classes of categories facilitate reasoning both on the logical and on the categorical side; as an application, we pinpoint unique choice as the distinctive feature of topos logic (in comparison to intuitionistic higherorder logic of partial functions, which by our results is the logic of pccc’s with equality). Finally, we give some applications of the modeltheoretic equivalence result to the semantics of HasCasl and its relation to firstorder Casl.