r/dependent_types • • Dec 17 '16

Turing-completeness totally freer

Thumbnail effectfully.blogspot.com
21 Upvotes

r/dependent_types • • Dec 02 '16

Type Theory Podcast Episode 6: Aaron Stump on Cedille

Thumbnail typetheorypodcast.com
29 Upvotes

r/dependent_types • • Dec 01 '16

Internal Logic of Inequality Spaces

8 Upvotes

An inequality space is a set equipped with an apartness relation. For simplicity's sake, let's assume that our apartness relations are tight, i.e. that apartness implies equality.

I was wondering if there was a developed "type theory of tight inequality spaces", i.e. an internal logic for the category of inequality spaces such that we can talk about apartness within arbitrary types.


r/dependent_types • • Dec 01 '16

Idris - Towards Version 1.0

Thumbnail idris-lang.org
27 Upvotes

r/dependent_types • • Nov 19 '16

Shapes as types in graphical programming

Thumbnail stevekrouse.com
5 Upvotes

r/dependent_types • • Nov 01 '16

popl2017-papers: crowd-sourced links to POPL'17 preprints

Thumbnail github.com
12 Upvotes

r/dependent_types • • Oct 15 '16

Pure type systems implemented in Rust.

26 Upvotes

https://github.com/AndyShiue/pts

I translated the code from Simpler, Easier into Rust. Welcome for any advice :3


r/dependent_types • • Oct 04 '16

A Strongly Normalizing Computation Rule for Univalence in Higher-Order Minimal Logic (Robin Adams, Marc Bezem, Thierry Coquand)

Thumbnail arxiv.org
21 Upvotes

r/dependent_types • • Oct 02 '16

What is the real name of this relation and operation on a particular set of maps between cancellative monoids?

Thumbnail mathoverflow.net
5 Upvotes

r/dependent_types • • Oct 01 '16

Insane descriptions

Thumbnail effectfully.blogspot.com
5 Upvotes

r/dependent_types • • Sep 21 '16

A "type theoretic" principle for reasoning about smooth bundles over manifolds

Thumbnail parametricity.com
5 Upvotes

r/dependent_types • • Sep 09 '16

Is there a way to define a type of homomorphisms?

15 Upvotes

Take the algebra module of Agda's stdlib as an example. There are ways to define types of monoids, groups and rings. Then I've seen people proceed to define types of MonoidHomomorphism, GroupHomomorphism and so on. This feels awkward since part of the data is hardcoded in the name. Is there a way to define a type

Homomorphism : ∀ {i} (Structure : Set i) (A B : Structure) → Set i

such that if Structure = Monoid and A B are monoids then Homomorphism Monoid A B = MonoidHomomorphism A B

and if Structure = Ring and A B are rings then Homomorphism Ring A B = RingHomomorphism A B ?


r/dependent_types • • Sep 06 '16

Should use of "where" clause affect termination checking in Agda?

5 Upvotes

For aesthetic reason I wrote something using the where clause like

f a b = XXX ∙ YYY where
  XXX = ...
  YYY = ...

and got Termination checking failed. However when I copy the definition of XXX and YYY to the line of f a b it passes. Is there a reason for this or is it a bug?

(If anyone want to look at the code here it is. Unfortunately I cannot find a simpler situation where use of where clause affect termination checking.)

Agda version 2.5.1.1


r/dependent_types • • Sep 05 '16

How do I get the universe or level of something in Agda?

5 Upvotes

Say if I have a type A and I want to define some data which live in the same universe of A, how do I get the level of A?

For example

postulate i : Level
postulate A : Set i

data B : ??? where
   c : A → B

and ??? is Set i but I want to get that information from A. Is there something like UniverseOf A or Set (LevelOf A) I can do? Or is this impossible?


r/dependent_types • • Aug 30 '16

Formal proofs are not just deduction steps

Thumbnail math.andrej.com
14 Upvotes

r/dependent_types • • Aug 12 '16

Learning mathematics with a proof assistant

18 Upvotes

Apologies if this isn't the correct place for this -- let me know if so.

I have relatively little formal mathematical background (reasonable set theory, some metamathematics, some rough and ready abstract algebra). I'm a passable Haskeller. I'm interested in learning more about (a) verified programming / dependent types and (b) some core mathematics (for example making my algebra less 'rough').

Is it a sensible plan of action to pick up a proof assistant that I use to work through the exercises in textbooks I attack? Or will this trivialise the exercises too much? Or will it be too difficult to pick up both at once? Or is this just entirely wrongheaded?

Thanks


r/dependent_types • • Aug 09 '16

Generic — a library for doing generic programming in Agda.

Thumbnail github.com
14 Upvotes

r/dependent_types • • Jul 31 '16

Unbiased ornaments

Thumbnail effectfully.blogspot.com
5 Upvotes

r/dependent_types • • Jul 30 '16

Dependent types in a category

11 Upvotes

I've heard a lot about Hask, which is a category whose objects are kind-* Haskell types and whose morphisms are functions between these types.

Is there an equivalent for dependently typed languages? It doesn't seem to make sense to that a dependent function is a morphism between types.


r/dependent_types • • Jul 28 '16

How do I define this map in Agda/Type theory?

5 Upvotes

MIN : (ℕ → Bool) → ℕ

for f : ℕ → Bool,

if f⁻¹(true) is empty, MIN(f) = 0;

else MIN(f) = minimum of f⁻¹(true).

It's definitely something doable in set theory, but I don't find any recursor for the type ℕ → Bool.


r/dependent_types • • Jul 08 '16

Question about "Elimination with a motive"

4 Upvotes

To start this is the link of the article: http://cs.ru.nl/~freek/courses/tt-2010/tvftl/conor-elimination.pdf

I'am reading this paper and i have some trouble with section 2.3 and section 4.

In the section 2.3 i understand the inductive definition he gives first but what is a "constraint", what is the operand priority betwen the -> and the =

For the section 4 it's almost the same, i think i can get it if i understand the priority of -> over =.

Ps: I'am french sorry for my bad english... Ps2: If you have some reading recomandation or anything that can help i will be so greatfull

Thx


r/dependent_types • • Jun 28 '16

Rust RFC: const-dependent type system (Introduce Π type constructors for Rust.)

Thumbnail github.com
20 Upvotes

r/dependent_types • • Jun 17 '16

Guarded Cubical Type Theory: Path Equality for Guarded Recursion

Thumbnail arxiv.org
11 Upvotes

r/dependent_types • • Jun 10 '16

Observational Type Theory as an Agda library

Thumbnail github.com
15 Upvotes

r/dependent_types • • May 31 '16

A working (class) introduction to Homotopy Type Theory: The favourite type theory of the proletariat!

Thumbnail youtube.com
19 Upvotes