0070 I25-40179 — independent mathematical audit
Agent: /root/review_0066_math
Title: Position: Constants are Critical in Regret Bounds for Reinforcement Learning
Source: papers/0070/0070.pdf, 43 pages.
SHA-256 independently recomputed by independent_checks.py:
89c52167bb0bc6eb54e2c40dd407f6516ae53fcf9b39a89765f3779edecc1620

SCOPE AND METHOD
This note audits the stated bonuses, Appendix E (Theorem 3.1), Appendix F
(Theorem 3.2 and optimism Lemma F.1), and Lemma D.9. D.7 was read to trace
the parent reviewer's reciprocal-square-root summation finding into D.9/F.
The main assumptions and Algorithm 1 were read: finite states/actions, known
deterministic rewards in [0,1], stage-independent transitions, deterministic
stage-dependent policies, T=KH, and b_{k,H}=0.
Appendix C and the D.1-D.4 proofs were assigned to another agent; D.5-D.8
were assigned to the parent. Their correctness is NOT independently
certified here. Definitions in B/C and selected dependencies were consulted.
Main empirical claims, plotting code, author code, all benchmarks, and
primary-source citation claims were not independently reproduced.
No author code or external software was executed or installed.
The only executed program is a small independent reviewer calculation.

PDF visual verification:
page3.png: Algorithm 1 and main bonuses.
page29.png: D.9 Eq. (47), definition of b', and variance decomposition.
page31.png: D.9 Eqs. (55)-(58), reciprocal sums, stage-counter aggregation.
page34.png: Appendix E harmonic and reciprocal-root summations.
page37.png: Lemma F.1 stated bonus and optimism error recursion.
page40.png: Eq. (74), including the extra L.
page41.png: closing optimism argument and final regret arithmetic.
All these files are in this agent_math directory.

FINDING A — THE OPTIMISM PROOF SUBSTITUTES A LARGER BONUS
Recommended severity: Major under the operative review standard for a
demonstrably invalid, substantive derivation central to the contribution.
This recommendation concerns the guarantee for the stated reduced bonus.
It does not assert that the algorithm is nonoptimistic, that the final
theorem is false, or that the empirical results fail.

Locations:
- Main Theorem 3.2, p.3, correction term (C).
- Appendix F theorem restatement, p.35.
- Lemma F.1, p.37.
- Appendix F, Eq. (74), p.40, and the final optimism display on p.41.

