Logic Flashcards
What is Logic?
Logic provides reasoning techniques that enable deriving knowledge in a systematic way
Define Logic;
Logic is about formalising knowledge & reasoning in a precise, unambiguous in a rigorous way.
What do logical rules do?
Use rules to derive knowledge
What is understanding /modelling?
Program follows its specification
What is formalisation/ rigour?
Programs works as should before changing it
What is proof/correctness?
Verify mathematical results
What is computation/automation?
Prove things about your program
-What can be computed / How fast
-Solve hard problems
What is Propositional Logic?
Sentence which states a fact
- That can be True/False
What is an Argument
A list of Propositions
- Last is called CONCLUSION
- Others are called PREMISES
When is an Argument Valid?
is Valid IF AND ONLY IF, when premise is true so is the conclusion
Assumptions have to …
… perfectly fit the environment you want it set in
Define Symbolic Logic
- Formal language that allows conducting logical reasoning through the manipulation of symbols.
- Defined by grammar that allows deriving formula from collection of symbols
What are the 2 aspects of a Language?
- Syntax
- Semantics
Define Syntax:
Well formed sequences of symbols
DEFINED BY GRAMMAR
Define Semantics:
Assigns meaning to those Symbols