Lab Journal

Research

When a question makes no sense: the four-valued logic Onto4

How questions acquire meaning: the philosophical motivation for Onto4, contextual interpretation, four verdicts, and research into formalizing reasoning for AI.

Dr. Lim in thought, with his hand at his chin
In this article

In my reasoning, I quite often return to the question of what grounds there were for posing a particular question in the first place. Many questions seem perfectly meaningful until you start looking into where they came from and what assumptions underlie them.

Take the question: why does the world exist?

From childhood, we observe some things emerging from others. Objects have a history of coming into being; events have causes. We gradually develop ideas about the beginning of existence, causality, and change. These ideas work in everyday life, and it is tempting to apply them to reality as a whole.

But the idea of a cause arose from observing relations between events within the world. When we ask about the cause of the world itself, we already assume that this relation applies to it too. On what grounds have we made that extension?

Over time, I noticed that much of my philosophical reasoning ends with a reconsideration of the original question. Discovering a hidden assumption often changes the entire problem I have been thinking about for a long time.

The question of the world's existence can be understood in different ways. The answer depends on the meaning we give it. I became interested in how to examine the very grounds on which a question was posed. That is how the idea of Onto4 arose [1].

Why another four-valued logic?

The name Onto4 comes from “ontology,” the branch of philosophy concerned with what exists and in what sense. In formulating a question, we often already assume that certain entities exist, that they can have particular properties, or that certain relations hold between them. These assumptions are easy to miss, especially when a question has long seemed familiar.

The problem is particularly clear in the philosophy of mind. Having divided reality into the material and the immaterial, one can begin asking how a material brain produces subjective experience. The subsequent reasoning already depends on the meaning given to this division. Similar difficulties arise in questions about free will and personal identity: answers can grow more elaborate without any reconsideration of the conceptual framework that gave rise to the question.

Consider two questions. Do unicorns exist? The question is intelligible if we know which animals we call unicorns. The claim that they exist may be false. But what is the mass of the mathematical number seven? Here the question already assumes that a physical property applies to a number. If we weigh the ink used to write the numeral “7” on paper, we learn the mass of the ink. The inscription is a physical object; the number is a mathematical one.

I wanted logical assessment to be able to state explicitly that a property or relation is inapplicable in the selected context. Onto4 has a separate verdict, C, for this purpose. It is connected with the problem of category mistakes, studied by Gilbert Ryle among others [2].

Who experiences nonexistence?

Imagine a character whom nobody will ever invent. Can we say that this character experiences nonexistence?

The grammar of the question suggests that there is someone in this state. Once we accept that without checking, we can start discussing how long it lasts. On what grounds did we introduce someone to experience it? By the terms of the example, such a character has never existed. All we have is a place for a subject in a sentence.

In the ordinary understanding, experience presupposes an existing subject. In our example, there is nobody to whom experience can be attributed, so the proposition receives C. If the meaning of “subject” or “nonexistence” is still unclear, we should first find out what the other person means by them.

At first glance, all this may seem like philosophical rambling with little relevance to everyday life. Yet when thinking about our own identity, we quite readily find ourselves in a similar situation. Here we encounter what I would call naive realism about the subject.

For example, someone may intuitively feel that they could have never been born, or could have been born as someone else. But what exactly is meant by this “I” that could have found itself in other circumstances or in another body?

If we imagine that some entity is placed into a body at birth, such reasoning is quite understandable. We can then indeed ask why that entity ended up in this particular body rather than another.

Yet the idea of such an entity does not always disappear even when we reject its existence before birth. We might suppose that it emerged gradually through a particular combination of genes, features of brain development, and external circumstances, while retaining the original idea that my particular “I” could have emerged in another body. The explanation of the subject's origin changes, but the grounds of the question itself are not necessarily reconsidered.

Suppose that, under different circumstances, my parents would have had a different child. An alternative sequence of causes and effects is quite sufficient to explain this. We do not need to introduce an additional entity that would have been me in one case and that child in another.

It is precisely in moving from reasoning about possible events to reasoning about who would receive a particular personal perspective that an additional ontology quietly appears. We begin treating a personal perspective as something that can be detached from the particular history of its emergence and associated with a different history. But on what grounds?

Language itself encourages such reasoning. The pronoun “I” remains in the sentence even when we mentally replace all the circumstances to which its meaning is tied. This creates the impression that behind this word there must be something that retains its identity through any such replacement.

