Predicates, Functors, and Logical Connectives

Predicates

Predicates are tools in logic for describing the attributes and relations of objects. A unary predicate describes the property of a single object, containing only one variable, typically represented in the form . For example, let represent “x is red,” so if is an apple, indicates that this apple is red.

Binary and multiary predicates describe relationships between objects. For instance, can represent , so indicates that 5 is greater than 3. Similarly, might denote the activity state of neurons at time .

Functors

Functors are tools for establishing connections between different categories. In category theory, a category consists of objects and morphisms; objects can be anything, while morphisms are mappings that preserve structure between objects. Imagine two different cities, each with its own set of streets and buildings. The streets and buildings in each city can be seen as a “category.” In each category, streets (corresponding to morphisms) connect buildings (corresponding to objects). The layout of streets and buildings may differ completely between cities.

A functor acts as a highly detailed map, not only showing the corresponding location of each building in another city but also explaining the corresponding route (street) in the other city. In other words, a functor is a rule that maps objects and morphisms in one category to objects and morphisms in another category while preserving relationships (maintaining the structure of the category). In comparison, a function only acts on objects, describing a simple mapping relationship between two sets.

Suppose there are two categories representing position and temperature. For example, indicates that the temperature at position 3 is 5. Here, positions and temperatures form a category, where objects are positions, and morphisms are mappings from positions to temperature values.

These two concepts may sound complex, but they are not difficult. Predicates describe relationships or states between objects, while functors are mappings between categories. When we input a property value, we get the value of a new property in return.

Logical Connectives

We often use propositional variables to represent basic propositions or statements. Here are the five fundamental logical connectives:

  • Negation, representing “not”; means “not .”
  • Conjunction, representing “and”; means “both and hold.”
  • Disjunction, representing “or”; means “at least one of or holds.”
  • Implication, representing “if…then…”; means “if holds, then also holds.”
  • Biconditional, representing “if and only if”; means “ holds if and only if holds.”

In Carnap’s book, is written as , and as (note that in the next article, we’ll switch to the commonly used symbols). denotes the disjunction of multiple logical propositions, while denotes the conjunction of multiple logical propositions. indicates the equivalence of two logical expressions.