137 research outputs found

    Quantitative Continuity and Computable Analysis in Coq

    Get PDF
    We give a number of formal proofs of theorems from the field of computable analysis. Many of our results specify executable algorithms that work on infinite inputs by means of operating on finite approximations and are proven correct in the sense of computable analysis. The development is done in the proof assistant Coq and heavily relies on the Incone library for information theoretic continuity. This library is developed by one of the authors and the results of this paper extend the library. While full executability in a formal development of mathematical statements about real numbers and the like is not a feature that is unique to the Incone library, its original contribution is to adhere to the conventions of computable analysis to provide a general purpose interface for algorithmic reasoning on continuous structures. The paper includes a brief description of the most important concepts of Incone and its sub libraries mf and Metric. The results that provide complete computational content include that the algebraic operations and the efficient limit operator on the reals are computable, that the countably infinite product of a space with itself is isomorphic to a space of functions, compatibility of the enumeration representation of subsets of natural numbers with the abstract definition of the space of open subsets of the natural numbers, and that continuous realizability implies sequential continuity. We also describe many non-computational results that support the correctness of definitions from the library. These include that the information theoretic notion of continuity used in the library is equivalent to the metric notion of continuity on Baire space, a complete comparison of the different concepts of continuity that arise from metric and represented space structures and the discontinuity of the unrestricted limit operator on the real numbers and the task of selecting an element of a closed subset of the natural numbers

    Continuous and monotone machines

    Get PDF
    We investigate a variant of the fuel-based approach to modeling diverging computation in type theories and use it to abstractly capture the essence of oracle Turing machines. The resulting objects we call continuous machines. We prove that it is possible to translate back and forth between such machines and names in the standard function encoding used in computable analysis. Put differently, among the operators on Baire space, exactly the partial continuous ones are implementable by continuous machines and the data that such a machine provides is a description of the operator as a sequentially realizable functional. Continuous machines are naturally formulated in type theories and we have formalized our findings in Coq as part of Incone, a Coq library for computable analysis. The correctness proofs use a classical meta-theory with countable choice. Along the way we formally prove some known results such as the existence of a self-modulating modulus of continuity for partial continuous operators on Baire space. To illustrate their versatility we use continuous machines to specify some algorithms that operate on objects that cannot be fully described by finite means, such as real numbers and functions. We present particularly simple algorithms for finding the multiplicative inverse of a real number and for composition of partial continuous operators on Baire space. Some of the simplicity is achieved by utilizing the fact that continuous machines are compatible with multivalued semantics

    Computability in constructive type theory

    Get PDF
    We give a formalised and machine-checked account of computability theory in the Calculus of Inductive Constructions (CIC), the constructive type theory underlying the Coq proof assistant. We first develop synthetic computability theory, pioneered by Richman, Bridges, and Bauer, where one treats all functions as computable, eliminating the need for a model of computation. We assume a novel parametric axiom for synthetic computability and give proofs of results like Rice’s theorem, the Myhill isomorphism theorem, and the existence of Post’s simple and hypersimple predicates relying on no other axioms such as Markov’s principle or choice axioms. As a second step, we introduce models of computation. We give a concise overview of definitions of various standard models and contribute machine-checked simulation proofs, posing a non-trivial engineering effort. We identify a notion of synthetic undecidability relative to a fixed halting problem, allowing axiom-free machine-checked proofs of undecidability. We contribute such undecidability proofs for the historical foundational problems of computability theory which require the identification of invariants left out in the literature and now form the basis of the Coq Library of Undecidability Proofs. We then identify the weak call-by-value λ-calculus L as sweet spot for programming in a model of computation. We introduce a certifying extraction framework and analyse an axiom stating that every function of type ℕ → ℕ is L-computable.Wir behandeln eine formalisierte und maschinengeprüfte Betrachtung von Berechenbarkeitstheorie im Calculus of Inductive Constructions (CIC), der konstruktiven Typtheorie die dem Beweisassistenten Coq zugrunde liegt. Wir entwickeln erst synthetische Berechenbarkeitstheorie, vorbereitet durch die Arbeit von Richman, Bridges und Bauer, wobei alle Funktionen als berechenbar behandelt werden, ohne Notwendigkeit eines Berechnungsmodells. Wir nehmen ein neues, parametrisches Axiom für synthetische Berechenbarkeit an und beweisen Resultate wie das Theorem von Rice, das Isomorphismus Theorem von Myhill und die Existenz von Post’s simplen und hypersimplen Prädikaten ohne Annahme von anderen Axiomen wie Markov’s Prinzip oder Auswahlaxiomen. Als zweiten Schritt führen wir Berechnungsmodelle ein. Wir geben einen kompakten Überblick über die Definition von verschiedenen Berechnungsmodellen und erklären maschinengeprüfte Simulationsbeweise zwischen diesen Modellen, welche einen hohen Konstruktionsaufwand beinhalten. Wir identifizieren einen Begriff von synthetischer Unentscheidbarkeit relativ zu einem fixierten Halteproblem welcher axiomenfreie maschinengeprüfte Unentscheidbarkeitsbeweise erlaubt. Wir erklären solche Beweise für die historisch grundlegenden Probleme der Berechenbarkeitstheorie, die das Identifizieren von Invarianten die normalerweise in der Literatur ausgelassen werden benötigen und nun die Basis der Coq Library of Undecidability Proofs bilden. Wir identifizieren dann den call-by-value λ-Kalkül L als sweet spot für die Programmierung in einem Berechnungsmodell. Wir führen ein zertifizierendes Extraktionsframework ein und analysieren ein Axiom welches postuliert dass jede Funktion vom Typ N→N L-berechenbar ist

    O Programa de Pagamentos por Serviços Ambientais na Costa Rica: uma avaliação dos primeiros anos do programa

    Get PDF
    Costa Rica’s Payment for Environmental Services Program–PESP was launched in 1997. It is a market-oriented policy instrument designed to stimulate forest conservation by making monetary payments to landowners who choose not to engage in deforestation or to engage in forest recovery or plantations on their properties. This article focuses on the basic concepts and on the early years of the program’s performance, using data published by the program’s management agency as well as data and analysis published in a limited number of the numerous texts that examine this pioneering experience in payments for environmental services. Findings show that in its early years (between 1997 and approximately 2003) the program managed to reverse a severe process of deforestation and even expand the total area of forested lands in Costa Rica. It corrected market failures and created trade opportunities linked to the market of environmental services. It benefitted larger landowners in a more than proportional manner, a fact that precluded it from being simultaneously a poverty alleviation program. The conclusion is that the program, if targeted more precisely at small landowners, can serve as a model for comparable forest protection policies in developing countries, reducing deforestation rates, changing land uses and expanding forest cover, besides mitigating rural poverty.O Programa de Pagamentos por Serviços Ambientais (PESP) da Costa Rica foi lançado em 1997. Trata-se de uma política orientada para o mercado que visa estimular a conservação de florestas por meio de pagamentos feitos diretamente a donos de terras que optam voluntariamente por não se engajar em ações de desmatamento ou que se engajam em ações de recuperação florestal ou de plantios de árvores. Este artigo focaliza os conceitos básicos do programa e no seu desempenho em seus primeiros anos, usando como bases dados publicados pela gerência do programa e um número restrito dos numerosos textos que analisam e avaliam essa experiência pioneira em PSA. Os achados mostram que o programa conseguiu reverter um quadro agudo de desmatamento que vinha ocorrendo desde a década de 1960; entre 1997 e 2003, aproximadamente, contribuiu até para uma expansão líquida da área florestada do país. Além disso, ele corrigiu falhas de mercado e criou oportunidades para transações ligadas ao mercado de serviços ambientais. Foi constatado ainda que os maiores donos de terra engajados no programa foram beneficiados de uma forma mais do que proporcional aos seus números e que isso impediu que o programa assumisse o caráter simultâneo de mitigação da pobreza rural. A conclusão é que o programa, se direcionado com maior precisão para os pequenos proprietários de terra, é justificadamente adotado como referência e modelo para políticas comparáveis de proteção florestal em países em desenvolvimento, reduzindo os índices de desmatamento, mudando usos da terra, expandindo a cobertura florestal e mitigando a pobreza rural

    Programming Languages and Systems

    Get PDF
    This open access book constitutes the proceedings of the 28th European Symposium on Programming, ESOP 2019, which took place in Prague, Czech Republic, in April 2019, held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2019
    • …
    corecore