This example illustrates why Onto4 needs the verdict C. If the model under consideration does not define a person independently of the history of their emergence, then applying a relation that presupposes transfer between such histories may be categorically inadmissible. Instead of seeking an answer to why I received this particular personal perspective, we can reconsider the grounds on which the question arose.

If, however, our assessment of propositions allows only truth, falsity, and uncertainty about truth, without distinguishing categorical inapplicability, a kind of blind spot appears. We may keep seeking an answer within the original formulation of the problem, even though the more productive line of reasoning is to reconsider that formulation.

Four verdicts

When assessing a proposition, we first check the applicability of its concepts and relations. If the proposition is admissible, we can then ask whether its truth or falsity has been established.

Formalization + contextSemanticallyadmissible?NoYesCInadmissibleT/F established?NoUNot establishedYesEstablished valueTrueFalseTF
Conceptual assessment for a given formalization and context. The T and F branches are selected according to the established truth value. An unresolved formalization lies outside this diagram.

When a verdict cannot yet be assigned

The other person may use an unfamiliar concept or give a familiar word a different meaning. Before assessing the proposition, we need to understand what they are asserting. An intelligent system faces the same limitation. A question can be meaningful even if the system has not yet understood it.

SituationResult
The proposition is meaningful and trueT
The proposition is meaningful and falseF
The proposition is meaningful, but its truth or falsity has not yet been establishedU
The category or relation has been established to be inapplicableC
What is being asserted could not be understoodClarification required

In the last row, we have not yet reached the stage at which one of the four verdicts can be assigned.

Context, images, and distinction

In Jorge Luis Borges's story “The Library of Babel,” the books contain every possible combination of characters in a given format. An image library can be built on the same principle. This is how the Babel Image Archives works. Each image has 640 × 416 pixels, and each pixel has 4,096 possible colors [6].

4096640 × 416 = 4096266240

Each combination of colors corresponds to a numerical address. The program constructs the image from that address. This allows the archive to operate without storing every combination as a separate file.

Imagine that one address produces an image resembling a photograph of a rocket launch. That combination of pixels is possible both before and after the launch. If the launch has taken place and we have learned about it, we may recognize a particular rocket in the image. Matching pixels alone tell us nothing about whether the launch actually happened.

The mere existence of such a pixel combination does not make it evidence of a launch. A photograph obtained by observing an event is causally connected with it. An image generated from an address in the archive may have no such connection. Matching images do not imply matching origins or matching information conveyed to an observer about what happened.

We may also recognize familiar shapes in random images: faces, animals, cars. Such recognition does not yet establish which object was actually depicted, or whether there was one at all. Interpretation draws on representations we already have.

A simpler example is an electrical signal in a wire. In different devices, the same voltage level may mean that a doorbell has been pressed, a fire detector has triggered, or water in a tank has reached a certain level.

The samesignal levelDoorbellFire detectorTank sensor“Button pressed”“Smoke detected”“Level reached”
Schematic illustration: meaning is determined by the system's structure and the rules for reading the signal. Different devices associate the same level with different events.

When we say that a bit is in state 0 or 1, we already imply a rule that lets us distinguish these states. In electronics, this rule is usually specified in advance: one voltage range corresponds to zero, another to one. We rarely mention it because most engineering tasks do not require us to.

But if we forget this convention, it may seem that the physical state itself is a logical one. Suppose that a voltage of 3.3 V at one device's input means an active signal, while at another device's active-low input it means an inactive signal. In the first case, we may denote activity by one, and in the second by zero. The voltage remains the same; what changes is the relation between the signal and the state of the receiving system.

A physical state can persist without being read. Yet when we call it zero or one, we are already using some distinction. Reading produces a state of the receiver itself, related to the state of the medium. I am interested in how often our reasoning attributes to an individual object something that arises only when relations between objects are considered.

In programming, the same dependence can be seen in the sequence 01000001:

Reading ruleInterpretation
ASCIIThe character A
Unsigned binary integer65
Bit mask, with the least significant bit numbered 0Bits 0 and 6 are set
Custom device protocolThe value is defined by the protocol specification

Reading requires a structure already present in the receiving system: an encoding, a protocol, or a connection between an input and an action. Here we are discussing semantic meaning. In Shannon's mathematical theory of information, the quantity of information is related to possible messages and their probabilities, while semantic content lies outside the scope of the problem [7].

