Al-Ghasali: A Computational Framework for Simulating Islamic Jurisprudential Rulings via Finite State Automata and Large Language Models
minor signal 16
Paper presenting Al-Ghasali, a framework formalizing and simulating Islamic jurisprudential (Fiqh) rulings. It proves that closed Fiqh chapters collapse to deterministic Finite State Automata, that hierarchical compositions of sub-chapter FSAs preserve O(1) verdict extraction after offline compilation, and that temporal requirements such as Tartib flatten into static ontological states. LLM summaries are generated under strict FSA control, with grammar-guided constrained decoding used to neutralize hallucination risk.
Action: Relevant if you constrain generation with a deterministic controller: review the FSA-over-LLM pattern and grammar-guided constrained decoding as an approach to bounded-output generation.
Migration effort: none
Cited
Al-Ghasali: A Computational Framework for Simulating Islamic Jurisprudential Rulings via Finite State Automata and Large Language Models arxiv-ai · community · 2026-11-12