fact: Definition prefix i := let is := indices i0 in let n := length is in if lt_dec i n then nth i is d else i0 + g (i - n).
imports: CoLoR(RelUtil NatUtil Path LeastNat LogicUtil ClassicUtil SN NotSN_IS SortUtil ListUtil) Coq(IndefiniteDescription)