Quantum entanglement and information transmission

Quantum mechanics offers an interesting example. Suppose we measure the projection of an electron's spin along some direction. Having obtained a result, we can say that it is +ℏ/2 or −ℏ/2. But notice exactly what we measured. We are referring not simply to the electron's state, but to a measurement result relative to a chosen direction.

This recalls the earlier example of the bit. The physical state of a medium and the value we assign to it are not quite the same thing.

Let us now try to transmit information using quantum entanglement.

Imagine two distant laboratories. Each holds one particle from an entangled pair prepared in the singlet state. If both laboratories measure spin projections along the same direction, their results will be opposite. [20]

Suppose I want to transmit a logical zero to the second laboratory. I measure my particle's spin projection and obtain +ℏ/2. Knowing the nature of the entanglement, I can predict that the second laboratory will obtain −ℏ/2 in the corresponding measurement.

But what do I do next if I am unhappy with the result? After all, I wanted to transmit a specific value.

Take another entangled pair. Suppose the measurement again yields +ℏ/2. We can repeat the experiment as often as we like, but we cannot choose its outcome. Moreover, the receiving side does not know which result suited us and which did not. Even if we agree to discard unsuitable results, we will somehow need to communicate exactly which results should be discarded.

From the receiving laboratory's perspective, each result looks random. Local measurements alone cannot even reveal whether anyone tried to send a message. [20]

This is quite an interesting situation. There is a quantum correlation between the particles. Physical processes occur in both laboratories, with outcomes that can be distinguished and labeled with zeros and ones. Yet the receiving laboratory acquires no distinction between the messages I intended to transmit.

This, in my view, makes the difference between a physical state and its informational meaning particularly clear. The recipient can measure the state of their particle, but this is not yet enough to establish its relation to the message someone in the other laboratory was trying to transmit.

A similar limitation appears in the quantum teleportation protocol. Two participants, Alice and Bob, each receive one qubit of an entangled pair in advance. Alice wants to transmit the unknown quantum state of a third qubit to Bob. To do so, she performs a joint measurement on her two qubits. This gives one of four possible outcomes. Depending on the outcome, Bob must apply the corresponding transformation to his qubit.

Until he receives two classical bits from Alice, however, Bob does not know which transformation to choose. His local measurements cannot distinguish the states being transmitted: the averaged local state is the same for any input. The two bits do not contain a complete description of the unknown qubit, but together with the shared quantum correlation they allow its state to be reconstructed [17].

AliceInput qubit and half of the pairBobOther half of the pairJoint measurementTwo classical bitsChoose transformationFrom measurement resultReconstructed stateClassicalchannel
The entangled pair and the classical message together allow the qubit's state to be reconstructed at Bob's end.

What matters to me here is less the limit on information transmission itself than the question of where the difference that we call information arises.

We quite readily begin reasoning as though a physical object possessed a particular informational meaning in its own right, forgetting the system of relations within which that meaning was obtained.

Take two physical media to which we assign the value 0. In what sense are they the same? They may occupy different places, have different structures, and differ in many physical parameters. They are the same only in the aspect we take into account when reading them.

Conversely, two physically identical states may have different meanings if they belong to different systems of relations.

In this sense, I view information not as an additional entity inside a physical object, but as a distinction realized through relations and interactions between objects.

Quantum entanglement illustrates this problem well, although it does not in itself prove this philosophical interpretation of the nature of information.

A one-bit world and an ideal flash drive

Let us test this idea with two thought experiments. In the first, I am interested in where an observer and time enter our description of the world. In the second, I ask where the distinction between an object and its record is itself stored.

A one-bit world

Imagine a world containing a single bit. We usually say immediately that it can take the values 0 and 1. Suppose we saw zero first and then one. It seems entirely natural to conclude that the bit changed.

But what exactly did we observe? To say “first it was 0, then 1,” we need our own memory of the first observation, a second observation, and an ordering between them. We also need to regard both observations as referring to the same object. None of this was specified in the conditions of the one-bit world. We introduced a sequence in our description and are now trying to attribute it to the bit itself.

The ordering of the observer's states can provide a basis for describing what happens in an extended system. But why should the observer's time be the time of the one-bit world itself? If we want to reason about such a world without adding external structure, referring to the observer's own memory already changes the conditions of the problem.

