Lean module · Frontier
BanditRLProof.DelayedFeedback.Accounting
Generated source map for this Lean module.
Module map
Imports
No project-local imports.
Imported by
BanditRLProof, BanditRLProof.DelayedFeedback.CausalView, BanditRLProof.DelayedFeedback.Processing
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
def
BanditRLProof.DelayedFeedback.observedBefore
Compiled
Source rounds whose delayed feedback is available before the action at round `t`. The strict inequality matches the NeurIPS 2025 delayed-SAPO source: feedback generated at `s` arrives at the end of `s + delay s`, hence it can be used for the next action only when `s + delay s < t`.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.observedBeforeReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def observedBefore (delay : Nat → Nat) (t : Nat) : Finset Nat
def
BanditRLProof.DelayedFeedback.outstandingAt
Compiled
Source rounds before `t` whose feedback is not yet available when the action at `t` is chosen. Future source rounds are excluded by `Finset.range t`.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.outstandingAtReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def outstandingAt (delay : Nat → Nat) (t : Nat) : Finset Nat
theorem
BanditRLProof.DelayedFeedback.observedBefore_disjoint_outstandingAt
Compiled
Available and outstanding feedback form disjoint parts of the past.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.observedBefore_disjoint_outstandingAtReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem observedBefore_disjoint_outstandingAt (delay : Nat → Nat) (t : Nat) : Disjoint (observedBefore delay t) (outstandingAt delay t)
theorem
BanditRLProof.DelayedFeedback.observedBefore_union_outstandingAt
Compiled
Every source round before `t` is either available or outstanding.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.observedBefore_union_outstandingAtReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem observedBefore_union_outstandingAt (delay : Nat → Nat) (t : Nat) : observedBefore delay t ∪ outstandingAt delay t = Finset.range t
theorem
BanditRLProof.DelayedFeedback.card_observedBefore_add_card_outstandingAt
Compiled
The available and outstanding counts add up to the number of past source rounds.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Indexed settings: Delayed and nonstationary bandits
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.card_observedBefore_add_card_outstandingAtReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem card_observedBefore_add_card_outstandingAt (delay : Nat → Nat) (t : Nat) : (observedBefore delay t).card + (outstandingAt delay t).card = t
def
BanditRLProof.DelayedFeedback.outstandingCount
Compiled
Number of source rounds before `t` whose feedback cannot yet be used by the action at `t`. This action-time surface is kept separate from the paper's end-of-round `sigma(t)` until their one-based/zero-based index bridge is proved.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.outstandingCountReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def outstandingCount (delay : Nat → Nat) (t : Nat) : Nat
def
BanditRLProof.DelayedFeedback.maxOutstandingBeforeThrough
Compiled
Largest action-time outstanding count through the inclusive horizon.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.maxOutstandingBeforeThroughReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def maxOutstandingBeforeThrough (delay : Nat → Nat) (horizon : Nat) : Nat
theorem
BanditRLProof.DelayedFeedback.outstandingCount_le_round
Compiled
An action-time outstanding count never exceeds the number of past source rounds.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.outstandingCount_le_roundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem outstandingCount_le_round (delay : Nat → Nat) (t : Nat) : outstandingCount delay t ≤ t
theorem
BanditRLProof.DelayedFeedback.outstandingCount_le_maxOutstandingBeforeThrough
Compiled
Every action-time outstanding count inside the horizon is bounded by the finite maximum surface.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.outstandingCount_le_maxOutstandingBeforeThroughReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem outstandingCount_le_maxOutstandingBeforeThrough (delay : Nat → Nat) {t horizon : Nat} (ht : t ≤ horizon) : outstandingCount delay t ≤ maxOutstandingBeforeThrough delay horizon
def
BanditRLProof.DelayedFeedback.oneBasedDelayShift
Compiled
Convert a one-based paper delay sequence into the zero-based source carrier used by `outstandingAt`: zero-based source `s` represents paper source round `s + 1`.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.oneBasedDelayShiftReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def oneBasedDelayShift (delay : Nat → Nat) (s : Nat) : Nat
def
BanditRLProof.DelayedFeedback.paperMissingAtEnd
Compiled
The paper's end-of-round missing-feedback set, represented on a zero-based finite carrier. An element `s` denotes paper round `s + 1`, and the predicate is exactly `(s + 1) + d_(s+1) > t` for source rounds at most `t`.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.paperMissingAtEndReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def paperMissingAtEnd (delay : Nat → Nat) (t : Nat) : Finset Nat
theorem
BanditRLProof.DelayedFeedback.paperMissingAtEnd_eq_outstandingAt_oneBasedDelayShift
Compiled
The source paper's one-based end-of-round missing set is exactly the action-time outstanding set after reindexing source rounds and delays. This lemma is the explicit off-by-one bridge; the two surfaces are not identified by notation alone.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.paperMissingAtEnd_eq_outstandingAt_oneBasedDelayShiftReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem paperMissingAtEnd_eq_outstandingAt_oneBasedDelayShift (delay : Nat → Nat) (t : Nat) : paperMissingAtEnd delay t = outstandingAt (oneBasedDelayShift delay) t
def
BanditRLProof.DelayedFeedback.paperMissingCount
Compiled
Paper-facing count corresponding to `sigma(t)`, with paper rounds `1, ..., t` represented by zero-based source indices.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.paperMissingCountReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def paperMissingCount (delay : Nat → Nat) (t : Nat) : Nat
theorem
BanditRLProof.DelayedFeedback.paperMissingCount_eq_outstandingCount_oneBasedDelayShift
Compiled
Cardinal form of the one-based/end-of-round indexing bridge.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.paperMissingCount_eq_outstandingCount_oneBasedDelayShiftReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem paperMissingCount_eq_outstandingCount_oneBasedDelayShift (delay : Nat → Nat) (t : Nat) : paperMissingCount delay t = outstandingCount (oneBasedDelayShift delay) t
theorem
BanditRLProof.DelayedFeedback.paperMissingCount_le_round
Compiled
The paper-facing missing count at round `t` is at most `t`.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.paperMissingCount_le_roundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem paperMissingCount_le_round (delay : Nat → Nat) (t : Nat) : paperMissingCount delay t ≤ t
def
BanditRLProof.DelayedFeedback.paperSigmaMaxThrough
Compiled
Finite maximum of the paper-facing missing-count surface through an inclusive horizon.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.paperSigmaMaxThroughReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def paperSigmaMaxThrough (delay : Nat → Nat) (horizon : Nat) : Nat
theorem
BanditRLProof.DelayedFeedback.paperMissingCount_le_paperSigmaMaxThrough
Compiled
Each paper-facing missing count is bounded by its finite maximum through the declared horizon.
Used in these reading views: Bandit Book
10. Automation, resources, and open routes
Canonical node identity
declaration:BanditRLProof.DelayedFeedback.paperMissingCount_le_paperSigmaMaxThroughReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem paperMissingCount_le_paperSigmaMaxThrough (delay : Nat → Nat) {t horizon : Nat} (ht : t ≤ horizon) : paperMissingCount delay t ≤ paperSigmaMaxThrough delay horizon