I'm trying to clarify my understanding of decidability of a language. The following question is totally made up by me so I hope it makes sense.
Let $L = \{A: A \text{ is an algorithm that can prove "There are an infinite number of primes"}\}$
In light of the comments, what if I reformulate the question as: Let $L = \{T: T \text{ is a theorem that has been proven true}\}$
For example, "There are an infinite number of primes" is such a theorem. Since Euclid proved that there are an infinite number of primes, does that mean L is decidable? If not, it must mean that Euclid's proof is not an algorithm. In that case, I'd like to understand why Euclid's proof is not an algorithm.