The law of patents for useful inventions