Treść książki

Przejdź do opcji czytnikaPrzejdź do nawigacjiPrzejdź do informacjiPrzejdź do stopki
Solution
Sofarwedeterminedthelogicalvaluesoftheformulae,knowingthevaluesof
thesimplestatementsbeingtheirelements.Nowwehavetodotheopposite.But
actuallyitallboilsdowntothesamescheme.Westartfromwritingallthe
possiblecombinationsofsimplestatements(inourexample:pandq),thenon
thatbasiswedeterminethevaluesoftheresultingformulae.Onlythe
conclusionswedrawinadifferentway.Solet'sdeterminethevaluesofthe
formulae.ThecalculationresultsarecontainedintheTable1.12(notethatdue
tothepresenceoftwosimplestatementswehavetoconsider2
2
=4cases).
Table10120Solutionoftheexample
p
0
0
1
1
q
0
1
0
1
¬q
1
0
1
0
p¬q
1
0
1
1
p3q
1
1
0
1
Timetoconclude.Sinceweknowthatp¬qandp3qaretrue,wehaveto
findthelinescorrespondingtotherespectivevalues(1inthelasttwocolumns)
inTable1.12.Thesearetherows1and4.Inthefirsttwocolumnswereadthat
correspondstothevaluesofstatementspandqequalto0and0(firstrow)or1
and1(fourthrow).
Sofinallygivenformulaearetruewhenbothstatementspandqarefalseorboth
aretrue.
EXERCISES
1.Checkifthefollowingformulaearetautologies:
a)p3p;
b)pp;
c)p¬p0;
d)p¬p1;
e)p1p;
f)p11;
g)p00;
h)p0p;
i)
j)
k)¬(pq)(¬q¬p);
l)
m)p(qr)(pq)r;
n)p(qr)(pq)r;
pqqp;
pqqp;
¬(pq)(¬q¬p);
14