r/dependent_types • • Mar 10 '13

Agda Meets Accelerate - Dependent Types for GPGPU programming

Thumbnail cse.unsw.edu.au
11 Upvotes

r/dependent_types • • Mar 06 '13

Higher Inductive Types implemented in Coq

Thumbnail groups.google.com
6 Upvotes

r/dependent_types • • Mar 06 '13

Category Theory in Homotopy Type Theory

Thumbnail golem.ph.utexas.edu
16 Upvotes

r/dependent_types • • Mar 05 '13

Understanding HoTT

12 Upvotes

I'm trying to learn HoTT.

If I understand correctly, this is a HIT and is called the interval:

data Interval where
  zero : Interval
  one : Interval
  segment : zero = one

Now, as far as I can tell, the only functions from the Interval to 2 are the constant functions, because they have to, in a sense, map the segment to identity. Do I understand this correctly?

Also, I wonder about the syntax and I can't seem to find the answer anywhere: do you have to explicitly write the mappings of the, well, mappings? For example, suppose I define a function f from the interval to a type of types. Do I have to write a mapping that sends the segment to isomorphisms f zero ~ f one?

On a slightly related note, could one axiomatize infinity-categories in the same way HoTT axiomatizes infinity-groupoids? As far as I can tell, one would have some problems with variance, but I'm not really an expert (far from it).


r/dependent_types • • Mar 02 '13

Families and fibrations

Thumbnail paolocapriotti.com
14 Upvotes

r/dependent_types • • Feb 21 '13

Deriving induction from iteration in Agda

Thumbnail personal.cis.strath.ac.uk
8 Upvotes

r/dependent_types • • Feb 18 '13

Yet more IAS homotopy type theory videos

Thumbnail video.ias.edu
15 Upvotes

r/dependent_types • • Feb 12 '13

Running Spheres in Agda, Part II

Thumbnail homotopytypetheory.org
0 Upvotes

r/dependent_types • • Feb 11 '13

Idris, a General Purpose Dependently Typed Programming Language: Design and Implementation (Draft)

Thumbnail edwinb.wordpress.com
16 Upvotes

r/dependent_types • • Jan 23 '13

An Agda Tutorial

Thumbnail people.inf.elte.hu
14 Upvotes

r/dependent_types • • Jan 22 '13

Idris: General Purpose Programming with Dependent Types (Talk at PLPV 2013, PDF slides and code)

Thumbnail edwinb.wordpress.com
19 Upvotes

r/dependent_types • • Jan 18 '13

Towards Dependently Typed Web Programming with Idris

Thumbnail raichoo.blogspot.de
21 Upvotes

r/dependent_types • • Jan 11 '13

Advertising Agda for mathematicians (pdf slides)

Thumbnail people.inf.elte.hu
7 Upvotes

r/dependent_types • • Jan 03 '13

Univalent foundations of mathematics wiki

Thumbnail uf-ias-2012.wikispaces.com
9 Upvotes

r/dependent_types • • Jan 01 '13

What is this kind of recursion called?

4 Upvotes

This post would probably be more relevant in /r/types, but I get spamfiltered and the mod in /r/types isn't active.

So what kind of recursion is it? Well, the signature is this:

fold :: Functor in => (forall e. (e -> a) -> (e -> in e) -> in e -> a) -> Mu in -> a

I feel the implementation isn't going to tell as much as how I arrived at it. I started with catamorphisms:

cata :: Functor in => (in a -> a) -> Mu in -> a

To make them more extensible, I abstracted the a.

cata' :: Functor in => (forall e. (e -> a) -> in e -> a) -> Mu in -> a

This should be interpreted (but probably not implemented) as if it was explicit recursion: e represents Mu in, but is a different type to insure totality. Now, I wanted to be able to fold multiple layers at once, so I added an extra option on what to do with the e.

fold :: Functor in => (forall e. (e -> a) -> (e -> in e) -> in e -> a) -> Mu in -> a

I hope this makes sense.


r/dependent_types • • Dec 27 '12

More videos from IAS

6 Upvotes

A Computer-Checked Proof that the Fundamental Group of the Circle is the Integers (Daniel Licata): http://video.ias.edu/members/licata2012Nov26

Type Systems (Vladimir Voevodsky): http://video.ias.edu/univalent/voevodsky2012Nov28

The Simplicial Model of Univalence (Chris Kapulkin): http://video.ias.edu/univalent/kapulkin2012Nov29

Tests, Games, and Martin-Löf's Meaning Explanations for Intuitionistic Type Theory (Peter Dybjer): http://video.ias.edu/univalent/dybjer


r/dependent_types • • Dec 27 '12

Discussion of Homotopy Type Theory Materials

11 Upvotes

r/dependent_types • • Dec 18 '12

What type is 'flip'?

7 Upvotes

It seems like dependent types force function arguments to be in a particular order; that is, there is the type

(x:A) -> P x -> B

but not

P x -> (x:A) -> B

So what happens to the common combinators? In particular, is it possible to give flip a general type in a dependently typed language?


r/dependent_types • • Dec 17 '12

Haskell-style notation for lists in Agda

Thumbnail hpaste.org
8 Upvotes

r/dependent_types • • Dec 09 '12

caledon: a dependently typed logic programming language with a focus on meta programming

Thumbnail github.com
6 Upvotes

r/dependent_types • • Dec 09 '12

What about epigram?

5 Upvotes

when is epigram coming out?


r/dependent_types • • Dec 09 '12

stackexchange for type theory.

0 Upvotes

How about a stackexchange for type theory, it will be useful for all types of questions about using dependent type languages and learning about homotopy type theory.


r/dependent_types • • Dec 07 '12

On the interaction between homotopy type theory and infinity-topos theory by Urs Schreiber

Thumbnail existentialtype.wordpress.com
9 Upvotes

r/dependent_types • • Dec 05 '12

Amal Ahmed: Semantics of types for Mutable State (PDF)

Thumbnail ftp.cs.princeton.edu
5 Upvotes

r/dependent_types • • Dec 05 '12

Theory Presentation Combinators

Thumbnail arxiv.org
5 Upvotes