55
Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department of Computer Science Lally School of Management & Technology Rensselaer Polytechnic Institute (RPI) Troy, New York 12180 USA Intro to Logic 2/11/2019 Selmer Bringsjord L 0

Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Pure Predicate Calculus = ;Toward Quantification

Rensselaer AI & Reasoning (RAIR) LabDepartment of Cognitive ScienceDepartment of Computer Science

Lally School of Management & TechnologyRensselaer Polytechnic Institute (RPI)

Troy, New York 12180 USA

Intro to Logic2/11/2019

Selmer Bringsjord

L0<latexit sha1_base64="ZzzqEU1zzAoS0Qg7kRgCtjDm2Mw=">AAACCnicbVDLSsNAFL2pr1pfVZduBovgqiQi6LLoxoWLCvYBbSiT6aQdOpmkMxOhhPyBe7f6C+7ErT/hH/gZTtIsbOuBgcM593DvHC/iTGnb/rZKa+sbm1vl7crO7t7+QfXwqK3CWBLaIiEPZdfDinImaEszzWk3khQHHqcdb3Kb+Z0nKhULxaOeRdQN8EgwnxGsjeT2A6zHisjkPh3Yg2rNrts50CpxClKDAs1B9ac/DEkcUKEJx0r1HDvSboKlZoTTtNKPFY0wmeAR7RkqcECVm+RHp+jMKEPkh9I8oVGu/k0kOFBqFnhmMj9ywcsUqXyVLicy479EL9b+tZswEcWaCjJf78cc6RBlvaAhk5RoPjMEE8nMDxAZY4mJNu1VTDXOchGrpH1Rd+y683BZa9wUJZXhBE7hHBy4ggbcQRNaQGAKL/AKb9az9W59WJ/z0ZJVZI5hAdbXLwAFm4A=</latexit><latexit sha1_base64="ZzzqEU1zzAoS0Qg7kRgCtjDm2Mw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xoWLCvYBbSiT6aQdOpmkMxOhhPyBe7f6C+7ErT/hH/gZTtIsbOuBgcM593DvHC/iTGnb/rZKa+sbm1vl7crO7t7+QfXwqK3CWBLaIiEPZdfDinImaEszzWk3khQHHqcdb3Kb+Z0nKhULxaOeRdQN8EgwnxGsjeT2A6zHisjkPh3Yg2rNrts50CpxClKDAs1B9ac/DEkcUKEJx0r1HDvSboKlZoTTtNKPFY0wmeAR7RkqcECVm+RHp+jMKEPkh9I8oVGu/k0kOFBqFnhmMj9ywcsUqXyVLicy479EL9b+tZswEcWaCjJf78cc6RBlvaAhk5RoPjMEE8nMDxAZY4mJNu1VTDXOchGrpH1Rd+y683BZa9wUJZXhBE7hHBy4ggbcQRNaQGAKL/AKb9az9W59WJ/z0ZJVZI5hAdbXLwAFm4A=</latexit>

Page 2: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Logistics …

Page 3: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Logistics …

Any questions?

Page 4: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Logistics …

Any questions?

Phase 2 of class mtg today …

Page 5: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

What is Logic?• The key to becoming rational.

• “The science of reasoning.” — so the not-unreasonable slogan goes.

• The only invincible subject there is.

• The basis for the formal sciences (from mathematics to game theory to decision theory to probability calculi to axiomatic physics ….) — and hence the basis for disciplines based on the formal sciences (e.g., engineering, computer science).

• The way of escape from shallow content and context to pure, immaterial, and immortal form and structure (which is why the exotic, imaginary, and seemingly non-sensical is so pedagogically useful).

• The most challenging subject there is.

• One of the chief differentiators between dogs and monkeys versus you (let alone bears and you); and mindless machines (like Deep Blue & Watson) versus you.

• A key to riches.

• The key to divining the meaning of life (and other such big questions).

• The better way to program computers; and fundamentally the only way to reliably program computers.

• One of two fundamental approaches to studying minds, and replicating/simulating minds in machines…

• The thing many creatures of fiction have mastered — have you (as a New Yorker)?…

Page 6: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

What is Logic?• The key to becoming rational.

• “The science of reasoning.” — so the not-unreasonable slogan goes.

• The only invincible subject there is.

• The basis for the formal sciences (from mathematics to game theory to decision theory to probability calculi to axiomatic physics ….) — and hence the basis for disciplines based on the formal sciences (e.g., engineering, computer science).