Let us try placing the observer inside the world instead. One bit is not enough: we need at least one more element to treat as a memory of the observed bit. Suppose the original bit now has value 1, while the buffer retains value 0. We say that the buffer stores its previous state.

One-bit worldbExternal observerRecords N₀ and N₁Observed bitb₀Memory bitIts own state b₁ObservationRecording relationExtend the world: add memory
To describe change, we have to add a structure for observation to the original bit.

But why is the buffer's state specifically knowledge of another bit's previous state? The buffer itself consists of ordinary physical elements. Recording gives them their own state, related to the observed object's state according to some rule. To regard this relation as a record of the past, we again specify an ordering, a recording rule, and the meaning of the correspondence.

We can add another component that compares the bits. It too will have a state of its own. If we decide that some of these states have a special status and literally contain other states within them, we will once again divide the system into what is known and what knows. We have simply moved the observer's boundary inside the extended world.

The object is not actually transferred into the knower. Related states and relations between them arise. The knower and the known here turn out to be roles we distinguish when describing these relations, rather than two fundamentally different kinds of entity.

I believe that, in general, there are no grounds for introducing the dichotomy of knower and known as a fundamental division of reality. The mere fact that we can describe what happens in terms of cognition does not mean that the world is structured accordingly. We did not need to introduce a separate knowing entity to explain the processes considered here.

If we accept such a division as a fundamental property of the world, a whole series of new questions arises: how does the known become accessible to the knower, how does the objective become subjective, and where does the boundary between them lie? Before seeking answers, however, we should ask whether we created these problems ourselves by giving ontological status to a distinction introduced in our own description.

If time and a law of change are introduced into a model from the outset, its dynamics can be studied quite meaningfully. In my example, the problem arises when we declare that the world contains only one bit, but quietly add time, memory, and the observer's identity. This line of reasoning is discussed in more detail in the note on the one-bit world [8].

An ideal flash drive

Imagine a flash drive on which the recorded information is completely identical to the physical state of the medium. In an ordinary flash drive, we can distinguish the medium itself from the description of an object encoded in it. There is no such gap in our experiment. To record a brick, the flash drive must be brought into exactly the physical state of a brick. It becomes a brick itself.

Take two physically identical bricks. One came into being in the ordinary way; the other resulted from recording onto the ideal flash drive. Where in the second brick is the knowledge that it was once a flash drive? If we add a marker, their physical states will no longer be identical. If the information survives in the experimenter's memory, the medium carrying the distinction lies in the extended system.

Now suppose the flash drive is already in the state of a brick. Record the same brick once, and then a thousand times. By the conditions of the experiment, the final physical state remains unchanged. How could we determine the number of recording operations? That would require a counter or a history, meaning another physical state. The brick itself does not contain this distinction under the conditions of the experiment.

Ideal flash drive: state and recording history An ideal flash drive after recording a brick and an ordinary brick have the same physical state. One and a thousand repeated recordings produce the same result. The difference between their histories is accessible only if there is an additional medium, such as a counter, a log, or the experimenter's memory. 1. Recording onto an ideal flash drive Idealflash drive Record a brick Brick afterrecordingOrdinarybrick = The samephysicalstate Different origins,indistinguishable result. 2. Recording the same state again Drive alreadyin the stateof a brick 1 recording1000 recordings SamestateSamestate Recording countcannot be readfrom the brick. By the conditions of the experiment, repeated recording leaves no distinguishable trace. 3. Where can the distinction persist? If the history is represented, it needs an additional medium carrying a state. 1000 CounterLogExperimenter'smemory The distinction between histories is represented in the extended system, not in the brick itself.
With the same final physical state, the brick itself cannot distinguish the history of its origin or the number of recordings. If this distinction persists, it requires an additional medium carrying a state.

Here I return to the question from the previous experiment: at what point did we attribute to one object something beyond its own state and relations? A detailed account of the experiment is available in the Onto4 documentation [9].

In both thought experiments, I am interested in where a hidden assumption appears that I or the other person begin relying on without noticing it. Sometimes it is already hidden in the grammar of the question itself.

Context changes the question

In the one-bit world, we changed the boundaries of the system under consideration several times. First there was only a bit, then an observer appeared, and then we added memory to the world itself. At each step, the meaning of the question about time and change altered.

Something similar happens in philosophical disputes. Two people use the same words but start from different ideas about the structure of reality. They may then argue for a long time about the correctness of an answer while answering different questions. Before assigning a verdict, I would like to establish which interpretation we are actually assessing [1].

