Skip to content
Rainbow docs menu

Reference · The Applied Higher-Order Functions catalogue

rainbow.algorithms.proofs.ahof.bfgs

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

AHoF O29 BFGS: a quasi-Newton method whose Hessian-approximation update uses the gradient change y = g_{k+1} - g_k: gradient-change g-new g-old = g-new - g-old. 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.bfgs` prints this classification.

bfgs/gradient-change

DefinitionSource, line 44

bfgs/gradient-change :
  (x₁ x₂ : ℚ)
  → ℚ

ℚ = signed/SignedRational

bfgs/change-example

DefinitionSource, line 49

bfgs/change-example :
  → ℚ

ℚ = signed/SignedRational

bfgs/no-change

DefinitionSource, line 53

bfgs/no-change :
  → ℚ

ℚ = signed/SignedRational

bfgs/gradient-change-unfold

TheoremHolds by unfolding a definitionNo axiomsSource, line 59

bfgs/gradient-change-unfold :
  (a b : ℚ)
  → bfgs/gradient-change a b = a - b

- = signed/subtract= = equality/Eqℚ = signed/SignedRational

bfgs/change-example-is-3

TheoremWorked exampleNo axiomsSource, line 67

bfgs/change-example-is-3 :
  → bfgs/change-example = signed/from-nnrat 3

= = signed/equivalent: equality of rational values

bfgs/no-change-is-0

TheoremWorked exampleNo axiomsSource, line 72

bfgs/no-change-is-0 :
  → bfgs/no-change = signed/from-nnrat 0

= = signed/equivalent: equality of rational values