Cslib.goodSelection_seq
defimported Lean
Starting from the infinite set of all vertices, inductively make an infinite sequence of good selections.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Function Set in variable {Vertex Color : Type*} [Finite Color] (color : Finset Vertex → Color) in variable [Infinite Vertex] in noncomputable def Cslib.goodSelection_seq : ℕ → Selection Vertex Color
- Defined in
- CSLib, `Cslib.goodSelection_seq`
- Lean proof
- By Ching-Tsun Chou, from github.com/leanprover/cslib at
3951377e5a3f(Copyright (c) 2026 Ching-Tsun Chou. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.33.0.Cslib.goodSelection_seq← Cslib.goodSelection_seq (Cslib/Foundations/Combinatorics/InfiniteGraphRamsey.lean:80): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 4
- Cslib.GoodSelectionA "good selection"
Sselects an infinite subsetS.vsof an infinite vertex setivsand a distinguished vertexS.vinivsbut not… - Cslib.InfVSetAn
InfVSetconsists of a set of vertices and a proof that the set is infinite. - Cslib.SelectionA
Selectionconsists of anInfVSet, a vertex, and a color. - Cslib.goodSelection_existsGiven any infinite vertex set, a good selection from it always exists.
- Cslib.GoodSelectionA "good selection"
- Used by 2
- Cslib.goodSelection_seq_propAt every step, the
goodSelection_seqmakes a good selection and there are always infinitely many vertices remaining to be selected. - Cslib.good_selections_existThere exist an infinite sequence
vsof vertex sets, an infinite sequencevof vertices, and an infinite sequencecof colors such…
- Cslib.goodSelection_seq_propAt every step, the
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Function Set in variable {Vertex Color : Type*} [Finite Color] (color : Finset Vertex → Color) in variable [Infinite Vertex] in /-- Starting from the infinite set of all vertices, inductively make an infinite sequence of good selections. -/ noncomputable def Cslib.goodSelection_seq : ℕ → Selection Vertex Color | 0 => Classical.choose (goodSelection_exists color (InfVSet.mk univ infinite_univ)) | n + 1 => Classical.choose (goodSelection_exists color (goodSelection_seq n).vs)