Write N=N_k(x,a), L=ln(5HSAT/delta), and
b'(y)=min{84^2 H^3 S^2 A L^2 / max(1,N'_{k,h}(y)), H^2}.
The main theorem's correction is
  C_actual = sqrt(4 E_{P_hat}[b'] / N)
for N>1; the max conventions are immaterial below.
The first variance term is sqrt(4 L Var_{P_hat}(V_{k,h}) / N).
The linear term is B=7HL/[3(N-1)].

At Eq. (74), after subtracting an empirical-Bernstein confidence radius,
the proof writes an equality whose correction is instead
  C_proof = sqrt(4 L E_{P_hat}[b'] / N) = sqrt(L) C_actual.
The extra factor L is not present in the stated bonus. It cannot be
absorbed into the definition of b': b' already contains L^2 inside its
first branch, and the H^2 cap is explicit. Main p.3, p.35 and F.1 p.37
all omit this extra L. D.9 Eq. (47), p.29, also uses a correction without L.

The closing p.41 argument compares
  sqrt(4 L E[b']/N)
with
  sqrt(4 L E[(V_{k,h}-V_h^*)^2]/N)
and invokes the squared-gap bound (72). This comparison establishes
nonnegativity for the enlarged term. Substituting the actual bonus into
the same reasoning produces instead
  sqrt(4 E[b']/N) - sqrt(4 L E[(V_{k,h}-V_h^*)^2]/N),
whose nonnegativity does not follow from gap^2 <= b'.
Since L>ln(5)>1 throughout the stated parameter domain, this is a strict
enlargement whenever E[b']>0, not a convention about constant equality.

Complete admissible execution witnessing a false displayed lower bound:
Take H=2, S=1, A=2, K=100000, delta=0.05. There is a single state s,
and both actions a0,a1 deterministically return to s. All rewards are
known and identically zero. Consequently every optimal and policy value
is zero. Take T=200000 and
  L=ln(80000000)=18.197537192638155.
Use legal deterministic tie choices:
  Episode 1: a0 at both stages.
  Episodes 2,...,K: a1 at stage 1 and a0 at stage 2.
Before episode k>=2, the state-action counts are
  N_k(s,a0)=k,  N_k(s,a1)=k-2,
and the count of s at each stage is k-1.
The last-stage estimated values are zero by the known-reward update and
b_{k,H}=0. Both stage-2 actions tie. At stage 1, the lower-count action a1
has the larger bonus. For this entire run b' is capped at H^2=4:
at the largest denominator its uncapped value is
  84^2 * 2^3 * 1^2 * 2 * L^2 / 99999
  = 373.85924887973357 > 4.
Thus stage-1 bonuses are a decreasing function of their action count n:
  b(n)=7HL/[3 max(n-1,1)] + 2H/sqrt(max(n,1)).
Both Q functions equal min{2,b(n)}. Their monotone previous-Q clipping
does not alter this expression. The specified stage-1 choices are
therefore greedy at every episode. The script verifies this closed-form
greedy inequality across all k=2,...,K; it does not execute author code.
At the initially unobserved actions any convention selecting the sole
probability measure is valid; the linear bonus already exceeds H, so
these first choices are unaffected by the unseen-transition convention.

At episode K, choose the optimal action a1 (every action is optimal).
Then n=N_K(s,a1)=99998, N'_{K,2}(s)=99999, and
  B = 0.0008492438796395031,
  C_actual = 0.012649237133677323,
  V_{K,1}(s)-V_1^*(s)=B+C_actual=0.013498481013316826.
The variances of V_{K,2} and V_2^* are both zero.
The legitimate first lower bound in Eq. (74) is b-B=C_actual.
The equality printed next replaces it by
  C_proof = 0.05395983862193981.
That printed lower bound exceeds the actual value difference by
  0.04046135760862298.
Thus the displayed inequality chain fails on an execution satisfying
the model and algorithm assumptions, not only on arbitrary scalar inputs.
One can also see the contradiction without sensitive decimal arithmetic:
18<L<19 implies sqrt(L)>4, while B/C_actual<0.071, so actual V<1.071C
and the printed bound is >4C.

Assumption audit:
- H,S,A,K positive integers, delta in (0,1).
- Rewards deterministic, known, in [0,1].
- Transitions time-independent and deterministic.
- Policies deterministic and stage-dependent; specified choices are legal
  maximizers, including initialization ties.
- SA=H=2 and T>=H^3 S^3 A; even the asymptotic side regime holds.
- N and N' exceed 1, so all disputed denominators are regular.
- K and N' exceed 250 H S^2 A L; the current typical-count threshold holds.
- Empirical transition errors and all martingale increments are zero.
  Event E therefore holds deterministically on the sole-state execution.
- All value estimates are nonnegative and V*=0, so optimism itself holds.
- Expected-min versus min-of-expectation ambiguity disappears with a
  single state. All relevant b' variants use the same capped value 4.
- The final regret is zero. No regret-bound violation is claimed.

Dependency and repair:
The proof explicitly establishes optimism before upper-bounding true
regret by the estimated-value surrogate. The optimistic interpretation
and guarantee for the smaller bonus are central analytical contributions.
This is therefore more than a typographical problem in an unused formula.
A repair must either establish optimism for C_actual by a different valid
argument (possibly retaining the positive value-gap term discarded in the
printed proof), or change the algorithm/bonus to C_proof and redo the bonus
summation and any corresponding empirical comparison. This note proves
neither that such a repair is impossible nor that the final coefficients
must increase. The stated derivation nevertheless does not prove the
claimed guarantee for the stated algorithm.

FINDING B — RECIPROCAL-ROOT CONSTANTS ARE UNDERCOUNTED
Treat as substantiated errors in the derivation of the refined constants.
Do not describe D.7's statement or the final theorem as disproved without
a separate complete MDP witness to those statements.

Locations:
- D.7, p.25, bounds on terms (a) and (c).
- D.9, p.31, Eqs. (56)-(57).
- Appendix E, p.34 bonus summation and p.35 model-error summation.

For any integer m>=1,
  sum_{n=1}^m n^(-1/2) >= sqrt(m),
and it is strictly greater for m>1. Standard integral bounds give
  sum_{n=1}^m n^(-1/2) <= 2sqrt(m)-1 < 2sqrt(m).
For balanced counts with m=T/(SA), the D.7/D.9 transition
  2H^2 sqrt(SL) SA sum_{n=1}^m n^(-1/2)
    <= H^2 S sqrt(A T L)
would require
  sum_{n=1}^m n^(-1/2) <= sqrt(m)/2,
which fails even for m=1. The omitted coefficient approaches four
relative to the printed bound as m grows.
D.7 term (c) analogously starts with 4H^2 sqrt(L) and produces a
coefficient two rather than the sequential-count coefficient eight.
In E the analogous transition requires sum n^(-1/2)<=sqrt(m), losing
an asymptotic factor two.

Independent finite checks:
m=100: sum=18.589603824784152; sqrt(m)=10.
m=10000: sum=198.54464544952376; sqrt(m)=100.
The script records these and exact scalar ratios. These are independent
arithmetic checks, not simulations of the RL benchmark.

Counterevidence and partial repair:
If the preceding sequential reindexing is accepted, D.7's scalar
coefficients 1+4+2=7 can be replaced by 4+4+8=16.
However D.9 Eq. (51) still has enough slack for the advertised 4HT:
the typical threshold gives T>=250 H^2 S^2 A L, and the worst-case
normalized sum is bounded by
  1 + 2/sqrt(250) + 4/(3*250) + 16/sqrt(250)
  =2.14375329099395 <4.
Thus this particular correction alone need not propagate to the final
24/616 coefficients. This calculation is conditional: it does not
validate episode-frozen reindexing, signs, or other preceding lemmas.

In E, an additional mismatch matters: the stated CH bonus is 2HL/sqrt(N),
whereas p.34 writes 2H sqrt(L/N). Correctly summing the stated bonus
would give 4HL sqrt(SAT) under sequential counting. The model-error
term contributes at most 4H sqrt(SAT L) using the paper's coarse radius.
For H>=2, the two displayed martingale terms together contribute at
most 4H sqrt(SAT L). Therefore the repaired coarse envelope is
  4HL sqrt(SAT) + 8H sqrt(SAT L).
Since L>=ln20 in a nontrivial H>=2 setting,
  4+8/sqrt(L) <= 4+8/sqrt(ln20)=8.622090960215017 <10.
This leaves room inside the main theorem's 10HL sqrt(SAT), even though
the printed intermediate proof is invalid. This conditional envelope
does not certify the final theorem because D.2 and visit counting remain
separate dependencies. H=1 has zero regret because the rewards are known.

ADDITIONAL COUNTING/CONSISTENCY OBSERVATIONS
These are supporting observations, not separately inflated findings.

1. D.9 p.31 term (l) drops the stage index in the reciprocal stage-count
sum:
  sum_i sum_{j=h}^{H-1} 1/N'_{i,j+1}(x_{i,j+1})
is replaced by a single sum over x and n<=T. Distinct stage counters
cannot generally be pooled in this fashion.
For one state, H=3,h=1,K=100000, dropping just the zero-count first
episode yields the actual count expression
  2 sum_{n=1}^{99999}1/n =24.180272259726856,
whereas the printed single harmonic comparison is
  sum_{n=1}^{300000}1/n=13.188755085205612.
This witnesses the intermediate counting inequality's failure; it does
not alone disprove the eventual D.9 bonus-sum bound, which contains
other slack and the cap on b'.
The consistent direct stage count bound has an additional factor H.
Using the main H^3 definition of b' would produce a correction of order
168 H^2 S^2 A L^2 instead of the displayed 168 H^(3/2) S^2 A L^2.
The final F arithmetic already rounds the latter up to an H^2 term,
so the final 616 coefficient may have room to absorb this correction.
Also note an actual formula inconsistency: p.29 defines b' using H^2,
whereas the main theorem, D.9 statement p.28, and p.31 use H^3.
If H^2 had been the intended algorithmic definition, the stage factor
would interact differently. The algorithm's definition must be unified.

2. F.1 p.39 Eq. (70)->(71) is said to follow from
N'>=250 H S^2 A L. That scalar implication is false at threshold-scale
counts: the L^2 lower-order term cannot be absorbed with only the stated
L-scale count. The script takes H=2,S=1,A=2,K=100000,delta=.05 and
N'=18198 (at least the threshold 18197.537...):
  Eq70 expression = 4959659.619293786,
  Eq71 expression = 815315.1483597114.
This is a counterexample to the claimed algebraic threshold implication,
not a demonstration that actual U equals the Eq70 bound.
Crucial counterevidence: the final Eq72 is capped by H. For
N'<=84^2 H S^2 A L^2 it is already trivial from value boundedness.
The much larger unclipped count regime offers enough slack to repair
the absorption. Do not treat this as a separate theorem disproof.

3. Main term (C) uses E[min{...,H^2}], but F.1/D.9 statements print
min{E[...],H^2}. The former is at most the latter. They are not generally
equal, although they coincide in the deterministic one-state witness
above. This inconsistency should be unified during correction; it is
not needed for Finding A.

4. Eq. (73), p.40, drops a signed transition-model error under an appeal
to the induction hypothesis. The induction only makes the value-gap
term nonnegative. Eq. (74)'s first empirical-Bernstein lower bound can
instead be obtained by dropping that nonnegative gap and retaining the
transition error, so this appears locally repairable. Do not add a
separate major finding for this line.

5. F.1 p.38 says U_{k,h,x} decreases with h because of nested sums.
As defined p.36, its episode indicator I(x_{i,h}=x) and N'_{k,h}(x)
also change with h. That nesting argument is not justified as written.
No complete dependency audit or MDP witness for this candidate was
finished in this agent's scope. It remains a clarification candidate,
not an adopted finding.

NO-ISSUE / UNFINISHED LEDGER
- The generic quadratic implication U<=alpha+beta sqrt(U) =>
  U<=2alpha+beta^2 is valid for nonnegative U.
- The rounding 1846/3 <=616 is valid.
- The intended variance comparison
  Var(X)<=2Var(Y)+2Var(X-Y) is valid; the preceding final line on p.40
  omits a 2, but the next-page application uses the correct two.
- The final threshold substitution and log powers were examined only
  through the dependencies documented above; the full theorem is not
  independently certified.
- C probability allocation, D.1-D.4, and most D.5-D.8 assumptions were
  allocated to other reviewers.
- No benchmark rerun, figure reproduction, author-code execution,
  adversarial environment search, or high-probability theorem violation
  was performed or claimed.
- No claim of author intent, misconduct, or coding provenance is made.

ARTIFACTS
independent_checks.py — complete independent calculation.
independent_results.json — numeric outputs, source hash, assumptions.
analysis.txt — this note.
page3.png,page29.png,page31.png,page34.png,page37.png,page40.png,page41.png
  — rendered original PDF evidence.

External primary sources opened for limited context:
https://proceedings.mlr.press/v70/azar17a/azar17a.pdf
https://proceedings.mlr.press/v70/azar17a/azar17a-supp.pdf
No finding in this note depends on an unverified statement about those
sources or on a claim that the error is unique to this paper.
