Skip to content
Rainbow docs menu

Reference · The Applied Higher-Order Functions catalogue

rainbow.algorithms.proofs.ahof.disturbance-falsification

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

AHoF V10 Disturbance-Based Falsification: search bounded disturbances to drive the system to a violation; a violation is found when the achieved robustness drops to or below the margin: violation? robustness margin = decide (robustness <= margin). 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.disturbance-falsification` prints this classification.

dist-fal/violation?

DefinitionSource, line 44

dist-fal/violation? :
  (x₁ x₂ : ℚ≥0)
  → data/Bool

ℚ≥0 = nnrat/NonnegativeRational

dist-fal/low-robustness-violation

TheoremWorked exampleNo axiomsSource, line 51

dist-fal/low-robustness-violation :
  → ce-is/elite? 1/4 1/2 = data/true

= = equality/Eq

dist-fal/boundary-violation

TheoremWorked exampleNo axiomsSource, line 57

dist-fal/boundary-violation :
  → ce-is/elite? 1/2 1/2 = data/true

= = equality/Eq

dist-fal/robustness-certificate

TheoremWorked exampleNo axiomsSource, line 63

dist-fal/robustness-certificate :
  → 1/4 ≤ 1/2

≤ = nnrat/at-most

dist-fal/high-robustness-safe

TheoremWorked exampleNo axiomsSource, line 68

dist-fal/high-robustness-safe :
  → ce-is/elite? 3/4 1/2 = data/false

= = equality/Eq