Manuscript Offprint
arXiv:2611.01914Machine Learning Beyond Statistical Consistency for Hybrid AI
Abstract
We propose a new definition of machine learning, according to which a machine learns a function when it computes the function successfully, that is, when the value it returns for each input has a proper derivation in a formal system. By Gödel's Representability Theorem, a machine computes a value exactly when a formal system of arithmetic derives it from the axioms and the mathematical definitions. We extend this equivalence between computation and derivation to empirical targets in two ways: the theorem is extended to the computable reals, and the data are admitted into the system as empirical definitions that record what has been observed. A derivation is proper when each of its premises is an axiom, a mathematical or empirical definition, or a formula derivable from these, and none of them is a global assumption about the data. We prove that a machine learns a true probability if and only if two conditions are met. The Truth Condition is that its estimate converges to the true probability, which is statistical consistency. The Assurance Condition is that the machine properly derives its own convergence inside the system. Learning thus lies beyond statistical consistency, for it requires a derivation of the convergence from the record. A global assumption about the data, such as the i.i.d. assumption, does not supply such a derivation, because it leads only to a circular one, as we show for PAC learning. On the other hand, the two conditions are met for the probability of a sentence over a finite ideal corpus. A real machine can approximate a true probability only if an ideal machine can learn it precisely, that is, only in a domain that meets the two conditions. Modern AI works in such a domain, and we offer this as a clue to its success. Modern AI is hybrid as well, in two senses: First, it performs two kinds of tasks, namely probabilistic ones such as predicting the next word and fundamentally deductive ones such as proving and coding. Second, it combines two parts of different kinds, a statistical proposer and a deductive verifier, for proving and coding. Our framework explains both senses of hybridity in one formal system.
1 Introduction
Machine learning, according to Jordan and Mitchell [2015], addresses the question of how to build computer systems that improve automatically through experience. So a “machine” here means a computing machine. What it is for a machine to compute is traditionally well settled: a machine computes a function when a Turing machine computes it [Turing, 1936]. By Gödel's Representability Theorem, then, computation is equivalent to instance-wise derivation: a Turing machine computes a value of a function if and only if that value is derivable in a formal system of arithmetic [Gödel, 1931]. So a machine computes a function when the formal system derives it value by value. If we now read derivability or provability epistemically, as Gödel and Feferman did [Gödel, 1946, Feferman, 2006], then we can say that what the system derives is what the machine learns. That is, when a machine derives how the output of a function is obtained from the input, we can take the machine to learn the value of the function.
Along this line, we define machine learning based on the notion of computation. Our definition is inspired by the three ideas: Turing's analysis of computation, Gödel's theorem that computation and derivation coincide, and the epistemic reading of provability as learning. Up to this point everything is classical mathematics and theoretical computer science. But modern machine learning goes beyond the computation of purely mathematical functions: it computes empirical functions, in particular probabilities, from data. So we extend the classical notion of computability to the domain of empirical learning from data, and on that domain we define modern machine learning anew as successful computation.
Our extension starts from the fact that computing a function is deriving it in a formal system. It then takes two steps, one a theorem and one a definition. First, we extend Gödel's Representability Theorem to the computable reals, so that a function such as a probability whose values are real numbers can be the object of a derivation (Theorem 1). Second, we bring the data, which are empirical entities, into the syntactic system as empirical definitions that record what has been observed up to time , and we define the computation of a function as successful when each of its values has a proper derivation in the extended system (Definitions 2 and 3). A derivation is proper when each of its premises is an axiom, a mathematical or an empirical definition, or what follows from them; it is a mere derivation when one of its premises is a global assumption about the data, admitted as though it were an axiom. For a purely mathematical function, the distinction between proper and mere derivations is irrelevant: the values of such a function are fixed by the axioms and the mathematical definitions, so they are derivable from these alone, and such a derivation is proper. For an empirical function, however, it is not so. The values of an empirical function are fixed by the world, so a derivation of a value of the target needs a premise about the world, and that premise is either the record or a global assumption about the data. This is where the distinction does its work, and it is why this paper is about empirical learning.
Successful computation, which defines learning, is to be distinguished from mere computation, in which the value of an empirical function is derived from a global assumption about the structure of the data. A global assumption is not derivable from any finite record, so it can enter the system only as an axiom, and a derivation from it is a mere derivation even when the record is used in computing the estimate. The empirical targets of this paper are true probabilities of data-generating processes, and for them a derivation from a global assumption is circular. That is, a global assumption about the structure of the data, such as the i.i.d. assumption, takes as a premise the very structure that the true probability is, so it already presupposes what the derivation establishes about the target. We therefore hold that a machine that learns a true probability must go beyond derivation from global assumptions. In this respect, our theory of learning differs from existing statistical learning theory, which is based on such assumptions.
We give two conditions under which a machine learns a probability function, that is, computes it successfully without a global assumption. The first is the Truth Condition, that the machine's estimate converges to the true probability. The second is the Assurance Condition, that the machine properly derives its own convergence inside the system. The second condition asks for a derivation and not for a check, because convergence is a statement about all future times and the record at any time is finite: no finite record can confirm it one observation at a time, and the only finite object that settles such a statement is a derivation. We prove that the two conditions are necessary and sufficient for learning a probability function. We then show a case in natural language processing in which both conditions are met and a true probability is learned.
One point needs care. The Truth Condition describes precise learning of a probability function to every precision, whereas modern machine learning aims at practical approximation. We make clear how successful learning connects to that practice as follows: where precise learning is not possible, approximation is not possible either. Engineering success by approximation is therefore to be sought within the domains where precise learning is possible, as in the natural language case. On this basis we discuss how modern language models succeed without the i.i.d. condition. They work where precise learning is possible, and massive data lets them approximate well without that condition. We offer this as a clue toward why scaling laws hold [Kaplan et al., 2020, Hoffmann et al., 2022], not as a proof that they do.
Throughout this paper, we restrict the empirical targets to true probabilities of data-generating processes and their values to computable reals. The first restriction matches current practice. A large language model (LLM) that predicts the next word computes an estimate of a true conditional probability, an image classifier outputs probabilities over classes, and the standard textbooks treat learning as the computation of probabilities from the start [Vaswani et al., 2017, He et al., 2016, Bishop, 2006, Murphy, 2012, Bishop and Bishop, 2024]. The second restriction, to the computable reals, matches the discrete nature of machine computation, and it keeps the equivalence between algorithmic execution and derivability exact; uncomputable reals such as Chaitin's constant are excluded. A true probability that is not a computable real may exist, but no machine can learn it, and the theory thus separates what exists from what a machine can learn.
Contributions. The paper makes four contributions.
- A new definition of machine learning and a formal system for it (Section 2)
We define learning as successful computation, and successful computation as the existence of a proper derivation in a formal system built from the axioms of arithmetic, the mathematical definitions, and the empirical definitions that record the data (Definitions 1 to 3). Gödel's Representability Theorem in classical form links computability with provability, and this paper extends it in two ways. First, the domain of the theorem is extended from the natural numbers to the computable reals, through index tracking, so that the theorem covers real-valued functions (Theorem 1). Second, the notion of computability so extended is linked to a formal system that also handles empirical entities, and the classical notion of computability thereby becomes the new notion of successful computability (Definition 3).
In short, where Gödel's theorem links computability with provability, our Theorem 1 and Definition 3 link successful computability with provability in the extended formal system that has empirical definitions. So the question we ask differs from the one asked in the recent literature on computability and learning [Agarwal et al., 2020, Ackerman et al., 2022, Crook et al., 2022]. That literature takes the PAC model, with its i.i.d. assumption, as given, and asks whether a learner that meets the PAC guarantee can be a computable one. Our question comes one step earlier: we ask whether the guarantee itself can be derived from the record without a global assumption, that is, whether learning is carried out inside an extended formal system in which the machine has a proper derivation, from the record, of what it has learned. When the target is the true probability, Section 4 shows that a derivation from the i.i.d. assumption is circular. So a computable learner in the sense of the recent literature has still not learned the true probability in our sense.
- The conditions for learning a true probability, and the circularity of the alternative (Section 3 and Section 4)
A machine learns a true probability if and only if the Truth Condition and the Assurance Condition are met (Theorem 2). The Assurance Condition cannot be weakened: a machine that assigns its convergence a probability below 1 tolerates the possibility of error infinitely often (Theorem 4). A machine whose outputs may be wrong infinitely often cannot be said to learn. The Truth Condition states statistical consistency without a global assumption. Statistical learning theory, by contrast, obtains convergence from a global assumption on the data, i.i.d. in PAC learning and Markov or mixing conditions in its relaxations. Such an assumption is not derivable from any finite record, so it can enter only as an axiom; a derivation from it is a mere derivation, and when the target is the true probability itself it is circular, so that it is not genuine learning (Theorem 5).
- A learnable domain, and what it means for real machines (Section 5 and Section 3)
The conditions of Theorem 2 are met at a finite time for the true probability of a sentence over a finite ideal corpus of natural language (Theorem 6). A real machine, which approximates rather than learns precisely, can approximate a true probability only if an ideal machine can learn it precisely (Theorem 3). So the learnability of a domain by an ideal machine is a necessary condition of a real machine's success in it, and it is where we look for the reason that scaling laws hold without the i.i.d. condition.
- The hybrid AI as a consequence (Section 6)
Classical proofs and programs were already derivations in a formal system: a proof is a derivation by definition, and a completed computation is a derivation by Gödel's theorem. However, modern AI proves theorems and writes code differently. An LLM proposes a candidate proof or program from probabilities it has computed over past data, and a deductive verifier then checks the candidate. So the task is done by a statistical method and a deductive method used together, and the statistical half is itself the computation of an empirical function.
Now, we have reformulated empirical learning as a derivation in the same kind of proof system as traditional mathematical reasoning and coding. So a single deductive mechanism serves for all three in our framework: mathematical reasoning, coding, and empirical inference. For the third task in particular, the derivation is deductive but what is derived remains probabilistic, since an empirical target requires the record for derivation. So the extended formal system we propose is a hybrid one, in the sense that purely mathematical functions and empirical probabilities are derived from two different kinds of premises, the mathematical and the empirical definitions, although they are all derived by one and the same deductive mechanism.
First, a machine learns a function when it succeeds in computing it (Definition 1). Learning is defined through computation because what a machine does is compute. The word “succeed” is important here: not every computation that returns the right value counts as learning. What makes computation count is fixed in the third step.
Second, what a machine computes has a derivation. By Gödel's Representability Theorem, a machine computes exactly when an arithmetical formula is derivable in a formal system of arithmetic. We will write the numeral of a number with a bar throughout, so and here are the numerals that denote the numbers and in the formal system. The formula is then the sentence that says of the numerals and what the equation says of the numbers and , namely that is the value of at . We use Gödel's theorem in two ways: as the link between computation and derivation, and as the basis of Theorem 1, an extension of the theorem to the computable reals, which can thus cover targets such as true probabilities whose values are real numbers.
Third, a machine succeeds in computing a function when each of its values has a proper derivation in a formal system extended by the record of the data, admitted as empirical definitions (Definitions 2 and 3). A formal system of arithmetic as ordinarily given has no such definitions for what has been observed, and our extension supplies them. Definition 3 uses Theorem 1 twice, for the derivation it asks for and for the real values its targets take, and that is why the theorem is stated first.
We begin with some key terms used by the three steps. By a machine we mean a Turing machine, and by computation we mean what a Turing machine does. A Turing machine is a finite list of instructions, so every Turing machine can be written as a finite string and hence can be coded by a natural number , such as its Gödel number. We will call the index of the machine. The numeral inside a formal system then denotes the index . A real number is computable when some machine, given , prints a rational with
the rate we require throughout. The index of such a machine is also an index of , and we will write it as . Note that no real number is ever on the tape of the machine. What is on the tape is an index, and the machine prints an approximation when one is asked for. When a machine computes a function on reals, what it computes in fact is a function on indices, from the indices of the arguments to an index of the value. We will call this function the index tracking function of and write it as ; its domain is the set of valid indices of the arguments of .
In classical proving and coding, doing the task amounts to deriving each output of a certain mathematical function in a formal system. (How modern AI systems prove and code by a statistical proposer together with a deductive verifier is briefly discussed in Section 6. Here we state only the classical account.) A machine has proved a sentence when it has produced a derivation of in a formal system. Whether a given string is a proof of is decided by a primitive recursive function , equal to 1 if proves and to 0 otherwise, and by Gödel's Representability Theorem the system derives the value of at , whichever it is. So checking a proof is deriving an output of a mathematical function. Coding has the same shape. Whether the program with index , run on the input , returns the output within steps is decided by a primitive recursive function , equal to 1 if it does and to 0 otherwise, and the system derives its value in the same way. Running a program is the special case in which the program is given rather than sought.
In both tasks, then, what the machine has done is to derive each output of a function. Now, derivability is an epistemic notion. Gödel [1946] counted computability and provability among the epistemological notions and remarked that Turing's analysis had given the first of them an absolute definition, and Feferman [2006] read provability as what can be known in mathematics. Both writers use "provable" and "knowable" almost interchangeably: what is derived is what is known. On this reading, a machine knows a function when it derives each output of the function. Learning, in turn, is the acquisition of knowledge [Valiant, 1984]. So a machine learns a function when it comes to know it, that is, when it properly derives each of its outputs. The epistemic reading of provability was, in Gödel and Feferman, a reading about pure mathematics; we apply it to empirical functions as well in this paper.
Let us now define when machines can be said to learn.
Definition 1 (Machine Learning). Machines learn a target function when they succeed in computing if exists.
The clause "if exists" is there for empirical targets. Whether a true probability really exists is a fact about the world, and Definition 1 does not presuppose it. The existence of a true probability is one thing and its learning, that is, its derivation from the record, is another; the definition speaks of the second without presupposing the first.
Definition 1 involves the notion of success in computation, which indicates that learnability requires more than computability in the traditional sense. To define this notion we need one thing about computation, namely that whatever a machine computes has a derivation in a formal system of arithmetic (Theorem 1). Given this, Definition 3 says when a computation, in particular the computation of an empirical function, is successful, in terms of the derivation it has in a formal system extended by empirical definitions; this definition in turn depends on the notion of a proper derivation in Definition 2.
So Definition 1 is based on Theorem 1, Definition 2 and Definition 3. We nonetheless state it first, because it is the central definition of our theory and is therefore better made explicit from the start.
We now turn to Theorem 1.
Theorem 1 (Instance-wise Representability of Computable Reals via Index Tracking; adapted from Gödel [1931]). Let be the set of computable real numbers, and let be a formal system of arithmetic, in the sense explained below. For any computable function , its index tracking function is defined on the valid indices of the arguments of and is computable: it is the restriction to those indices of a partial recursive function on , and it halts on each of them.
For any input instance and its output instance , let be the specific vector of indices provided to the machine, and let be the tuple of their numerals. If the machine's run halts with the output index (i.e., ), then is an index of , that is, of , and there exists an arithmetical formula of such that
In words: whenever the machine’s run returns an index of the value when given the indices of the arguments, the system derives the arithmetical statement that it did so, and conversely. The letters and denote an instance, one particular input and its output; the variables of the formula range over numerals; and in Definition 3 below, and mean an arbitrary input and output. The theorem is stated instance by instance, and that is the form in which it is used throughout.
Four things are involved here: a formal system of arithmetic, representability, index tracking, and the notation for the result.
Formal system of arithmetic. A formal system is given by a language and a set of axioms and definitions, together with the inference rules of the underlying logic. A derivation in a formal system is a finite sequence of formulas each of which is an axiom, a definition, or what follows from earlier ones by an inference rule, and a proof is a derivation whose last formula is the theorem. Whether a given string is a derivation is decided by a mechanical check. A formal system of arithmetic is a formal system that extends Robinson arithmetic in the sense that every theorem of is a theorem of it; its language therefore contains the language of arithmetic, and it may contain further symbols, as the system below does. We require in addition that such a system be consistent and have a recursive set of axioms and definitions. Together with the extension of , these are the hypotheses of Gödel’s Representability Theorem, and nothing more is needed for Theorem 1.
Representability. Gödel’s original theorem concerns functions on the natural numbers. For every recursive , there is a formula of arithmetic such that, for all natural numbers and (we use new letters here, since and in Theorem 1 are reals),
in any consistent recursively axiomatized extending [Gödel, 1931, Boolos et al., 2002]. The formula says, inside the formal system , that the function sends to , and the theorem says that settles each instance exactly as the function does.
Index tracking. A true probability can be a real number, and Theorem 1 does not apply to it directly; it applies to its index. In order to compute a function on real numbers, a machine is not given but instead an index , that is, a program that prints rational approximations to to any precision. From that program it builds a program that prints approximations to , and it outputs the index of the program it built. For example, let on , the interval in which probabilities lie. Given a program printing , the program that on request prints
is within of (since and here), so it is a program for , and writing it down from is a mechanical operation on one number. By the theorem [Kleene, 1952], such an operation is a computable operation on indices, the restriction to the valid indices of a partial recursive function. This is the index tracking function of introduced above: it tracks, on the natural numbers, what the computation of does on the reals. Since is a function on natural numbers, representability does apply to it, and that is Theorem 1. So the notion of representability here is Gödel’s, unmodified, and the extension to is obtained by index tracking, .
Notation. The computation thus has two layers: the reals are handled through their indices, so that what is computed and what is derived both concern indices. means that derives the formula , where represents the index tracking function of , and are the numerals of the indices of and . So the formula says of the indices what the equation says of the reals: given the index of , the computation of returned the index of . No real number enters the formula as such. A formula is a finite string of signs, so an infinite object such as a real number can occur in it only through a finite name; symbols such as and are names of this kind. Here the name is the numeral of an index, which denotes the real through a program that computes it.
Remark 1. Infinitely many Turing machines compute the same real, so an index is not unique. Because is computable, some machine computes it, and possibly many do. The derivation concerns the machine that was actually run and the path it actually took, so the non-uniqueness does not enter the statement of Theorem 1. See Remark 2 in Appendix B.
The system of Theorem 1 is a formal system of the classical kind, and in such a system only purely mathematical functions are derived. We now extend it to a system in which empirical functions are derived as well; the extended system is written , and in Theorem 1 may be any formal system of arithmetic, included.
The system . In a formal system of arithmetic as ordinarily given, such as or Peano arithmetic, every symbol is mathematical and no sentence records an observation. To make the values of an empirical function derivable, we add a third component, namely a set of definitions that introduce symbols for the observables and record their observed values. These definitions are sentences about numbers like any other, since states and values enter as codes and numerals. But what is new is that their symbols stand for observables in the world and their sentences record what has been observed. The result is still a formal system of arithmetic, but one in which a machine operates for both mathematical and empirical targets. For a purely mathematical target, the added definitions are simply not used, as Definition 3 makes explicit.
Since the record of observed facts changes with time, so does the system, and we write the time as a parameter: at any given time , machines operate within , whose language extends the language of arithmetic over the computable reals ,
where:
(Axioms): A recursive set of axioms extending Robinson arithmetic. Such a set suffices for the empirical targets of this paper, and a stronger may be taken when the target requires it. The set is a parameter of the framework.
(Mathematical Definitions): A recursive set of formal definitions for mathematical objects and measures (e.g., distance function or metric).
(Empirical Definitions): A recursive set of formal definitions for empirical objects at time , as follows.
In order to bridge the semantic reality and the syntactic formal system, is bipartite:
: A recursive set of semantic grounding schemas that define how random variables map specific real-world states into syntactic numerals, thereby establishing the well-defined domain over which the true probability measure is computed.
: A finite set of atomic sentences that embed the data filtration in the syntax, one sentence for each data value physically realized and recorded on the machine's tape up to time . The filtration is introduced with the ontological filtration in Section 3.
Since each of these sets is recursive or finite, is recursive at each , so it is a formal system of arithmetic in the sense above, and Theorem 1 applies to it.
With the formal system in hand, we can now say which derivations in it count. This is the notion of a proper derivation on which Definition 3, and through it Definition 1, depends.
Definition 2 (Proper and Mere Derivation). A derivation is a proper one if each of its premises is an axiom in , a definition in or , or a formula derivable from these. It is a mere derivation if it is valid but one of its premises is a global assumption about the data that is not derivable from them, admitted as though it were an axiom.
The sentences of speak of mathematical objects only, and a purely mathematical target is stated in their language. An empirical target is not: it is defined over the recorded states and values, whose symbols are introduced by , so its formula contains these symbols, as does any sentence about the world. Now, a sentence that contains these symbols but is still derived without is a sentence that holds no matter what was observed. For example, it is derivable from logic alone that it will either rain tomorrow or not, and it holds whatever the record says; a derivation of this kind says nothing about the data. The empirical clause of the following definition requires that the value of an empirical target be derived with the help of , and not in this empty way.
Definition 3 (Successful Computation). Machines successfully compute a target function if and only if, for each input , the output value generated by them has a proper derivation in :
where is the formula representing the index tracking function of , and are the numerals of the index given to the machine and of the index it returns. In particular, when the target function is empirical, machines successfully compute if and only if the derivation requires . That is, for each input ,
On the other hand, if is purely mathematical (e.g., prime factorization or calculating the digits of ), it is successfully computed without needing , i.e., .
Definition 3 asks for more than Theorem 1 gives, and the difference is the point of the definition. Let be the function on that the program run by the machine computes, and its index tracking function. By Theorem 1, whenever the program returns given ,
which says that the program, given , returned . This is a statement about the program, and it is derivable from alone. Definition 3 asks for a statement about the target,
which says that is the value of the target at . The first derivation does not yield the second. Whether the second is available, and from which premises, depends on what determines the values of . The values of a purely mathematical target are determined by its definition in (e.g., the digits of are defined there), so the second derivation needs only , just as the first needs only . By contrast, the values of an empirical target are determined by what the world has done, which enters through . For example, the true probability of rain is defined over the recorded states and values (Definition 4 below), and its value is not derivable from . So the second derivation of an empirical target needs as well, which is what the empirical clause of Definition 3 requires.
Note that an empirical function is a function in the mathematical sense like any other, here a measurable function on the probability space of Section 3. So the adjective “empirical” here concerns what fixes its values, namely the world, and what is derived about such a function remains probabilistic, since its values are probabilities. This difference between the two kinds of target, in the premises necessary for the second derivation, is what the rest of the paper is about.
The empirical definitions in detail. To illustrate the crucial role of , consider the true probability that it will rain tomorrow. Let the state of our world be either rainy () or sunny (). The event of raining at is defined as the set . A random variable is a mathematical function that maps these states to numerals: if it rains, and otherwise.
In general probability theory, a random variable is merely a measurable function mapping states to numbers. But mathematics alone does not specify which real-world fact (e.g., rain or a coin toss) is represented by the variable. Therefore, we must explicitly define that represents the fact of raining. This semantic grounding is precisely what provides. Furthermore, the definition of fixes the domain of the true probability function. The true probability is formally defined over the pre-image . Thus, the empirical probability function is defined as the true probability of rain.
Inside , the grounding takes the following form. With the code of the rainy state and the code of the sunny state, for example, contains
which reads: the symbol sends the code of a state to the value of the variable at that state, and sends the code of the rainy state to 1 and every other code to 0. The second clause is there so that assigns a value to every code; without it, a code other than and would have no value, and the definition would make inconsistent, because a function symbol denotes a value at every argument in first-order logic, so the system would derive both and its negation for such a code .
On the other hand, it is observed values that enter . When it rained today and this was written to the tape, for example, contains the atomic sentence
where is a new name that denotes today's recorded value. The target event itself is never on the tape at prediction time, since the future is not recorded.
To sum up, says what the numeral would mean, and says that it was observed. A derivation of an empirical target draws on both. In general, for each observable , each time , and each recorded value,
where is a function symbol new to the language. The first line says that is introduced by a mechanically checkable condition that assigns exactly one value to each state, so that it defines a function; the second says that each record is an atomic sentence about a newly recorded value denoted by a new name . Since the map is computable, is a recursive set. Both lines are definitional extensions of , so for any formula in the language of ,
the empirical definitions add a vocabulary for the world and a list of what has been recorded, and no new theorem about numbers.
One point about Definition 3 remains. Its condition is a condition on derivations, and whether a given string is a derivation in is decided by a mechanical check. But whether what derives is true of the world is a different question. Even when the value of an empirical target has been derived with the help of , the derivation does not by itself settle whether that value is the true probability. This question is addressed by the Truth Condition of Section 3.
3 Machine Learning on the True Probability
Section 2 left one question open: whether a derived value is the true probability. This section answers it. It states the two conditions under which machines learn a true probability (Theorem 2) and then discusses each: why the Truth Condition requires the precise value (Section 3.1), and why the Assurance Condition requires exactly 1 (Section 3.2).
Definition 4 (True Probability). The true probability is defined as the conditional distribution of the random variable given the ontological filtration generated by on the probability space . Together with the initial distribution on , the joint measure is uniquely determined by the collection of these conditional probabilities from the stochastic data-generating process. By the data-generating process we mean the probability space together with the observables defined below; the true probabilities are the conditional probabilities of , and conversely they determine together with the initial distribution.
Definition 4 describes the world and not the system. The world is set out as follows. For each time there is an enumerable set of states, indexed by , and
In words: a representative path of the world is a sequence whose coordinate at time is the state for some , and we drop the time when there is no confusion; the observables are random variables, representing the -th observable at time ; is the -algebra generated by the observables up to time ; and is the event that the observable takes the value at time , the target being its true probability given . The family of observables is taken to separate the states:
A set of states is identified with the set of paths whose coordinate at lies in ; this is why could be written as a set of states in Section 2. In Definition 4, in stands for the family ; the target event concerns one observable of the family, which we write . Nature is to generate each data point with the true probability so that and . Because the observables separate the states, is the totality of true facts up to time , and it exists independently of the machine's knowledge.
To clarify the record, we must distinguish the ontological filtration from the data filtration . is the -algebra of all true facts that have occurred in the world up to time , which determines the true probability . In contrast, is a sub--algebra of (), representing only the objective facts recorded as strings of signs (0s and 1s) on the machine's physical tape. That a given value is recorded is itself a fact about the world, whatever the value is, which is why . The framework does not settle when a record is correct, and it does not need to: the machine computes on the record, and what it computes is compared with the truth below.
Definition 5 (Machine Computation of Subjective Probability). A machine computes a subjective probability at time if, given the syntactic encoding of the record as input, it outputs a valid index of , that is, the index of a Turing machine that prints the rational approximations to at the rate fixed in Section 2. The map from encoded records to indices that the machine so computes is its index tracking function .
The word “subjective” marks only that the probability is the machine’s output and need not be the true probability; no further theory of subjective probability is assumed. In Ramsey [1931], a conditional probability expresses an agent’s degree of belief in a proposition given a condition, measured by a bet that is called off if the condition fails. Similarly, the machine’s subjective probability is not a product of omniscient knowledge of the true world . It is the output of a physical device executing the tracking algorithm based on the syntactic strings of signs recorded on its tape, the records being treated by the machine as true.
The machine’s computation is a conditional output: assuming that the record is true, the machine computes the index and thereby assigns the probability to . Ramsey used the betting device to measure a person's degree of belief, which is an inner state and cannot be read off directly [Ramsey, 1931]. Savage later made explicit what the device is for: a person may have an incentive not to report the belief they sincerely hold, and a well-designed bet makes sincere reporting the best choice [Savage, 1971]. We need none of this machinery. A machine's probability is the output of a computation, so the machine does not deviate from its computation in returning its output; it simply outputs what it computes. What we take from Ramsey is only the conditional form: the probability is computed under the assumption that the condition holds. Thus, the data filtration need not contain perfect information; the machine computes even under incomplete data. Whether or not anything outside the record is assumed, the machine's computation does not change, since it computes on the recorded data alone. Since , whatever the machine computes from the record is -measurable, and the unrecorded facts do not enter the computation. Thus we obtain
so we may write for . This is a convention of notation and not a claim that the machine conditions on facts it does not have. The convention lets the learning condition compare and on the one filtration , and it reads the machine as accepting data from the same world as Nature. However, in order to genuinely learn the true probability, must contain sufficient empirical data to compute , which is manifested as
Note that a machine does not output an infinite decimal. Two kinds of machine appear in Definition 5, and they work on different levels. The learner reads the record on its tape and writes a natural number, the index of a program. The program is the second machine: given a precision request , it prints a rational within of the probability. So the learner does not print the digits of its probability. It writes a program, and the program computes the probability to any required precision. What this means for the statement of convergence is set out after the theorem.
Theorem 2 (Conditions for Learning). Consider any computable real number and write . Machines learn the true probability as (achieving Computational Success) if and only if, fixing , the following two conditions are met:
(1) Truth Condition (Objective Correctness): The estimate converges to the truth along the sample path:
(2) Assurance Condition (Subjective Justification): The machine must be self-assured of the truth condition whenever it holds. That is, the machine assigns subjective probability 1 to its own convergence:
The Assurance Condition asks the machine to derive its own convergence in . But Theorem 2 states convergence in terms of the reals and , and no real number enters a formula of (Section 2). So the convergence must be stated as a sentence about indices. What the machine derives is an arithmetical formula whose quantifiers range over natural numbers; no limit enters as an object. Let be the index written by the learner at stage , let be the rational printed by the program with index on the request , and let and be the same for a fixed program that computes . Convergence of to is then the formula
in which abbreviates in Kleene normal form, with the code of the rational . In words: for every , from some stage on, the value computed by each program written by the learner lies within of . The formula states this through the rationals printed by the programs, and Appendix B shows that the two statements are equivalent. Figure 1 shows the three roles: the learner writes the index, the program computes the value, and the statement that the values converge in is made by us, the provers of Theorem 2, in the metatheory. So the two conditions of Theorem 2 are stated at the upper level, and what the machine derives inside is formula (1), at the lower level. Remark 3 in Appendix B gives the details.

