Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A `T`-periodic predicate is determined above `0` by its values on `[1,T]`.

Proved
CertifiedEvidence.periodic_ext

by raver1975 · Sep 12, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-catalogmachinelearning

A T-periodic predicate is determined above 0 by its values on [1,T].

theorem CertifiedEvidence.periodic_ext{T : ℕ} (hT : 0 < T) {p q : ℕ → Bool}
    (hp : p ∈ PeriodicClass T) (hq : q ∈ PeriodicClass T)
    (hagree : ∀ k, 1 ≤ k → k ≤ T → p k = q k) :
    ∀ n, 1 ≤ n → p n = q n := by sorry

Formalization Note Transplanted verbatim from the Aether Catalog source MachineLearning/CertifiedEvidence/LearningBoundary.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.

Preamble
-- Thm stub generated from MachineLearning/CertifiedEvidence/LearningBoundary.lean
import Mathlib
import Definitions.Def_MachineLearning_CertifiedEvidence_Insufficiency
import Definitions.Def_MachineLearning_CertifiedEvidence_LearningBoundary
import Definitions.Def_MachineLearning_CertifiedEvidence_Sufficiency
/-
Copyright (c) 2025 Harmonic. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.

# Where the boundary of finite evidence actually lies

`CertifiedEvidence.Insufficiency` shows the version space after finite evidence
has the cardinality of the continuum — but that is a statement about the
*unrestricted* hypothesis class `ℕ → Bool`.  This file proves the matching
positive statement: restrict the class and the very same evidence becomes
conclusive, with an exactly determined sample complexity.

## Main results

* `periodic_ext` — two `T`-periodic predicates that agree on `[1,T]` agree
  everywhere above `0`.
* `periodic_versionSpace_subsingleton` — inside the class of `T`-periodic
  predicates, the version space after the `T` samples `1,…,T` is a singleton:
  finite evidence *does* identify the hypothesis.
* `periodic_sample_complexity_sharp` — and `T` samples are necessary: for every
  `T ≥ 2` two distinct `T`-periodic predicates agree on `[1,T-1]`.
* `learning_dichotomy` — the two regimes side by side: continuum-sized version
  space for the unrestricted class, singleton for the periodic class, at the
  same sample size.
* `certifiable_iff_descent` — the computational counterpart, transported from
  `CertifiedEvidence.Sufficiency`: a universal statement is provable from a
  finite window precisely when a descent structure exists.
-/


open CertifiedEvidence
Formal statement
theorem CertifiedEvidence.periodic_ext{T : ℕ} (hT : 0 < T) {p q : ℕ → Bool}
    (hp : p ∈ PeriodicClass T) (hq : q ∈ PeriodicClass T)
    (hagree : ∀ k, 1 ≤ k → k ≤ T → p k = q k) :
    ∀ n, 1 ≤ n → p n = q n := by sorry
Source
https://github.com/paulklemstine/Lean/blob/53c2925a02/Catalog/MachineLearning/CertifiedEvidence/LearningBoundary.lean#L38

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me