JOURNAL ARTICLE
Declarative Programming with Intensional Sets in Java Using JSetL.
Published In: Computer Journal, 2023, v. 66, n. 3. P. 763 1 of 3
Database: Academic Search Ultimate 2 of 3
Authored By: Cristiá, Maximiliano; Fois, Andrea; Rossi, Gianfranco 3 of 3
Abstract
This article focuses on the integration and exploitation of restricted intensional sets (RISs)—a subclass of intensional sets denoting finite but unbounded sets—within the Java programming language via the JSetL library. RISs, originally defined in a first-order logic language with a complete constraint solver, are extended in JSetL to support declarative programming in an object-oriented setting, enabling programmers to represent sets by properties rather than enumeration and to encode partial functions, recursion, and restricted universal quantification declaratively. The paper details the theoretical framework of RIS, their implementation as Java objects, the extension of JSetL's constraint solver to handle RIS constraints, and demonstrates practical applications including theorem proving and prototyping of classical problems. Empirical evaluations indicate that while JSetL favors expressiveness and flexibility over raw efficiency, it serves as a valuable tool for rapid prototyping, formal specification encoding, and bridging declarative set-based reasoning with conventional Java programming.
Additional Information
- Source:Computer Journal. 2023/03, Vol. 66, Issue 3, p763
- Document Type:Article
- Subject Area:Computer Science
- Publication Date:2023
- ISSN:0010-4620
- DOI:10.1093/comjnl/bxab195
- Accession Number:162503609
- Copyright Statement:Copyright of Computer Journal is the property of Oxford University Press / USA and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Looking to go deeper into this topic? Look for more articles on EBSCOhost.