Traditional Logic and Computational Thinking
Abstract
:1. Introduction
2. The Received View of Logic (Programming)
“It is no secret that classical logic and its mainstream variants are not much good for human inference as it actually plays out in the conditions of real life—in life on the ground, so to speak. It is not surprising. Human reasoning is not what the modern orthodox logics were meant for. The logics of Frege and Whitehead & Russell were purpose-built for the pacification of philosophical perturbation in the foundations of mathematics, notably but not limited to the troubles occasioned by the paradox of sets in their application to transfinite arithmetic.”([16], p. 404)
3. Classical vs. Traditional Logic
- Minimality: Syllogistic inferences are minimal in so far as they contain the premises needed for their validity and none other.
- Non-Circularity: Syllogistic inferences are elementarily non-circular, that is, their conclusions repeat no premises.
- Premise multiplicity: Syllogistic inferences are multi-premised.
- Premise consistency: Syllogistic inferences admit only consistent premises.
- The because-of condition: Syllogistic inference is valid if it excludes terms from the outside; only if, that is, each term in its conclusion has an occurrence in at least one premise and every premise has a term occurring in the conclusion.
4. Traditional Logic Programming vs. Classical Logic Programming
- <program> ::= <statement><statement>|<statement><program>
- <statement> ::= <term><term>
- <term> ::= <+T>|<-T>|<+t>|<-t>
- -s+H
- -H+A
- -H+O
- -A+O
- > s
- -H+A
- -s+H
- -----
- -s+A
- -H+O
- -s+H
- -----
- -s+O
5. Conclusions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Appendix A. Syllogistic
First | Second | Third | Fourth |
---|---|---|---|
Appendix B. Term Functor Logic
|
Statement | TFL | |
---|---|---|
1. | All computer scientists are animals. | |
2. | All logicians are computer scientists. | |
⊢ | All logicians are animals. |
References
- Epstein, R.; Rooney, M.; Raffi, A. Critical Thinking, 5th ed.; Advanced Reasoning Forum: Socorro, NM, USA, 2017. [Google Scholar]
- Council, N.; Sciences, D.; Board, C.; Thinking, C. Report of a Workshop on the Scope and Nature of Computational Thinking; National Academies Press: Washington, DC, USA, 2010. [Google Scholar]
- Kowalski, R. Computational Logic and Human Thinking: How to Be Artificially Intelligent; Cambridge University Press: Cambridge, UK, 2012. [Google Scholar]
- Beecher, K. Computational Thinking: A Beginner’s Guide to Problem-Solving and Programming; BCS Learning & Development Limited: Swindon, GB, USA, 2018. [Google Scholar]
- Levesque, H. Thinking as Computation: A First Course; MIT Press: Cambridge, MA, USA, 2017. [Google Scholar]
- Wang, P. From Computing to Computational Thinking; CRC Press: Boca Raton, FL, USA, 2017. [Google Scholar]
- Denning, P.; Tedre, M. Computational Thinking; MIT Press Essential Knowledge Series; MIT Press: Cambridge, MA, USA, 2019. [Google Scholar]
- Haack, S. Philosophy of Logics; Cambridge University Press: Cambridge, UK, 1978. [Google Scholar]
- Moss, L. Natural Logic. In The Handbook of Contemporary Semantic Theory; Lappin, S., Fox, C., Eds.; John Wiley & Sons: Hoboken, NJ, USA, 2015. [Google Scholar]
- Eklund, M. On How Logic Became First-Order. Nord. J. Philos. Logic 1996, 1, 147–167. [Google Scholar]
- De Morgan, A. On the Syllogism, No. IV., and on the Logic of Relations. Trans. Camb. Philos. Soc. 1864, 10, 331. [Google Scholar]
- Frege, G.; Angelelli, I. Begriffsschrift und Andere Aufsätze; Wissenschaftliche Buchgesellschaft: Darmstadt, Germany, 1977. [Google Scholar]
- Russell, B. A Critical Exposition of the Philosophy of Leibniz: With an Appendix of Leading Passages; Cambridge University Press: Cambridge, UK, 1900. [Google Scholar]
- Carnap, R. Die alte und die neue Logik. Erkenntnis 1930, 1, 12–26. [Google Scholar] [CrossRef]
- Geach, P.T. Reference and Generality: An Examination of Some Medieval and Modern Theories; Contemporary Philosophy/Cornell University, Cornell University Press: Ithaca, NY, USA, 1968. [Google Scholar]
- Woods, J. Logic Naturalized. In Epistemology, Knowledge and the Impact of Interaction; Redmond, J., Pombo Martins, O., Nepomuceno Fernández, Á., Eds.; Springer International Publishing: Cham, The Netherlands, 2016; pp. 403–432. [Google Scholar] [CrossRef]
- Englebretsen, G. Something to Reckon with: The Logic of Terms; Canadian Electronic Library: Books Collection; University of Ottawa Press: Ottawa, ON, Canada, 1996. [Google Scholar]
- Smith, H. A Primer of Logic; B. D. Smith & Bros.: Orleans, MA, USA, 1917. [Google Scholar]
- Kreeft, P.; Dougherty, T. Socratic Logic: A Logic Text Using Socratic Method, Platonic Questions & Aristotelian Principles; St. Augustine’s Press: South Bend, IN, USA, 2014. [Google Scholar]
- Sommers, F. Intelectual Autobiography. In The Old New Logic: Essays on the Philosophy of Fred Sommers; Oderberg, D.S., Ed.; Bradford Book; MIT Press: Cambridge, MA, USA, 2005; pp. 1–24. [Google Scholar]
- Sommers, F. On a Fregean Dogma. In Problems in the Philosophy of Mathematics; Lakatos, I., Ed.; Studies in Logic and the Foundations of Mathematics; Elsevier: Amsterdam, The Netherlands, 1967; Volume 47, pp. 47–81. [Google Scholar] [CrossRef]
- Sommers, F. The Logic of Natural Language; Clarendon Library of Logic and Philosophy; Clarendon Press: Oxford, UK; Oxford University Press: New York, NY, USA, 1982. [Google Scholar]
- Sommers, F.; Englebretsen, G. An Invitation to Formal Reasoning: The Logic of Terms; Ashgate: Farnham, UK, 2000. [Google Scholar]
- Englebretsen, G. The New Syllogistic; Peter Lang: New York, NY, USA, 1987. [Google Scholar]
- Englebretsen, G.; Sayward, C. Philosophical Logic: An Introduction to Advanced Topics; Bloomsbury Academic: London, UK, 2011. [Google Scholar]
- Veatch, H. Intentional Logic: A Logic Based on Philosophical Realism; Yale University Press: New Haven, CT, USA, 1952. [Google Scholar]
- Alvarez, E.; Correia, M. Syllogistic with Indefinite Terms. Hist. Philos. Logic 2012, 33, 297–306. [Google Scholar] [CrossRef]
- Englebretsen, G. Bare Facts and Naked Truths: A New Correspondence Theory of Truth; Ashgate: Farnham, UK, 2006. [Google Scholar]
- Correia, M. La lógica aristotélica y sus perspectivas. Pensam. Rev. Investig. Inf. Filos. 2017, 73, 5–19. [Google Scholar] [CrossRef] [Green Version]
- Sterling, L.; Shapiro, L.; Shapiro, E.; Coaut, S.; Warren, D. The Art of Prolog: Advanced Programming Techniques; MIT Press: Cambridge, MA, USA, 1994. [Google Scholar]
- Kowalski, R.A. Predicate Logic as Programming Language. In Information Processing, Proceedings of the 6th IFIP Congress 1974, Stockholm, Sweden, 5–10 August 1974; Rosenfeld, J.L., Ed.; North-Holland: Amsterdam, The Netherlands, 1974; pp. 569–574. [Google Scholar]
- Kowalski, R.A. The Early Years of Logic Programming. Commun. ACM 1988, 31, 38–43. [Google Scholar] [CrossRef]
- Bratko, I. Prolog Programming for Artificial Intelligence; Addison Wesley: Harlow, UK, 2012. [Google Scholar]
- Clocksin, W.; Mellish, C. Programming in Prolog; Springer: Berlin/Heidelberg, Germany, 2003. [Google Scholar]
- Church, A. A Set of Postulates for the Foundation of Logic. Ann. Math. 1932, 33, 346–366. [Google Scholar] [CrossRef]
- Church, A. An Unsolvable Problem of Elementary Number Theory. Am. J. Math. 1936, 58, 345–363. [Google Scholar] [CrossRef] [Green Version]
- Church, A. A Formulation of the Simple Theory of Types. J. Symb. Logic 1940, 5, 56–68. [Google Scholar] [CrossRef] [Green Version]
- Turing, A.M. On Computable Numbers, with an Application to the Entscheidungsproblem. Proc. Lond. Math. Soc. 1937, 2, 230–265. [Google Scholar] [CrossRef]
- McCarthy, J. Programs with Common Sense; Technical Report; MIT: Cambridge, MA, USA, 1960. [Google Scholar]
- Kowalski, R. Algorithm = Logic + Control. Commun. ACM 1979, 22, 424–436. [Google Scholar] [CrossRef]
- Copi, I.; Cohen, C.; McMahon, K. Introduction to Logic: Pearson New International Edition; Pearson Education Limited: London, UK, 2013. [Google Scholar]
- Losee, J. A Historical Introduction to the Philosophy of Science; OUP Oxford: Oxford, UK, 2010. [Google Scholar]
- Thom, P. Logic and Ontology in the Syllogistic of Robert Kilwardby; Studien Und Texte Zur Geistesgeschichte Des Mittelalters; Brill: Leiden, The Netherlands, 2007. [Google Scholar]
- Aristotle. Prior Analytics; Hackett Classics Series; Hackett: Indianapolis, IN, USA, 1989. [Google Scholar]
- Woods, J. Aristotle’s Earlier Logic; Studies in Logic; College Publications: London, UK, 2014. [Google Scholar]
- Mozes, E. A deductive database based on aristotelian logic. J. Symb. Comput. 1989, 7, 487–507. [Google Scholar] [CrossRef] [Green Version]
- Massie, D. Computer Implementation of Term Functor Logic, (TFL), Based on Directed Graph Representation of TFL. U.S. Patent No. 20,150,074,031; U.S. Patent and Trademark Office, 2013. Available online: http://appft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&p=1&u=/netahtml/PTO/srchnum.html&r=1&f=G&l=50&d=PG01&s1=20150074031.PGNR (accessed on 8 May 2020).
- Castro-Manzano, J.M.; Lozano-Cobos, L.I.; Reyes-Cardenas, P.O. Programming with Term Logic. BRAIN Broad Res. Artif. Intell. Neurosci. 2018, 9, 22–36. [Google Scholar]
- Noah, A. Sommers’s cancellation technique and the method of resolution. In The Old New Logic: Essays on the Philosophy of Fred Sommers; Oderberg, D.S., Ed.; Bradford Book; MIT Press: Cambridge, MA, USA, 2005; pp. 169–182. [Google Scholar]
- Quine, W.V.O. Predicate Functor Logic. In Proceedings of the Second Scandinavian Logic Symposium; Fenstad, J.E., Ed.; Elsevier: Amsterdam, The Netherlands, 1971. [Google Scholar]
- Noah, A. Predicate-functors and the limits of decidability in logic. Notre Dame J. Formal Logic 1980, 21, 701–707. [Google Scholar] [CrossRef]
- Kuhn, S.T. An axiomatization of predicate functor logic. Notre Dame J. Formal Logic 1983, 24, 233–241. [Google Scholar] [CrossRef]
English | Classical Logic Notation | Prolog Notation | Term Logic Notation | Traditional Programming |
---|---|---|---|---|
Every logician is mad. | ||||
No logician is mad. | ||||
Some logician is mad. | ||||
Some logician is not mad. |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Castro-Manzano, J.-M. Traditional Logic and Computational Thinking. Philosophies 2021, 6, 12. https://doi.org/10.3390/philosophies6010012
Castro-Manzano J-M. Traditional Logic and Computational Thinking. Philosophies. 2021; 6(1):12. https://doi.org/10.3390/philosophies6010012
Chicago/Turabian StyleCastro-Manzano, J.-Martín. 2021. "Traditional Logic and Computational Thinking" Philosophies 6, no. 1: 12. https://doi.org/10.3390/philosophies6010012
APA StyleCastro-Manzano, J. -M. (2021). Traditional Logic and Computational Thinking. Philosophies, 6(1), 12. https://doi.org/10.3390/philosophies6010012