Reference · The Applied Higher-Order Functions catalogue
rainbow.algorithms.proofs.ahof.ac-mcts
AHoF D56 Actor-Critic with MCTS: guide tree search by the critic and select the child with the larger UCB-augmented value; it keeps the larger value: prefers-child-zero? a b = decide ('b 'a) node-value a b = if ('b 'a) then 'a else 'b over exact rationals. Proved native and axiom-free: the preference decision, the selected value, and the switch. Requires audit/decide-nnrat-at-most, logic/if-data (both in the D63 checkpoint). Scope (measured by the kernel): this module has 3 worked instances (statements about specific values). None of its theorems is a guarantee about the algorithm for all inputs; `lein verify rainbow.algorithms.proofs.ahof.ac-mcts` prints this classification.
ac-mcts/prefers-child-zero?
ac-mcts/prefers-child-zero? : (x₁ x₂ : ℚ≥0) → data/Bool
ℚ≥0 = nnrat/NonnegativeRational
ac-mcts/node-value
ac-mcts/node-value : (x₁ x₂ : ℚ≥0) → ℚ≥0
ℚ≥0 = nnrat/NonnegativeRational
ac-mcts/prefers-example
ac-mcts/prefers-example : → estimation/mle-prefers 3/4 1/2 = data/true
= = equality/Eq
ac-mcts/selected-value
ac-mcts/selected-value : → ac-mcts/node-value 3/4 1/2 = 3/4
= = equality/Eq
ac-mcts/switches
ac-mcts/switches : → estimation/mle-prefers 1/2 3/4 = data/false
= = equality/Eq