On the cognition of laws of nature