Agda proof of infinitude of prime numbers by Erdos' analytic approach