lean-golf Lean 4 proof leaderboard

Cantor's theorem

73 characters · @majdi19 ·

Statement

import Mathlib.Logic.Function.Basic
theorem LeanGolf.cantor {α : Type u} (f : α → Set α) : ¬ Function.Surjective f

Record proof

import Mathlib.Logic.Function.Basic

theorem LeanGolf.cantor {α : Type u} (f : α → Set α) : ¬ Function.Surjective f := by intro h; obtain ⟨a,e⟩:=h {x|x∉f x}; have q : (a∈f a)=(a∉f a):=congrArg (a∈·) e; grind

Record card (SVG)

Record history

HolderCharactersDate
@majdi1973
@lean-golf-seed133