Panduan sintaks
PSimbol proposisional (huruf kapital)not PNegasi — Aturan IIP and QKonjungsi — Aturan IIIP or QDisjungsi — Aturan IVif P then QKondisional — Aturan VP if and only if QBikondisional — Aturan VIContoh ekspresi
(not(P or Q)) ↔ (notP ∧ notQ)
if not(notP ↔ S) then (P ↔ notS)
not(P ∧ notP)
(P ∧ Q) → P
P → (Q → P)
Panduan evaluasi semantik
not φNegasi — membalik nilaiφ and ψTrue hanya jika keduanya trueφ or ψTrue jika salah satu trueif φ then ψFalse hanya jika φ true dan ψ falseφ if and only if ψTrue jika nilai samaContoh kalimat
if (P and notQ) then (notP or R)
(not(P or Q)) ↔ (notP ∧ notQ)
P and notP
P → (Q → P)
Ketik ekspresi di atas.
Tentang pohon semantik
Pohon semantik mengevaluasi kalimat pada semua kombinasi interpretasi. Hasilnya menentukan apakah kalimat bersifat tautologi (valid), satisfiable, atau kontradiksi.
Contoh kalimat
if Q then (if P then Q)
P or notP
P and notP
(P ∧ Q) → P
(not(P or Q)) ↔ (notP ∧ notQ)
P and Q