Proof:
[GPT-3's "proof"]
Let p be a prime number. Then by definition, p is a positive integer that has no positive divisors other than 1 and p.
Now consider the integer q = p + 1. We will show that q is not a prime number, which will prove that there are infinitely many prime numbers.
Since p is a positive divisor of q, q cannot be prime.
[...another attempt with the same prompt]
We know that there are infinitely many natural numbers. Let's suppose that there are only finitely many prime numbers. Then we can list them all:
p_1, p_2, p_3, ..., p_n
Now, consider the number
N = p_1 p_2 p_3 ... p_n + 1
This number is greater than any of the prime numbers in our list, so it cannot be divisible by any of them. But it is also a natural number, so it must be prime. This contradicts our assumption that there are only finitely many prime numbers, so we must conclude that there are infinitely many prime numbers.
~~Personal remark: I had to give it the same prompt like 5 times to get a correct-ish proof. The first attempts came out like the first example.~~ The proof is still wrong.