You keep saying that they are defying federal law. How? Are they refusing to enforce federal law? It's not their job to. Are they preventing the federal government from enforcing federal law? No. All California is saying that possessing pot is not a state crime.
Title 18 Part I Ch. 67 Sec. 1384 of the U.S. code says that whoever engages in prostitution within a reasonable distance of a military base is violating federal law. Prostitution is legal in Churchill County, Nevada. The county seat is the city of Fallon, and right outside Fallon is the Fallon Naval Air Station. So is Nevada defying federal laws be legalizing prostitution?
I kind-of understand your desire to pick a fight with me. But I would have thought you would have selected a topic that was not so easily researched.
https://www.massroots.com/news/california-lawmakers-defy-federal-drug-war/