Time

For example, “Did my grandfather really exist?” can be understood as an ordinary question about whether he existed in the past. We can turn to photographs, documents, and memories. Here we are discussing events and their connections with other events.

But the same question can have a different meaning: does the past exist in its own right, independently of relations between states of the world? If we want to attribute some special property of “absolute pastness” to a person, we first need to explain what that property is and on what grounds it is introduced. In a model where only a relative ordering of events is defined and this category is explicitly inapplicable, such a formalization receives C. This does not deny the grandfather's existence.

Identity

Another question is: “Am I now the same self I was in childhood?” If we mean the continuity of the organism's existence, the history of memories, or causal connections between states, it is clear which relations need to be investigated.

But if the question implies an unchanging self to which all these states belong, we are already assuming the existence of an additional entity. What allows us to identify it? After clarification, we may discover that the original opposition was unnecessary.

Onto4 accounts for these differences explicitly: assessment depends on which objects and relations are specified, what the terms mean, what information is available, and which rules we use to draw conclusions. The same question may admit several such interpretations. If the interpretation has not yet been determined, clarification must continue.

The liar paradox

Take the classic sentence: “This statement is false.” If we accept it as true, we have to accept it as false. If we regard it as false, what it says turns out to be true. The usual next step is to look for a suitable truth value. I wanted first to examine exactly what we are assessing and on what grounds.

When we say that a proposition is true or false, we are already using some system of distinctions. For example, to assess “There is a brick on the table,” we compare its content with the observed situation. The result of that comparison can be represented by another proposition, a record, or a computational system's state. The proposition itself, the basis for its assessment, and the representation of the result are not the same thing.

Here we encounter the familiar problem of knower and known. Within a system, we can distinguish what is being assessed from what is used to perform the assessment. These are different roles, rather than two special kinds of being. The medium carrying the assessment result is also part of the system under consideration. If we then make it an object of reasoning, a new assessment operation arises. This does not require yet another internal observer watching the previous one, as in homunculus arguments.

Now return to the liar. Let L denote the original proposition, and Truth(L) its truth assessment. Ordinarily, the proposition and its assessment are distinguishable, even if they concern the same object. But the liar's content is defined through the negation of its own truth assessment:

L := ¬Truth(L)

What should provide the basis for Truth(L)? To establish the truth of L, we must establish whether the claim that it is false corresponds to reality. But to do this, we already need to know that very same truth assessment of L. We retain a linguistic distinction between the content being assessed and its assessment, yet in this construction the assessment result must serve as its own basis.

This also matters for identity. Using the word “this” establishes which proposition is being discussed, but does not yet establish the relation needed to assess it. Identity of the referent does not imply identity of all its roles and relations. In referring to the same proposition, we occupy different semantic positions and then risk treating them as one.

Ordinary assessment and the liar's dependencyOn the left, proposition P and a specified basis separately enter the Truth(P) operation, which yields T or F. On the right, L and Truth(L) depend on each other; no separate basis for assessment is specified. P: a brick ison the tableBasisObserve the tableAssessment: Truth(P)Result: T or FL := ¬Truth(L)Assessment: Truth(L)No independent basisis specified
In ordinary assessment, the result rests on a specified basis. In the liar, the result is needed to obtain itself.

This is why, in Onto4's distinction profile, I classify this formulation as C. No independent basis has been specified for the truth-assessment operation. The problem is neither that the proposition turned out to be true or false nor that we have not yet collected enough information to answer. A condition for the applicability of the operation itself has been violated. [13]

I do not, however, regard self-reference as a cause of category mistakes in itself. For example, “This sentence consists of six words” is meaningful: its words can be counted independently of the still-unestablished truth of the proposition itself. The equality a = a is also admissible: it has one referent but two positions in the equality relation. Recursion may have an explicitly specified base case or computation rule. In the distinction profile, the problem arises specifically when the required basis for an assessment reduces to its own result and no other rule is specified for that dependency.

In this sense, the liar paradox interests me less as a problem of finding another truth value. It shows that, before assessing a proposition, we need to determine whether our formalization has preserved the distinction that makes the assessment itself meaningful.

Evidence and existing logics