Figure 1: The two levels. The learner writes indices; the programs denoted by them print rationals; the values computed by them, and their convergence, are stated in the metatheory.
3.1 The Truth Condition: precise learning and approximation
Let us begin by restating the Truth Condition. Fixing ,
This condition is the same as statistical consistency: the estimate converges to the true probability along the sample path. We state it without any global assumption about the data. It asks for the precise value in the limit, to every precision, and it is fair to ask why. Given that real machines have computational limitations in handling data, it is unlikely that they can compute true probability functions with infinite precision. Instead, real machines in contemporary machine learning aim for approximations, which have nevertheless led to remarkable success in language and in vision [Vaswani et al., 2017, He et al., 2016]. So it is legitimate to ask why our theory requires machines to compute true probabilities precisely to learn. Does this imply that our theory is too narrow to cover real-world machine learning practices? To answer this, let us introduce basic notions defining when machines perform approximations.
Let be a measurable space, where is a -algebra generated by the random vector in . We refer to as the sample space of and fix a space , the value space of some random variable . Suppose that there is a true target function whose learning is the task given to the machine.
Definition 6 (Learning Rule). A learning rule is any sequence of measurable functions, , provided by machines, where each
depends on the following data:
(1) the initial training samples of labeled data
(2) the unlabeled data
(3) the sequence of future random variables for prediction, given that for .
The outputs of are predictions of the future values associated with the future sequence , derived from the given data. If with , the rule corresponds to supervised learning; if and , it corresponds to semi-supervised learning; and if but , it corresponds to unsupervised learning.
As noted by Bishop [2006] and Murphy [2012], when the target function is the true probability itself, the task is fundamentally an unsupervised learning problem. In this scenario, Nature does not reveal the exact value of the true probability function at each time step (it only reveals the realized sample). Therefore, learning true probabilities is fundamentally distinct from standard online learning or regret-minimization frameworks, where the true loss or label is revealed sequentially.
Definition 7 (Distance Function). A distance function is a functional such that:
In statistical learning theory, is often called a loss function, connected to the notion of risk when data come from i.i.d. sources. Here, we do not require to be symmetric, as some measures of “distance” between probability functions (e.g., Kullback–Leibler divergence) are not a metric. Some other well-known measures of distance between probability functions include Variational Distance, Brier Score, and Hellinger Distance. Formally, captures the distance between the predicted sequence generated by the learning rule and the true sequence generated by the target function .
Definition 8 (Approximation). Let be a given error bound. Machines approximate the target function within by a learning rule if they successfully compute that , that is, if there is a proper derivation in that the rule lies within of the target.
Theorem 3. Suppose that no ideal machine can learn the target function , even from the infinite series of training samples . Then there is an error bound such that, for every and every finite learning rule (with ), no real machine can successfully compute that lies within of . Hence no real machine approximates within any .
The bound is needed because a large can be met trivially. A probability lies in , so a learning rule that always outputs lies within any of every true probability, and this can be derived without any data. An ideal machine here is a classical Turing machine with no bound on time and no bound on tape. It is not a machine of any other kind, and in particular it is not a machine with access to uncomputable objects.
The idea behind Theorem 3 is the one that separates, for example, the computable real from a non-computable real number. Because is computable, a real machine given any , however small, can produce a rational and establish that the rational lies within of . For a non-computable real, however, there is a bound below which no machine can do this, whether it is an ideal machine or a real one. It may output rationals, and some of them may happen to be close, but no machine can establish that the distance between any of them and the number is below . Theorem 3 says that a target which is not learnable by any ideal machine is like such a number: a real machine may come close to the number, but no real machine can establish that it has. Probabilistic bounds, which say that a learning rule lies within with some probability, are the subject of Section 4, where we show from what premises such a bound can be derived when the target is the true probability.
Under a global assumption about the data, such as the i.i.d. assumption, PAC learning proves a probabilistic bound. Applied to a true probability, the derivation is a mere derivation in the sense of Definition 2, and it is circular as well (Theorem 5, Section 4). Without such an assumption, Theorem 3 makes precise learning by an ideal machine a necessary condition for approximation by a real machine, for every error bound below . Theorem 2 says when that condition is met, and so it fixes the room for practical approximation. An approximation in polynomial time must meet every small , so the condition is the same for it: a real machine can approximate a target within polynomial time only if an ideal machine can learn it precisely. Whether this condition is met is a feature of the target, not of the machine, so the question becomes which targets are precisely learnable by an ideal machine. Section 5 gives one, namely the probability of a sentence fixed by a finite ideal corpus, and says what Theorem 3 then implies for real machines in that case.
3.2 The Assurance Condition: why exactly 1
Let us begin by restating the Assurance Condition. Fixing ,
The core of the Assurance Condition is not merely outputting but the necessity of the machine's assurance whenever the Truth Condition holds. 'Assurance' here simply means the mechanical necessity of the machine's syntactically proving its own convergence, formula (1), within based on , , and . If the machine converges to the truth but cannot find the syntactic path to properly prove it within , it cannot output on its own convergence. This is the criterion that mathematically separates successful computation (genuine learning) from mere computation (lucky guessing). What the condition rules out is the machine that converges and cannot prove that it does.
The requirement is rather than a high threshold such as 0.9 because it is not a threshold at all. A finite machine cannot verify convergence by inspection, since that would mean checking infinitely many future stages. A derivation is a finite sequence of formulas whose premises come from one fixed formal system, so no single derivation can run through an infinite sequence of ever stronger systems. The extensional route to a non-repeating irrational true probability , digit by digit, would need the infinite union of ever stronger systems, and that union is not a formal system in which any machine works; the progressions of theories studied by Turing [1939] and Feferman [1962] are of this kind.
So computing by the extensional limit is impossible. Consequently, the only logical possibility for a machine to successfully compute (that is, learn) is to intensionally prove the infinite convergence of its algorithm within a fixed formal system . The proof of Theorem 2 shows that the same holds when is rational. A derivation either exists or it does not, so there is no intermediate value for the condition to take. This necessity of a finite syntactic proof of infinite convergence is why the Assurance Condition () is an indispensable requirement for machine learning.
If the above argument is right, learning true probabilities needs a new foundation that is not supplied by statistical learning theory. That theory accepts asymptotic convergence, our Truth Condition, under the i.i.d. assumption. Our framework asks in addition for the Assurance Condition, a derivation of the convergence. The Truth Condition concerns what the machine computes, and the Assurance Condition concerns what the machine can establish about its own computation. The framework thus requires an epistemic condition in addition to a computational one.
The Assurance Condition may look paradoxical, since it assigns probability 1 to infinite future convergence on the basis of finite data. What looks paradoxical is not that convergence over infinitely many stages is stated in a finite formula, for a formula with a universal quantifier does that. What looks paradoxical is that the universal formula is derived from finite premises about the past, the record, without any assumption about the future. Our answer is that whether such a derivation exists depends on the domain. By Theorem 2, genuine learning occurs exactly where it does, and Section 5 exhibits a domain where it does. Remark 3 in Appendix B sets this out.
One might also argue that our Assurance Condition () is too restrictive, prohibiting a machine from admitting that it might make errors. However, our Assurance Condition demands certainty regarding asymptotic convergence, not immediate perfection. The condition does not preclude a machine from admitting that it might make errors initially, provided that it can establish that its estimates will eventually approximate the true probability to any required precision.
Definition 9 (Toleration of the Possibility of Error). Machines tolerate the possibility of error at time while pursuing the goal of learning the true probability , when but for some .
Theorem 4. If machines satisfy the Truth Condition (1) but not the Assurance Condition (2) of Theorem 2, then they tolerate the possibility of error infinitely many times with their forecast .
Theorem 4 further clarifies why we strictly require the Assurance Condition (i.e., subjective probability 1) rather than a merely high subjective probability (e.g., 0.9). If , a machine must tolerate the possibility of error infinitely often, even if it happens to be correct in all those cases. If so, the machine remains a lucky guesser rather than a genuine learner.
One point about the derivation that assurance requires belongs here. A derivation that goes through from a global assumption admitted as an axiom does not supply the syntactic path. It goes through whatever the record says, so it does not require , and it is a mere derivation in the sense of Definition 2. When the target is the true probability, Section 4 shows that it is circular as well. The path that assurance requires is a proper derivation in that requires .
Because it is not sufficient for learning to satisfy the Truth Condition without the Assurance Condition, we argue that injecting any global empirical assumption (such as i.i.d.) into at finite cannot be syntactically justified. Relying on such unprovable assumptions reduces the process to mere computation. In the next section, we critically examine how the i.i.d. assumption in PAC learning leads to epistemic circularity.
4 Beyond Statistical Consistency: The Epistemic Circularity of PAC Learning
According to Definition 1, machines learn a target function when they attain computational success with respect to the function. The key idea of Definition 1 is that successful computation fundamentally differs from mere computation.
Definition 10 (Mere Computation). Machines merely compute an empirical target function when, for each input , the derivation of that they have is a mere derivation in the sense of Definition 2: it proceeds from a global assumption about the data, admitted into the axioms as though it were an arithmetical axiom, and it does not require .
Definition 10 is the exact complement of the empirical clause of Definition 3. A global assumption about the data is not derivable from any finite record, so if it enters at all, it enters as an axiom. The i.i.d. assumption of Theorem 5 is the case we have in mind.
The clause “does not require ” concerns the justification, not the arithmetic of the estimate. A PAC machine reads its sample, and the sample is recorded in . What the record does not do is supply the derivation of the correctness claim. With the global assumption among the axioms, the bound that certifies the output is derivable uniformly in the record: it holds whatever the tape says, because the assumption already contains the empirical content that the record was supposed to supply. A justification that is insensitive to the evidence cannot certify a fact about the world. So when the output happens to match the target, the derivation does not certify the match, and the machine is at best accidentally right. This is why mere computation falls short of successful computation.
Definition 11 (Epistemic Circularity). A derivation is epistemically circular when the derivation that a target has been learned requires as a premise a global claim about the target itself, so that what was to be derived is already among the premises.
In logic this structure is called begging the question: a derivation that assumes and then concludes . We add the word “epistemic” because the loop here occurs while a machine learns the target. A circular derivation is a mere derivation, since the claim about the target is a global assumption about the data, and Theorem 5 shows when a mere derivation is circular as well.
In statistical learning theory, extensive efforts have been made to derive statistical consistency under various global empirical assumptions, ranging from strict i.i.d. to progressively relaxed forms such as Markovian or mixing conditions [Vapnik, 1998, Aldous and Vazirani, 1990, Yu, 1994, Vidyasagar, 2003, Hanneke, 2021, Blanchard et al., 2022]. We do not doubt that these relaxations represent impressive mathematical achievements. However, from the perspective of our formal framework , any reliance on global assumptions raises a fundamental epistemic question regarding machine learning.
Rather than delving into detailed proof-theoretic analyses for every relaxed condition, we focus on the standard PAC learning system [Valiant, 1984] as a foundational and representative example. PAC learning is a theory of approximation with bounds, not of precise learning. Its guarantee implies statistical consistency under the i.i.d. assumption, since it gives a finite sample complexity for every error and every confidence, and it is where that assumption does its work most visibly. By Theorem 3, a bound on approximation has content only where precise learning is possible; what we show here is that, when the target is the true probability, the error against which the bound is stated cannot be computed without presupposing the target, so neither can the bound. We demonstrate how the computation of true probabilities under the standard i.i.d. assumption in the PAC framework falls into epistemic circularity, thereby rendering it a mere computation rather than genuine learning.
Theorem 5. When the target concept function is the true probability itself, relying on the i.i.d. assumption within the PAC learning system leads to epistemic circularity.
The claim in short is this. The PAC error
counts how often the machine is wrong. When the target is the true probability, the machine is wrong at a stage when its forecast differs from at that stage. To count such stages, the machine must know at each stage whether its forecast equals the true probability, and that is what it set out to learn. The outcome does not settle it, since either outcome is compatible with either value of the true probability. The i.i.d. assumption supplies what is missing. It says that the samples of the true probability are identically distributed, that is, that they all come from stages at which the true probability has a single value. Sorting the stages by that value is exactly what the machine cannot do before it has learned the value. So the error, and with it any bound on the error, is computable only on a premise about the target. That is what Definition 11 means by “epistemic circularity”, and the proof in Appendix A exhibits the loop.
The derivation still goes through, as a derivation. It is valid, and what the machine does is therefore a computation. But what it does not do is learn, since it presumes what it aims at. There is no guarantee that a PAC machine approaches the true probability correctly, and at best it is lucky to be correct. This is why learning must go beyond statistical convergence.
The same applies to the computable version of PAC learning [Agarwal et al., 2020, Ackerman et al., 2022, Crook et al., 2022], which asks whether a learner that meets the PAC guarantee can be a computable one. The guarantee it starts from is the one derived under the i.i.d. assumption, so when the target is the true probability the circularity of Theorem 5 is inherited, whatever the computability of the learner. Our question, whether the guarantee can be derived from the record at all, comes before theirs.
It is important to acknowledge the immense practical utility of the PAC learning framework. For real machines, PAC learning is highly valuable because it determines the specific sample complexity required to achieve a given error bound within polynomial time. However, our proof of epistemic circularity operates at the fundamental level of computability, independent of whether the learning is analyzed under polynomial-time constraints or general computability without time limits. The implication of our proof is that while the i.i.d. assumption is mathematically convenient for calculating specific complexity bounds, this advantage becomes epistemically unjustified when the objective is to learn the true probability itself.
Theorem 5 closes one route to the guarantee, the route through a global assumption admitted as an axiom. It does not say that no route exists. What remains is a question of fact: is there a domain in which the two conditions of Theorem 2 are met, so that the derivation draws on the record rather than on an assumption about the record? The next section exhibits one, and says what a real machine, which approximates rather than learns precisely, inherits from such a domain.
5 Bounding the Learnable Space: A Case Study in NLP
In the proof of Theorem 2, we demonstrated how the necessary and sufficient conditions for learning are satisfied when the true probability takes a rational value that can be represented in finite time. In this section, we provide a case study of language learning to illustrate this mechanism.
Deep learning has made impressive advances in various aspects of natural language processing (NLP), including speech recognition [Hinton et al., 2012]. We propose that much of this progress can be attributed to the fact that the true probability of obtaining a specific sequence of words is, in principle, a learnable target under Definition 1. As a straightforward example, consider simple (unsmoothed) -gram models to illustrate how true probabilities can be learned. According to Jurafsky and Martin [2008], -gram models are central to tasks in which machines must identify words from noisy or ambiguous inputs. In speech recognition tasks, for instance, machines receive input in the form of ambiguous speech and must recognize the sequence of words within that speech. Whenever such speech has been used in actual communication, there must exist a corresponding true population containing the disambiguated form of the input. We refer to this true population as an ideal corpus, defined as follows:
Definition 12 (Ideal Corpus). At any given time , let us consider the set of all words and sentences that are employed by any group of communicators in our world (e.g., human users) over some time interval ending at . We call this set of all words and word sequences the ideal corpus.
The corpus in Definition 12 is ideal in the sense that it includes all relevant words and sentences that have been circulated within any community in this world for certain periods up to any given time. It goes beyond any simple online collection of words and sentences. (Here, words may also represent various ranges of symbols such as numerals, punctuation marks, fragments, filled pauses, tabs, or spaces).
Now, for any given sequence of words , what is the probability of obtaining ? This is the question we address here. To maintain theoretical consistency with our formal framework, we denote this true probability as , emphasizing that the probability of a sentence being uttered is inherently conditioned on the ontological filtration , the totality of historical and linguistic contexts established up to time .
Note that this question is fundamentally different from the Markov question [Markov, 1913]: What is the probability of obtaining any arbitrary sequence of words? The Markov question concerns sequences of unbounded length, which no finite corpus contains. This distinction is crucial because it indicates that the way machines learn to recognize sentences in a simple -gram model differs from the way humans learn natural language. The ideal corpus in the simple -gram model contains only a finite number of sentences, whereas humans are supposedly capable of recognizing a potentially infinite number of sentences. Appendix B discusses the difference between the two questions further. LLMs process unseen sentences, that is, sentences that never occurred in any corpus. Theorem 6 below does not cover such a sentence. Its probability is not fixed by the record of , so no derivation from alone can learn it. We do not treat this question here. Appendix B states what is missing as Open Problem 1.
Compared with LLMs, the -gram model may look like a toy example. It is chosen because it isolates what makes a true probability learnable in the sense of Definition 3. The probability of a sentence is fixed by the record of what has actually been used, so the machine derives it from and not from an assumption about the record. That is the condition which Theorem 5 showed the i.i.d. route cannot meet, and here it is met.
Theorem 6. At any given time , there exists an ideal corpus containing a finite number of words and sequences of words actually employed by human users up to time . For any given sentence , the true probability of obtaining is computable from this corpus by machines. Furthermore, this true probability can be learned by the machines.
Theorem 6 uses only the finiteness of . Its role is to witness that the learnable space under Theorem 2 is not empty, and we record that role as a proposition.
Proposition 1. The conditions of Theorem 2 are satisfiable. In particular, they are satisfied for the target over a finite ideal corpus.
Theorem 6 shows that an ideal machine can learn the true probability for any given sentence . However, in real-world applications where real machines face various technological and resource constraints, they may not be able to learn the true probability precisely. Instead, they approximate through methods such as maximum likelihood estimation, smoothing techniques, or various clustering algorithms. Regardless of the specific approximation technique employed, it is theoretically significant to establish that such approximations by real machines can, in principle, perform well only when the true probability is precisely learnable by ideal machines, which is what Theorem 3 states.
Theorem 6 concerns an ideal machine with the ideal corpus on its tape. No real machine has that corpus. It has a sample of the corpus, and from the sample it must estimate a probability fixed by the ideal corpus. Statistical learning theory guarantees such an estimate when the sample is drawn i.i.d., and the experiments of Ranga et al. [2026] show that a transformer can learn the underlying probabilities of synthetic data when the synthetic sample is made i.i.d. by construction, drawn from the generating distribution. A transformer is therefore a machine that approximates the true probability well where the i.i.d. condition holds. However, the corpus on which a real transformer is trained is not drawn that way [Paruchuri et al., 2024, Meister and Cotterell, 2021]. Its success in practice then depends on two things. It works in a domain where precise learning is possible, which by Theorem 3 is what makes approximation possible at all. And it approximates well without the i.i.d. condition, and processing massive amounts of data is what lets it do so. We call the first the epistemic allowance of a domain: how much approximation a domain affords a real machine is fixed by what an ideal machine can learn there precisely. We offer the second as a clue toward understanding why scaling laws hold empirically [Kaplan et al., 2020, Hoffmann et al., 2022], not as a proof that they do.
6 Conclusion
We have proposed a formal system in which proving, coding, and learning from data are carried out by a single deductive mechanism, and we have shown that learning a true probability inside it requires more than statistical consistency. We defined learning as successful computation, and successful computation as the existence of a proper derivation of each value in (Definitions 1 and 3). Given these definitions, we can prove which conditions are necessary and sufficient for learning a true probability. By Theorem 2, these conditions are the Truth Condition and the Assurance Condition. The Truth Condition is statistical consistency, and we stated it without a global assumption. The Assurance Condition is what is newly required by our framework, and it is an epistemic demand: a finite derivation of convergence inside the system. By Theorem 4, it cannot be weakened to a probability below 1. Theorem 5 shows what happens when statistical consistency is derived from a global assumption instead. The derivation goes through and the machine computes, but it is a mere derivation and circular, so the machine does not learn. That is the sense in which learning, as our title says, lies beyond statistical consistency. Theorem 6 shows that both the Truth Condition and the Assurance Condition are met for the probability of a sentence over a finite ideal corpus, and Theorem 3 shows that such a domain is also where the approximations of a real machine have content, which is what is exploited by an LLM trained on massive data.
The hybrid AI of our title is a consequence of this result and of the definitions behind it. Section 2 showed that proving and coding are derivations of the values of the mathematical functions Prf and Test from the axioms and the mathematical definitions. Definition 3 makes learning from data a derivation in the same system, one that requires the empirical definitions as well. So the three tasks are done by one and the same deductive mechanism in a single formal system . Still, they are distinguished by the kinds of premises from which they are derived. These two facts together are what we mean by “hybrid AI”. Accordingly, a hybrid AI in our sense is not a combination of a statistical module and a deductive module placed side by side. It is one mechanism with two different kinds of premises, and the two kinds correspond to two kinds of target. The values of a purely mathematical target are fixed by its definition, so they are derivable from the axioms and the mathematical definitions alone. The values of an empirical target are fixed by the world, while the empirical definitions supply the vocabulary for it and the record of what has been observed; whether the values are derivable from that record depends on the domain.
Our hybrid framework also explains what the deductive part of current practice does and what it cannot do. Consider an LLM that proves a theorem with a proof assistant such as Lean. The system has two parts: a statistical proposer, which produces a candidate proof from the probabilities it has computed over a record of past proofs, and a deductive verifier, which checks whether the candidate is indeed a proof of the sentence. The verifier derives the value of Prf at the candidate and the sentence, and this derivation is from the axioms and the mathematical definitions alone. So it is a proper derivation and it settles the question with certainty. On the other hand, the probabilities of the proposer are an empirical function, and current practice asks for no derivation of them. Fortunately, none is needed for proving and coding. The target for these tasks is a mathematical function, and the verifier derives its value whatever the proposer did. For proving, a candidate that is not a proof is conclusively rejected, and one that is a proof is conclusively accepted, by the verifier. So the correctness of the output does not depend on whether the proposer has learned its probabilities in our sense. The same applies to coding, with Test in place of Prf.
However, the case is different when the target is itself an empirical function, such as a true probability. There is no verifier here. Whether a candidate value is the true probability is not the value of any mathematical function, since the true probability is fixed by the world and not by the mathematical definitions (Section 2). Nor does the next observation decide it. What is observed is only a definite outcome, such as rain or no rain, and not a probability. The same outcome can occur whether the true probability is, say, 0.3, 0.5, or 0.9 (Section 4).
So no check from outside the derivation is available inside , and the machine must derive what it outputs itself, with the help of the record. This is why a derivation that is not asked for by current practice becomes a requirement when the target is empirical. The Assurance Condition is that derivation: it does for an empirical target what the verifier does for a mathematical one. Theorem 2 says when it exists, Theorem 5 says that a derivation from a global assumption does not supply it, and Theorem 6 exhibits a domain where it exists. Our hybrid framework thus asks for a derivation of each of two kinds: from the axioms and the mathematical definitions alone when the target is a mathematical function, and from these together with the empirical definitions when it is an empirical function. The second kind of derivation is the one this paper is about, and it is the one needed by a hybrid AI in our sense where no verifier can check its output against the world.
As Blum et al. [1996] has highlighted, there exists a profound conceptual tension between the continuous foundations of numerical analysis in machine learning (e.g., real-valued gradients) and the discrete foundations of computability theory (Turing machines). In this paper, we have taken a firm stance on the discrete nature of computation and demonstrated that learning true probabilities can be rigorously formalized as discrete syntactic deductions within over computable reals. We have no finished answer to offer about the gap. We note only that our approach separates what is true of the world from what the machine can learn. The machine’s learning, being computation, is discrete. If the world is in fact continuous, the mathematical consequences of a formal system that assumes continuity can still be used legitimately, provided that the machine’s access to the consequences is by indices. The gap is produced by taking the discreteness of computation seriously, and it is not a flaw to be patched over. It remains a formidable challenge to fully reconcile the continuous mathematical models of machine learning with the discrete epistemic bounds of Turing computability. We regard it as the main open problem of the framework, and it is the subject of work now in progress.
Lastly, it is important to note that we have emphasized an epistemic conception of machine learning, rather than a simply computational one, in order to parallel machine learning with human learning. By the term “machine” in the “machine learning”, we specifically refer to an artifact that is capable of performing behaviors at least at a human level of intelligence. Consequently, the epistemic dimension becomes essential for our analysis. As long as we aim to contribute to the field of artificial intelligence through the theory of machine learning, machines must be intelligent learners in this epistemic sense.
Acknowledgments. Jinsook Kim was supported by Korea Institute for Advanced Study. Jinho Kang was supported by Gwangju Institute of Science and Technology.
AI Use Disclosure. We used AI tools for research assistance, including discussing the arguments, editing sentences, and checking proofs, facts, and references. All material in the paper was written and verified by the authors.
References
Nathanael Ackerman, Julian Asilis, Jieqi Di, Cameron Freer, and Jean-Baptiste Tristan. Computable PAC learning of continuous features. In Proceedings of the 37th Annual ACM/IEEE Symposium on Logic in Computer Science, pages 1–12, 2022.
Sushant Agarwal, Nivasini Ananthakrishnan, Shai Ben-David, Tosca Lechner, and Ruth Urner. On learnability with computable learners. In Proceedings of Machine Learning Research, volume 117, pages 48–60, 2020.
David Aldous and Umesh Vazirani. A Markovian extension of Valiant's learning model. In Proceedings of the 31st Annual Symposium on Foundations of Computer Science (FOCS), pages 392–396. IEEE, 1990.
Christopher M. Bishop. Pattern Recognition and Machine Learning. Springer, 2006.
Christopher M. Bishop and Hugh Bishop. Deep Learning: Foundations and Concepts. Springer Nature, 2024.
Moïse Blanchard, Steve Hanneke, and Patrick Rozenwasser. Universal online learning: an optimistically universal learning rule. Journal of Machine Learning Research, 23(1):1–55, 2022.
Lenore Blum, Felipe Cucker, Mike Shub, and Steve Smale. Complexity and real computation: a manifesto. International Journal of Bifurcation and Chaos, 6:3–26, 1996.
George S. Boolos, John P. Burgess, and Richard C. Jeffrey. Computability and Logic. Cambridge University Press, 4th edition, 2002.
Tonicha Crook, Jay Morgan, Arno Pauly, and Markus Roggenbach. A computability perspective on (verified) machine learning. In Alexandre Madeira and Manuel A. Martins, editors, Recent Trends in Algebraic Development Techniques, pages 63–80. Springer, 2022.
Solomon Feferman. Transfinite recursive progressions of axiomatic theories. The Journal of Symbolic Logic, 27(3):259–316, 1962.
Solomon Feferman. Are there absolutely unsolvable problems? Gödel's dichotomy. Philosophia Mathematica, III(14):134–152, 2006.
Kurt Gödel. Über formal unentscheidbare Sätze der Principia Mathematica und verwandter Systeme I. Monatshefte für Mathematik und Physik, 38:173–198, 1931.
Kurt Gödel. Remarks before the Princeton bicentennial conference on problems in mathematics. In Collected Works, Volume II: Publications 1938–1974, pages 150–153. Oxford University Press, 1946. Delivered 1946; the volume appeared in 1990.
Steve Hanneke. Learning whenever learning is possible: universal learning under general stochastic processes. Journal of Machine Learning Research, 22(130):1–116, 2021.
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 770–778, 2016.
Geoffrey Hinton, Li Deng, Dong Yu, George Dahl, Abdel rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara Sainath, and Brian Kingsbury. Deep neural networks for acoustic modeling in speech recognition. IEEE Signal Processing Magazine, 29: 82–97, 2012.
Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Thomas Hennigan, Eric Noland, Katherine Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karén Simonyan, Erich Elsen, Oriol Vinyals, Jack W. Rae, and Laurent Sifre. An empirical analysis of compute-optimal large language model training. In S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems, volume 35. Curran Associates, 2022.
Michael I. Jordan and Tom M. Mitchell. Machine learning: trends, perspectives, and prospects. Science, 349(6245):255–260, 2015.
Daniel Jurafsky and James H. Martin. Speech and Language Processing: An Introduction to Natural Language Processing, Computational Linguistics, and Speech Recognition. Prentice-Hall, 2008.
Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361, 2020.
Stephen Cole Kleene. Introduction to Metamathematics. D. Van Nostrand, New York, 1952.
Andrey Markov. An example of statistical investigation of the text “Eugene Onegin” illustrating the dependence between samples in chain. Izvestia Imperatorskoi Akademii Nauk, 1913. English translation by Morris Halle, pages 153–162.
Clara Meister and Ryan Cotterell. Language model evaluation beyond perplexity. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 5328–5339, 2021.
Kevin P. Murphy. Machine Learning: A Probabilistic Perspective. MIT Press, 2012.
Akshay Paruchuri, Jake Garrison, Shun Liao, John B. Hernandez, Jacob Sunshine, Tim Althoff, Xin Liu, and Daniel McDuff. What are the odds? Language models are capable of probabilistic reasoning. In Yaser Al-Onaizan, Mohit Bansal, and Yun-Nung Chen, editors, Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, Miami, Florida, USA, 2024. Association for Computational Linguistics.
Frank P. Ramsey. Truth and probability. In R. B. Braithwaite, editor, The Foundations of Mathematics and Other Logical Essays, pages 156–198. Kegan Paul, London, 1931. Written 1926.
Sriram Ranga, Sai Shashank Bedampeta, Rui Mao, and Anupam Chattopadhyay. Are language models any good at density modeling? In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, pages 32791–32798, 2026.
Leonard J. Savage. Elicitation of personal probabilities and expectations. Journal of the American Statistical Association, 66(336):783–801, 1971.
Alan M. Turing. On computable numbers, with an application to the Entscheidungsproblem. Proceedings of the London Mathematical Society, s2-42(1):230–265, 1936.
Alan M. Turing. Systems of logic based on ordinals. Proceedings of the London Mathematical Society, s2-45(1):161–228, 1939.
Leslie G. Valiant. A theory of the learnable. Communications of the ACM, 27(11):1134–1142, 1984.
Vladimir Vapnik. Statistical Learning Theory. John Wiley and Sons, New York, 1998.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems, volume 30, pages 5998–6008, 2017.
Mathukumalli Vidyasagar. Learning and Generalization: With Applications to Neural Networks. Springer, 2nd edition, 2003.
Bin Yu. Rates of convergence for empirical processes of stationary mixing sequences. The Annals of Probability, 22(1):94–116, 1994.
A Technical Proofs
Proof of Theorem 1
Let be a formal system of arithmetic in the sense of Section 2: it extends Robinson arithmetic , it is consistent, and its set of axioms and definitions is recursive. The system is such a system at each , since , and are recursive and is finite.
Step 1. Effective operations on indices via the theorem. An element is a vector of computable reals if for each there is a Turing machine that outputs a sequence of rationals converging to at the rate fixed in Section 2. Let be the index of the machine provided to the learner for . Let be computable. Because is computable, there is an effective algorithm that takes the indices computing the inputs and returns an index computing the output . By the theorem [Kleene, 1952], this transformation is given by a partial recursive function on natural numbers. The index tracking function of is the restriction of to the valid indices of the arguments of , on all of which halts because is computable. If the machine's run halts, the fact holds in the metatheory, and is an index of because the machine computes .
Step 2. Representability. By Gödel's Representability Theorem [Gödel, 1931, Boolos et al., 2002], every partial recursive function is representable in any consistent recursively axiomatized theory extending . Because is partial recursive over natural numbers and is such a theory, there is an arithmetical formula of representing , and hence, for all valid indices and all numbers ,
Step 3. Conclusion. Equation (2) is the statement of the theorem: the left side says that the machine's run, given the indices of the arguments, returned the index , and the right side says that derives the formula which represents that fact. So the machine's computation of on computable reals is matched, instance by instance, by a derivation in of the corresponding statement about indices.
Proof of Theorem 2
Throughout, is a fixed computable real in and along the path considered. Write , and let be the code of the record , so that the formula represents, by Theorem 1, the fact that the learner's index tracking function sends the encoded record to the index .
Part I, the “only if” direction. Suppose that machines learn the true probability as .
The Truth Condition. We consider two cases.
Case 1. is a non-repeating irrational. Suppose the machine attempts to compute extensionally, digit by digit. Let be the minimal formal system needed to compute and verify the expansion of up to the -th place at time . Because is non-repeating, each further digit requires information not derivable from the previous finite digits, so the systems form a strictly increasing chain . To complete the extensional computation, the machine would have to operate inside the inductive limit . By Turing computability and by classical proof theory [Turing, 1939, Feferman, 1962], a valid formal proof is a finite sequence of symbols verifiable in finite time. The system is not finitely axiomatizable, so the machine can never mechanically complete the extensional computation.
The machine must therefore abandon extensional evaluation and adopt an intensional approach, using a fixed finitely axiomatizable system for all . This system encodes the finite algorithm that generates . Inside the machine does not compute infinite digits. It uses the universal quantifier to derive, in finitely many steps, the arithmetical formula (1) of Section 3. All quantifiers in (1) range over natural numbers, and no analytic limit is used. Since exists at some finite , and for all , the index tracking function generates , so by Theorem 1 and Definition 5 there is a subjective probability computed at each stage . In the metatheory, (1) gives for all and every (Appendix B), hence
Case 2. is rational. Then is represented by finitely many digits at a finite time . Because the machine learns the true probability, by Definition 1 and Definition 3 it successfully computes by a proper derivation, so there is a system with
the formula saying that the learner, given the record, returned an index of . Suppose the true probability takes the value along the path without limit, and let be the subsequence of times at which it does. Along this subsequence the time average of the indicator coincides with . This is ergodicity in an extended sense. No stationarity is assumed of the process, and the coincidence of the time average with the value holds along the subsequence on which the conditional law takes that value. Because the machine computes at these instances, we get , which yields the Truth Condition.
The Assurance Condition. Given the Truth Condition, there is a stochastic path on which for all . Put
where is the indicator of . Along the path, for all . Both and are -measurable, and along the path, so , where the expectation is taken with respect to . Hence is a martingale adapted to along the path. Moreover
because is an indicator variable, so that is bounded above uniformly by some with . By the martingale convergence theorem and Kronecker's lemma,
By the law of iterated expectation and fixing , we obtain the Assurance Condition.
Part II, the “if” direction. Suppose both conditions hold. From the Truth Condition, converges to . The Assurance Condition assigns subjective probability exactly 1 to that infinite convergence. Because the machine is a finite device, we must ask how it can assign certainty to an infinite sequence of events. By Turing [1939] and Feferman [1962], an infinite inductive limit of formal systems cannot be mechanically verified in finite time, so a Turing machine cannot assign by checking infinitely many future samples extensionally.
The only permissible mechanism is a finite syntactic derivation inside . That is, there is a finitely axiomatizable for all in which the machine derives formula (1). Call that formula . By Definition 3, the machine operates within . Because the target is an empirical true probability and not a purely mathematical object, the derivation cannot proceed from logical and mathematical resources alone. It requires the empirical definitions grounded in the record filtration. That is,
Because is derived within and the Truth Condition guarantees along the path that describes, the formula is also derived within , where represents the index tracking function of the target ; that is, the value returned on the record is derived to be the value of the target. The machine therefore achieves successful computation of by Definition 3, and by Definition 1 it learns the true probability as .
Proof of Theorem 3
We argue by contradiction. Assume (A1) that no ideal machine can learn , and (A2) that for every there are and a finite learning rule such that a real machine successfully computes that lies within of . Here an ideal machine is a classical Turing machine with no bound on time and no bound on tape.
By (A2), for each there is a finite rule and a proper derivation in that it lies within of . Whether a string is a derivation in is decided by a mechanical check, so an ideal machine can find these derivations: given , it enumerates strings until it finds such a derivation, and then runs the rule it has found. So for each the ideal machine outputs an approximation to within , and each of these outputs has a proper derivation. Since the outputs of a machine computing a real-valued function are its approximations at the requested precisions (Section 2), this is successful computation of instance by instance.
By Definition 3, this means that is successfully computable by the ideal machine, which contradicts (A1). Hence (A2) is false, which is the statement of the theorem.
Proof of Theorem 4
Suppose the machine satisfies the Truth Condition but not the Assurance Condition. Then
It follows that finitely often) > 0. Hence for all but finitely many , which by Definition 9 means that the machine tolerates the possibility of error at all but finitely many of its infinitely many opportunities to learn, since by the Truth Condition.
Proof of Theorem 5
The proof shows the loop directly. To keep the notation apart from the conditional probabilities, we write for the instance space of the PAC problem and for its elements. The letter is reserved for the process.
The PAC setting. A concept over is a subset , equivalently a boolean function . Let be a fixed distribution over . For a hypothesis ,
The concept is PAC learnable by if an algorithm receives samples drawn i.i.d. from , with polynomial in and , and outputs with .
The meta-learning target. Let be a process with a discrete state. In our setting the object to be learned is the conditional law itself, so the value plays the role of the realized sample. Let be the set of values this conditional probability takes. We take with for readability, and any finite or countable would do without change to the argument. Let be the set of stages on which the conditional probability equals and let be the set of stages on which it equals . Define
The hypothesis g is computed by the machine from its own estimate alone.
The loop. We establish , where is the assumption that the samples of the true probability are i.i.d., is that is PAC learnable, and is that the machine can compute the error (3).
holds by the premise of the PAC framework. holds because a PAC learnable concept has a computable error by definition.
For , note that for the samples to be identically distributed, the probability that the true conditional probability takes a given value must be invariant across stages. If the machine assumes identical distribution, then it assumes that its samples come exclusively from one of and . Without loss of generality let it assume , so that is fixed at . Then along we get on the stages where the conditional probability is , and elsewhere. Along we get while on those same stages. Hence
So computing the PAC error is the same task as computing the probability that the true conditional probability deviates from . The ability to compute the error is therefore equivalent to the assumption that the true probabilities are identically distributed, which is A.
Where the loop bites. The idea the proof turns on can be stated without the counterexample. The error (3) is defined relative to a fixed , and the sample complexity bound requires i.i.d. sampling from . When the target concept is the conditional law of the data-generating process, is the law of the values the target takes, so the target determines it. So the criterion by which learning is measured presupposes the object to be learned. By Definition 11 this is epistemic circularity. Note that the chain uses no sentence of , so the certificate is derivable from together with the assumption alone, which is the condition of Definition 10. This is no accident. Since is equivalent to the premise , any derivation of is a derivation from , and the record is necessarily idle in it. Circularity entails that the data do no work, and by Definition 10 what the machine performs is a mere computation.
Proof of Theorem 6
Step 1. The ideal corpus is finite. Let each word of length be a sequence of letters and let each sentence of length be a sequence of words that humans have circulated in order to communicate up to . A sentence is distinguished from an arbitrary ungrammatical string that cannot be used for communication. For any the length is finite, since no word whose sequence goes to infinity can be used. Likewise is finite for any . Let and be the maximum lengths in . The population of possible combinations has size bounded by for some countable , where is countable because at most countably many people have used the language up to in a world where time is discrete. At any there is a set containing the accumulated history of circulated words and sentences, and the size of is finite. The alphabet may be extended to numerals and punctuation without change to the argument.
Step 2. The true probability is computable from the corpus. Define a counting function from to , counting the frequency of each sentence. Because the set of strings is lexicographically Turing-enumerable and is finite, is computable. With , the machine computes
where are the counts given by and is the number of all sentences in the corpus.
Step 3. From computation to learning. Since is derived from , the value of so computed is the true probability of Definition 4. Because is computable over the finite domain , Theorem 1 guarantees that the derivation of is a formal derivation inside , and it draws on the record of in , so the process is a successful computation under Definition 3. By Definition 1 the true probability is learned.
Proof of Proposition 1. Immediate from Theorem 6, since a target that is learned satisfies the conditions of Theorem 2 by the “only if” direction of that theorem.
B Further Remarks
Remark 2 (Non-uniqueness of indices). Infinitely many Turing machines compute the same real , so the map from reals to indices is one to many. The ambiguity does not enter Theorem 1, because the theorem concerns the index tracking function of the machine that was actually run: the derivation is about the specific computation path that the machine took, and not about the real as such.
Remark 3 (The two levels). Three roles are kept apart in Section 3. The learner is the machine of Definition 5: at each stage it reads the record on its tape and outputs a natural number , the index of a program. The program is the second machine: given a precision request , it prints a rational within of the real it computes, which is . The statement that the values converge to in is ours, made in the metatheory. What the learner derives inside is formula (1), and we set out here what that formula says and why it is convergence.
Kleene normal form. In (1), abbreviates , where is Kleene's -predicate, the output function, and the code of the rational ; both are primitive recursive, so the abbreviation is an arithmetical formula. From some stage on, the indices the learner outputs are determined by its fixed algorithm and the record, so the map is arithmetically definable and (1) is a single formula about it. All of its quantifiers range over natural numbers, and no limit enters as an object.
Why (1) is convergence. Fix and . If , then for every ,
by the triangle inequality and the rate fixed in Section 2, which bounds the first and the third term by each. Conversely, if for every , the same inequality, read the other way, gives for every , and since the left side does not depend on , . So the part of (1) after is equivalent to , and (1) is equivalent to the convergence of to . The equivalence uses only the rate of the two programs, so no constant has to be chosen.
The temporal paradox. Assigning probability 1 at a finite stage to an infinite future convergence may look like a temporal paradox. At stage the machine has read finitely many records, and (1) quantifies over stages it has not yet seen. The resolution is that what the machine has is not a completed infinite computation but a finite derivation. A finite derivation can speak of infinitely many instances by means of the universal quantifier, and it establishes the formula for every instance without surveying the instances as a completed whole. What would be a paradox for computation is routine for proof. What the derivation requires, and what finite data can supply, is another matter: Theorem 2 says when the derivation is available, and Theorem 6 gives a domain in which it is.
Remark 4 (The syntactic form of the empirical definitions). Each sentence of introduces a function symbol by a condition that is primitive recursive and for which proves , so the symbol denotes a total single-valued function on codes. Each sentence of is an atomic equation in a name new to the language. Both are definitional extensions of in the usual sense: every formula of the old language that is derivable in is already derivable in , so the empirical definitions introduce no new theorem about numbers and, in particular, no inconsistency.
Remark 5 (The observables separate the states). Section 3 takes the family of observables to separate the states of : for any two distinct states some observable takes different values on them. Since is enumerable, every singleton is then an intersection of countably many sets of the form , so every singleton, and hence every subset of , belongs to the -algebra generated by the observables at time . This is why is the totality of facts up to time and not only the facts visible at the resolution of the observables. Without the separation condition, would record the facts only up to that resolution: if, for example, the states were (rain, wind), (rain, calm) and (sun, calm) and the only observable were the indicator of rain, the first two states would not be separated and the fact of wind would not be in .
Remark 6 (The two questions about sentences). The Markov question and our question differ, and the difference matters because human languages are productive. A new sentence that has not been circulated has zero frequency in the ideal corpus, however large the corpus is set. So the probability of obtaining an arbitrary new sentence would be zero if computed from the empirical distribution in the corpus. That cannot be right if the language is productive. So the probability of obtaining a new sentence cannot be defined by its frequency in , and Theorem 6 does not cover it. We state what is missing as a problem.
Open Problem 1 (Productivity). Let be a sentence with zero frequency in . Find a definition of the true probability of obtaining , and a formal system , such that (a) the definition agrees with for every sentence in , and (b) the probability of is learned by a machine in the sense of Definition 3, that is, derived properly in and not assumed.
Theorem 6 solves the problem for sentences in . There the record decides the probability. For a sentence outside no finite record decides it, so condition (b) cannot be met by alone. In the hybrid framework of this paper, what the proposer lacks for such a sentence is a verifier: a decidable check that closes each new sentence as the proof relation Prf closes each candidate proof. For natural language no such verifier is known, since it would require a recursive grammar and a theory of meaning inside .
This zero-frequency problem does not arise for speech recognition on a simple -gram model, where inputs are given. The unambiguous form of any input given to the machine must already be in the ideal corpus, since the input must actually have been used in speech before it was given to the machine. Even in the extreme case where the input was created at the moment the speech was made, the true probability of obtaining that sentence is not zero.