• The way of escape from shallow content and context to pure, immaterial, and immortal form and structure (which is why the exotic, imaginary, and seemingly non-sensical is so pedagogically useful).

• The most challenging subject there is.

• One of the chief differentiators between dogs and monkeys versus you (let alone bears and you); and mindless machines (like Deep Blue & Watson) versus you.

• A key to riches.

• The key to divining the meaning of life (and other such big questions).

• The better way to program computers; and fundamentally the only way to reliably program computers.

• One of two fundamental approaches to studying minds, and replicating/simulating minds in machines…

• The thing many creatures of fiction have mastered — have you (as a New Yorker)?…

Page 8: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

https://animalstudiesrepository.org/animsent/vol3/iss23/1/

Page 9: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

The Canyon of Discontinuity (or Darwin’s Dread)

Page 10: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

The Canyon of Discontinuity (or Darwin’s Dread)

Page 11: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

The Canyon of Discontinuity (or Darwin’s Dread)

Page 12: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

The Canyon of Discontinuity (or Darwin’s Dread)

Relations and Functions (abstract)!

Page 13: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

The Canyon of Discontinuity (or Darwin’s Dread)

Quantification!

Relations and Functions (abstract)!

Page 14: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

The Canyon of Discontinuity (or Darwin’s Dread)

Quantification!

Recursion!

Relations and Functions (abstract)!

Page 15: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

The Canyon of Discontinuity (or Darwin’s Dread)

Quantification!

Recursion!

Relations and Functions (abstract)!

Infinitary reasoning!

Page 16: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

The Canyon of Discontinuity (or Darwin’s Dread)

Quantification!

Recursion!

Relations and Functions (abstract)!

