Skip to content
Rainbow docs menu

Reference · The Applied Higher-Order Functions catalogue

rainbow.algorithms.proofs.ahof.support-function

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

AHoF V37 Support Function Method: represent a convex reachable set by its support function; a halfspace in a direction is respected when the set's support value in that direction is within the halfspace bound: within-support? support-value bound = decide (support-value <= 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.support-function` prints this classification.

support-fn/within-support?

DefinitionSource, line 44

support-fn/within-support? :
  (x₁ x₂ : ℚ≥0)
  → data/Bool

ℚ≥0 = nnrat/NonnegativeRational

support-fn/support-within-bound

TheoremWorked exampleNo axiomsSource, line 51

support-fn/support-within-bound :
  → lis/extends? 1/2 3/4 = data/true

= = equality/Eq

support-fn/boundary-support

TheoremWorked exampleNo axiomsSource, line 57

support-fn/boundary-support :
  → lis/extends? 1/2 1/2 = data/true

= = equality/Eq

support-fn/support-certificate

TheoremWorked exampleNo axiomsSource, line 63

support-fn/support-certificate :
  → 1/2 ≤ 3/4

≤ = nnrat/at-most

support-fn/support-exceeds-bound

TheoremWorked exampleNo axiomsSource, line 68

support-fn/support-exceeds-bound :
  → lis/extends? 3/4 1/2 = data/false

= = equality/Eq