The function field abstract prime number theorem