Reference · The Applied Higher-Order Functions catalogue
rainbow.algorithms.proofs.ahof.natural-gradient-ng
AHoF D50 Natural Gradient: precondition the gradient by the inverse Fisher metric and step; the parameter update descends update theta step = theta - step. Worked: 4-1=3. Values proved by signed cross-product equivalence. Proved native and axiom-free. Requires signed/subtract, 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.natural-gradient-ng` prints this classification.
nat-grad/update
nat-grad/update : (x₁ x₂ : ℚ) → ℚ
ℚ = signed/SignedRational
nat-grad/update-example
nat-grad/update-example : → ℚ
ℚ = signed/SignedRational
nat-grad/no-update
nat-grad/no-update : → ℚ
ℚ = signed/SignedRational
nat-grad/update-unfold
nat-grad/update-unfold : (a b : ℚ) → nat-grad/update a b = a - b
- = signed/subtract= = equality/Eqℚ = signed/SignedRational
nat-grad/update-example-is-3
nat-grad/update-example-is-3 : → bfgs/change-example = signed/from-nnrat 3
= = signed/equivalent: equality of rational values
nat-grad/no-update-is-0
nat-grad/no-update-is-0 : → dfp/no-step = signed/from-nnrat 0
= = signed/equivalent: equality of rational values