What a push larger than a sign means in coq
1 answer
In this particular case, he inserts the coercion from the record posrealinto his field pos. This means that you can use posrealfor Rmost cases.
Try:
Definition idR (x : R) := x.
Variable (r : posreal).
Compute (idR r).
See https://coq.inria.fr/refman/Reference-Manual021.html#Coercions-and-records
+7