I am trying to define a domain in the proof checker coq. How do I do this?
I’m trying to do the equivalent of V in [0,10].
I’ve tried to do Definition V := forall v in R, 0 <= v /\ v <= 10., but this lead to problems with constants like 0 not being in V according to Coq.
A simple approach might be something like,
Of course the type of
member0may not be as informative as you might like. In that case, you may want to indexVby thenatcorresponding to each element of the set.I’ve not worked with
Realsbefore, but the above can be implemented onRas well.