Similar Items: Machine Space I: Weak exponentials and quantification over compact spaces