Fixed incoherence in building of refinement types; added PDF