Lógica de Predicados Dr. Rogelio Dávila Pérez Profesor-Investigador Depto. de Tecnologías de la Información ITESM, Campus Guadalajara.

Slides:



Advertisements
Presentaciones similares
Review of nouns, articles, and the masculine/femeinine concept.
Advertisements

Lógica de Predicados Dr. Rogelio Dávila Pérez Profesor-Investigador
And other verbs like gustar
¡Feliz Día de San Valentín!
Cuento del Gato.
Mr. Redaelli OnlineTaco.com. To Have - Tener Yo tengo – I have Tú tienes – You have (Informal) Usted tiene – You have (Formal) El tiene – He has Ella.
El pretérito The Preterite
Direct object pronouns. What is a Direct Object? The object that directly receives the action of the verb is called the direct object. The direct object.
Gusta, again! Earlier in the course, we saw how to express likes and dislikes about activities, i.e., gusta + a verb. In this slide show, we are going.
Los sujetos Subjects. Los sujetos singulares Yo = I Tú = You (informal) Él = he / Ella = she / Usted (ud) = you (formal)
Unidad 4 Etapa 3.
1. Es dudoso que Ramón reciba una buena nota en el examen. 2. No es cierto que ellos vayan a Mexico. 3. Es malo que comas mucho helado. 4. Es importante.
ANTE TODO Indefinite words refer to people and things that are not specific, for example, someone or something. Negative words deny the existence of people.
The Subjunctive In this slide show, we are going to look at a verb form that has all but disappeared from English – the subjunctive!
Double Object Pronouns
Lunes el diecinueve de marzo. The future tense is used in Spanish to talk about future events. It is used when ever we would use the phrase I will… in.
The Subjunctive In this slide show, we are going to look at a verb form that has all but disappeared from English – the subjunctive!
L/O/G/O Elaborado por: Ing Edson Rodriguez Ingles o Idioma Extranjero I
Negative and Affirmative Words
Game Cluedo: How to Play 1.Your group should have the 21 cards containing 6 cards of suspects, 9 rooms and 6 weapons, a tally card for each member and.
Affirmative and Negative Words
Subject Pronouns and Ser
Possessive Adjectives (Los adjetivos posesivos). mi tu su nuestro vuestro su (s) os, (a, as) os,(a,as) (s) These are two-form adjectives, which agree.
Tú: Sí, tengo la tarea. Tú: No, no necesito una calculadora.
Subject Pronouns P. 82 Realidades 1.
El Verbo GUSTAR En español gustar means to be pleasing In English, the equivalent is to like.
Direct and Indirect Object Pronouns
Hazlo ahorael 14 de mayo Objetivos: SWBAT recognize different Spanish-speaking countries & currencies. SWBAT understand currency conversion. Write 3 sentences.
Subject Pronouns and Ser Español 1c Subjects and Verbs The subject of a sentence tells us who is doing the action. The verb tells us what action is taking.
Copyright © 2008 Vista Higher Learning. All rights reserved Both English and Spanish use superlatives to express the highest or lowest degree of.
Español 1 El 15 de octubre de 2012 Entrada: Pronouns[en el libro importante] Answer the following questions in complete sentences in English: 1.What is.
Entrada: Los verbos en la historia (Entrance: Verbs in the story) Copy the date and title, and log the entry in your table of contents. Take a Realidades.
Apuntes c1g1 Subjects and verbs in sentences Subject pronouns Formal v. informal “you”
Negation Affirmative Statements
Imagine theres no heaven, its easy if you try, Imagina que no hay cielo, es fácil si lo intentas,
Possessive Adjectives
(por favor) By emory gibson Para describir how long ago en español, presta attencion.
Unit 7 lesson 1 Las Palabras negativas y afirmativas.
HAZ AHORA / DO NOW Responde en frases completas: Por ejemplo: ¿Qué te gusta más, nadar o esquiar? Pues, me gusta más nadar. Pues, no me gusta ni nadar.
Transformaciones que conservan ángulos
We Are The World Nosotros Somos El Mundo MICHAEL JACKSON Y AMIGOS AUTOMATICO.
GRAMÁTICAS: 5.2 Negation with nunca, tampoco, nadie, and nada.
La Lección del Repaso Antes de entrar en la clase de Español IV, necesita saber esta información.
Articles, nouns and contractions oh my!. The POWER of the article THE 1. There are four ways to express THE in Spanish 2. The four ways are: El La Los.
P In this slide show, we are going to look at a verb form that has all but disappeared from English – the subjunctive! In this slide show, we.
 Making complete sentences How to make complete sentences in Spanish. The following presentation is designed to help you learn how to do the following:
