Propositional Logic

0.0(0)
Studied by 1 person
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

12 Terms

1
New cards

What purposes does logic serve in AI

  1. Logic is a representation language for knowledge — helps provide a formal way to express info and relationships

  2. A theory of reasoning — allows AI systems to infer new knowledge from given facts


2
New cards

What types of logic are important for AI

  1. Propositional Logic

  2. Predicate Calculus


3
New cards

What is propositional logic?

Also known as boolean logic, it is a branch of logic that deals with propositions, which are statements that can be either true or false. It uses logical connectives to form compound statements and analyze their truth values.

4
New cards

Key Components of Propositional Logic

  1. Syntax - defines valid sentence structures with an arrangement of symbols

  2. Semantics - defines the meaning (truth values) of formulas

  3. Inference Rules - rules that dictate how new statements can be derived from existing ones


5
New cards

Logical Operators

Symbols used to connect propositions, such as AND, OR, NOT, and IMPLIES.

<p>Symbols used to connect propositions, such as AND, OR, NOT, and IMPLIES. </p>
6
New cards

Atomic Sentences

Basic propositions that cannot be broken down further; single propositions (e.g. P,Q,R)

7
New cards

Compound Sentences

Sentences formed by combining atomic sentences using logical operators, such as AND, OR, and NOT.

8
New cards

Conjunctive Normal Form (CNF)

A set of clauses where each clause is a disjunction (OR) of literals combines used a comma as a conjunction (AND)

9
New cards

Example CNF Conversion

knowt flashcard image
10
New cards

P => Q

  • Called Material Implication

  • Means that either p is false OR q is true


11
New cards

Davis-Puntman Algorithm (DPLL)

A backtracking algorithm used for solving the satisfiability problem of propositional logic, particularly in CNF. It systematically explores the possible assignments of truth values to variables.


Basically, it assigns a truth value to one variable at a time and recursively checks for satisfiability, backtracking when necessary.

12
New cards