Aaron Stump

Iowa Type Theory Commute

Aaron Stump talks about type theory, computational logic, and related topics in Computer Science on his short commute.

Besuch unbedingt die Website des Podcasts und unterstütze die Macher: www.cs.uiowa.edu

Autor

Aaron Stump

Kategorie

Technology

Podcast-Website

www.cs.uiowa.edu

Neueste Folge

21.10.2026

Wo hören?

Podcasts in der App Replaio Radio Bald verfügbar

Podcasts kommen bald in die App. Installiere sie jetzt und erlebe als Erster einen ganz neuen Blick auf Podcasts

Bei Google Play herunterladen Kostenlos installieren Android 10 Mio.+ Downloads · Bewertung 4,7+ iOS bald

Folgen

Duplicating redexes as the central problem of optimal reduction 21.06.2020

We discussed last time how with a graph-sharing implementation of untyped lambda calculus, it can happen that you are forced to break sharing and copy a lambda abstraction.  We discuss in this episode the central issue with doing that, namely copying redexes and copying applications which could turn into redexes following other beta reductions.  The high-level idea of the proposed solution is also...

Introduction to optimal beta reduction 16.06.2020

Some background on optimal beta reduction: Levy, Lamping.  The main problem to overcome is duplicating a lambda abstraction that is used in two different places in your term.  The solution is to try to duplicate it incrementally.

Lexicographic termination 03.06.2020

Many termination checkers support lexicographic (structural) recursion.  The lexicographic combination of orderings on sets A and B is an ordering on A x B where a pair decreases if the A component does (and then the B component can increase unboundedly) or else the A component stays the same and the B component decreases.  Connections with nested recursion and ordinals discussed.

Well-founded recursion 19.05.2020

Well-founded recursion is a technique to turn recursion which decreases along a well-founded ordering into a structural recursion.

Mendler-style iteration 19.05.2020

Another type-based approach to termination-checking for recursive functions over inductive datatypes is to use so-called Mendler-style iteration.  On this approach, we write recursive functions by coding against a certain interface that features an abstract type R, which abstracts the datatype over which we are recursing; and a function from R to the result type of the recursion.  Subdata of the i...

Compositional termination checking with sized types 30.03.2020

Discussion of a compositional method of termination checking using so-called sized types.  Datatypes are indexed by sizes, and recursive calls can only be made on data of strictly smaller size than the data as input to the recursion.  Since the method is type-based, it is compositional: we can break out helper functions from a recursive function and not upset the termination checker.  A readable a...

Noncompositionality of syntactic structural-recursion checks 20.03.2020

Review of need for termination analysis for recursive functions on inductive datatypes.  Discussion of a serious problem with syntactic termination checks, namely noncompositionality.  A function may pass the syntactic termination check, but abstracting part of it out into a helper function may result in code which no longer passes the check.  So we need a compositional termination check, which wi...

Structural termination 17.03.2020

Start of Chapter 8 of the podcast, on termination checking in type theory, and strong functional programming.  Discussion of a little history of adding datatypes to the original pure type theory of Coq (called the Calculus of Constructions).  Considering the most basic form of termination checking, which is checking syntactically that recursive calls are only made on subdata of the data input to t...

Proving Confluence for Untyped Lambda Calculus II 13.03.2020

Discussion of the basic idea of the Tait--Martin-Loef proof of confluence for untyped lambda calculus.  Let me know any requests for what to discuss in Chapter 8!

Proving Confluence for Untyped Lambda Calculus I 13.03.2020

Start of discussion on how to prove confluence for untyped lambda calculus.  Also some discussion about the research community interested in confluence.

Confluence, and its use for conversion checking 11.03.2020

The basic property of confluence of a nondeterministic reduction semantics: if from starting term t you can reach t1 and also t2 (by two finite reduction sequences), then there is some t3 to which t1 and t2 both reduce in a finite number of steps.  The use of confluence for ensuring completeness of the conversion-checking algorithm that tests conversion of t1 and t2 by normalizing both terms and c...

