Skip to content

EValues, Identification: the rate as a game and through finitely additive limits, classes on which one procedure attains the rate, identification without domination - #24

Merged
RemyDegenne merged 3 commits into
mainfrom
roadmaps/evalues-identification-staged
Nov 28, 2026
Merged

RemyDegenne merged 3 commits into
mainfrom
roadmaps/evalues-identification-staged

Conversation

@RemyDegenne

Copy link
Copy Markdown
Contributor

Two amendments in one pull request, at the code owner's request, with the two restatements they schedule in the Generalization roadmap. In the EValues roadmap, additions on the optimal growth rate d of an i.i.d. null. Each is stated on any measurable space and for any null, as the existing items of Layer 6 are: the rate as the value of a game and as an exponent of large deviations, its description through finitely additive limits of the laws of blocks with the Yosida–Hewitt decomposition that this needs, tests for unions of convex pieces, and the classes of alternatives on which one e-process attains the rate.

In the Identification roadmap, Layer 5.4, "Learning the design", is restated at the generality of [EVR26, Note 55]: the algorithm runs with any countable sequence of experts on any observation space, the classes of models on which one algorithm attains D* are characterized, and experts come from countably many integrable test functions. The correctness notion the algorithm actually has is pinned in the Conventions.

The pull request changes three roadmap directories (EValues/, Identification/, Generalization/), against the usual one directory per pull request, at the code owner's request: the two amendments share the notion of an algorithm δ-correct when it stops and the restatements they cause.

Why, EValues. Layer 6.1 describes d through KL_inf, envelopes, finite partitions and the i.i.d. saturation. It does not say what the three numbers a 1 ≤ d ≤ KL_inf are as values of one game, nor that d is an exponent of the upper probability of the null, and on a general space it has no description of d as a minimum over a closure of the null. That description passes through finitely additive set functions and their countably additive parts. Mathlib has additive contents (AddContent) and the countable additivity of a content dominated by a finite measure, but no countably additive part and no Yosida–Hewitt decomposition. The bullet on unions of convex pieces has one null and a known alternative, but no tests between two nulls and no plug-in test. Layer 6.1 gives one e-process at the rate only for the alternatives dominated by an s-finite measure on a countably generated space, and for countable classes. The amendment adds, at the generality of [EVR26] and [YH52]:

  • the max–min and min–max values maxEPower Q T and klInf Q T of the game between bounded bets and any null T, with a n and n * KL_inf for n observations; the bound π m ≤ exp (-m c) on the upper probability of the empirical events and its converse at half the tolerance, so that the suprema of their exponents over the basic neighbourhoods are the neighbourhood envelope of KL_inf, and d is the exponent of the upper probability for statistics of blocks [EVR26, Note 15];
  • the Yosida–Hewitt decomposition of an additive content of finite mass on a σ-algebra: the countably additive part, the purely finitely additive remainder, uniqueness, and the singularity of the remainder to every finite measure, with H(R | m) = klIntegral R m_c for the divergence to a set function through finite partitions [YH52];
  • the generalized null laws: d is the smallest divergence rate from Q₁ to a finitely additive limit of the laws of the blocks of members of the null, attained, and d = klInf Q₁ (iidSaturation S₁) when the countably additive parts of these limits are powers [EVR26, Note 43, Theorem 4 and Corollary 5];
  • tests between two nulls, with E_Q[τ] ≥ kl(1 - α, β) / a 1(Q, H₁), and the plug-in intersection–union test for convex pieces of independent coins, valid whatever the estimate and at the rate KL_inf almost surely when the estimate converges, with the Condorcet null as an instance where a 1 = 0 < d [EVR26, Note 32, Statements 1, 3 and 4];
  • the classes on which one e-process attains the rate: the equivalence of an e-process at the rate, n-sample e-variables at the rate, and a countable family of bounded block bets that determines the rate, and one nondecreasing e-process from such a family, at the rate almost surely and in expectation, with tests at log (1/α) / d almost surely and in expectation [EVR26, Note 55, Proposition 1]. The dominated alternatives of [EVR26, Note 13] and every countable class are instances; [Ram26, Theorem 3.1] is the analogue for power one.

