Terms as types in Coq
问题 Parameter R: Type. Parameter P: R. Parameter O: P. (*Error: The term "P" has type "R" which should be Set, Prop or Type.*) doesn't work because terms can't have terms in Coq. How can we bypass this restriction? One would imagine several possibilities: parametrization, subset types, classes, records, ensembles, explicit universe levels... My question is about the recommended and easiest way(s) of implementing terms as types in Coq (along w/ MWEs). PS. I don't assume the "recommended" and