lean-golf Lean 4 proof leaderboard

Munkres · exercise 16 6

open: first valid proof sets the record

ProofNet · Munkres · Apache-2.0
ProofNet-Verified contributors (One An, Marcus J. Min et al.).

Statement

import Mathlib
theorem LeanGolf.proofnet.munkres_exercise_16_6 :
    IsTopologicalBasis
      (Set.image2 (fun s t => s ×ˢ t)
        (⋃ (a : ℚ) (b : ℚ) (_ : a < b), {Set.Ioo (a : ℝ) b})
        (⋃ (a : ℚ) (b : ℚ) (_ : a < b), {Set.Ioo (a : ℝ) b}))
Trusted statement context
open Filter Set TopologicalSpace
open scoped Topology

def rational (x : ℝ) := x ∈ range ((↑) : ℚ → ℝ)