6 research outputs found

    The cost of usage in the 位-calculus

    Get PDF
    Abstract-A new "inductive" approach to standardization for the 位-calculus has been recently introduced by Xi, allowing him to establish a double-exponential upper bound |M | 2 |蟽| for the length of the standard reduction relative to an arbitrary reduction 蟽 originated in M . In this paper we refine Xi's analysis, obtaining much better bounds, especially for computations producing small normal forms. For instance, for terms reducing to a boolean, we are able to prove that the length of the standard reduction is at most a mere factorial of the length of the shortest reduction sequence. The methodological innovation of our approach is that instead to try to count the cost for producing something, as customary, we count the cost of consuming things. The key observation is that the part of a 位-term that is needed to produce the normal form (or an arbitrary rigid prefix) may rapidly augment along a computation, but can only decrease very slowly (actually, linearly)

    A machine-checked proof of the Standardization Theorem in Lambda Calculus using multiple substitution

    Get PDF
    Incluye bibliograf铆a y anexos.Incluye archivos complementarios.En el siguiente trabajo se presenta la formalizaci贸n en Agda del Teorema de Estandarizaci贸n para el C谩lculo Lambda. Se presenta un corolario del Teorema de Estandarizaci贸n junto con la demostraci贸n del teorema de reducci贸n m谩s izquierdista (leftmost reduction). Si bien existen formalizaciones de estos resultados, lo innovador que se desarrolla en la presente tesis, consiste en el apego de la formalizaci贸n del C谩lculo Lambda a su presentaci贸n usual (variables con nombres). El C谩lculo Lambda constituye el fundamento te贸rico de lenguajes de programaci贸n funcionales. En la primera parte de este trabajo se rese帽a la formalizaci贸n del C谩lculo Lambda que se utiliza como base para el desarrollo de los cap铆tulos siguientes e introduce ciertas definiciones propias. En el tercer cap铆tulo se presenta lo m谩s sustancial de la tesis: las definiciones de diferentes nociones de reducci贸n que permiten probar el Teorema de Estandarizaci贸n que ser谩 en t茅rminos de una secuencia de reducci贸n est谩ndar. Primero se presentan las nociones de contracci贸n del redex m谩s izquierdista y luego la noci贸n de reducci贸n del redex en la cabecera (de una aplicaci贸n). Se demuestra una definici贸n inductiva equivalente a secuencias de reducci贸n est谩ndar. En este cap铆tulo se van desplegando los lemas necesarios para obtener el teorema de estandarizaci贸n. En el cuarto cap铆tulo de la tesis se aprovecha el Teorema de Estandarizaci贸n para probar que si un t茅rmino tiene forma normal, esta es alcanzable por la estrategia de reducci贸n leftmost-outermost. Concluye con la comparaci贸n de este desarrollo con otras formalizaciones del mismo resultado y propone algunas l铆neas para continuarlo

    Extending Implicit Computational Complexity and Abstract Machines to Languages with Control

    Get PDF
    The Curry-Howard isomorphism is the idea that proofs in natural deduction can be put in correspondence with lambda terms in such a way that this correspondence is preserved by normalization. The concept can be extended from Intuitionistic Logic to other systems, such as Linear Logic. One of the nice conseguences of this isomorphism is that we can reason about functional programs with formal tools which are typical of proof systems: such analysis can also include quantitative qualities of programs, such as the number of steps it takes to terminate. Another is the possiblity to describe the execution of these programs in terms of abstract machines. In 1990 Griffin proved that the correspondence can be extended to Classical Logic and control operators. That is, Classical Logic adds the possiblity to manipulate continuations. In this thesis we see how the things we described above work in this larger context

    Automated Reasoning

    Get PDF
    This volume, LNAI 13385, constitutes the refereed proceedings of the 11th International Joint Conference on Automated Reasoning, IJCAR 2022, held in Haifa, Israel, in August 2022. The 32 full research papers and 9 short papers presented together with two invited talks were carefully reviewed and selected from 85 submissions. The papers focus on the following topics: Satisfiability, SMT Solving,Arithmetic; Calculi and Orderings; Knowledge Representation and Jutsification; Choices, Invariance, Substitutions and Formalization; Modal Logics; Proofs System and Proofs Search; Evolution, Termination and Decision Prolems. This is an open access book

    Standardization and Confluence in Pure Lambda-Calculus Formalized for the Matita Theorem Prover

    No full text
    We present a formalization of pure ?-calculus for the Matita interactive theorem prover, including the proofs of two relevant results in reduction theory: the confluence theorem and the standardization theorem. The proof of the latter is based on a new approach recently introduced by Xi and refined by Kashima that, avoiding the notion of development and having a neat inductive structure, is particularly suited for formalization in theorem provers

    Beta-Conversion, Efficiently

    Get PDF
    Type-checking in dependent type theories relies on conversion, i.e. testing given lambda-terms for equality up to beta-evaluation and alpha-renaming. Computer tools based on the lambda-calculus currently implement conversion by means of algorithms whose complexity has not been identified, and in some cases even subject to an exponential time overhead with respect to the natural cost models (number of evaluation steps and size of input lambda-terms). This dissertation shows that in the pure lambda-calculus it is possible to obtain conversion algorithms with bilinear time complexity when evaluation is carried following evaluation strategies that generalize Call-by-Value to the stronger case required by conversion
    corecore