Suppose we need to find out whether a device was switched on. One log records that it was on, while another records that it was off. There may also be no record in either log. It is useful to distinguish these cases, even if neither currently permits a definite answer. Belnap–Dunn logic describes precisely these combinations of support for truth and falsity. In Onto4, I also want to retain information about support for a proposition independently of the final verdict [10].

EvidenceFor truthFor falsity
No evidenceNoNo
Support for truth onlyYesNo
Support for falsity onlyNoYes
Evidence on both sidesYesYes

In Onto4, the proposition about the device may receive U both when there is no information at all and when the information is contradictory. In the first case, it makes sense to look for information; in the second, to find out why the sources disagree. Evidence alone does not establish truth. If, however, we ask whether the mathematical number seven is switched on, a different problem arises: the applicability of the property itself. C is provided for that case.

Other predecessors also matter for comparison [11]:

ApproachSimilarity and difference
Strong Kleene logicIts T/F/U tables are used in the meaningful part of Onto4's strict profile
Belnap–DunnFour states of support for truth and falsity. Onto4 records these states separately from the verdict
BochvarIn the internal connectives, the third value propagates through a compound expression; this resembles C propagation, but the set of values differs
HalldénThe “logic of nonsense” uses weak Kleene tables; its consequence relation differs from Bochvar's logic
Ryle's category mistakesThe philosophical problem of applying concepts to inappropriate categories
Presupposition theoryAnalysis of a proposition's assumptions and the consequences of their failure
NI in the FDE familyFour values; after relabeling, its negation, conjunction, and disjunction tables match Onto4's.
Setl of Belikov and PetrukhinThe same algebra for the three main operations after relabeling; designated values and consequence rules must be compared separately.

On further study of the literature, I found a particularly close match. In McClure's paper on the FDE family (2020, Tables 1 and 2, pp. 37–38), the NI system uses the values t, f, n, i. If we map them to T, F, U, C, all three main tables coincide. In the system Setl an analogous correspondence is obtained with a different permutation of the intermediate values [18] [19]. This gives us an already-studied mathematical apparatus for the strict operations. Matching tables do not automatically determine the rules of logical consequence or describe the entire Onto4 system for working with context.

A presupposition is an assumption that a proposition takes as already satisfied. For example, “Has he stopped smoking?” normally presupposes that the person smoked before. Presupposition theories have both semantic and pragmatic versions; they cannot be reduced wholesale to C [12]. Similarly, resemblance to propagating “nonsense” does not establish equivalence between Onto4 and Bochvar's or Halldén's logics: that would require comparing their languages, values, and consequence relations.

Classical logic also permits expressions to be checked for well-formedness before they are assessed. In Onto4, semantic inapplicability is explicitly reflected in the result.

Why the operators work this way

Suppose I need to check reasoning generated by an agent. It claims: “The car weighs more than a tonne or the number seven weighs more than a tonne.” Even if the car's mass is known and exceeds a tonne, I want to notice the problem in the second part of the sentence. Ordinary uncertainty and an error in applying a concept call for different actions here. Three flags are useful for formally describing these differences.

VerdictMeaningSDV
TMeaningful and true111
FMeaningful and false110
UMeaningful, but T/F not established10—
CSemantically inadmissible0——

Here S means semantic meaningfulness (Sensible), D determinacy (Determinate), and V truth value (Value). Determinacy is meaningful when S = 1. A truth value is established when D = 1. A dash “—” means that the flag is inapplicable [3].

Return to the mass example. In this model, Mass takes a physical object and returns its mass value.

Mass : PhysicalObject → MassValue
car : PhysicalObject
integer_7 : Integer

Mass(car) — admissible expression Mass(integer_7) — category applicability error

Let us formulate the proposition “the mass exceeds 1000 kg” and see which verdict it receives in each case.

Proposition and data in the selected contextVerdict
The car's mass exceeds 1000 kg; measured mass: 1500 kgT
The car's mass exceeds 1000 kg; measured mass: 800 kgF
The car's mass exceeds 1000 kg; no data to establish T/FU
The mass of the mathematical number seven exceeds 1000 kgC

If the first condition is true and nothing is yet known about the truth of the second, the first is sufficient for ordinary OR: T ∨ U = T. But when a category applicability error has been detected, I want C: T ∨ C = C. For T, F, and U, these are the ordinary tables of strong Kleene three-valued logic. With C added, an error in any required part of an expression is retained in the strict result [3].

Let A be a true arithmetic proposition, and B a proposition about the physical mass of a mathematical number. In the strict profile, A ∨ B receives C because the applicability check covers both parts.

