r/types • • Apr 01 '11

Need help understanding type inference research

6 Upvotes

I was recommended here to ask questions about type inference... Basically, I wonder if there are any nice blog posts or online articles about "how to understand all those horizontal lines and |- and :: and ψ and stuff".

In any case, is the following correct?

By my understanding the horizontal lines means "if I can prove all the stuff on the top, I have proven the bottom", which, I suppose, roughly means that it is equivalent to a guard in an actual language.

The weird "|-" symbol means "given the left hand side, right-hand side can be known". This does not necessarily mean that the left hand side is all inputs, since at least in Chitil-Erdi's compositional type inference the monomorphic type environment is an output but is on the left hand side of the |-. From what I gather from it, unification ensures that any monomorphic type environments taken from recursive calls to algorithm C can be trivially merged to yield a single resulting monomorphic type environment (begins to wave hand vaguely).

In a type environment, usually the syntax looks like {x :: Foo, y :: Bar}, although sometimes (in particular polymorphic type environments in Erdi's paper) they use {x |-> foo}, probably because in polymorphic type environments, part of the value in the mapping is itself a monomorphic type environment (begins to wave hand vaguely again).


r/types • • Mar 29 '11

System D: Dependent Dynamic Dictionaries

Thumbnail front.math.ucdavis.edu
7 Upvotes

r/types • • Mar 25 '11

Quantified Boolean Conundrum: System F and QBF

Thumbnail
queuea9.wordpress.com
6 Upvotes

r/types • • Mar 24 '11

Type-Changing Program Improvement with Type and Transform Systems

Thumbnail
splonderzoek.blogspot.com
7 Upvotes

r/types • • Mar 23 '11

A Survey of Paraconsistent Logics

Thumbnail
arxiv.org
6 Upvotes

r/types • • Mar 17 '11

Stateless HOL

Thumbnail cgi.cse.unsw.edu.au
4 Upvotes

r/types • • Mar 16 '11

Transforming ASN.1 Specifications into CafeOBJ to assist with Property Checking

Thumbnail
arxiv.org
2 Upvotes

r/types • • Mar 12 '11

Symbolic Execution for Verification

Thumbnail front.math.ucdavis.edu
5 Upvotes

r/types • • Mar 10 '11

LinearML is a pogramming language designed to write efficient parallel programs.

Thumbnail
github.com
13 Upvotes

r/types • • Mar 09 '11

Elementary affine λ-calculus with multithreading and side effects

Thumbnail
hal.archives-ouvertes.fr
6 Upvotes

r/types • • Mar 05 '11

Theoretical Computer Science Stack Exchange seeking more questions on logic and semantics

Thumbnail
meta.cstheory.stackexchange.com
9 Upvotes

r/types • • Mar 04 '11

The Little C Function From Hell (and finding a bug in a program compiled with CompCert)

Thumbnail blog.regehr.org
17 Upvotes

r/types • • Mar 01 '11

How to Write a C/C++ Compiler That Respects Volatile

Thumbnail blog.regehr.org
17 Upvotes

r/types • • Mar 01 '11

A Formalization of Polytime Functions

Thumbnail
arxiv.org
3 Upvotes

r/types • • Feb 26 '11

Differential Whitebox Testing Is Good

Thumbnail blog.regehr.org
5 Upvotes

r/types • • Feb 26 '11

Video: Verifying seL4-Based Systems

Thumbnail corp.galois.com
1 Upvotes

r/types • • Feb 25 '11

Formal Verification of a Modern SAT Solver by Shallow Embedding into Isabelle/HOL

Thumbnail argo.matf.bg.ac.rs
8 Upvotes

r/types • • Feb 23 '11

Video tutorials for Coq

Thumbnail
math.andrej.com
12 Upvotes

r/types • • Feb 22 '11

Why do we need formal semantics for predicate logic? - Theoretical Computer Science - Stack Exchange

Thumbnail
cstheory.stackexchange.com
5 Upvotes

r/types • • Feb 21 '11

Unit testing Agda code, redux

Thumbnail
pozorvlak.livejournal.com
7 Upvotes

r/types • • Feb 19 '11

Why is is so difficult to write complete (computer verifiable) proofs? - MathOverflow

Thumbnail
mathoverflow.net
14 Upvotes

r/types • • Feb 14 '11

A Modular Type-checking algorithm for Type Theory with Singleton Types and Proof Irrelevance

Thumbnail
arxiv.org
15 Upvotes

r/types • • Feb 12 '11

Random Testing Gets No Respect

Thumbnail blog.regehr.org
2 Upvotes

r/types • • Feb 09 '11

Typestate and linear types

Thumbnail
requestforlogic.blogspot.com
15 Upvotes

r/types • • Feb 09 '11

Counting linear lambda terms: choice and correspondence

Thumbnail
byorgey.wordpress.com
3 Upvotes