Description: Define the function that, for a set a , arity n , and index
i , returns the i -th n -ary projection on a . This is
the n -ary operation on a that, for any sequence of n
elements of a , returns the element having index i .
(Contributed by Adrian Ducourtial, 3-Apr-2025)