Normalization and logical consistency 09.03.2020

Discussion of the connection between normalization and logical consistency.  One approach is to prove normalization and type preservation, to show (in proof-theoretic terms) that all detours can be eliminated from proofs (this is normalization) and that the resulting proof still proves the same theorem (this is type preservation).  I mention an alternative I use for Cedille, which is to use a real...

Normalization in type theory: where it is needed, and where not 06.03.2020

Normalization (every term reaches a normal form via some reduction sequence) is needed essentially in type theory due to the Curry-Howard isomorphism: diverging programs become unsound proofs.  Traditionally, type theorists have also desired normalization or even termination (every term reaches a normal form no matter what reduction sequence is explored in a nondeterministic operational semantics)...

Introduction to normalization 06.03.2020

Discussion of normalization (there is some way to reach a normal form) versus termination (no matter how you execute the term you reach a normal form).  A little more discussion of strong FP.  For type theory, the need for normalization due to Curry-Howard and due to conversion checking.

Proving type safety; upcoming metatheoretic properties 04.03.2020

Type safety proofs are big confirmations requiring consideration of all your operational and typing rules.  So they rarely contain much deep insight, but are needed to confirm your language's type system is correct.  Looking ahead, this episode also talks about the different between normalization and termination when your language is nondeterministic, and the property of confluence. 

The progress property and the problem of axioms in type theory 04.03.2020

We review the metatheoretic property of type safety, decomposed into two properties called type preservation and progress.  Discussion of progress in the context of type theory, where adding axioms can lead to a failure of progress.

Introduction to type safety 02.03.2020

Type safety is a basic property of both statically typed programming languages and type theories.  It has traditionally (past few decades) been decomposed into type preservation and progress.  Type preservation says that if a program expression e has some type T, then running e a bit will give a result that still has type T (and type preservation would apply again to that result, to preserve the t...

Introduction to metatheory 28.02.2020

Metatheory is concerned with proving properties about theories, in this case type theories or programming languages.  

Definition of the Mendler encoding 26.02.2020

We consider using Mendler's technique of abstracting out problematic types with new type variables, and how this can yield a lambda encoding where the programmer is in charge of when to make recursive calls (rather than in the Church encoding, where the data present the programmer's combining function with the results of all possible recursive calls on immediate subdata).

The Mendler encoding and the problem of explicit recursion 25.02.2020

The Church encoding allows definition of certain recursive functions, but all the recursive calls are implicit.  The encoding simply presents you with the results of recursion for all immediate subdata.  Using a technique due to Mendler, an encoding is possible where recursions are explicitly made by the combining functions given to the data.

The Scott encoding 24.02.2020

In this episode we briefly review the Church and Parigot encodings (discussed previously in Chapter 6 of this podcast) and then consider the Scott encoding, where combining functions receive only the immediate subdata of the data.

More on the Parigot encoding 22.02.2020

The Parigot encoding has exponential-size normal forms: but don't panic!  With a decent graph-sharing implementation of lambda calculus, they take linear space in memory.

Introduction to the Parigot encoding 18.02.2020

The Parigot encoding solves the Church encoding's problem of inefficient predecessor.  It can be typed using positive-recursive types, which preserve normalization of the type theory.

Church-encoding natural numbers 17.02.2020

What is fold-right for a natural number?  How do we define addition with this?  The problem of inefficient predecessor.

Church encoding of lists 15.02.2020

We consider fold-right for lists, and its static type.  The Church encoding for lists makes them into their own fold-right functions

Höre den Podcast Iowa Type Theory Commute in Replaio

Radio und Podcasts in einer App - kostenlos und ohne Anmeldung. Installiere sie noch heute und verpasse den Start nicht

Bei Google Play herunterladen

Replaio ist kein Herausgeber von Podcasts; die Namen der Sendungen, Cover und Audioinhalte gehören ihren Autoren und werden über öffentliche RSS-Feeds verbreitet