I have always wanted to ask this question and finally encountered an exercise that incentivized the question further.
In Tao's Analysis I, the reader is asked to prove the following proposition:
Let $X$ be a set with some cardinality $n$. Then $X$ cannot have any other cardinality, i.e. $X$ cannot have cardinality $m$ for any $m \neq n$.
I used induction (and proof by contradiction within the induction) to prove this statement. Now, importantly, baked into this proposition is the idea that $X$ is finite. Specifically, in assuming that "$X$ be a set with some cardinality $n$", we have intrinsically asserted that "$X$ is finite".
Here is the definition that Tao provides for finite sets, confirming the above statement:
A set is finite iff it has cardinality $n$ for some natural number $n$; otherwise, the set is call infinite.
So my question is as follows:
Is induction (in this context) proving a statement about a finite entity (i.e. the set $X$) infinitely many times? What role does "infinity" actually play when talking about induction?
There was a previous question posed several years ago (Why doesn't induction extend to infinity? (re: Fourier series)), but I am not sure if this really gets at my question (or perhaps I have misunderstood the answers provided).
Cheers~