La descarga está en progreso. Por favor, espere

La descarga está en progreso. Por favor, espere

Lógica de Predicados Dr. Rogelio Dávila Pérez Profesor-Investigador

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

Presentaciones similares


Presentación del tema: "Lógica de Predicados Dr. Rogelio Dávila Pérez Profesor-Investigador"— Transcripción de la presentación:

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

2 Lógica de Predicados I. Sintaxis 1. Vocabulario 2. Términos
Constantes lógicas:  Conectores lógicos: , , , , = Cuantificadores: ,  Símbolos de puntuación: ‘(’ , ‘)’ , ‘,’ Símbolos predicados: Rn, Pm, Qs, … Símbolos de función: fn, gm, rs, … Símbolos constantes: a, b, c, … Variables individuales: x, y, z 2. Términos Un símbolo constante es un término. Una variable individual es un término. Si fn es un símbolo de función n-aria y, t1, …, tn son términos entonces fn(t1, …, tn ) es un término.

3 Lógica de Predicados 3. Fórmulas bien-formadas (fbfs)
La constante , llamada contradicción, es una fbf. Si Rn es un símbolo predicado n-ario , y t1, …, tn son términos entonces Rn (t1, …, tn ) es una fbf. Si  y  son fbfs, entonces , ,  y  también fbfs. Si  es una fbf y x es una variable, entonces x.(x) y  x.(x) son ambas fbfs. Nada fuera de lo indicado en (a)-(d) es una fbf.

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

5 Lógica de Predicados (a) (a)   y. (y) y.  (y)
Reglas del cuantificador Existencial -Intro -Elim y. (y) (a) y.  (y) (a) Sólo en el caso de que ‘a’ no aparezca en ‘’.

6 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)

7 Lógica de Predicados 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.

8 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.

9 Lógica de Predicados Ejemplos de argumentos
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. 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. 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. 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.


Descargar ppt "Lógica de Predicados Dr. Rogelio Dávila Pérez Profesor-Investigador"

Presentaciones similares


Anuncios Google