Library mathcomp_eulerian.ordinal_reindex
From mathcomp Require Import all_ssreflect.
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
Section LiftOrd.
Variable n : nat.
Implicit Types (k : 'I_n.+1) (i j : 'I_n).
The image of lift k : 'I_n → 'I_n.+1 is the complement of {k}:
lift k surjects onto every ordinal of 'I_n.+1 except k itself.
Strict monotonicity of unlift where defined: if j1, j2 != k then the
underlying ordinals returned by unlift_some respect the order of
j1, j2.