• Non ci sono risultati.

Mathematical Logic AAAAA November 10, 2015

N/A
N/A
Protected

Academic year: 2021

Condividi "Mathematical Logic AAAAA November 10, 2015"

Copied!
2
0
0

Testo completo

(1)

Mathematical Logic AAAAA November 10, 2015

1. Formalise the following sentences in the language of mathematics:

(i) Every old person likes some young person.

Solution: O(x) ≡ x is old; Y (x) ≡ x is young. xLy iff x likes y.

∀x(O(x) → ∃y(Y (y) ∧ xLy)) (ii) Some filmmaker does not like movies.

Solution: ∃x(F (x) ∧ ∀y(M (y) → ¬(xLy)))

2. Find proofs in natural deduction of the following formulas (when this is possible):

(a) ` A ∨ ¬A

You find the proof in the notes.

(b) A → B ` ¬B → ¬A.

Solution:

A → B [A]

================(→e)

. B [¬B]∗∗

=======================(¬e)

. ⊥

===================(¬i)

. ¬A

==================(→i)∗∗

¬B → ¬A

3. Explain the compactness theorem of first-order logic See the notes.

4. Define a model (with at least two elements) where the following formula is true and a model where it is false:

φ ≡ ∃x(A(x) ∨ ¬∃xA(x))

Solution: Let M = {a, b} be the universe of the model. Define AM(a) = true and AM(b) = true. Choose x = a. Then we have A(a) ∨ ¬∃xA(x) true in the model because A(a) is true.

1

(2)

The formula ¬φ = ¬∃x(A(x)∨¬∃xA(x)) is logically equivalent to ∀x¬(A(x)∨¬∃xA(x)) logically equivalent to ∀x(¬A(x) ∧ ¬¬∃xA(x)) logically equivalent to ∀x(¬A(x) ∧

∃xA(x)).

φ is false in a model M iff ¬φ is true in the model M iff ¬A(a) ∧ ∃xA(x) is true for all a ∈ M iff A(a) is false for every a ∈ M and ∃xA(x) is true. Impossible.

2

Riferimenti

Documenti correlati

In fact, MFO is a restriction of the Monadic Second-Order (MSO) logic introduced in Section 3 and, as shown there, for every MSO sentence ϕ there is a Finite-State Automaton (FSA)

Define a model where the following formula is true and a model where it is false.. The formula is true in

Mathematical Logic: Solution and Results November 11, 20131. Andrea Lazzarotto Voto

Gesesse Achamyeleh Dagnaw voto 24 voto finale 28 9.. Tinsae Gebrechristos Dulecha voto 19 voto finale

programmable logic array (PLA) A structured-logic element composed of a set of inputs and corresponding input complements and two stages of logic: the fi rst generating

The state ele- ments, whose outputs change only after the clock edge, provide valid inputs to the combinational logic block.. To ensure that the values written into the state ele

2 Assemble the relevant knowledge (aka knowledge acquisition) (either by own domain knowledge or by experts interviews) understand the scope of the knowledge base. understand how

2 Assemble the relevant knowledge (aka knowledge acquisition) (either by own domain knowledge or by experts interviews) understand the scope of the knowledge base. understand how