Formula collection logic

from Wikipedia, the free encyclopedia

This is a collection of formulas for the mathematical branch of logic .

Propositional logic

Logical values:

  • true 1
  • false (false) 0

Extended logic:

Statements can be linked by logical operators , also called joiners . The usual junctions are:

Surname symbol linguistic description surgery definition
Negator Not negation The negation of a logical value is true if and only if the value is false.
Conjunctor and conjunction The conjunction of two values ​​is true if and only if both values ​​are true.
Disjunctor or Disjunction The disjunction of two values ​​is true if and only if at least one value is true.

In order to be able to easily distinguish the symbols of the conjunctur and the disjunctor, there is the Eselsbrücke with the three O: "Or is Oben Offen." Alternatively, you can remember " A nd" (English) for and, as well as " v el" (Latin ) for or.

Linking two statements

Surname linguistic description presentation Truth table Logic gate
by negator, conjunctor and disjunctor through other junctions A = 1 A = 0
B = 1 B = 0 B = 1 B = 0
conjunction A and B 1 0 0 0 AND
Exclusion, contrary contrast not A and B at the same time 0 1 1 1 NAND
Disjunction A or B (or both) 1 1 1 0 OR
Nihilition, Rejection neither a nor B 0 0 0 1 NOR
Contravalence , contradictory contrast either A or B 0 1 1 0 XOR
Biconditional , Bisubjunktion, substantive equivalence only if A then B, then B if A 1 0 0 1 XNOR
Conditional, subjunction , material implication implication if A then B 1 0 1 1
Replication if B then A 1 1 0 1
Inhibition Mail section A and not B 0 1 0 0
Presection B and not A 0 0 1 0

Basic logical laws

Law of double negation
Commutative laws
Associative Laws
Distributive laws
Idempotence
Laws of negation (tautology / contradiction)
Absorption laws
neutrality
De Morgan's Laws

Final rules

Modus ponens
Mode maddening
Hypothetical syllogism
Disjunctive syllogism

Predicate logic

Quantifiers

p is a placeholder for a predicate logic proposition.

Prenex form

and are in the following placeholders for predicate logic statements. The transformations in lines 1, 2, 4 and 5 of the table only apply if x occurs within not free, i.e. H. when moving the quantifier does not create (or dissolve) a variable link that was not there (or was there) before. The last transformation only applies if x occurs within not free, i.e. H. when moving the quantifier does not create (or dissolve) a variable link that was not there (or was there) before.

This is not a problem if the variables are named differently in the statement forms and in each case.

= , = ;
= , = .
= = .
= , = .
= , = .

Minimum final rules

Quasi order

is in the following a quasi-order between statements.

conjunction

and are defined by the following rules.

Disjunction

and are defined by the following rules.

Heyting implication and negation

is by the rule

defined, and per .

It apply

  • ,
  • and
  • .

Co-Heyting implication and negation

Dual to and are and .

,

.

It apply

  • and
  • .

Relationship between the negations

It always applies . This also applies if you get classic logic.

Quantifiers

Let it be a picture. Any statement about elements of can be transformed into a statement about elements using. Notation: . is a functor. Its right and left adjoint are, respectively, universal and existential quantifiers. Ie

.