fact: Definition pos_to_int (p : pos) : int := (val p)%:R.
imports: HB(structures) ZArith mathcomp(ssreflect ssrfun ssrbool eqtype ssrnat div seq zmodp) mathcomp(path choice fintype tuple finset ssralg ssrnum bigop ssrint) CoqEAL(hrel param refinements)