Reference · The Applied Higher-Order Functions catalogue
rainbow.algorithms.proofs.ahof.game-ascent
AHoF D80 Gradient Ascent (Games): each player ascends its own payoff gradient, updating ascent-step theta step = theta + step. Worked: 1+2=3. Values proved by signed cross-product equivalence. Proved native and axiom-free. Requires signed/add, signed/from-nnrat, signed/equivalent (all in the D63 checkpoint). Scope (measured by the kernel): this module has 2 worked instances (statements about specific values) and 1 definitional unfoldings (true by unfolding a definition). None of its theorems is a guarantee about the algorithm for all inputs; `lein verify rainbow.algorithms.proofs.ahof.game-ascent` prints this classification.
game-ascent/ascent-step
game-ascent/ascent-step : (x₁ x₂ : ℚ) → ℚ
ℚ = signed/SignedRational
game-ascent/ascent-example
game-ascent/ascent-example : → ℚ
ℚ = signed/SignedRational
game-ascent/no-step
game-ascent/no-step : → ℚ
ℚ = signed/SignedRational
game-ascent/ascent-step-unfold
game-ascent/ascent-step-unfold : (a b : ℚ) → game-ascent/ascent-step a b = a + b
+ = signed/add= = equality/Eqℚ = signed/SignedRational
game-ascent/ascent-example-is-3
game-ascent/ascent-example-is-3 : → game-ascent/ascent-example = signed/from-nnrat 3
= = signed/equivalent: equality of rational values
game-ascent/no-step-is-3
game-ascent/no-step-is-3 : → game-ascent/no-step = signed/from-nnrat 3
= = signed/equivalent: equality of rational values