Light Monotone Dialectica Extraction of moduli of uniform continuity for closed terms from Goedel’s T of type (IN ⇒ IN) ⇒ (IN ⇒ IN) Mircea-Dan Hernest Project LogiCal – Paris, France and GKLI – Munich, Germany LFMTP’06 Talk in Seattle, 16 August 2006 Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC’06, Seattle, 16 Aug 2006 1 / 22
22
Embed
Light Monotone Dialectica - Computer Science AUdanher/Slides/Hernest-LFMTP06sld.pdf · Light Monotone Dialectica Extraction of moduli of uniform continuity for closed terms from Goedel’s
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Light Monotone DialecticaExtraction of moduli of uniform continuity for closed terms from
Goedel’s T of type (IN ⇒ IN) ⇒ (IN ⇒ IN)
Mircea-Dan Hernest
Project LogiCal – Paris, France and GKLI – Munich, Germany
A seemingly simple game-problem of discrete mathematicsGeneralization and set-up for the Proof-theoretic machinery
2 Hereditarily Extensional Equality in computer system MinLogTerm system, majorizability and Hereditarily Extensional EqualityWeakly extensional monotonic Arithmetic for Göedel functionals
3 From Gödel’s Dialectica to Light Monotone DialecticaThe pure Göedel’s functional “Dialectica” interpretationThe Contraction Problem –> Achilles’ heel for Dialectica !The Light Monotone Dialectica majorant extraction
4 Conclusions and Future workThe human/computer outcome for our general game-problemComputer really necessary? Implementing Monotone DialecticaWork to be done –> the real “Light” Monotone Dialectica
Set-up for the Proof-theoretic machinery (2/2)Start from proof of hereditarily extensional equality of t to itself.
Hence a proof of t ≈(IN⇒IN)⇒(IN⇒IN) t in system Z0 of Berger-Buchholz-Schwichtenberg, the base logic of machine system MinLog.
Hence a Minimal Logic proof without use of Extensionality Axiom.
Two extreme approaches:1 First extract t′ by Gödel’s Dialectica and then majorize it via
Howard’s algorithm (Kohlenbach’s PhD thesis, JSL paper ’92).2 Directly extract t̃ by producing a majorant for the closed extracted
term at each of the Dialectica recursion step (Kohlenbach ’93).
None of the two efficient on the computer. Solution: use anintermediate approach –> Extract partial majorants which are notnecessarily closed terms, only simplify treatment of Contraction.Also use a Normalization during Extraction, i.e. NbE-normalizethe extracted term of the conclusion of a Modus Ponens. (NdE)Huge impact of such Partial Evaluation. No solution without it!!
System WeZm –> Implic. Introd. with Contraction1 WeZm - Weakly extensional Minimal Arithmetic with ≥ and Max
2 Minimal Arith. ⇔ Heyting Arith. in all finite types HAω \ ⊥ → A
3 WeZm - underlying Logic is Natural Deduction, not Hilbert-style!
4[u : A] . . . /B
A → B→+ , particular set of instances of A in the same
parcel (assumption variable) u get discharged; If at least two Aget discharged then one has logical Contraction; If moreover Acontains at least one positive universal or a negative existentialquantifier then one has a computationally relevant Contraction
5 Comp. Relevance relative to both Gödel and Monotone Dialectica
{AD(z; Ti(z, x , y))}n+1i=1 , {C i
D(xi ; Ti(z, x , y))}mi=n+2 ` BD(T (z, x); y)
Same tuple z produced by 2 ≤ n + 1 ≤ m discharged instances of A
If {Ti}n+1i=1 non-null (A is Dialectica relevant) ⇒ Equalization is a must!
Göedel’s functional “Dialectica” interpretation1 A translation of proofs which includes a translation of formulas.2 A(a) 7→ AD ≡ ∃x ∀y AD(x ; y ; a) with a all free vars of formula A3 AD is quantifier-free for Göedel’s Dialectica, since decidabilityneeded –> this no longer for Monotone setup ⇒ Bounded Dialectica4 Recursive syntactic translation from proofs in Constructive
Arithmetic (or Classical Arithmetic, modulo the double-negationtranslation) to proofs in Intuitionistic Arithmetic such that positiveoccurrences of ∃ and negative occurrences of ∀ in the proof’sconclusion get actually realized by terms in Gödel’s T.
5 Contraction Problem: –> choose between a number of realizersaccording to a boolean term associated to the contraction formula;Diller-Nahm: –> postpone all choices to the very end by collectingall candidates and making a single final global choice;Monotone Dialectica: –> use a simple common upper bound(maximum majorant) of the candidates =⇒ extract majorants
Exact realizer synthesis by Dialectica InterpretationExtraction and Soundness Theorem: There exists an algorithmwhich, given at input a WeZ ∃+ proof P : {C i}n
i=1 ` A [hence of theconclusion formula A, from the undischarged assumption formulas{C i}n
i=1 ] will produce at output 1) the tuples of terms T and {Ti}ni=1
2) the tuples of variables {xi}ni=1 and y 3) the verifying proof
PD : {C iD(xi ; Ti(x , y))}n
i=1 ` AD(T (x); y)
– where x :≡ x1, . . . , xn . Moreover,1 variables x and y are all completely new (not occur in P)2 the free variables of T and {Ti}n
i=1 are among the free variables ofA and {C i}n
i=1 (this one names “the free variable condition (FVC)for programs extracted by the Dialectica Interpretation”)
[ ⇒ x , y not occur free in the extracted terms {Ti}ni=1 and T ]
Notice that: Terms T and {Ti}ni=1 are not necessarily closed !!!
The Light Monotone Dialectica program extractionMajorant realizer synthesis by Light Monotone DialecticaTheorem: There ex. an algorithm which, given at input a WeZ ∃+
m proofP : {C i(ai)}n
i=1 ` A(a′) [hence of the conclusion formula A, whose freevariables form the tuple a, from the undischarged assumption formulas{C i}n
i=1 ] it will produce at output the following (a :≡ a1, . . . , an, a′):
1 tuples of terms {Ti [a]}ni=1 and T [a], with free variables among a
2 the tuples of variables {xi}ni=1 and y , all together with
3 the following verifying proof in WeZ ∃m (below let x :≡ x1, . . . , xn ):
` ∃Y1, . . . Yn, X [∧n
i=1 (λa . Ti) maj Yi ∧ (λa . T ) maj X ∧∀a, x , y ( {
∧ni=1 C i
D(xi ; Yi(a, x , y); ai)} → AD(X (a, x); y ; a) ) ]
Variables x and y do not occur in P (they are all completely new)
=⇒ x and y do not occur free in the extracted terms {Ti}ni=1 and T .
Was the Computer really necessary?1 Maybe not, but what if the problem were more complex/tedious ?2 Certainly helpful for preventing the human error ! Effectively !
Implementing Monotone Dialectica1 The “light” variant of Monotone Dialectica is the result of our
implementation effort ! Many operations which are “easy” for thehuman (mathematician) are not really that easy for the machine !
2 On the computer, the Goal is to produce programs in normal form !3
Hence improve the Nbe-normalization by its own Partial Evaluation=⇒ Normalization during Extraction (NdE) ⇐⇒ NbE-normalizethe term extracted for the conclusion of each Modus Ponens .
4 Only majorize at Contraction =⇒ produce a partial majorant whichis transformed at the end by replacing each R with its corresp. RM .
5 Why? Well, some of the R may be eliminated during the partialNbE-normalization ... Also use the more clever RM , with just 1 R.
A lot of Work to be done . . .1 Completely formalize and explore the limits of Normalization
during Extraction (NdE) ⇒ generic optimization for (tn..(t2(t1t0))..)2 Completely formalize these ad-hoc optimizations of the computerimplementation of Monotone Dialectica and combine with the “light”optimization brought by the use of quantifiers without comp. content3 We suspect that the use of these ncm quantifiers may eliminatesome of the comput. contractions in the Hered. Ext. Eq. extraction !This game-problem is already solved for a very particular case only !4 Find other more interesting T-terms tm , for which the modulus of
uniform continuity is far more difficult to find !5 Find other more interesting examples for the Proof Mining by the
Light (monotone) Dialectica on the Computer !6 Improve the human-interaction side of our Dialectica extraction
modules in MinLog, in order to render “MinLog for Dialectica” asan indispensable computer tool even for the more puremathematically oriented Proof Mining !
Short List of related Papers IU. Kohlenbach.Proof Interpretations and the Computational Content of Proofs.Lecture Course, latest version in the author’s web page.
U. Kohlenbach and P. Oliva.Proof Mining: a systematic way of analysing proofs inMathematics.Proc. of the Steklov Inst. of Mathem., 242:136–164, 2003.
U. Kohlenbach.Pointwise hereditary majorization and some applications.Arch. Math. Logic, 31:227–241, 1992.
U. Kohlenbach.Analysing proofs in Analysis.In Logic: from Foundations to Applications, Keele, 1993, EuropeanLogic Colloquium, pages 225–260. Oxford University Press, 1996.