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.
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.
By Elnaserledinellah Mahmoud Abdelwahab
arXiv:2608. 04011v1 Announce Type: cross Abstract: This article examines the enduring epistemic and methodological crisis of traditional legal practice in light of the opportunities and constraints introduced by artificial intelligence.
By Ali Goksu, F. Gozde Kardes, Mustafa Yaylali
The paper introduces Legal Rule Induction (LRI), a task that seeks to extract concise, generalizable doctrinal rules from analogous judicial precedents. It presents a reproducible pipeline for constructing LRI datasets and, using Chinese law, releases the first benchmark comprising 5,121 case sets (38,088 court cases) for training and 216 expert‑annotated gold test sets. Experiments show that state‑of‑the‑art large language models struggle with over‑generalization and hallucination, but training on the new dataset significantly improves their ability to capture nuanced rule patterns across similar cases.
By Wei Fan, Tianshi Zheng, Yiran Hu, Zheye Deng, Weiqi Wang, Baixuan Xu, Chunyang Li, Haoran Li, Weixing Shen, Yangqiu Song
arXiv:2606. 09724v1 Announce Type: new Abstract: Retrieval-Augmented Generation (RAG) has become a standard architectural response to unreliability in legal AI, yet high-profile failures, including fabricated citations submitted to courts and anachronistic legal content presented as current, continue to appear across jurisdictions.
By Hudson de Martim
arXiv:2611.21823v1 Announce Type: cross
Abstract: Evaluating retrieval-augmented generation (RAG) systems in Persian law remains challenging because benchmarks lack realism, grounding, and coverage o...
By Marzieh Karimi, Mehran Safayani, Alireza Basiri