Reference · The Applied Higher-Order Functions catalogue
rainbow.algorithms.proofs.ahof.exploration-strategies
Kochenderfer 'Algorithms for Decision Making' Ch.15 bandit exploration strategies, expressed as higher-order-function compositions and proved axiom-free (core structural property per algorithm), extending the 222 AHoF catalog: D15.3 epsilon-greedy : explore/exploit branch (Bool) over a random bit D15.4 explore-then-commit : two-phase branch on a round>=k threshold (decide-at-most) D15.5 softmax exploration : stochastic policy, probability = weight / total (divide) D15.6 quantile exploration : optimistic additive bonus (mean + bonus), pick the max Greedy exploitation reuses rainbow.math.rational.nnrat.minmax (max dominates both arms). Native and axiom-free; chains nnrat-minmax on the d63 base.
explore/epsilon-greedy
explore/epsilon-greedy : (x₁ : Prop) (x₂ : data/Bool) (x₃ x₄ : ℚ≥0) → ℚ≥0
ℚ≥0 = nnrat/NonnegativeRational
explore/greedy-value
explore/greedy-value : (x₁ x₂ : ℚ≥0) → ℚ≥0
ℚ≥0 = nnrat/NonnegativeRational
explore/explore-then-commit
explore/explore-then-commit : (x₁ : Prop) (x₂ : data/Bool) (x₃ x₄ : ℚ≥0) → ℚ≥0
ℚ≥0 = nnrat/NonnegativeRational
explore/quantile-score
explore/quantile-score : (x₁ x₂ : ℚ≥0) → ℚ≥0
ℚ≥0 = nnrat/NonnegativeRational
explore/quantile-select
explore/quantile-select : (x₁ x₂ : ℚ≥0) → ℚ≥0
ℚ≥0 = nnrat/NonnegativeRational
explore/softmax-probability
explore/softmax-probability : (x₁ x₂ : ℚ≥0) → ℚ≥0
ℚ≥0 = nnrat/NonnegativeRational
explore/epsilon-greedy-exploits
explore/epsilon-greedy-exploits : (cond : Prop) (exploit random : ℚ≥0) → explore/epsilon-greedy cond data/false exploit random = exploit
= = equality/Eqℚ≥0 = nnrat/NonnegativeRational
explore/epsilon-greedy-explores
explore/epsilon-greedy-explores : (cond : Prop) (exploit random : ℚ≥0) → explore/epsilon-greedy cond data/true exploit random = random
= = equality/Eqℚ≥0 = nnrat/NonnegativeRational
explore/greedy-dominates-left
explore/greedy-dominates-left : (v0 v1 : ℚ≥0) → v0 ≤ dp/knapsack-cell v0 v1
ℚ≥0 = nnrat/NonnegativeRational≤ = nnrat/at-most
explore/greedy-dominates-right
explore/greedy-dominates-right : (v0 v1 : ℚ≥0) → v1 ≤ dp/knapsack-cell v0 v1
ℚ≥0 = nnrat/NonnegativeRational≤ = nnrat/at-most
explore/explore-then-commit-commits
explore/explore-then-commit-commits : (cond : Prop) (greedy uniform : ℚ≥0) → explore/explore-then-commit cond data/true greedy uniform = greedy
= = equality/Eqℚ≥0 = nnrat/NonnegativeRational
explore/explore-then-commit-explores
explore/explore-then-commit-explores : (cond : Prop) (greedy uniform : ℚ≥0) → explore/explore-then-commit cond data/false greedy uniform = uniform
= = equality/Eqℚ≥0 = nnrat/NonnegativeRational
explore/quantile-optimism-example
explore/quantile-optimism-example : → dp/knapsack-cell (astar/f-value 1/2 0) (astar/f-value 1/2 1/2) = 1
= = nnrat/equivalent: equality of rational values
explore/softmax-probability-example
explore/softmax-probability-example : → accuracy/accuracy 3 4 = 3/4
= = nnrat/equivalent: equality of rational values