LimitComputable Mathematics and its Applications Susumu Hayashi Yohji
Limit-Computable Mathematics and its Applications Susumu Hayashi & Yohji Akama Sep, 22, 2002 CSL’ 02, Edinburgh, Scotland, UK
LCM: Limit-Computable Mathematics l l Constructive mathematics is a mathematics based on D 01 -functions, i. e. recursive functions. In the same sense, LCM is a mathematics based on D 02 -functions.
The aim of the talk l l l The talk aims to present basic theoretical ideas of LCM and a little bit of the intended application as the motivation. Thus, in this talk • • THEORY APPLICATION (Proof Animation) although the original project was application oriented and still the motto is kept.
Why D 02 -functions? (1) • • • D 02 -functions are used as models of learning processes, and, in a sense, semicomputable. The original and ultimate goal of LCM project is materialization of Proof Animation is debugging of proofs. • See https: //shayashiyasugi. com/wwwshayashijp/PALCM/ for details of Proof Animation.
Why D 02 -functions? (2) l l l The D 02 -functions are expected to be useful for Proof Animation as learning theoretic algorithms were useful in E. Shapiro’s Algorithmic Debugging of Prolog programs Shapiro’s debugger debugged Prolog programs, i. e. axiom systems in Horn logic. In a similar vein, an LCM proof animator is expected to debug axiom systems and proofs of LCM logic, which is at least a super set of predicate constructive logic.
An example of semi-computable learning process (1) l MNP (Minimal Number Principle): Let f be a function form Nat to Nat. Then, there is n : Nat such that f(n) is the smallest value among f(0), f(1), f(2), … Nat : the set of natural numbers
An example of semi-computable learning process (2) Such an n is not Turing-computable from f. l However, the number n is obtained in finite time from f by a mechanical “computation”. l
A limit-computation of n (1) Regard the function f as a stream f(0), f(1), f(2), … l Have a box of a natural number. We denote the content of the box by x. l
A limit-computation of n (2) l l l Initialize the box by setting x=0. Compare f(x) with the next element of the stream, say f(n). If the new one is smaller than f(x), then put n in the box. Otherwise, keep the old value in the box. Repeat the last step forever.
A limit-computation of n (3) l l l The process does not stop. But your box will eventually contain the correct answer and after then the content x will never change. In this sense, the non-terminating process “computes” the right answer in finite time. You will have a right answer, but you will never know when you got it.
A limit-computation of n (4) l By regarding the set of natural numbers as a discreate topology space, the process “computing” x is understood as the limit: lim n → ∞ f(n) = x l Thus, E. M. Gold (1965, J. S. L. 30) called it “x is computable in the limit”
Limit computation as Learning process (1) l In computational learning theory initiated by Gold, the infinite series f(0), f(1), f(2), … is regarded as guesses of a learner to learn the limit value.
Limit computation as Learning process (2) l l f is called a guessing function: • The learner is allowed to change his mind. A guessing function represents a history of his mind changes. When the learner stops mind changes in finite time, it succeeded to learn the right value. Otherwise, it failed to learn.
Limit and recursive hierarchy l Shoenfield’s Limit Lemma l l A function g is defined by g(x)=lim a 1 lim a 2 …. lim an f(a 1, a 2, …, an, x) for a recursive function f, if and only if, g is a D 0 n+1 -function. In this sense, “single limit” is the jump A’ : D 0 n → D 0 n+1 in recursion theory.
Logic based on limit-computable functions (1) l l As the D 01 -functions are the recursive functions, D 0 n-functions may be regarded as a generalized domain of computable functions. For example, they satisfy axioms of some abstract recursion theory, e. g. BRFT by Strong & Wagner.
Logic based on limit-computable functions (2) l l Semantics of constructive mathematics is given by realizability interpretations and type theories based on recursive functions. Thus, when recursive functions are replaced by D 0 n-functions, a new mathematics is created.
Logic based on limit-computable functions (3) l l l For n=2, it is a mathematics based on limit-computation or computational learning. It is LCM. Note that limits in LCM are not nested. We may regard LCM is a mathematics based on the single jump D 0 n → D 0 n+1
Formal l l Good Kripke or forcing style semantics and semantics of LCM (1)are categorical semantics longed for. Existing formal semantics of LCM are given by limit-function spaces and realizability interpretations or some interpretations similar. The first and simplest one is Kleene realizability with limit partial functions with partial recursive guessing functions (Nakata & Hayashi)
Formal semantics of LCM (2) l l Learning theoretic limits must be extended to higher order functions to interpret logical implication and etcetras. Some extensions are necessary even for practical application reasons as well. E. g. Nakata & Hayashi used “partial guessing functions”, which are rarely used in learning theory.
Formal semantics of LCM (3) l Combinations of different approaches to limit-functions plus different realizability interpretations (Kleene, modified, etc) make different semantics of LCM, e. g. , • Nakata & Hayashi already mentioned • Akama & Hayashi: lim-CCC and modified • realizability Berardi: A limit semantics based on limits over directed sets.
What kind of logic hold? l l Logical axioms and rules of LCM depend on these semantics just as modified realizability and Kleene realizability define different constructive logics. However, they have common characteristics: semi-classical principles hold
S 0 n- and P 0 n-formulas l l l S 0 n-and P 0 n-formulas are defined as the usual prenex normal forms. Thus, S 03 -formula is Exists x. For. All y. Exists z. A A definition not restricted to prenex form is possible but omitted here for simplicity.
Semi-classical principles (LEM) S 0 n-LEM (Law of Excluded Middle): A or not A for S 0 n-formula A. l Similarly for P 0 n-LEM l D 0 n-LEM (A ↔ B) → A or not A for S 0 n-formula A and P 0 n-formula B l
Semi-classical principles (DNE) S 0 n-DNE (Double Negation Elimination): (not A) → A for S 0 n-formula A. l P 0 n-DNE is defined similarly l Note: S 01 -DNE is Markov’s principle for recursive predicates. l
Some examples l P 01 -LEM l S 02 -DNE l S 03 -LEM For. All x. A or not For. All x. A Exists x. A or not Exists x. A not Exists x. For. All y. A → Exists x. For. All y. A Exists x. For. All y. Exists z. A or not Exists x. For. All y. Exists z. A
Hierarchy of semi-classical principles (1) S 0 n–LEM P 0 n–LEM D 0 n–LEM S 0 n-1–LEM S 0 n–DNE P 0 n+1–DNE The arrows indicate derivability in HA
Important Remark (1) l If we allow function parameters in recursive formulas, then the hierarchy collapses with the help of the full principle of function definition For. All x. Exists!y. A(x, y) → Exists f. Forall x. A(x, f(x)) l Because of the combination of these two iterate applications of limits.
Important Remark (2) l l We keep the function definition principle and forbid function parameters in recursive predicates. We may introduce function parameters for recursive functions.
LCM semi-classical principles l l l In all of the known semantics of LCM, the followings hold: P 01 -LEM, S 01 -DNE, P 02 -DNE In some semantics the followings also hold: D 02 -LEM, S 02 -DNE These are LCM-principles since interpretable by single limits. The principles beyond these need iterated limits, and so non-LCM.
Hierarchy of semi-classical principles (2) l l l The converse of arrows in the hierarchy of semi-classical principles are conjectured not to be derivable in HA. If the scheme S 0 n–DNE is not derivable from the scheme P 0 n–LEM, then the conjecture is proved for the n-level. The conjecture have been solved for n=1, 2 levels, which include all of the LCM semiclassical principles. It is still open for the higher levels.
What theorems are provable in LCM? (1) l Transfers from Reverse Mathematics: l function, almost all theorems proved in systems of Reverse Mathematics can be transferred into LCM. Since Reverse Math. covers large parts of mathematics, we can prove very many classical theorems in LCM almost automatically thanks to e. g. Simpson’s book. • If sets are identified with {0, 1}-valued
A recent development in LCM l l l P 01–LEM is the weakest LCM semiclassical principle considered. Even below it, there is an interesting semi-classical principle and corresponding theorems. It’s Weak Koenig Lemma (WKL): “any binary branching tree with infinite nodes has an infinite path”.
WKL and LLPO l l Bishop’s LLPO: not (A or B) → A or B for A, B: P 01 -formulas WKL is constructively equivalent to LLPO plus the bounded countable choice for P 01 -formulas.
The strength of WKL l l P 01–LEM derives WKL with a help of a function definition principle for P 01–graphs. In contrast, WKL cannot constructively derive P 01–LEM. Thus, WKL is strictly weaker than LCM. Still WKL is constructively equivalent to many mathematical theorems like Gödel’s completeness theorem for classical predicate logic, Heine-Borel theorem, etc…
Three underivability proofs l The underivability of P 01 -LEM is proved by three different proofs: • monotone functional interpretation (Kohlenbach) • Standard realizability plus low degree model of WKL 0 (Berardi, Hayashi, Yamazaki) • Lifschitz realizability (Hayashi)
Open problem l l WKL seems to represent a class of nondeterministic or multi-valued computation. Monotone functional interpretation and Lifschitz realizability and seem to give their models. On the other hand, Hayashi’s proof uses Jockush-Soare’s the low degree theorem and the usual realizability, i. e. , usual computation. The relationship between these two groups of proofs would be a relationship of forcing and generic construction. Open problem: Find out exact relationship.
Collaborators l The results on hierarchy and calibration are obtained in our joint works with the following collaborators: S. Berardi, H. Ishihara, U. Kohlenbach, T. Yamazaki, M. Yasugi
- Slides: 37