(Thinking ahead to our next topic (quantification), Interesting paper:http://idiom.ucsd.edu/~ivano/SemBabble_old/LogicSeminar_15W/Material/Partee_2013_History-of-Quantifiers.pdf.)

Infinitary reasoning!

Page 17: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

The Canyon of Discontinuity (or Darwin’s Dread)

Quantification!

Recursion!Relations and Functions (abstract)!

(Thinking ahead to our next topic (quantification), Interesting paper:http://idiom.ucsd.edu/~ivano/SemBabble_old/LogicSeminar_15W/Material/Partee_2013_History-of-Quantifiers.pdf.)

Infinitary reasoning!

Page 18: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

The Canyon of Discontinuity (or Darwin’s Dread)

Quantification!

Recursion!Relations and Functions (abstract)!

(Thinking ahead to our next topic (quantification), Interesting paper:http://idiom.ucsd.edu/~ivano/SemBabble_old/LogicSeminar_15W/Material/Partee_2013_History-of-Quantifiers.pdf.)

Infinitary reasoning!

Page 19: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Karkooking Problem …

Everyone karkooks anyone who karkooks someone.

Alvin karkooks Bill.

Can you infer that everyone karkooks Bill?

ANSWER:

JUSTIFICATION:

Page 20: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Karkooking Problem …

Everyone karkooks anyone who karkooks someone.

Alvin karkooks Bill.

Can you infer that everyone karkooks Bill?

ANSWER:

JUSTIFICATION:

Quantification!

Recursion!

Relations and Functions!

Infinitary Reasoning!

Page 21: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department
Page 22: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Does everyone karkook Bill?

Page 23: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Does everyone karkook Bill?

Yup! Want me to prove it?

Page 24: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

?

?

? Does everyone karkook Bill?

Yup! Want me to prove it?

Page 25: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Karkooking Problem …

Everyone karkooks anyone who karkooks someone.

Alvin karkooks Bill.

Can you infer that everyone karkooks Bill?

ANSWER:

JUSTIFICATION:

Quantification!

Recursion!

Relations and Functions!

Page 26: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Karkooking Problem …

Everyone karkooks anyone who karkooks someone.

Alvin karkooks Bill.

Can you infer that everyone karkooks Bill?

ANSWER:

JUSTIFICATION:

Quantification!

Recursion!

Relations and Functions!

Page 27: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Karkooking Problem …

Everyone karkooks anyone who karkooks someone.

Alvin karkooks Bill.

Can you infer that everyone karkooks Bill?

ANSWER:

JUSTIFICATION:

Quantification!

Recursion!

Relations and Functions!

Page 28: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Larry attended Hotchkiss before entering Harvard, from which he graduated with a degree in Scandinavian Studies. He aspires to be a Diplomat representing the United States to Sweden. Larry is from a rather wealthy family: his trust fund is valued at $7 billion; his father collects exotic islands, his mother precursor-to-Impressionism masterpieces, and his three bachelor brothers, fast, classic European luxury sedans capable of heart-pounding top speeds. Larry’s command of math never exceeded what is covered on the SAT, and he has long forgotten even this material. He does not understand what a computer or computer program is, but nonetheless makes continuous use of social networking technology, including specifically facebook, on which he is liked by four people, all in his nuclear family, save for one, and that one is a brilliant female with a penchant for driving fast European sedans really fast. Say what you will about Larry, he is arrestingly eloquent without notes of any kind when speaking about geopolitics, in any venue; knows perhaps more about the history of Northern Europe (including its mythology) than any man alive; and while in keeping with his upbringing is a Hayekian capitalist, is rumored to generously donate millions each year to Big Brothers Big Sisters, AA, and Samaritan’s Purse.

Larry

Page 29: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

LucyLucy is a brilliant but poor hacker from a broken, impoverished home in Buffalo NY. A motherless only child raised by a single, devoted father who made ends meet (between binges on the bottle) as a brilliant but itinerant Daimler mechanic, she saw more heartache in her youth than that catalogued in a thousand country-song sagas. As a sophomore at MIT, she (successfully) petitioned to move directly to the PhD program in computer science without having to suffer the — to use her words — “torturous tedium” of the junior and senior years. This rapid “ascension” was all the more remarkable because her first year in college was not spent at MIT, but at Erie Community College, where on day one of Java 101, the professor insisted she come to her office after class, whereupon was launched a tutor-student relationship that initially centered not around not Java, but the language for which Professor Kuth has a secret passion: Prolog. Lucy has consistently rebuffed the overtures of all males at MIT, a group she disdains for their universally poor command of matters computational. Lucy stays in touch with her father by email (and as of this writing has managed to maintain her atheism despite his conversion and testimony), and with but five friends on facebook, one of whom has attended an Ivy-League institution, and one of whom, an entrepreneur co-running a startup company in the mobile computing space, attends a likewise techie university 2.5-hrs-drive to-the-west-of MIT.

Page 30: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

‘Larry’ :: larry‘Lucy’ :: lucy‘Virginia’ :: virginia‘Prescott’ :: prescott‘Hank’ :: hank‘Abe’ :: abe‘Ben’ :: ben‘Charles’ :: charles‘Christian’ :: christian‘Harvard’ :: harvard‘MIT’ :: mit‘RPI’ :: rpi‘Rensselaer’ :: rensselaerfather-of is a function; eg we can say: (father-of lucy)brother-of is a function; eg we can say: (brother-of larry)x is rich iff (Rich x)x is employed at y iff (EmployedAt x y)x is west of y iff (WestOf x y)x attends y iff (Attends x y)x had i-contact with y iff (IContact x y)x facebook-likes y iff (F-Likes x y)x truly likes y iff (T-Likes x y)x is an alum of y iff (Alum x y)x is a hacker iff (Hacker x)x is computationally sophisticated iff (Comp-Soph x)x is a female iff (Female x)x is a generous iff (Generous x)x is eloquent iff (Eloquent x)x is a brother of y iff (Brother x y)x knows Norse mythology iff (K-Norse-Myth x)x knows who Huginn and Muninn are iff (K-H-M x)

Key

Page 31: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Work through this example from the book!

Page 32: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Provably Subsuming Prolog …

Page 33: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Entscheidungsproblem

20191666

Leibniz

“Universal Computational Logic”

20201854

Organon

Intro to Logic @ RPI

300 BC350 BC

Euclid

The Singularity?

1956

Logic Theorist(birth of modern logicist AI)

Simon

?

Exceeds Leibniz & de-mystifies Euclid: the “compellingness” of these proofs consists in their being, at bottom, formal proofs in first-order logic (FOL).Frege

Church Turing Post

Here’s what a computer is, and given that, sorry, the Entscheidungsproblem can’t be solved by such a machine!

Page 34: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Entscheidungsproblem

20191666

Leibniz

“Universal Computational Logic”

20201854

Organon

Intro to Logic @ RPI

300 BC350 BC

Euclid

The Singularity?

1956

Logic Theorist(birth of modern logicist AI)

Simon

?

Exceeds Leibniz & de-mystifies Euclid: the “compellingness” of these proofs consists in their being, at bottom, formal proofs in first-order logic (FOL).Frege

Church Turing Post

Here’s what a computer is, and given that, sorry, the Entscheidungsproblem can’t be solved by such a machine!

New: Functional = Church; Procedural = Turing. Where is logicist computation?

Page 35: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Entscheidungsproblem

20191666

Leibniz

“Universal Computational Logic”

20201854

Organon

Intro to Logic @ RPI

300 BC350 BC

Euclid

The Singularity?

1956

Logic Theorist(birth of modern logicist AI)

Simon

?

Exceeds Leibniz & de-mystifies Euclid: the “compellingness” of these proofs consists in their being, at bottom, formal proofs in first-order logic (FOL).Frege

Church Turing Post

Here’s what a computer is, and given that, sorry, the Entscheidungsproblem can’t be solved by such a machine!

New: Functional = Church; Procedural = Turing. Where is logicist computation?

Page 36: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Entscheidungsproblem

20191666

Leibniz

“Universal Computational Logic”

20201854

Organon

Intro to Logic @ RPI

300 BC350 BC

Euclid

The Singularity?

1956

Logic Theorist(birth of modern logicist AI)

Simon

?

Exceeds Leibniz & de-mystifies Euclid: the “compellingness” of these proofs consists in their being, at bottom, formal proofs in first-order logic (FOL).Frege

Church Turing Post

Here’s what a computer is, and given that, sorry, the Entscheidungsproblem can’t be solved by such a machine!

New: Functional = Church; Procedural = Turing. Where is logicist computation?

Page 37: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Entscheidungsproblem

20191666

Leibniz

“Universal Computational Logic”

20201854

Organon

Intro to Logic @ RPI

300 BC350 BC

Euclid

The Singularity?

1956

Logic Theorist(birth of modern logicist AI)

Simon

?

Exceeds Leibniz & de-mystifies Euclid: the “compellingness” of these proofs consists in their being, at bottom, formal proofs in first-order logic (FOL).Frege

Church Turing Post

Here’s what a computer is, and given that, sorry, the Entscheidungsproblem can’t be solved by such a machine!

New: Functional = Church; Procedural = Turing. Where is logicist computation?

Page 38: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Entscheidungsproblem

20191666

Leibniz

“Universal Computational Logic”

20201854

Organon

Intro to Logic @ RPI

300 BC350 BC

Euclid

The Singularity?

1956

Logic Theorist(birth of modern logicist AI)

Simon

?

Exceeds Leibniz & de-mystifies Euclid: the “compellingness” of these proofs consists in their being, at bottom, formal proofs in first-order logic (FOL).Frege

Church Turing Post

Here’s what a computer is, and given that, sorry, the Entscheidungsproblem can’t be solved by such a machine!

New: Functional = Church; Procedural = Turing. Where is logicist computation?

Page 39: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Two Logicist Branches; B1:

Page 40: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Two Logicist Branches; B1:Frege (remember him?), 1893:“Aha! Currying! I recast multiple-arity operations with functions into a unary affair!”

Page 41: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Two Logicist Branches; B1:Frege (remember him?), 1893:“Aha! Currying! I recast multiple-arity operations with functions into a unary affair!”

Schönfinkel, 1920’s:“Aha! I can do this stuff using combinatory logic!”

Page 42: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Two Logicist Branches; B1:Frege (remember him?), 1893:“Aha! Currying! I recast multiple-arity operations with functions into a unary affair!”

Schönfinkel, 1920’s:“Aha! I can do this stuff using combinatory logic!”

Church, 1920’s & 30’s:“Aha! The lambda calculus!

Page 43: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Two Logicist Branches; B1:Frege (remember him?), 1893:“Aha! Currying! I recast multiple-arity operations with functions into a unary affair!”

Schönfinkel, 1920’s:“Aha! I can do this stuff using combinatory logic!”

Church, 1920’s & 30’s:“Aha! The lambda calculus!

Page 44: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Two Logicist Branches; B1:Frege (remember him?), 1893:“Aha! Currying! I recast multiple-arity operations with functions into a unary affair!”

Schönfinkel, 1920’s:“Aha! I can do this stuff using combinatory logic!”

Church, 1920’s & 30’s:“Aha! The lambda calculus!

Haskell

Page 45: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Our Logicist Branch: B2:

Page 46: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Our Logicist Branch: B2:The AI Branch: Automated Reasoning

Page 47: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Our Logicist Branch: B2:

Leibniz

The AI Branch: Automated Reasoning

Page 48: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Our Logicist Branch: B2:

Leibniz

Simon & Newell @ Dawn of Modern AI: LT & GPS

The AI Branch: Automated Reasoning

Page 49: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Our Logicist Branch: B2:

Leibniz

Simon & Newell @ Dawn of Modern AI: LT & GPS

The AI Branch: Automated Reasoning

Page 50: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Our Logicist Branch: B2:

Leibniz

Simon & Newell @ Dawn of Modern AI: LT & GPS

The AI Branch: Automated Reasoning

Prolog?

Page 51: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Our Logicist Branch: B2:

Leibniz

Simon & Newell @ Dawn of Modern AI: LT & GPS

The AI Branch: Automated Reasoning

Page 52: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Our Logicist Branch: B2:

Leibniz

Simon & Newell @ Dawn of Modern AI: LT & GPS

The AI Branch: Automated Reasoning

PGLP

Page 53: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Ok, but how do we know PGLP can

subsume Prolog?

Page 54: Pure Predicate Calculus = ; L · 2020. 4. 1. · Pure Predicate Calculus = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

Here’s how …

Show L0 + R can handle quantifier-free functions.<latexit sha1_base64="iS9qraMUjZBeu38uOUAoAYk2n0Q=">AAACVHicbVHLSgMxFE3HV62vqks3wSIIYpkRQZeiGxcu6qMq2FLupHdsMJOMSUYtw3yZ/yG4dCf6Cy7MtF1o9ULg3HPug3sSJoIb6/uvJW9icmp6pjxbmZtfWFyqLq9cGpVqhk2mhNLXIRgUXGLTcivwOtEIcSjwKrw7KvSrB9SGK3lh+wm2Y7iVPOIMrKM61WYrDtVTdt5Tjz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GLTcivwOtEIcSjwKrw7KvSrB9SGK3lh+wm2Y7iVPOIMrKM61WYrDtVTdt5TjzSnrRhszzCdneQdn24N8zDMzgqpqKMMJO2B7Aqk9ylI60ah3o40Io1SyYqhpp53qjW/7g+C/gXBCNTIKBqd6nurq1gao7RMgDE3gZ/YdgbaciYwr7RSgwmwO7jFGwclxGja2eD8nG44pksjpd2Tlg7Ynx0ZxMb049BVDu4b1wryX61gtInM2H4b7bczLpPUomTD9VEqqFW0cJh2uUZmRd8BYJq7CyjrgQZm3T9UnDXBuBF/weVOPfDrwelu7eBwZFKZrJF1skkCskcOyDFpkCZh5Jm8kQ/yWXopfXkT3tSw1CuNelbJr/AWvwGg6bZE</latexit><latexit sha1_base64="iS9qraMUjZBeu38uOUAoAYk2n0Q=">AAACVHicbVHLSgMxFE3HV62vqks3wSIIYpkRQZeiGxcu6qMq2FLupHdsMJOMSUYtw3yZ/yG4dCf6Cy7MtF1o9ULg3HPug3sSJoIb6/uvJW9icmp6pjxbmZtfWFyqLq9cGpVqhk2mhNLXIRgUXGLTcivwOtEIcSjwKrw7KvSrB9SGK3lh+wm2Y7iVPOIMrKM61WYrDtVTdt5TjzSnrRhszzCdneQdn24N8zDMzgqpqKMMJO2B7Aqk9ylI60ah3o40Io1SyYqhpp53qjW/7g+C/gXBCNTIKBqd6nurq1gao7RMgDE3gZ/YdgbaciYwr7RSgwmwO7jFGwclxGja2eD8nG44pksjpd2Tlg7Ynx0ZxMb049BVDu4b1wryX61gtInM2H4b7bczLpPUomTD9VEqqFW0cJh2uUZmRd8BYJq7CyjrgQZm3T9UnDXBuBF/weVOPfDrwelu7eBwZFKZrJF1skkCskcOyDFpkCZh5Jm8kQ/yWXopfXkT3tSw1CuNelbJr/AWvwGg6bZE</latexit>

Later: L1 for rest of functions.<latexit sha1_base64="a6RFfEuulu9mJuCfWYacp/DmwHE=">AAACOnicbVA7T8MwGHR4lvIKMLJYVEhMVYKQQLBUsDB0KBJ9SG1VOe6X1qpjR7aDqKL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us = ; Toward Quantification Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department

�22

Enden — for i dag.