[XBUP] XBUP - Extensible Binary Universal Protocol

» Documentation » Format » Mathematical

Format: Mathematical Logic

Logic is the starting building block for other mathematical structures in XBUP protocol.

Propositional Logic

Examines the number of propositional statements, their truth or falsity, the methods of composite statements from those simple statements of truth and the dependence of compound statement truth.

Logical Truth

Logical truth allows to express the truth of the claim. Takes just two possible values: true (1), false (0)

Possible solutions to a Boolean representation

Possible solutions to the logical representation of the value

Meaning of the value

Logical Functions

Logical function differs according to the number of parameters

There are two functions with one parameter, the identity and negation

There are 16 functions with two parameters. Most famous are the logical sum (14) and the logical product (8), implication (11), equivalence (9) and exclusive sum (6).

Variants of blocks to represent the logical functions

Possible alternative could also be derived from concrete blocks parameterization

Logical Formulas

Boolean formula of propositional logic are based on induction.

Formula expressing the same property can be expressed in several forms. It is possible to limit the form of the formula to make it unique. Suitable form can be for example CNF (Conjunctive Normal Form), where formula is made up of conjunction of disjunction of variables or their negation.

First-Order Logic

First-order logic is an extension of the Zero-order logic introducing variable qualification. Qualifiers are either existential or universal and allows quantification of the single variable.

Second-Order Logic

Second-order logic is an extension of the First-order logic providing qualifications over sets of variables.

More types of logic: Modal and temporal logics, transparent intensional logic (TIL)