lean-golf Lean 4 proof leaderboard

Munkres · exercise 13 4a1

open: first valid proof sets the record

ProofNet · Munkres · MIT
Copyright (c) 2024 Rahul Vishwakarma. Original dataset: ProofNet.

Statement

import Mathlib
theorem LeanGolf.proofnet.munkres_exercise_13_4a1 (X I : Type*) (T : I → Set (Set X)) (h : ∀ i, is_topology X (T i)) :
  is_topology X (⋂ i : I, T i)
Trusted statement context
noncomputable section

open Filter Set TopologicalSpace

open Topology

noncomputable section

def is_topology (X : Type*) (T : Set (Set X)) :=
  univ ∈ T ∧
  (∀ s t, s ∈ T → t ∈ T → s ∩ t ∈ T) ∧
  (∀s, (∀t ∈ s, t ∈ T) → sUnion s ∈ T)