Documentation

LeanPool.LanguageGeneration.FiniteWitness.Simplified.FirstPoints

First-k checkpoints, exactly as in the simplified manuscript.

The first k elements of a natural-number set, or all its elements if fewer exist.

Equations
Instances For
    @[simp]
    theorem GenLimit.FiniteWitness.Simplified.mem_firstPoints (L : Set ℕ) (k x : ℕ) :
    x ∈ firstPoints L k ↔ x ∈ L ∧ Nat.count (fun (n : ℕ) => n ∈ L) x < k
    theorem GenLimit.FiniteWitness.Simplified.firstPoints_exhausts (L : Set ℕ) {x : ℕ} (hx : x ∈ L) :
    ∃ (k : ℕ), x ∈ firstPoints L (k + 1)
    theorem GenLimit.FiniteWitness.Simplified.firstPoints_agree {L : Set ℕ} (hL : L.Infinite) {S : Finset ℕ} {j k : ℕ} (hSL : ↑S ⊆ L) (hseen : firstPoints L k ⊆ S) (hjk : j ≤ k) :