you mean this?
theorem zfc_contradiction
(foundation : โ (S : Prop), ยฌ (S โง ยฌS))
(self_ref : โ (S : Prop), S โง ยฌS)
: False := by
obtain โจS, hS, hnSโฉ := self_ref
exact foundation S โจhS, hnSโฉ
foundation says no proposition can be both true and false.
self_ref says some proposition is both true and false.
Those assumptions contradict each other. Of course Lean can derive False from them!
The code does not prove that ZFC is inconsistent. It proves that if you supply contradictory assumptions, you can derive a contradiction.
If you're claiming Lean can compile a bogus proof of the Riemann Hypothesis, here's a concrete challenge.
Use Mathlib's built-in RiemannHypothesis proposition, without redefining it.
import Mathlib
theorem myProof : RiemannHypothesis := by
-- Your proof goes here
No sorry, no admit, no additional axioms, and no unproved hypotheses. Don't import Alpรถge's proof.
Then run:
#print axioms myProof
If you can make Lean accept an invalid proof of that exact proposition using only its standard foundational axioms, you'll have demonstrated a serious problem.
Compiling theorems with misleading names or contradictory hypotheses doesn't demonstrate anything of the sort.
@QualiaQuanta@Quizcroc@seedmole@thomasfbloom to see this for yourself, try to construct a simple 'fake' proof of the RH using your 'tautology = tautology' idea.
it will not compile = not using the internal mathlib RiemannHypothesis with no axioms or sorrys
@QualiaQuanta@Quizcroc@seedmole@thomasfbloom you concede the term typechecks as mathlib's RiemannHypothesis with no axioms or sorry.
vacuous internal definitions can't make a false statement provable, so at most you've shown the geometric scaffolding is decorative, not that grh isn't proved.