Reference · The Applied Higher-Order Functions catalogue
rainbow.algorithms.proofs.ahof.deterministic-pg
AHoF D55 Deterministic Policy Gradient: the DPG theorem gives the gradient as the chain product of the action-value gradient and the policy Jacobian, grad = ∇_a Q · ∇_θ μ: policy-gradient q-grad mu-grad = q-grad * mu-grad (over signed). Worked: 2 * 3 = 6. Values proved by signed cross-product equivalence. Proved native and axiom-free. Requires signed/multiply (from rainbow.math.rational.signed.multiply, chained), signed/from-nnrat, signed/equivalent. 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.deterministic-pg` prints this classification.
det-pg/policy-gradient
det-pg/policy-gradient : (x₁ x₂ : ℚ) → ℚ
ℚ = signed/SignedRational
det-pg/gradient-example
det-pg/gradient-example : → ℚ
ℚ = signed/SignedRational
det-pg/unit-jacobian
det-pg/unit-jacobian : → ℚ
ℚ = signed/SignedRational
det-pg/policy-gradient-unfold
det-pg/policy-gradient-unfold : (a b : ℚ) → det-pg/policy-gradient a b = a · b
= = equality/Eq· = signed/multiplyℚ = signed/SignedRational
det-pg/gradient-example-is-6
det-pg/gradient-example-is-6 : → det-pg/gradient-example = signed/from-nnrat 6
= = signed/equivalent: equality of rational values
det-pg/unit-jacobian-is-3
det-pg/unit-jacobian-is-3 : → det-pg/unit-jacobian = signed/from-nnrat 3
= = signed/equivalent: equality of rational values