Why, Identification. Layer 5.4 asks for countably generated observation spaces with a dominating measure per arm, and it says the algorithm is δ-correct. Note 55 shows that domination only supplies one sequence of experts, and that the algorithm attains D* wherever its experts determine it, on arbitrary measurable spaces [EVR26, Note 55, Theorem 5]. Conversely, the classes of models on which one family of algorithms attains D* are exactly those on which a sequence of experts determines it (Theorem 7). The algorithm is only δ-correct when it stops: it need not stop at the models where its experts do not determine D*, so the roadmap's δ-correctness (stop and answer correctly with probability at least 1 - δ) is a notion it cannot satisfy. The amendment adds, at the generality of [EVR26, Note 55, Section 2]:

  • the notion of an algorithm δ-correct when it stops, with the chain δ-PAC ⇒ δ-correct ⇒ LML's IsPAC ⇒ δ-correct when it stops, and δ-PAC ⇔ δ-correct when it stops and stopping almost surely; the sharp lower bound kl(δ, 1 - δ) ≤ D* E_θ[τ] of Layer 2.3 under it [EVR26, Notes 41 and 55];
  • experts (Definition 4); the algorithm and its guarantees for any sequence of experts (Theorem 5), with the dominated models as the case of the experts of Lemma 6 [EVR26, Note 49, Lemma 1 and Theorem 3];
  • the equivalence of Theorem 7, and experts for every single model and every countable set of models, so that 1 / D* is the optimal constant at every model of every task with countably many answers;
  • experts from countably many integrable test functions: Ψ^G ≤ D̄ ≤ Ψ and the experts of the rational boxes (Proposition 8, with a Sanov-type bound [Csi84] for unbounded test functions); alternatives in a weakly compact set on a separable pseudo-metrizable space (Corollary 9); the best arm among all the laws on [0, 1], with 0 < D* = 1/T* < ∞ and one δ-PAC algorithm at T*; exponential families without an algorithm (Corollary 10), stated for every task on per-arm families whose costs are lower semicontinuous (Layer 3.3);
  • the separability and second countability of convergence in distribution on the probability measures of a separable pseudo-metrizable space with OpensMeasurableSpace. Mathlib has the pseudo-metrizability through the Lévy–Prokhorov metric; Tau Ceti has second countability for second-countable standard Borel spaces only. No other roadmap specifies it, so this one owns it.

