TyInf: fill in some technical details for problems and type inference proofs
TyInf: fill in some technical details for problems and type inference proofs

mietek/epigram2,larrytheliquid/pigit,mietek/epigram2