Skip to content
Rainbow docs menu

Reference · The Applied Higher-Order Functions catalogue

rainbow.algorithms.proofs.ahof.hypergradient-hg

The Applied Higher-Order Functions cataloguesrc/rainbow/algorithms/proofs/ahof/hypergradient_hg.clj3 definitions, 3 theorems

AHoF O25 Hypergradient Descent: adapt the learning rate online by a hypergradient correction, updating rate-update rate adjustment = rate + adjustment. 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.hypergradient-hg` prints this classification.

hypergrad-ng/rate-update

DefinitionSource, line 44

hypergrad-ng/rate-update :
  (x₁ x₂ : ℚ)
  → ℚ

ℚ = signed/SignedRational

hypergrad-ng/update-example

DefinitionSource, line 49

hypergrad-ng/update-example :
  → ℚ

ℚ = signed/SignedRational

hypergrad-ng/no-adjustment

DefinitionSource, line 53

hypergrad-ng/no-adjustment :
  → ℚ

ℚ = signed/SignedRational

hypergrad-ng/rate-update-unfold

TheoremHolds by unfolding a definitionNo axiomsSource, line 59

hypergrad-ng/rate-update-unfold :
  (a b : ℚ)
  → game-ascent/ascent-step a b = a + b

+ = signed/add= = equality/Eqℚ = signed/SignedRational

hypergrad-ng/update-example-is-3

TheoremWorked exampleNo axiomsSource, line 67

hypergrad-ng/update-example-is-3 :
  → game-ascent/ascent-example = signed/from-nnrat 3

= = signed/equivalent: equality of rational values

hypergrad-ng/no-adjustment-is-3

TheoremWorked exampleNo axiomsSource, line 72

hypergrad-ng/no-adjustment-is-3 :
  → game-ascent/no-step = signed/from-nnrat 3

= = signed/equivalent: equality of rational values