Changes in LMLRoadmaps/EValues/:

  • README.md, introduction and Scope: the Yosida–Hewitt decomposition is a fifth general tool that this roadmap owns (Layer 1.1), with its home in LMLExplore/MeasureTheory/Measure/.
  • README.md, Conventions: a paragraph "Finitely additive measures" (Mathlib's AddContent ℝ≥0∞ {s | MeasurableSet s}, closures among all set functions, the countably additive part).
  • README.md, Layer 1.1: a bullet "Finitely additive set functions" before "No domination", which now points to it.
  • README.md, Layer 6.1: bullets "Generalized null laws" (after the i.i.d. saturation) and "The game between bets and the null, and large deviations" (after the envelopes); the bullet on convex pieces gets a title and three sub-bullets (tests between two nulls, the plug-in intersection–union test, the Condorcet instance); "Block bets for a class of alternatives" moves next to "One e-process for a class of alternatives", whose first statement becomes an instance of the new bullet "The classes on which one e-process attains the rate" that follows them.
  • README.md, Layer 6.4, "Consequences": its lower bounds and D* ≥ 1 / c are asked for algorithms δ-correct when they stop (Identification, Conventions), of which the δ-correct ones are a case; D* = 1 / T* for best arm identification in exponential families is also cited from Identification 5.4, with no algorithm.
  • README.md, Layer 6.3: "One test for every dominated alternative" becomes "One test for every alternative of a class", with the dominated alternatives as an instance.
  • README.md, Restatements of merged code: ProbabilityTheory.exists_isEProcess_ae_tendsto_log_div_bipolarRate becomes a corollary of the e-process built from a family of block bets (Generalization 1.38).
  • README.md, Completion checks and References: one completion check; [YH52] added, [EVR26] covers notes 01 to 55, [Ram26] is cited in Layer 6.1.
  • Suggested.lean: countablyAdditivePart, countablyAdditivePart_apply_le, exists_measurableSet_add_sub_countablyAdditivePart_lt, countablyAdditivePart_eq_of_eq_add, cellMeasure, partitionDivergence, partitionDivergence_eq_klIntegral_countablyAdditivePart (Layer 1); blockSetFunction, generalizedNullLaws, isLeast_iSup_partitionDivergence_generalizedNullLaws, bipolarRate_eq_klInf_iidSaturation_of_countablyAdditivePart_eq_pi, gamePayoff, iSup_iInf_gamePayoff_eq_maxEPower, iInf_iSup_gamePayoff_eq_klInf, blockEvent, blockUpperProb, iSup_liminf_limsup_neg_log_blockUpperProb_eq_tauEnvelope, iSup_liminf_neg_log_blockUpperProb_eq_bipolarRate, ofReal_kl_div_maxEPower_le_lintegral_min_hittingAfter, AttainsBipolarRate, exists_attainsBipolarRate_tfae, exists_isEProcess_monotone_attainsBipolarRate_of_le_iSup (Layer 6); two more imports, Mathlib.Data.List.TFAE and Mathlib.MeasureTheory.Measure.AddContent.

Changes in LMLRoadmaps/Identification/:

  • README.md, Conventions (Guarantees): the bullet "δ-correct when it stops", with its relations to δ-PAC, δ-correctness and LML's IsPAC, and the rule that the results of Layers 2.3 and 5.4 with D* are stated with it.
  • README.md, Scope: the ownership of the second countability of convergence in distribution; two rows of the dependency table (designs and the Wald inequality with a design; convergence in distribution and the joint lower semicontinuity of the relative entropy); in the list "Outside this roadmap", the algorithm of Layer 5.4 on the laws on [0, 1] is in scope, and Note 55's Counterexamples 2 and 11 (an analytic set that is not Borel) are out; a suggested home LMLExplore/MeasureTheory/Measure/ProbabilityMeasure/.
  • README.md, Layer 0.2: a pointer to the weaker notion, built in Layer 5.4.
  • README.md, Layer 2.3: the sharp lower bound with D* for algorithms δ-correct when they stop, at models with an alternative. LMLExplore's IdentTask.IsDeltaCorrect.klBer_le_designRate_mul_expectedStoppingTime becomes its corollary.
  • README.md, Layer 5.4, rewritten: "Correctness when stopping", "Experts", "The algorithm", "Guarantees", "Experts for the dominated models", "The classes of models on which D* is attained", "Single models and countable sets", "Experts from test functions", "Alternatives in a weakly compact set" (with the prerequisite on convergence in distribution, and the sub-bullet "The best arm among the laws on [0, 1]"), "Exponential families, without an algorithm"; the Generalization paragraph of Layer 5.
  • README.md, Completion checks: "Learning the design" (Note 49's dominated case, D* = 1/T* in one exponential family, and the finite-alphabet equality of EValues 6.4 from the weakly compact case).
  • README.md, References: [Csi84]; [EVR26] now lists notes 01 to 55.
  • Suggested.lean: the designs restated from LMLExplore (designLaw, designValue, designRate, proportionalDesign, designGrowth, with Statlib's maxUtility and logUtility; one more import, Statlib.EValues.DPI); IdentTask.IsDeltaCorrectOnStop, IsDeltaCorrect.isDeltaCorrectOnStop, isDeltaPAC_iff_isDeltaCorrectOnStop, altInstances, IsDeltaCorrectOnStop.klBer_le_designRate_mul_expectedStoppingTime; IsExpertSeq, expertValue, DeterminesDesignRate, IsExpertSeq.expertValue_le; the admitted algorithm learnDesignAlg, learnDesign, learnDesign_alg, and isDeltaCorrectOnStop_learnDesign, tendsto_expectedStoppingTime_learnDesign_div_log, exists_isExpertSeq_determinesDesignRate_of_absolutelyContinuous, exists_isExpertSeq_determinesDesignRate_of_countable, exists_isExpertSeq_iff_exists_identAlg_limsup_le; weightedKLInf, testBox, IsTestBoxAround, testEnvelope, testEnvelope_le_designGrowth, exists_isExpertSeq_determinesDesignRate_of_testEnvelope_eq, exists_isExpertSeq_determinesDesignRate_of_isCompact, secondCountableTopology_probabilityMeasure; unitIntervalBaiTask, designRate_eq_inv_charTime_unitIntervalBaiTask, exists_isDeltaPAC_tendsto_charTime_unitIntervalBaiTask; designRate_eq_inv_charTime_of_expFamily.

Changes in LMLRoadmaps/Generalization/:

  • README.md, Layer 1, E-values: target 1.38 derives exists_isEProcess_ae_tendsto_log_div_bipolarRate and the tests built from the same e-process from the e-process of a family of block bets (EValues 6.1); target 1.39 derives IdentTask.IsDeltaCorrect.klBer_le_designRate_mul_expectedStoppingTime from the bound for algorithms δ-correct when they stop (Identification 2.3 and 5.4). The table of layers lists the new prerequisites, and EValues' paragraph on restatements cites targets 1.26–1.39.

Points to check, EValues.

  • Everything except [YH52] rests on [EVR26]: notes written and refereed once by AI agents, with the statements listed here proved in Lean in EValuesResearch (github.com/RemyDegenne/evalues_research, commit ee771b9, files Results/RateGame.lean, Results/Saturation.lean, Results/SaturationAux.lean, Results/ConvexPiecesTests.lean, Results/ConvexPiecesTestsAux.lean, Results/UndominatedClasses.lean, and ForLMLExplore/MeasureTheory/Measure/FinitelyAdditive.lean for the finitely additive facts). The game, and the identity of the exponents of the empirical events with the envelope, have no note: they rest on the project's book chapter and its referee report (referee/book-13-15-report.md), and the game is cited as [EVR26] without a note number.
  • The roadmap asks for more than the Lean proves in five places. The game and the large deviations are stated for any null T on any space; the Lean states the blocks sampleNull S₁ n, which are the instances. For the Yosida–Hewitt decomposition, the uniqueness and the equality H(R | m) = klIntegral R m_c are not in Lean: the Lean proves ≥, which is what the corollary on the saturation uses, and ≤ is data processing. For the generalized null laws, symmetry, the product on rectangles and the superadditivity of H(Q₁^{⊗k} | ν_k) are not in Lean; the superadditivity is in [EVR26, Note 43]. The plug-in test is asked to be valid for the sequential null of each piece, by the same one-step bound, as the merged ProbabilityTheory.isEProcess_minLikelihoodRatio_prodBernoulli is; the Lean has the i.i.d. null. The two-null test takes an e-process for iidNull H₀ where the Lean has a test supermartingale, since only Ville's inequality is used. Also, the countable classes as an instance of the characterization come from a remark of Note 55, not from Lean.
  • Generality decisions:
    • The Yosida–Hewitt decomposition is asked for nonnegative contents of finite mass on a σ-algebra. [YH52] treats bounded real finitely additive set functions on an algebra of sets, and no target here uses that form. [YH52] is cited without theorem numbers, and its bibliographic data were not checked against the paper.
    • The plug-in test is stated in the coin model (prodBernoulli), the model of Note 32 and of the merged ConvexPieces.lean. Its validity uses that the mean of the likelihood ratio is affine in each coin's parameter, and the extension to exponential families is not claimed.
    • The two-null test is on countable alphabets, with the members of H₁ charging every point: these are the hypotheses of the merged TestSupermartingale/ConvexHull.lean, which its Dirac counterexample shows are needed.
  • Left out: the countably additive parts of the block limits of the coset null along nets (Note 43; not in Lean); Note 55, Counterexample 2 and Remark 3, which need an analytic set that is not Borel (not stated in Lean, at the user's decision); and the expected stopping time of the plug-in test, which Note 32 does not prove.
  • Restatement: ProbabilityTheory.exists_isEProcess_ae_tendsto_log_div_bipolarRate becomes the case of the dominated alternatives, with the family ProbabilityTheory.exists_iSup_integral_div_eq_bipolarRate, and README's "Restatements of merged code" lists it. Generalization 1.38 schedules it. LMLExplore PR #687 (open) builds the dominated case of the Layer 6.3 bullet that is now stated for classes; the proof for a class is the same, with the hypothesis on the family in place of the domination (Results/UndominatedClasses.lean).
  • The Layer 6.3 bullet no longer prescribes the adjusted running maximum of [RW, Section 7.9]. The merged code and the project's proofs use a mixture of the products of the block bets, each held from the time its blocks are observed.

Points to check, Identification.

  • Everything rests on [EVR26]: Note 55, Section 2 (refereed once by AI agents, referee/55-report.md, which found no numbered claim wrong) and Note 49, with every statement of the item proved in Lean in EValuesResearch (github.com/RemyDegenne/evalues_research, commit ee771b9, files Results/DesignExperts.lean, DesignLearning.lean with DesignLearningAux*.lean, DesignLearningWald.lean for the lower bound under δ-correctness when stopping, DesignExpertsExist.lean, DesignExpertsIff.lean with DesignExpertsIffAux.lean, DesignTestFunctions.lean with DesignTestFunctionsAux.lean, DesignWeak.lean, DesignExpFamily.lean, DesignLearningCorollaries.lean, and ForLMLExplore/MeasureTheory/Measure/ProbabilityMeasure/Separable.lean for the prerequisite).
  • Beyond [EVR26], argued here and not checked elsewhere:
    • Corollary 10 is stated for every task on vectors of means of per-arm exponential families at the models where the costs θ' ↦ D(θ', w, ¬i) are lower semicontinuous, with Layer 3.3 discharging that hypothesis. Note 55 and its Lean form treat best arm identification in one family. The proof is Note 55's: the inequality KL(κ, member z) ≥ d(y, z) for a law κ of mean y holds arm by arm, and the continuity of the cost is the only property of the task that it uses.
    • The implication LML's IsPAC ⇒ δ-correct when it stops (an event inclusion).
    • The δ-PAC claim for the laws on [0, 1]: it combines Theorem 5 (almost sure stopping at every model where D* > 0 and the experts determine it) with Corollary 9.
    • The completion check on finite alphabets through the weakly compact case.
  • Generality decisions:
    • The arms share one observation space 𝓨, as in the Conventions; Note 55 has one space per arm.
    • Corollary 9 is stated for separable pseudo-metrizable spaces, as in the Lean; Note 55 assumes them metrizable.
    • The dominating measures are s-finite, as in the Lean; Note 49 takes them σ-finite. EValues 6.1's block bets, stated for a σ-finite measure, are used through the finite measure (ρ a).toFinite.
    • Theorem 7's converse asks δ-correctness when stopping for small δ only.
    • The algorithm is pinned to the fixed-window schedule of the Lean proof. The constant C(η) of order exp(Θ(η^{-4})) quoted in "Guarantees" comes from Note 49's own schedule.
    • The sharp bound of Layer 2.3 now asks for an alternative at θ, as LMLExplore's version does: without one, D* = ∞ and an algorithm that stops at once breaks the inequality.
    • Proposition 8, item 1, is a statement about designs with no task, so it could equally sit in EValues 6.4 next to "When D* is the entropy constant"; it is placed here with the experts it produces.
  • Merged code: IdentTask.IsDeltaCorrect.klBer_le_designRate_mul_expectedStoppingTime stays and becomes a corollary of the weaker-hypothesis bound. That bound is asked for in Layer 5.4, which has no implementation, so that a worker picks it up there. Generalization 1.39 schedules it.
  • EValues 6.4 "Consequences" is aligned in this pull request: its lower bounds are asked for algorithms δ-correct when they stop.
  • Note 55's Counterexamples 2 and 11 are not targets (they need an analytic set that is not Borel); Layer 5.4 mentions Counterexample 11 as what fails without experts.

Suggested.lean builds, in EValues/ and in Identification/.

Drafted with Claude Opus 5.5 at the request of the code owner.

🤖 Generated with Claude Code

https://claude.ai/code/session_0196ftMTph1jcT2Bg6VzaDTm

RemyDegenne and others added 3 commits November 28, 2026 11:12
…e Yosida–Hewitt decomposition, tests for unions of convex pieces, and the classes on which one e-process attains the rate

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0196ftMTph1jcT2Bg6VzaDTm
…est functions

Layer 5.4 at the generality of [EVR26, Note 55]: the algorithm for any sequence of experts on any
observation space, delta-correct when it stops (pinned in the Conventions, with the sharp lower
bound of Layer 2.3 under it); the classes of models on which one algorithm attains D*; experts for
single models and countable sets; experts from countably many integrable test functions, with
weakly compact alternatives, the laws on [0, 1] and per-arm exponential families; the second
countability of convergence in distribution on separable pseudo-metrizable spaces.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0196ftMTph1jcT2Bg6VzaDTm
… and schedule two restatements

EValues 6.4 "Consequences" asks its lower bounds for algorithms delta-correct when they
stop (Identification, Conventions). Generalization 1.38 derives
exists_isEProcess_ae_tendsto_log_div_bipolarRate from the e-process built from a family
of block bets (EValues 6.1), and 1.39 derives
IdentTask.IsDeltaCorrect.klBer_le_designRate_mul_expectedStoppingTime from the bound for
algorithms delta-correct when they stop (Identification 5.4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0196ftMTph1jcT2Bg6VzaDTm
@RemyDegenne
RemyDegenne merged commit 680bcfe into main Nov 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant