According to federal patent law, an invention must be declared obvious--and thus non-patentable--when a person of "ordinary skill" in the same field could have come up with it. But it's easier to say an invention is obvious in hindsight, so courts have attempted to construct a more objective way to come to that determination.
Al link indicato