Repository navigation
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
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
dof 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
dthroughKL_inf, envelopes, finite partitions and the i.i.d. saturation. It does not say what the three numbersa 1 ≤ d ≤ KL_infare as values of one game, nor thatdis an exponent of the upper probability of the null, and on a general space it has no description ofdas 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]:maxEPower Q TandklInf Q Tof the game between bounded bets and any nullT, witha nandn * KL_inffornobservations; 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 ofKL_inf, anddis the exponent of the upper probability for statistics of blocks [EVR26, Note 15];H(R | m) = klIntegral R m_cfor the divergence to a set function through finite partitions [YH52];dis the smallest divergence rate fromQ₁to a finitely additive limit of the laws of the blocks of members of the null, attained, andd = klInf Q₁ (iidSaturation S₁)when the countably additive parts of these limits are powers [EVR26, Note 43, Theorem 4 and Corollary 5];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 rateKL_infalmost surely when the estimate converges, with the Condorcet null as an instance wherea 1 = 0 < d[EVR26, Note 32, Statements 1, 3 and 4];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 atlog (1/α) / dalmost 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 attainsD*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 attainsD*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 determineD*, so the roadmap'sδ-correctness (stop and answer correctly with probability at least1 - δ) is a notion it cannot satisfy. The amendment adds, at the generality of [EVR26, Note 55, Section 2]:δ-correct when it stops, with the chainδ-PAC ⇒δ-correct ⇒ LML'sIsPAC⇒δ-correct when it stops, andδ-PAC ⇔δ-correct when it stops and stopping almost surely; the sharp lower boundkl(δ, 1 - δ) ≤ D* E_θ[τ]of Layer 2.3 under it [EVR26, Notes 41 and 55];1 / D*is the optimal constant at every model of every task with countably many answers;Ψ^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], with0 < D* = 1/T* < ∞and oneδ-PAC algorithm atT*; exponential families without an algorithm (Corollary 10), stated for every task on per-arm families whose costs are lower semicontinuous (Layer 3.3);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 inLMLExplore/MeasureTheory/Measure/.README.md, Conventions: a paragraph "Finitely additive measures" (Mathlib'sAddContent ℝ≥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 andD* ≥ 1 / care 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_bipolarRatebecomes 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.TFAEandMathlib.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'sIsPAC, and the rule that the results of Layers 2.3 and 5.4 withD*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 homeLMLExplore/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 withD*for algorithmsδ-correct when they stop, at models with an alternative. LMLExplore'sIdentTask.IsDeltaCorrect.klBer_le_designRate_mul_expectedStoppingTimebecomes 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 whichD*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'smaxUtilityandlogUtility; 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 algorithmlearnDesignAlg,learnDesign,learnDesign_alg, andisDeltaCorrectOnStop_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 derivesexists_isEProcess_ae_tendsto_log_div_bipolarRateand the tests built from the same e-process from the e-process of a family of block bets (EValues 6.1); target 1.39 derivesIdentTask.IsDeltaCorrect.klBer_le_designRate_mul_expectedStoppingTimefrom 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.
EValuesResearch(github.com/RemyDegenne/evalues_research, commit ee771b9, filesResults/RateGame.lean,Results/Saturation.lean,Results/SaturationAux.lean,Results/ConvexPiecesTests.lean,Results/ConvexPiecesTestsAux.lean,Results/UndominatedClasses.lean, andForLMLExplore/MeasureTheory/Measure/FinitelyAdditive.leanfor 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.Ton any space; the Lean states the blockssampleNull S₁ n, which are the instances. For the Yosida–Hewitt decomposition, the uniqueness and the equalityH(R | m) = klIntegral R m_care 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 ofH(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 mergedProbabilityTheory.isEProcess_minLikelihoodRatio_prodBernoulliis; the Lean has the i.i.d. null. The two-null test takes an e-process foriidNull 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.prodBernoulli), the model of Note 32 and of the mergedConvexPieces.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.H₁charging every point: these are the hypotheses of the mergedTestSupermartingale/ConvexHull.lean, which its Dirac counterexample shows are needed.ProbabilityTheory.exists_isEProcess_ae_tendsto_log_div_bipolarRatebecomes the case of the dominated alternatives, with the familyProbabilityTheory.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).Points to check, Identification.
referee/55-report.md, which found no numbered claim wrong) and Note 49, with every statement of the item proved in Lean inEValuesResearch(github.com/RemyDegenne/evalues_research, commit ee771b9, filesResults/DesignExperts.lean,DesignLearning.leanwithDesignLearningAux*.lean,DesignLearningWald.leanfor the lower bound underδ-correctness when stopping,DesignExpertsExist.lean,DesignExpertsIff.leanwithDesignExpertsIffAux.lean,DesignTestFunctions.leanwithDesignTestFunctionsAux.lean,DesignWeak.lean,DesignExpFamily.lean,DesignLearningCorollaries.lean, andForLMLExplore/MeasureTheory/Measure/ProbabilityMeasure/Separable.leanfor the prerequisite).θ' ↦ 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 inequalityKL(κ, member z) ≥ d(y, z)for a lawκof meanyholds arm by arm, and the continuity of the cost is the only property of the task that it uses.IsPAC⇒δ-correct when it stops (an event inclusion).δ-PAC claim for the laws on[0, 1]: it combines Theorem 5 (almost sure stopping at every model whereD* > 0and the experts determine it) with Corollary 9.𝓨, as in the Conventions; Note 55 has one space per arm.(ρ a).toFinite.δ-correctness when stopping for smallδonly.C(η)of orderexp(Θ(η^{-4}))quoted in "Guarantees" comes from Note 49's own schedule.θ, as LMLExplore's version does: without one,D* = ∞and an algorithm that stops at once breaks the inequality.D*is the entropy constant"; it is placed here with the experts it produces.IdentTask.IsDeltaCorrect.klBer_le_designRate_mul_expectedStoppingTimestays 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.δ-correct when they stop.Suggested.leanbuilds, inEValues/and inIdentification/.Drafted with Claude Opus 5.5 at the request of the code owner.
🤖 Generated with Claude Code
https://claude.ai/code/session_0196ftMTph1jcT2Bg6VzaDTm