Answer:
Your answer would be that to compete is a nominal infinitive.
Step-by-step explanation:
The infinitive phrase to compete is nominal infinitive. This means that it acts as a noun in the sentence. Nominal infinitive phrases can be the subject of a sentence, the direct object, the object of a preposition, or a predicate nominative. In the sentence above, this nominal infinitive phrase functions as predicate nominative as it completes the linking verb (is) and renames the subject (my ultimate goal as a swimmer).