Subset parameter
问题 I have a set as a parameter: Parameter Q:Set. Now I want to define another parameter that is a subset of Q. Something like: Parameter F: subset Q. How I can define that? I guess I can add the restriction later as an axiom, but seems more natural to express it directly in the type of F. 回答1: You can't express it directly. It's misleading to think of objects in Set as mathematical sets. Set is the sort of datatypes, the same kinds of types that you find in programming languages (except that Coq