Negation

A¬A
TF
FT
UU
CC

Conjunction and disjunction

A ∧ BTFUC
TTFUC
FFFFC
UUFUC
CCCCC
A ∨ BTFUC
TTTTC
FTFUC
UTUUC
CCCCC

Implication and equivalence

Material implication is derived as A → B = ¬A ∨ B, and equivalence as (A → B) ∧ (B → A). These are not separate, arbitrarily assigned tables.

A → BTFUC
TTFUC
FTTTC
UTUUC
CCCCC
A ↔ BTFUC
TTFUC
FFTUC
UUUUC
CCCCC

For example, let A mean that the car really weighs more than a tonne, and B that the mathematical number seven weighs that much. In ordinary logic, A ∧ (A ∨ B) can be replaced by A (the absorption law). In Onto4, with A = T and B = C, the original expression receives C, whereas the replacement would yield T. We would lose the detected error in the second part of the reasoning. The absorption law therefore does not hold over the full set of values. Commutativity, associativity, De Morgan's laws, and distributivity do still hold.

Strict evaluation and short-circuiting

Imagine a program that needs to check two conditions joined by OR. If the first condition is already true, evaluating the second is unnecessary for the ordinary logical result. This optimization is called short-circuiting.

In Onto4, we can obtain a preliminary operational result T without evaluating X in T ∨ X. Until the skipped part has been checked, however, we cannot claim that the entire expression is semantically admissible. If a full check finds C in X, the strict result will be C. We therefore need to retain information about the skipped check. Similarly, F ∧ X may yield a preliminary F.

Strict conjunction itself can be written in brief pseudocode:

Conjunction(A, B):
    if A or B is C:
        return C
    if A or B is F:
        return F
    if both are T:
        return T
    return U

From formal logic to AI

Onto4's computational core is written in Python. It takes a typed expression and a specified context, checks the applicability of concepts, and then computes a verdict using the strict tables. In particular, it checks parts of an expression that ordinary short-circuiting could skip [4] [5].

The code distinguishes successful assessment with a verdict, unresolved formalization, and an invalid request. For example, an unfamiliar predicate requires clarification (FormalizationUnresolved), while an established type mismatch yields C. For an unsupported request form, the core reports InvalidRequest without a verdict [4] [5]. Information about the presence and conflict of evidence is stored separately in the Evidence4 type. The philosophical distinction profile discussed through the liar example has not yet been implemented as a separate evaluator.

I am experimenting with a language model that can propose a formalization of a question and request clarification. The core assigns the verdict, while the model is meant to help prepare a meaningful expression. Checks of the formal core do not establish whether the model understood the other person correctly.

The first experiments included unnecessary clarification requests and formalization errors [14]. I then began investigating whether the meaning of the original task survives several clarifying questions. Preserving a technical goal identifier helped in some protocol checks, but this is not enough to establish that the meaning itself has been preserved [15].

A corpus of examples and a method for independently checking such interpretations are now being prepared [16]. Research protocols and synthetic checks already exist, but independent expert annotations and a hidden control set are not yet ready. The project remains under development.

What interests me about Onto4

As the comparison with other logics shows, the rules for computing the four values themselves have close analogues [11]. My interest in Onto4, however, is primarily concerned with the possibility of reconsidering the grounds on which reasoning is built, rather than with truth tables.

Suppose we have created an intelligent system capable of accumulating knowledge, establishing connections within it, and drawing logical conclusions. But what happens if an error lies not in its knowledge or inference rules, but in the very conceptual framework through which it describes the world? Increasing the amount of knowledge and improving reasoning algorithms will not necessarily help detect such an error.

I am interested in how an intelligent system might identify such problems. For example, it might discover that a property arising in relations between objects was mistakenly attributed to one of them. Or that a distinction introduced for convenience in describing what happens has gradually come to be regarded as a fundamental property of reality.

These are precisely the situations we encountered in the thought experiments about the one-bit world and the ideal flash drive, and in our reasoning about the nature of the subject. In each case, reconsidering the original concepts opens a line of reasoning unavailable in the initial formulation of the question.

In this sense, the verdict C interests me less as the result of a logical computation than as a basis for further work by an intelligent system. Having detected a category mistake, it could investigate where the inapplicable concept came from, which assumptions led to its use, and whether the phenomenon under consideration could be described differently.

