Network


Latest external collaboration on country level. Dive into details by clicking on the dots.

Hotspot


Dive into the research topics where Andrea Vezzosi is active.

Publication


Featured researches published by Andrea Vezzosi.


computer science logic | 2016

Guarded Cubical Type Theory: Path Equality for Guarded Recursion

Lars Birkedal; Aleš Bizjak; Ranald Clouston; Hans Bugge Grathwohl; Bas Spitters; Andrea Vezzosi

This paper improves the treatment of equality in guarded dependent type theory (GDTT), by combining it with cubical type theory (CTT). GDTT is an extensional type theory with guarded recursive types, which are useful for building models of program logics, and for programming and reasoning with coinductive types. We wish to implement GDTT with decidable type-checking, while still supporting non-trivial equality proofs that reason about the extensions of guarded recursive constructions. CTT is a variation of Martin-Lof type theory in which the identity type is replaced by abstract paths between terms. CTT provides a computational interpretation of functional extensionality, is conjectured to have decidable type checking, and has an implemented type-checker. Our new type theory, called guarded cubical type theory, provides a computational interpretation of extensionality for guarded recursive types. This further expands the foundations of CTT as a basis for formalisation in mathematics and computer science. We present examples to demonstrate the expressivity of our type theory, all of which have been checked using a prototype type-checker implementation, and present semantics in a presheaf category.


asian symposium on programming languages and systems | 2014

A formalized proof of strong normalization for guarded recursive types

Andreas Abel; Andrea Vezzosi

We consider a simplified version of Nakano’s guarded fixed-point types in a representation by infinite type expressions, defined coinductively. Smallstep reduction is parametrized by a natural number “depth” that expresses under how many guards we may step during evaluation. We prove that reduction is strongly normalizing for any depth. The proof involves a typed inductive notion of strong normalization and a Kripke model of types in two dimensions: depth and typing context. Our results have been formalized in Agda and serve as a case study of reasoning about a language with coinductive type expressions.


Proceedings of the ACM on Programming Languages | 2017

Parametric quantifiers for dependent type theory

Andreas Nuyts; Andrea Vezzosi; Dominique Devriese

Polymorphic type systems such as System F enjoy the parametricity property: polymorphic functions cannot inspect their type argument and will therefore apply the same algorithm to any type they are instantiated on. This idea is formalized mathematically in Reynoldss theory of relational parametricity, which allows the metatheoretical derivation of parametricity theorems about all values of a given type. Although predicative System F embeds into dependent type systems such as Martin-Löf Type Theory (MLTT), parametricity does not carry over as easily. The identity extension lemma, which is crucial if we want to prove theorems involving equality, has only been shown to hold for small types, excluding the universe. We attribute this to the fact that MLTT uses a single type former Π to generalize both the parametric quantifier ∀ and the type former → which is non-parametric in the sense that its elements may use their argument as a value. We equip MLTT with parametric quantifiers ∀ and ∃ alongside the existing Π and Σ, and provide relation type formers for proving parametricity theorems internally. We show internally the existence of initial algebras and final co-algebras of indexed functors both by Church encoding and, for a large class of functors, by using sized types. We prove soundness of our type system by enhancing existing iterated reflexive graph (cubical set) models of dependently typed parametricity by distinguishing between edges that express relatedness of objects (bridges) and edges that express equality (paths). The parametric functions are those that map bridges to paths. We implement an extension to the Agda proof assistant that type-checks proofs in our type system.


Proceedings of the ACM on Programming Languages | 2017

Normalization by evaluation for sized dependent types

Andreas Abel; Andrea Vezzosi; Theo Winterhalter

Sized types have been developed to make termination checking more perspicuous, more powerful, and more modular by integrating termination into type checking. In dependently-typed proof assistants where proofs by induction are just recursive functional programs, the termination checker is an integral component of the trusted core, as validity of proofs depend on termination. However, a rigorous integration of full-fledged sized types into dependent type theory is lacking so far. Such an integration is non-trivial, as explicit sizes in proof terms might get in the way of equality checking, making terms appear distinct that should have the same semantics. In this article, we integrate dependent types and sized types with higher-rank size polymorphism, which is essential for generic programming and abstraction. We introduce a size quantifier ∀ which lets us ignore sizes in terms for equality checking, alongside with a second quantifier Π for abstracting over sizes that do affect the semantics of types and terms. Judgmental equality is decided by an adaptation of normalization-by-evaluation for our new type theory, which features type shape-directed reflection and reification. It follows that subtyping and type checking of normal forms are decidable as well, the latter by a bidirectional algorithm.


international symposium on functional and logic programming | 2016

Executable Relational Specifications of Polymorphic Type Systems Using Prolog

Ki Yung Ahn; Andrea Vezzosi

A concise, declarative, and machine executable specification of the Hindley–Milner type system (HM) can be formulated using logic programming languages such as Prolog. Modern functional language implementations such as the Glasgow Haskell Compiler support more extensive flavors of polymorphism beyond Milner’s theory of type polymorphism in the late 70’s. We progressively extend the HM specification to include more advanced type system features. An interesting development is that extending dimensions of polymorphism beyond HM resulted in a multi-staged solution: resolve the typing relations first, while delaying to resolve kinding relations, and then resolve the delayed kinding relations. Our work demonstrates that logic programing is effective for prototyping polymorphic type systems with rich features of polymorphism, and that logic programming could have been even more effective for specifying type inference if it were equipped with better theories and tools for staged resolution of different relations at different levels.


Journal of Automated Reasoning | 2018

Guarded Cubical Type Theory

Lars Birkedal; Aleš Bizjak; Ranald Clouston; Hans Bugge Grathwohl; Bas Spitters; Andrea Vezzosi

This paper improves the treatment of equality in guarded dependent type theory (


symposium on principles of programming languages | 2017

Decidability of conversion for type theory in type theory

Andreas Abel; Joakim Öhman; Andrea Vezzosi


trends in functional programming | 2015

Lightweight Higher-Order Rewriting in Haskell

Emil Axelsson; Andrea Vezzosi

\mathsf {GDTT}


computer science logic | 2015

Functions out of Higher Truncations

Paolo Capriotti; Nicolai Kraus; Andrea Vezzosi


Archive | 2017

Parametric quantifiers for dependent types

Andreas Nuyts; Andrea Vezzosi; Dominique Devriese

GDTT), by combining it with cubical type theory (

Collaboration


Dive into the Andrea Vezzosi's collaboration.

Top Co-Authors

Avatar
Top Co-Authors

Avatar
Top Co-Authors

Avatar
Top Co-Authors

Avatar
Top Co-Authors

Avatar

Andreas Nuyts

Katholieke Universiteit Leuven

View shared research outputs
Top Co-Authors

Avatar

Dominique Devriese

Katholieke Universiteit Leuven

View shared research outputs
Top Co-Authors

Avatar

Bas Spitters

Radboud University Nijmegen

View shared research outputs
Top Co-Authors

Avatar

Emil Axelsson

Chalmers University of Technology

View shared research outputs
Top Co-Authors

Avatar

Theo Winterhalter

École Normale Supérieure

View shared research outputs
Top Co-Authors

Avatar

Ki Yung Ahn

Portland State University

View shared research outputs
Researchain Logo
Decentralizing Knowledge