Department of Modern Languages. Vocabulario nuevo.
1 DEFINITION OF A CIRCLE and example CIRCLES PROBLEM 1a PROBLEM 2a Standard 4, 9, 17 PROBLEM 1b PROBLEM 2b PROBLEM 3 END SHOW PRESENTATION CREATED BY SIMON.
Expresiones afirmativas y negativas
What are subject pronouns??? They replace the subject in the sentence. For example: IWe You HeThey She.
The Subjunctive In this slide show, we are going to look at a verb form that has all but disappeared from English – the subjunctive!
 1. Why should a person learn Spanish? Give at least 3 reasons in your explanation.  2. What Spanish experiences have you had? (None is not an option.
Subject Pronouns Los Pronombres Sujetos Diane Brooks FL490.
Capítulo uno Gramática 1.1 Subjects and verbs in sentences. (Los Sujetos y los verbos en las oraciones)
Capítulo uno Gramática 1.2 Subject pronouns (Los pronombres)
Subject Pronouns P. 82 Realidades 1.
Saber y conocer “to know”.
Adverbs are words that describe how, when, and where actions take place. They can modify verbs, adjectives, and even other adverbs. In previous lessons,
El presente indicativo ESPAÑOL 1. A. What is the present tense? It is when the action of a verb occurs at the moment. Verbs can be divided into two categories:
Subject Pronouns and the verb‘Ser’.
First Grade Dual High Frequency Words
Warm-up Fill in the blank with the correct form of the verb “ser” for each subject (p. 35): 1. Yo _______________ de Savannah. 2. Mis amigas ________.
Subject Pronouns P. 82 Realidades 1.
--To be pleasing to --Your likes & dislikes
Unidad 1, Lección 1 Gramática
ZERO CONDITIONAL. What is zero conditional? Zero conditional is a structure used to talk about general truths, that is, things that always happen under.
Spanish Class Mrs. Rogers. Origin 24 de abril de 2017
Quasimodo: What do you remember about Direct Objects from last chapter? What do you remember about Indirect Objects from English classes you’ve taken before?
My life Name: benjamín Aravena barrios Thicher: Alexis fernandes DATE: 26|06|2018 COURSE: 7°BASICO.
The causative is a common structure in English. It is used when one thing or person causes another thing or person to do something.
Transcripción de la presentación:

Lógica de Predicados Dr. Rogelio Dávila Pérez Profesor-Investigador Depto. de Tecnologías de la Información ITESM, Campus Guadalajara

Lógica de Predicados I. Sintaxis 1. Vocabulario (a) Constantes lógicas: (b) Conectores lógicos:,,,, = (c) Cuantificadores:, (d) Símbolos de puntuación: (, ),, (e) Símbolos predicados: R n, P m, Q s, … (f) Símbolos de función: f n, g m, r s, … (g) Símbolos constantes: a, b, c, … (h) Variables individuales: x, y, z 2. Términos (i) Un símbolo constante es un término. (ii) Una variable individual es un término. (iii) Si f n es un símbolo de función n-aria y, t 1, …, t n son términos entonces f n (t 1, …, t n ) es un término.

Lógica de Predicados 3. Fórmulas bien-formadas (fbfs) (a) La constante, llamada contradicción, es una fbf. (b) Si R n es un símbolo predicado n-ario, y t 1, …, t n son términos entonces R n (t 1, …, t n ) es una fbf. (c) Si y son fbfs, entonces,, y también fbfs. (d) Si es una fbf y x es una variable, entonces x. (x) y x. (x) son ambas fbfs. (e) Nada fuera de lo indicado en (a)-(d) es una fbf.

II. Reglas de Inferencia (a) Todas las reglas de inferencia de la lógica proposicional son válidas en la lógica de predicados. (b) Reglas del cuantificador Universal -Intro -Elim (Instanciación Universal) Lógica de Predicados (a) … (a) x.( (x) (x)) x. (x) (a) Solo en el caso de que (a) y (a) no sean premisas, y a no aparezca en las premisas.

(a) Reglas del cuantificador Existencial -Intro -Elim Lógica de Predicados (a) y. (y) (a) … y. (y) Sólo en el caso de que a no aparezca en.

Identidades de la lógica de predicados (a) v (b) Ley de Contraposición: (c) Leyes Distributivas: (i) v ( ) ( v ) ( v ) (ii) ( v ) ( ) v ( ) (e) Leyes de DeMorgan: (i) ( v ) (ii) ( ) v (f) x. (x) x. (x) (g) x. (x) x. (x)

Traduzca las siguientes oraciones a lógica (a) Monica likes some of her students. (b) Monica likes all her students. (c) All men are created equal. (d) Roses are red; violets are blue. (e) Some freshmen are intelligent. (f) All freshmen are intelligent. (g) No freshmen are intelligent. (h) One of the coats in the closet belongs to Sarah. (i) Some Juniors date only Seniors. (j) Not all birds can fly. Lógica de Predicados

(k) Every elephant has a trunk. (l) Adams is not married to anyone. (m) No freshmen are not serious. (n) Someone profited from the great depression. (o) All fish except sharks are kind to children. (p) Anyone with two or more spouses is a bigamist. (q) John married Mary and she got pregnant. (r) If all sophomores like Greek, then some freshmen do. (s) Everyone loves somebody and no one loves everybody, or somebody loves everybody and someone loves nobody.

Definition. An interpretation of a term consists in a non empty domain E, and an assignment function F: (i) To each constant symbol, it is assigned an individual from the domain. (ii) To each n-ary function symbol, it is assigned a mapping from E n E. (iii) To each n-ary predicate symbol, it is assigned a subset from E n. Predicate Logic Semantics

Definition. An interpretation of a wff consists of an mapping I: wffs {0,1} as follows: (i) I(P i (t 1, t 2,…,t n )) = 1 iff F( P i ), 0 otherwise. (ii) I ( ) = min(I( ),I( )) (iii) I ( ) = max(I( ),I( )) (iv) I ( ) = 0 if I( )=1 and I( )=0, 1 otherwise (v) I ( ) = 1-I( ) (vi) I ( x. (x)) = 1 if for all a E, I( (a))=1 (vii) I( x. (x)) = 1 if there is an F(a) E such that I( (a))=1. Predicate Logic Semantics

Predicate Logic Definition. An interpretation of a set of well-formed formulas, is called a MODEL of, if and only if, every wff in is true under that interpretation. Definition. A wff is called a logical consequence of a set of wffs, if and only if, is true in al models of ( |= ). Definition. A wff is satisfiable if it has a model, otherwise it is unsatisfiable.

Predicate Logic Example Lets define a simple language: Basic expressions: (i) Constant symbols: m, j, d and n. (ii) Predicate symbols: M 1, B 1, K 2, L 2. Sentences: M(d), B(j), K(j,n) and L(n,m) Evaluate the truth of the previous sentences according to the interpretations shown bellow.

Predicate Logic M 1 = A 1 = {x | x is a country in America} F 1 (m) =peru, F 1 (j)=chile, F 1 (d)= honduras, F 1 (n)= argentina F 1 (M)={colombia, belice, argentina, canada, nicaragua} F 1 (B)={x A 1 | x borders the pacific ocean} F 1 (K)={ | A 1 xA 1, x borders y} F 1 (L)={ | A 1 xA 1, x is bigger than y}

Predicate Logic M 2 = A 2 = {x | x is an integer} F 2 (m) =0, F 1 (j)=2, F 1 (d)= 9, F 1 (n)= -1 F 2 (M)={x A 2 | x is odd} F 2 (B)={x A| x is a perfect square} F 2 (K)={ | A 2 xA 2, and x > y} F 2 (L)={ | A 2 x A 2, x = y 2 }

The mother will die unless the doctor kills the child. If the doctor kills the child, the doctor will be taking life. If the mother dies, the doctor will be taking life. Therefore, the doctor will be taking life. Problems

If the soil is suitable for carrots, then it is deep, sandy and free of stones. The soil is not suitable for linseed if it is sandy or a heavy clay. Therefore the soil is not suitable for both carrots and linseed. Problems

Bank-notes all carry a metal strip. Anything with a metal strip can be detected by X-rays. Therefore, bank-notes can be detected by X- rays. Problems

All the birds are either chiff-chaffs or willow warblers. The birds are singing near the ground. Chiff-chaffs don t sing near the ground. Therefore the birds are all willow-warblers. Problems