Lean 4 · 4
declarations statementsfull
def Set (α : Type u) : Type u := body · 1 line
α → Propinstance : Membership α (Set α) where body · 1 line
mem xs x := xs xdef Surjective (f : α → β) := body · 1 line
∀ y, ∃ x, f x = ytheorem cantor (f : S → Set S) : ¬ Surjective f := by proof · 7 lines
intro h
have ⟨x, p⟩ := h (fun x : S => x ∉ f x)
have : x ∈ f x ↔ x ∉ f x := by
constructor <;>
simp [Membership.mem] at * <;>
grind
grindOutline
Xet Storage Details
- Size:
- 936 Bytes
- Xet hash:
- f0fb09131f54fc7a80afebb215836da665dfd9f8dac6f338e4dba05426bc8e6d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.