The aim, however, is not to declare unfamiliar or difficult questions meaningless. The same wording can have several interpretations. What amounts to a category mistake in one conceptual framework may be entirely meaningful in another.

Ultimately, I am interested in creating intelligent systems capable not only of acquiring new knowledge within existing representations, but also of reconsidering those representations themselves, discovering their limitations, and forming new ways to describe what happens.

Onto4 is one step in this direction.

How this could work in practice

In a sense, I imagine such a system as resembling Akinator. Instead of guessing a character someone has in mind, though, it would ask questions to establish the ideas the other person is starting from. For example, when someone asks why the world exists, it could clarify whether they assume the existence of a cause and why they consider causality applicable to the world as a whole.

Different formalizations may arise depending on their answers. The question may turn out to be entirely meaningful, allowing us to seek an answer. An inapplicable assumption may be discovered instead. If we still have not understood what the other person means, clarification will have to continue.

I would like this approach to make it possible to reconsider the very foundations of reasoning. Sometimes, after a hidden assumption is discovered, it turns out that a question we have pondered for a long time arose from a habitual way of describing what happens.

Documentation and source code

  1. Onto4. Russian introduction. Version a6acab3: ontological admissibility, context, four verdicts. ↩1 ↩2
  2. Ofra Magidor. Category Mistakes. Stanford Encyclopedia of Philosophy, 2025 edition. A survey of category mistakes, including Gilbert Ryle's approach. ↩
  3. Onto4. Canonical operator semantics. Strict tables and limits of algebraic laws. ↩1 ↩2
  4. Onto4. admission.py. Checking the entire tree: unknown predicate, explicitly absent concept, type mismatch, and unsupported expression. ↩1 ↩2
  5. Onto4. evaluator.py. Distinguishing Assessed, FormalizationUnresolved and InvalidRequest. ↩1 ↩2
  6. Jonathan Basile. Babel Image Archives: About. A visual project inspired by Jorge Luis Borges's “The Library of Babel”; image parameters and programmatic generation. ↩
  7. Claude E. Shannon. A Mathematical Theory of Communication. Bell System Technical Journal, 27(3), 1948, pp. 379–423. Open copy of the full text. ↩
  8. Onto4. A one-bit world: whose time and whose change?. The author's thought experiment. ↩
  9. Onto4. The ideal flash drive: when information becomes a physical state. The author's thought experiment. ↩
  10. Nuel D. Belnap, Jr. A Useful Four-Valued Logic. In: Modern Uses of Multiple-Valued Logic, 1977, pp. 5–37. ↩
  11. João Marcos, Adam Přenosil, Paul Egré. Many-Valued Logic. Stanford Encyclopedia of Philosophy, 2026 edition. Strong and weak Kleene tables, Bochvar's and Halldén's logics, and the distinction between tables and consequence relations. ↩1 ↩2
  12. David I. Beaver, Bart Geurts, Kristie Denlinger. Presupposition. Stanford Encyclopedia of Philosophy, 2021 edition. Semantic and pragmatic approaches to the presuppositions of propositions. ↩
  13. Onto4. Distinction and the liar paradox. The philosophical DistinctionProfile profile and the limits of its interpretation. ↩
  14. Onto4. Evaluation of epistemic–ontological reasoning. An early diagnostic report, not a universal assessment of language model capabilities. ↩
  15. Onto4, PR #59. Target-binding research synthesis. The limited PR #58 pilot and the limits of conclusions about identifier preservation. ↩
  16. Onto4, PR #60. Independent semantic verification protocol. Research protocol, synthetic checks, and independent corroboration of evidence. ↩
  17. IBM Quantum. Quantum teleportation. Description of the protocol, classical message, and conditional transformations. ↩
  18. Matthew W. G. McClure. Star Models and the Semantics of Infectiousness. UPJA, 2(2), 2020, pp. 37–38, Tables 1–2. ↩
  19. Alex Belikov, Yaroslav Petrukhin. Exactly true and non-falsity logics meeting infectious ones. Journal of Applied Non-Classical Logics, 30(2), 2020, pp. 93–122. ↩
  20. John Preskill. Lecture Notes for Ph219/CS219: Quantum Entanglement (§4.1) and Foundations I: States and Ensembles (§2.5.3). The Bell basis, including the ψ− state, correlations of entangled states, and the impossibility of transmitting a message through local results alone. ↩1 ↩2