Yes, in fact Lean proves the law of the excluded middle using Diaconescu's theorem rather than assuming it as an independent axiom:
https://github.com/leanprover/lean4/blob/ad1a017949674a947f0...
Yes, in fact Lean proves the law of the excluded middle using Diaconescu's theorem rather than assuming it as an independent axiom:
https://github.com/leanprover/lean4/blob/ad1a017949674a947f0...