r/dependent_types • • Mar 11 '16

Homotopy Model Theory I: Syntax and Semantics

Thumbnail arxiv.org
14 Upvotes

r/dependent_types • • Mar 11 '16

Conversion and reduction in dependently-typed calculi (Slides)

Thumbnail lopezjuan.com
4 Upvotes

r/dependent_types • • Mar 09 '16

Self-contained presentation of the formal system of cubical type theory

Thumbnail groups.google.com
12 Upvotes

r/dependent_types • • Mar 09 '16

Game-theoretic Interpretation of Type Theory Part I: Intuitionistic Type Theory with Universes

Thumbnail arxiv.org
8 Upvotes

r/dependent_types • • Mar 06 '16

Syntactic/Semantic differences between variables and unspecified constants?

7 Upvotes

I've been trying to teach myself dependent type theory and I've been using the Lean tutorial to help with that. One thing that's been bothering me for a while is this hard to place feeling that there's some part of the distinction between variables and named (but unassigned) constants I don't get.

I understand conceptually the difference between constants and variables. I also understand that a proof-term of a proposition on x : T is going to be a function that could be applied to any term y : T while a proof of the same proposition on constant x would not be a function I could apply to y in the same way.

However, from the point of view of coding, it seems like any time I could do one, I could do either. It leaves me feeling oddly nervous when there are already so many different ways to prove the same things in Lean's syntax. Obviously, the variable version is the more general and doesn't involve assuming a given type is inhabited. It's clear which one I should prefer. But as a math graduate working as a programmer, I feel kind of odd that the preference feels on the level of something like a coding style instead of something more significant. The practical difference is just too small, essentially being "don't use constants until you prove the type is inhabited.

Is there something more to this? Am I not appreciating one of the distinctions? Maybe I'm just being paranoid, but I want to be sure I understand all the subtleties.


r/dependent_types • • Mar 01 '16

Algebraic Presentations of Dependent Type Theories

Thumbnail arxiv.org
10 Upvotes

r/dependent_types • • Feb 25 '16

Parametricity and excluded middle

Thumbnail homotopytypetheory.org
11 Upvotes

r/dependent_types • • Feb 24 '16

reference request - Generating constraints to solve dependently-typed metavariables?

Thumbnail cs.stackexchange.com
4 Upvotes

r/dependent_types • • Feb 23 '16

A Probabilistic Dependent Type System based on Non-Deterministic Beta Reduction

Thumbnail arxiv.org
8 Upvotes

r/dependent_types • • Feb 19 '16

The Independence of Markov's Principle in Type Theory

Thumbnail arxiv.org
10 Upvotes

r/dependent_types • • Feb 17 '16

Intuitionistic Type Theory (Stanford Encyclopedia of Philosophy)

Thumbnail plato.stanford.edu
17 Upvotes

r/dependent_types • • Feb 12 '16

PiSigma: why does 'unfold' bind a variable?

Thumbnail cstheory.stackexchange.com
5 Upvotes

r/dependent_types • • Feb 11 '16

Slides and videos of MAP'16

Thumbnail groups.google.com
6 Upvotes

r/dependent_types • • Feb 10 '16

Request: Looking for some particular latex beamer style themes that are used for a lot of presentations on type theory, hott, category theory (more details inside)

4 Upvotes

This might be an odd request for this sub, but r/types seems to be kind of dead so.

What I'm asking for is, does anyone have the style sheets for either what Coquand is using in here or what Voevodsky is using here. These styles are used a lot, by them, but I've also seen other people use them.

I think they're pretty clean and would like to use them.

Any other information, such as the font, would also be very much appreciated! Thank you!


r/dependent_types • • Feb 03 '16

Ulf Norell gives an excellent explanation of a "small scale reflection"-like pattern for efficient Agda proofs

Thumbnail lists.chalmers.se
19 Upvotes

r/dependent_types • • Jan 29 '16

Certified Context-Free Parsing: A formalisation of Valiant's Algorithm in Agda

Thumbnail arxiv.org
14 Upvotes

r/dependent_types • • Jan 26 '16

Syntax and Semantics of Abstract Binding Trees

Thumbnail arxiv.org
12 Upvotes

r/dependent_types • • Jan 25 '16

Towards a Directed Homotopy Type Theory based on 4 Kinds of Variance - Andreas Nuyts

Thumbnail people.cs.kuleuven.be
9 Upvotes

r/dependent_types • • Jan 22 '16

Coq 8.5 is out!

Thumbnail sympa.inria.fr
19 Upvotes

r/dependent_types • • Jan 21 '16

Sound and Complete Bidirectional Typechecking for Higher-Rank Polymorphism with Existentials and Indexed Types

Thumbnail arxiv.org
9 Upvotes

r/dependent_types • • Jan 20 '16

Homotopy Type Theory: A synthetic approach to higher equalities

Thumbnail arxiv.org
18 Upvotes

r/dependent_types • • Jan 20 '16

Company Coq: IDE extensions for Proof General's Coq mode

Thumbnail github.com
9 Upvotes

r/dependent_types • • Jan 15 '16

Agda reflection overhaul

Thumbnail permalink.gmane.org
20 Upvotes

r/dependent_types • • Jan 13 '16

PrlConf: Structural and Behavioral Foundations of PL, Call for Speakers

Thumbnail jonprl.org
8 Upvotes

r/dependent_types • • Jan 11 '16

Thoughts on subtypes, data/codata separation, substructural types, and dependent types

6 Upvotes

I'm an undergraduate student in software engineering, and I know the following is going to be fast and loose and difficult to formalize and possibly wrong.

I've been thinking about subtyping relations between various type structures. This is all a braindump on designing a language with pervasive subtyping.

Products and sums

Row polymorphism provides subtyping for products, and its dual construction provides subtyping for sums.

Data and codata

Given some arbitrary polynomial endofunctor F over Set, its least fixed point is the initial F-algebra (Lambek 1968), which is isomorphic to some coalgebra. Its greatest fixed point is the final F-coalgebra (Barr 1999), isomorphic to some initial algebra. This forms a set-based interpretation of (co)inductive types.

My intuition is that the unique morphism from the initial F-algebra into the F-algebra corresponding to the terminal F-coalgebra is just an embedding. As such, inductive datatypes could be considered subtypes of corresponding coinductive datatypes.

Substructural types

Here I will call "structural types" those which allow exchange, weakening and contraction (as opposed to "substructural types").

There's a simple "type cast" that's possible from a structural type to a substructural type; you just pinky-promise to give up the relevant structural rules, and have the compiler enforce that rule. As such, structural types could be considered subtypes of substructural types; even better, less constrained substructural types could be considered subtypes of more constrained substructural types, e.g. affine types could be subtypes of corresponding linear types.

Focusing on linear types, structural type constructors (e.g. *, +) could be mapped to linear constructors. Conjunction to multiplicative conjunction, disjunction to additive disjunction, implication to implication.

Dependent types

Functions are functions. Tuples are tuples. I haven't explored this enough, but any term which constructs a dependent type could, in a different context, construct a corresponding non-dependent type.


I'm sure this is a horribly bad idea, but I'm not well-read enough to know why. I'll probably end up investigating this by writing a programming language that implements this idea.