Binary Logic as Legal Algorithm: Computational Evidence of Systematic Decision-Making in Ottoman Sheikh al-Islam Fatwas
Description
Bridging computational linguistics, machine learning, and Islamic legal studies, this interdisciplinary investigation examines the algorithmic structure underlying Ottoman Sheikh al-Islam fatwa reasoning. Analysis of 9,913 fatwas from authoritative collections—including Fetâvâ-yı Feyziye, Fetâvâ-yı Ebüssuûd Efendi, and Behcetü'l-Fetâvâ—establishes that nearly 87% of rulings follow binary prohibition/permission logic. This binary architecture exhibits notably low entropy (1.599 bits), falling 66% below maximum possible entropy, which suggests highly structured decision patterns characteristic of the centralized Sheikh al-Islam authority. Machine learning models achieved considerable predictive accuracy (87.6% with XGBoost), with simple linguistic markers ("olmaz"/"olur") emerging as the strongest predictors. Among binary cases, prohibitions (4,410) and permissions (4,199) appear balanced, challenging assumptions about Islamic law's supposedly restrictive nature. Financial matters pointed to even higher binary classification rates than non-financial cases (88% versus 84%), likely reflecting commercial law's demand for clear guidance. Such systematic patterns, developed centuries before digital computing, suggest that algorithmic legal reasoning may represent an ancient practice rather than a modern innovation. These results carry implications for contemporary debates around legal automation and the appropriate role of Artificial Intelligence (AI) in religious jurisprudence, while documenting how pre-modern institutions achieved systematization through human rather than technological means.
Files
5+Binary+Logic+(Çetinkaya)_rev.pdf
Files
(600.6 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:a6a3beb96da736b80bea1efc91a9fd16
|
600.6 kB | Preview Download |
Additional details
Software
- Repository URL
- https://journals.bilimalani.org/index.php/diha/issue/view/7
References
- Abbott, Andrew. The System of Professions: An Essay on the Division of Expert Labor. Chicago: University of Chicago Press, 1988. Akgündüz, Ahmet. Sheikh al-Islam Ebüssuûd Efendi Fetvaları. İstanbul: Osmanlı Araştırmaları Vakfı, 2018. Anthropic. "Claude's performance on legal reasoning tasks". Technical Report, San Francisco: Anthropic, 2024. Ashley, Kevin D. Artificial Intelligence and Legal Analytics. Cambridge: Cambridge University Press, 2017. Ayoub, Samy. Law, Empire, and the Sultan: Ottoman Legal Reform. Cambridge: Harvard University Press, 2024. Beesley, Kenneth R., & Lauri Karttunen. Finite State Morphology. Stanford: CSLI Publications, 2003. Bommarito, Michael J., & Daniel Martin Katz. "Measuring and modeling the US regulatory ecosystem". Journal of Statistical Physics, 168, no. 5 (2022): 1125-1135. Bommarito, Michael J., Daniel Martin Katz, & Jonathan Zelner. "Law as a seamless web? Network analysis of the U.S. Code". Physica A, 389, no. 19 (2010): 4195-4200. Breiman, Leo. "Random Forests". Machine Learning, 45, no. 1 (2001): 5-32. Cao, Jia, Xue Chen, Linan Wu, & Heng Zhang. "PILOT: Legal case outcome prediction with case law". Proceedings of the North American Chapter of the Association for Computational Linguistics, 34 (2024): 612-628. Chalkidis, Ilias, Manos Fergadiotis, Panagiotis Malakasiotis, & Ion Androutsopoulos. "LEGAL-BERT: The muppets straight out of law school". Findings of the Association for Computational Linguistics: EMNLP (2023): 2898-2904. Chalkidis, Ilias, Abhilasha Jana, Dirk Hartung, Michael Bommarito, Ion Androutsopoulos, Daniel Katz, & Nikolaos Aletras. "LexGLUE: A benchmark dataset for legal language understanding". Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (2022): 4310-4330. Chen, Lin, Wei Ma, Karthik Natarajan, & Qinshen Sheng. "Entropy-based complexity measures in legal systems". Artificial Intelligence and Law, 31, no. 2 (2023): 245-278. Choi, Jonathan H., Kristin E. Hickman, Amy Monahan, & Daniel Schwarcz. "ChatGPT goes to law school". Minnesota Legal Studies Research Paper, no. 23-03 (2023). Church, Kenneth W., & Patrick Hanks. "Word association norms, mutual information, and lexicography". Computational Linguistics, 16, no. 1 (1990): 22-29. Cowan, Nelson. "The magical mystery four: How is working memory capacity limited?". Current Directions in Psychological Science, 19, no. 1 (2010): 51-57. Dworkin, Ronald. Taking Rights Seriously. Cambridge: Harvard University Press, 1977. El-Mesallamy, Ahmed. "'Fatwa-GPT?': Generative AI and the future of Islamic authority". Yaqeen Institute for Islamic Research, 2024. Ergene, Boğaç A. Local Court, Provincial Society and Justice in the Ottoman Empire. Leiden: Brill, 2003. Fuller, Lon L. The Morality of Law (Revised ed.). New Haven: Yale University Press, 1969. Gerber, Haim. State, Society, and Law in Islam. Albany: SUNY Press, 1994. Hallaq, Wael B. Sharīʻa: Theory, Practice, Transformations. Cambridge: Cambridge University Press, 2009. Hallaq, Wael B. The Impossible State: Islam, Politics, and Modernity's Moral Predicament. New York: Columbia University Press, 2013. Hart, H. L. A. The Concept of Law. Oxford: Oxford University Press, 1961. Hasan, Z. "UAE: Legal implications of using artificial intelligence to issue 'fatwas'". Global Legal Monitor. Library of Congress, 2023. Henderson, Peter, Mark S. Krass, Lucia Zheng, Neel Guha, Christopher D. Manning, Dan Jurafsky, & Daniel E. Ho. "Pile of law: Learning responsible data filtering from the law and a 256GB open-source legal dataset". Advances in Neural Information Processing Systems, 36 (2023). Imber, Colin. Ebu's-su'ud: The Islamic Legal Tradition. Stanford: Stanford University Press, 2009. Kahneman, Daniel. Thinking, Fast and Slow. New York: Farrar, Straus and Giroux, 2011. Kamali, Mohammad Hashim. Principles of Islamic Jurisprudence (3rd ed.). Cambridge: Islamic Texts Society, 2003. Katz, Daniel Martin, & Michael J. Bommarito. "Measuring the complexity of the law". Artificial Intelligence and Law, 22, no. 4 (2014): 337-374. Katz, Daniel Martin, Michael J. Bommarito, & Josh Blackman. "GPT-4 passes the bar exam". Philosophical Transactions of the Royal Society A, 382 (2024): 20230166. Katz, Daniel Martin, J. B. Ruhl, & Pierpaolo Vivo (Eds.). "Complexity science approaches to law and governance". Philosophical Transactions of the Royal Society A, 382, no. 2270 (2024). Kaya, S., B. Algın, Z. Trabzonlu, & A. Erkan (Eds.). Behcetü'l-Fetävä. İstanbul: Klasik Yayınları, 2011. Kaya, S. (Ed.). Fetâvâ-yı Feyziye. İstanbul: Klasik Yayınları, 2009. Kiessling, Benjamin, Daniel Miller, & Mohammad Pouyi. "Kraken - A Universal Text Recognizer for the Humanities". In Proceedings of the 2019 Digital Humanities Conference (DH2019). Utrecht, Netherlands, 2019. Koplenig, Alexander. "Entropy-based approaches to historical linguistics". Annual Review of Linguistics, 9 (2023): 123-144. Miller, George A. "The magical number seven, plus or minus two". Psychological Review, 63, no. 2 (1956): 81-97. OpenAI. "GPT-4 Technical Report". arXiv:2303.08774, 2023. Pasquale, Frank. The Black Box Society. Cambridge: Harvard University Press, 2015. Piantadosi, Steven T., Harry Tily, & Edward Gibson. "Word lengths are optimized for efficient communication". Proceedings of the National Academy of Sciences, 108, no. 9 (2011): 3526-3529. Raz, Joseph. The Authority of Law. Oxford: Oxford University Press, 1979. Romanov, Maxim. "OpenITI: A machine-readable corpus of Islamicate texts". Digital Scholarship in the Humanities, 39, no. 1 (2024): 234-251. Ruhl, J. B., & Daniel Martin Katz. "Scaling laws: Legal complexity in US localities". Philosophical Transactions of the Royal Society A, 382 (2024): 20230151. Russell, Stuart. Human Compatible: AI and the Problem of Control. New York: Viking, 2019. Scott, James C. Seeing Like a State: How Certain Schemes to Improve the Human Condition Have Failed. New Haven: Yale University Press, 1998. Shannon, Claude E. "A mathematical theory of communication". Bell System Technical Journal, 27, no. 3 (1948): 379-423. Sulai, N. A. C., & A. H. A. Othman. "The application of artificial intelligence (AI) in Islamic finance and its Maqasid al-Shariah perspective in Malaysia". Journal of Islamic Finance, 22, no. 2 (2023): 1-13. Susskind, Richard. Online Courts and the Future of Justice. Oxford: Oxford University Press, 2019. Tucker, Judith E. Women, Family, and Gender in Islamic Law. Cambridge: Cambridge University Press, 2008. Weber, Max. Economy and Society: An Outline of Interpretive Sociology. Berkeley: University of California Press, 1978.