Logical Connectives

We now tour the Metamath axioms and theorems.

Sentential Logic with SKI Combinator Calculus

The axioms begin with ax-mp and two other axioms which we call ax-k and ax-s. Here is how we phrase them in Metamath:

NameStatement
ax-kganai broda gi ganai brode gi broda
ax-sganai ganai broda gi ganai brode gi brodi gi ganai ganai broda gi brode gi ganai broda gi brodi
ax-mpbroda & ganai broda gi brodebrode

Where do these axioms come from? These are the rules of SKI combinator calculus (WP, nLab, esolangs), a combinatory logic with some nice properties. A combinator is an abstract operation which takes some objects and arranges them into an applicative tree. Those other objects are usually also combinators, and application is ax-mp, so a combinator is ultimately some sequence of applications of ax-k and ax-s.

What are the nice properties of SKI combinators? Well, first, note that K and S are both tautologies (WP, nLab): if we test whether each bridi is true or false, and write out a truth table, then both K and S are always true. They're also admissible in intuitionistic logic, which means that if we imagine each bridi to refer to (classes of) things, then we always obtain more (classes of) things as a result of applying them.

Note that we don't have the identity combinator as an axiom. That's because it can be proved as a theorem, id. This is a nice example of the last nice property of K and S: they are complete for combinatory logic, which means that any other combinator can be built from them. Because of the way we set up Metamath, we can also prove the syllogism form of modus ponens, syl, as its own theorem.

The Five Connectives

We need to set up the five logical connectives in a specific order:

  1. {ganai}
  2. {ge}
  3. {go}
  4. {ga}
  5. {gonai}

This is a sort of bootstrapping process which allows us to define new valsi in terms of old valsi. In general, once this is set up, a definition will be a {go} bridi which uses the valsi being defined in its left-hand component but not its right-hand component. For example, here are two definitions from this section of the database:

NameStatement
df-sego ko'e se bu'a ko'a gi ko'a bu'a ko'e
df-dugo ko'a du ko'e gi ro bu'a zo'u ko'a .o ko'e bu'a

However, we can't use that for the connectives themselves. We don't define {ganai} at all! It's part of the basis. We add the following axioms, as well as a suspicious pseudo-definition df-go, in order to achieve our bootstrap:

NameStatement
ax-ge-leganai ge broda gi brode gi broda
ax-ge-reganai ge broda gi brode gi brode
ax-ge-inganai broda gi ganai brode gi ge broda gi brode
df-goge ganai go broda gi brode gi ge ganai broda gi brode gi ganai brode gi broda gi ganai ge ganai broda gi brode gi ganai brode gi broda gi go broda gi brode

But once this is done, we can define our final two connectives:

NameStatement
df-gago ganai ga brode gi brodi gi broda gi ge ganai brode gi broda gi ganai brodi gi broda
df-gonaigo gonai broda gi brode gi ge ga broda gi brode gi naku zo'u ge broda gi brode

Negation

It is convenient to define negation alongside {gonai}. We define experimental valsi {cei'i} and {gai'o} for vacuous truth and falsehood respectively, along with {naku} for negating entire bridi at once:

NameStatement
df-ceihigo cei'i gi ko'a du ko'a
df-nakugo naku zo'u broda gi ganai broda gi gai'o

We also define two essential axioms of negation. ax-sdo defines self-defeating objects and ax-efq is the principle of explosion, also called ex falso quodlibet (WP, nLab).

NameStatement
ax-sdoganai ganai broda gi naku zo'u broda gi naku zo'u broda
ax-efqganai naku zo'u broda gi ganai broda gi brode

And we also prove several classical tautologies:

NameStatement
ceihicei'i
na-gaihonaku zo'u gai'o
lncnaku zo'u ge naku zo'u broda gi broda

Other Axioms

This section includes several axioms whose full potential is not yet unlocked, but whose inclusion couldn't be postponed to the discussion on non-logical connectives. There are axioms of first- and second-order universal quantification:

NameStatement
ax-spec1ganai ro da zo'u broda gi broda
ax-spec2ganai ro bu'a zo'u broda gi broda
ax-qi1ganai ro da zo'u ganai broda gi brode gi ganai ro da zo'u broda gi ro da zo'u brode
ax-qi2ganai ro bu'a zo'u ganai broda gi brode gi ganai ro bu'a zo'u broda gi ro bu'a zo'u brode