Results 1 -
3 of
3
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 (set-theoretic) 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 higher-order logic of partial functions, which by our results is the logic of pccc’s with equality). Finally, we give some applications of the model-theoretic equivalence result to the semantics of HasCasl and its relation to first-order Casl.
More on Orthogonality in Locally Presentable Categories
"... Introduction Many "everyday" categories have the following type of presentation: a general locally finitely presentable (LFP) category L, representing the signature in some sense, is given, together with a set \Sigma of morphisms having finitely presentable domains and codomains. And our category K ..."
Abstract
-
Cited by 2 (0 self)
- Add to MetaCart
Introduction Many "everyday" categories have the following type of presentation: a general locally finitely presentable (LFP) category L, representing the signature in some sense, is given, together with a set \Sigma of morphisms having finitely presentable domains and codomains. And our category K is the full subcategory of L on all objects K orthogonal to ) Supported by the Grant Agency of the Czech Republic under the grant No. 201/99/0310. 1 each s : X ! X 0 in \Sigma (notation: K ? s), which means that every morphism f : X ! K uniquely factors through s; notation: K = \Sigma ? . Such subcategories K of L are called in [AR] the !-orthogonality c
Amalgamation in the Semantics of CASL
"... We present a semantics for architectural specifications in Casl, including an extended static analysis compatible with model-theoretic requirements. The main obstacle here is the lack of amalgamation for Casl models. To circumvent this problem, we extend the Casl logic by introducing enriched signat ..."
Abstract
- Add to MetaCart
We present a semantics for architectural specifications in Casl, including an extended static analysis compatible with model-theoretic requirements. The main obstacle here is the lack of amalgamation for Casl models. To circumvent this problem, we extend the Casl logic by introducing enriched signatures, where subsort embeddings form a category rather than just a preorder. The extended model functor satisfies the amalgamation property as well as its converse, which makes it possible to express the amalgamability conditions in the semantic rules in static terms. Using these concepts, we develop the semantics at various levels in an institutionindependent fashion. Moreover, amalgamation for enriched Casl means that a variety of results for institutions with amalgamation, such as computation of normal forms and theorem proving for structured specifications, can now be used for Casl.

