Motivation:
In trying to answer this question, I learnt that the question of determining the subgroups of finite groups is decidable.
I wrote a short argument as a (now deleted) answer:
Suppose that the general problem of finding all subgroups of any group $G$ is decidable. Then the same algorithm can be used to determine whether $G\cong\{e\}$, since if $H\le G$ implies $H=\{e\}$, then $G\cong \{e\}$. The problem is thus undecidable.
It received praise in a comment with the caveat that it only applies to infinite groups. I don't see how.
Hence the following question(s).
The Question:
Where does infinity come into play in my argument above (if at all)? Is the problem of finding all subgroups of an infinite group really undecidable?
Context:
I have only seen a handful of undecidability proofs. The above is my first attempt at one, despite working in combinatorial group theory, where there's a plethora of undecidable problems.
Searching for an answer via search engines like Google or even Approach0 is difficult due to the sheer amount of results of this kind.
I feel ill-equipped to construct nor analyse a proof either way, and was surprised my attempt above was praised.
Please help :)