O HAVE"as given in above sentences? to have + past participle is "the perfect infinitive". It's used to show that an action happened previous to some other action. I had to have taken an umbrella , for example, is like saying It had to be that I had taken an umbrella.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.