• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 11 páginas
Notas de lectura

Modelling Computer Systems I

Document preview thumbnail
Vista previa 3 fuera de 11 páginas

This is the summary of all the materials of module CS-170 in Swansea University. The file contains five chapters: Propositional logic, sets, predicate logic, functions and relation.

Vista previa del contenido

Modelling of Computer Systems



Table of Content
Chapter 1 Propositional Logic
1.1 Propositions and Deductions
1.2 The Language of Propositional Logic
1.3 Modelling with Propositional Logic
1.4 Ambiguities of Natural Languages
1.5 Truth Tables
1.6 Equivalences and Valid Arguments
Chapter 2 Sets
2.1 Set Notation
2.2 Membership, Equality and Inclusion
2.3 Set and Properties
2.4 Operations on Sets
2.5 Ordered pairs and Cartesian Products
2.6 Logical Equivalences versus Set Identities
2.7 Example
Chapter 4 Predicate Logic
4.1 Predicates and Free Variables
4.2 Quantifiers and Bound Variables
4.3 Rules of Quantification
4.4 Modelling in Predicate Logic
Chapter 6 Functions
6.1 Definition
6.2 Injective and Surjective
6.3 Composing Functions
Chapter 7 Relation
7.1 Basic Definition
7.2 Binary Relation
7.3 Operations on Binary Relations
7.4 Properties of Binary Relations




1

,Modelling of Computer Systems




Chapter 1 Propositional Logic

1.1 Propositions and Deductions
1. A statement is a declaration which is either true or false
2. Atomic statement is a statement without connectives

1.2 The Language of Propositional Logic
1. Propositional variables P, Q, R represent unknown proposition.
2. Propositional connectives “not” (¬), “or” (∨), and (∧), “implies” (⇒), “equivalent” (⇔) are
used to combine propositions.


Connectives Symbol Pronunciation

Negation ¬p not p、p does not hold、p is false、it is not the case that p......

Disjunction p∨q p or q、p or q or both、p unless q

Conjunction p∧q p and q、p but q、not only p but also q

Implication p⇒q p implies q、p only if q、if p then q、q if p、q whenever p

Equivalence p⇔q p if, and only if, q、p is equivalent to q


3. Propositional formula is represented by either an atomic formula with a variable such
as P, Q, R or a compound formula built up with propositional connectives such as P ∨ Q.
4. Well formed Formula refers to a statement written in propositional logic



5. Parentheses and precedences should be carefully handled.
Connectives are applied right to left, such that p ⇒ q ∨ r ⇒ s is interpreted
as p ⇒ (q ∨ r) ⇒ s due to ∨ binds more tightly than ⇒. It then becomes p ⇒
((q ∨ r) ⇒ s) due to right­to­left order.
6. Syntax Tree is constructed by a well­formed formula.

Note: Consider a statement (P ∨ Q) ∧ R, it is clear that P, Q, R are propositional variables, so
they are propositional formulae. Thus (P ∨ Q) is a propositional formula so (P ∨ Q) ∧ R is
also a propositional formula.


1.3 Modelling with Propositional Logic

1.4 Ambiguities of Natural Languages


2

, Modelling of Computer Systems




1.5 Truth Tables




1.6 Equivalences and Valid Arguments
1. Tautology is a proposition which is true regardless of the truth values
2. Contradiction is a proposition which is false regardless of the truth values
3. Satisfiable is a proposition which is sometimes true or false under some interpretation




3

Información del documento

Estudio
Subido en
22 de octubre de 2013
Número de páginas
11
Escrito en
2012/2013
Tipo
Notas de lectura
Profesor(es)
Desconocido
Contiene
Todas las clases
$4.72

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Milton
3.5
(2)
Vendido
8
Seguidores
4
Artículos
4
Última venta
3 año hace

Reseñas de compradores verificados

3 año hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes