arXiv AI

Al-Ghasali: A Computational Framework for Simulating Islamic Jurisprudential Rulings via Finite State Automata and Large Language Models

Al‑Ghasali is a computational framework that formalizes Islamic jurisprudential rulings using deterministic finite state automata (FSA) and large language models (LLM). It shows that closed Fiqh chapters can be represented as Horn clause programs that collapse to FSAs, guaranteeing O(1) verdict extraction after compilation. The framework integrates LLMs under strict FSA control, employing grammar‑guided constrained decoding and safety conditions to eliminate hallucinations and preserve the epistemological boundaries of Usul al Fiqh.

Hugging Face Trending Papers
Nov 12

Al-Ghasali: A Computational Framework for Simulating Islamic Jurisprudential Rulings via Finite State Automata and Large Language Models

Al‑Ghasali is a computational framework that formalizes Islamic jurisprudential rulings as deterministic finite state automata (FSA), enabling constant‑time verdict extraction after offline compilation. It integrates large language models (LLMs) under strict FSA control, using grammar‑guided constrained decoding and a bounded neutral lexicon to eliminate hallucinations and preserve the epistemological boundaries of Usul al‑Fiqh. The paper establishes a formal computational hierarchy, proving that hierarchical compositions of sub‑chapter FSAs maintain O(1) complexity and that temporal juristic requirements are deterministically flattened into static ontological states.

Hugging Face Trending Papers
Aug 5

A General Sufficient Condition for Rewriting Horn-ALCHI Atomic Queries into GQL

The emergence of the ISO standard GQL introduces a powerful query language extending first-order logic with controlled recursion, raising the question of its applicability to evaluation of ontology-mediated queries (OMQs). We focus on OMQs consisting of atomic queries over ontologies expressed in Horn-ALCHI, an expressive Description Logic that is not, in general, first-order rewritable.

arXiv AI
Jul 22

Decode-Time Grammars: Constrained LLM Generation over a Refinement Order of Grammar Fragments

arXiv:2607. 18357v1 Announce Type: cross Abstract: Large language models now write a growing share of the world's code, increasingly inside agents and serving systems that compile, execute, or dispatch generated code without line-by-line review.

By Shuoming Zhang, Ruiyuan Xu, Haofeng Li, Qiuchu Yu, Yangyu Zhang, Chunwei Xia, Xiaobing Feng, Chenxi Wang, Huimin Cui, Jiacheng Zhao
arXiv AI
Jun 9

Standpoint Logics with Defeasible Beliefs

arXiv:2606. 08503v1 Announce Type: new Abstract: In this paper, we integrate the defeasible logic of Kraus, Lehmann and Magidor (KLM) with the standpoint logic framework of G\'omez \'Alvarez and Rudolph.

By Nicholas Leisegang, Thomas Meyer, Sebastian Rudolph
arXiv AI
Oct 5

Law And Order: Tax Law Autoformalization

arXiv:2610.02792v1 Announce Type: new Abstract: Legal systems are increasingly implemented through software, yet scalable methods for translating legal texts into accurate symbolic representations re...

By Sophia Simeng Han, Yoshiki Takashima, Anjiang Wei, Zhaoyu Li, Michael Genesereth