Skip to content
Rainbow docs menu

Reference · The Applied Higher-Order Functions catalogue

rainbow.algorithms.proofs.ahof.taylor-model

The Applied Higher-Order Functions cataloguesrc/rainbow/algorithms/proofs/ahof/taylor_model.clj1 definitions, 4 theorems

AHoF V43 Taylor Model Propagation: represent a function by a polynomial plus a guaranteed remainder interval and propagate it; the model is valid when the remainder magnitude stays within the bound: remainder-bounded? remainder bound = decide (remainder <= bound). Proved native and axiom-free (decision, two positive instances, at-most certificate, negative instance). Requires audit/decide-nnrat-at-most, nnrat/at-most, nnrat/decide-at-most-true-sound (all in the D63 checkpoint). Scope (measured by the kernel): this module has 4 worked instances (statements about specific values). None of its theorems is a guarantee about the algorithm for all inputs; `lein verify rainbow.algorithms.proofs.ahof.taylor-model` prints this classification.

taylor/remainder-bounded?

DefinitionSource, line 44

taylor/remainder-bounded? :
  (x₁ x₂ : ℚ≥0)
  → data/Bool

ℚ≥0 = nnrat/NonnegativeRational

taylor/small-remainder-valid

TheoremWorked exampleNo axiomsSource, line 51

taylor/small-remainder-valid :
  → lis/extends? 1/4 1/2 = data/true

= = equality/Eq

taylor/boundary-valid

TheoremWorked exampleNo axiomsSource, line 57

taylor/boundary-valid :
  → lis/extends? 1/2 1/2 = data/true

= = equality/Eq

taylor/remainder-certificate

TheoremWorked exampleNo axiomsSource, line 63

taylor/remainder-certificate :
  → 1/4 ≤ 1/2

≤ = nnrat/at-most

taylor/large-remainder-invalid

TheoremWorked exampleNo axiomsSource, line 68

taylor/large-remainder-invalid :
  → lis/extends? 3/4 1/2 = data/false

= = equality/Eq