unifying functional interpretations of nonstandard
play

Unifying functional interpretations of nonstandard/uniform - PowerPoint PPT Presentation

Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu Ludwig-Maximilians-Universit at M unchen


  1. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu Ludwig-Maximilians-Universit¨ at M¨ unchen Special session on Proof Theory and Constructivism at Logic Colloquium 2018 Udine, Italy, 24th July 2018 Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

  2. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Introduction Motivation: computational content of mathematical proofs ◮ Efficiency of program extraction Observation: shorter proof ⇒ faster extraction & simpler term Proofs in Nonstandard Analysis are usually shorter. ◮ Scope of mathematics to extract We want to extract computational content from more mathematics Program extraction of classical Nonstandard Analysis has a large scope 1 . ◮ Computer implementation/formalisation Goals: verified proofs & efficient programs 1 S. Sanders. The computational content of Nonstandard Analysis , in Proceedings CL&C 2016, arXiv:1606.05820, 2016. Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

  3. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Introduction In this talk, we ◮ Reformulate van den Berg et al .’s Herbrand functional interpretations 2 for nonstandard arithmetic in a way that is suitable for a type-theoretic development. ◮ Introduce a parametrised functional interpretation, following Oliva 3 ◮ unifying both the Herbrand functional interpretations (for nonstandard arithmetic) as well as the usual ones (for uniform Heyting arithmetic 4 ) ◮ with a single, parametrised soundness proof (and term extraction algorithm). ◮ Implement it in the Agda proof assistant using Agda’s parameterised module system (and rewriting). 2 B. van den Berg, E. Briseid, and P. Safarik, A functional interpretation for nonstandard arithmetic , Annals of Pure and Applied Logic 163 (2012), no. 12, 1962–1994. 3 P. Oliva, Unifying functional interpretations , Notre Dame J. Formal Logic 47 (2006), no. 2, 263–290. 4 U. Berger, Uniform Heyting arithmetic , Annals of Pure and Applied Logic 133 (2005), no. 1, 125–148. Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

  4. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Herbrand Dialectica interpretation Heyting arithmetic with finite types HA ω Term language T: Simply typed lambda calculus (or SKI) + natural numbers and recursor Logic language: Intuitionistic logic + arithmetic axioms (incl. the induction axiom) ◮ Equality of natural numbers only (I-HA ω ) so that its Dialectica interpretation is sound ◮ Can be embedded as 4 inductive datatypes within dependent type theory Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

  5. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Herbrand Dialectica interpretation A constructive system of nonstandard arithmetic Term language T ∗ : T + finite sequences σ ∗ to simulate finite sets for formulating the nonstandard axioms HA ω ∗ : ≡ HA ω + axioms for finite sequences : ≡ HA ω ∗ + st predicate + axioms for st + external induction principle HA ω ∗ st Φ(0) ∧ ∀ st n (Φ( n ) → Φ( s n )) → ∀ st n Φ( n ) We add ∀ st , ∃ st and axioms ∀ st xA ↔ ∀ x ( st ( x ) → A ) , ∃ st xA ↔ ∃ x ( st ( x ) ∧ A ) System H : ≡ HA ω ∗ + 5 nonstandard axioms (characterisation of Dialectica) st Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

  6. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Herbrand Dialectica interpretation Herbrand Dialectica interpretation Idea: Each formula Φ( a ) in HA ω ∗ is interpreted as ∃ st x ∀ st yϕ D st ( a, x, y ) st where x is a finite sequence of potential realisers, and ϕ D st ( a, x, y ) is internal. In van den Berg et al. , it is (informally) defined as follows Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

  7. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Herbrand Dialectica interpretation Types of realisers and counterexamples For a formal (type-theoretic) development, we calculate the types d + Φ of (actual) realisers and d − Φ of counterexamples for formula Φ : ◮ Compare to the original Dialectica interpretation (st , ∀ st , ∃ st , ∗ ) ◮ Variables quantified by ∀ , ∃ have no computational contents Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

  8. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Herbrand Dialectica interpretation Our formulation of the Herbrand Dialectica interpretation For every formula Φ and terms r : ( d + Φ) ∗ and u : d − Φ , we define an internal formula Φ D st ( r, u ) by induction on Φ : The Herbrand Dialectica interpretation Φ D st of a formula Φ is defined by Φ D st : ≡ ∃ st x ( d + Φ) ∗ ∀ st y d − Φ Φ D st ( x, y ) Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

  9. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Herbrand Dialectica interpretation Soundness of the Herbrand Dialectica interpretation Theorem (van den Berg et al . 2012). Let Φ be a formula of system H and let ∆ int be a set of internal formulas. If H + ∆ int ⊢ Φ then from the proof one can extract a closed term t : ( d + Φ) ∗ in T ∗ such that HA ω ∗ + ∆ int ⊢ ∀ y d − Φ Φ D st ( t, y ) . Proof. By induction on the length of the derivation. Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

  10. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Unifying functional interpretations Another functional interpretation of H: Herbrand realisability We firstly work out the types τ (Φ) of (acutal) realisers for formula Φ . Then for each formula Φ and term s : ( τ Φ) ∗ we define s hr Φ Similar to the situation of (standard) Dialectica and modified realisability, their Herbrand variants differ in the interpretation of implication. Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

  11. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Unifying functional interpretations First attempt to unify Herbrand functional interpretations As in Oliva 2006, we introduced an uninterpreted bounded universal quantifier ∀ x ⊏ tA ( x ) where x : σ is a variable and t : σ ∗ is a term. Then the parametrised formula interpretation | A | x y is almost the same as the D st -interpretation except the case of implication v → | B | R 1 [ s ] | A → B | R s,u : ≡ ∀ v ⊏ R 2 [ s, u ] | A | s . u ◮ Take ∀ x ⊏ tA ( x ) to be ∀ x ∈ tA ( x ) , then we get the Herbrand Dialectica. ◮ Take ∀ x ⊏ tA ( x ) to be ∀ st xA ( x ) , then we get the Herbrand realisability (because s hr A ↔ ∀ st u | A | s u ). Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

  12. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Unifying functional interpretations Parametrised formula interpretation We want a more general parametrised formula interpretation to obtain also the standard functional interpretations via its instantiations. ≡ HA ω ∗ + st The interpreted system: HA ω ∗ st The verifying system: HA ◦ ≡ HA ω ∗ + σ ◦ + t ǫ w + ∀ x ⊏ tA ( x ) ◮ σ ◦ behaves as the type of finite sequences, e.g. ◮ ‘singleton’ σ → σ ◦ ◮ ‘concatenation’ σ ◦ × σ ◦ → σ ◦ ◮ ‘pairing’ σ ◦ × ρ ◦ → ( σ × ρ ) ◦ ◮ ‘projections’ ( σ 0 × σ 1 ) ◦ → σ i ◮ ‘application’ ( σ → ρ ◦ ) ◦ × σ ◦ → ρ ◦ ◮ t ǫ w behaves as the membership relation for t : σ and w : σ ◦ ◮ ∀ x ⊏ wA ( x ) behaves as a bounded, universal quantifier for x : σ and w : σ ◦ Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

  13. Introduction Herbrand Dialectica interpretation Unifying functional interpretations Discussion and summary Unifying functional interpretations Parametrised formula interpretation (cont.) Each formula Φ is associated with types τ + Φ and τ − Φ : For each formula Φ and terms r : ( τ + Φ) ◦ and u : τ − Φ , we define formula | Φ | r u Parametrised formula interpretation P st (Φ) : ≡ ∃ st x ( τ + Φ) ◦ ∀ st y τ − Φ | Φ | x y Unifying functional interpretations of nonstandard/uniform arithmetic Chuangjie Xu, LMU Munich

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend