You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to #172. The core issue introduces typed result guarantees, conservative basic propagation, budget allocation, and fail-closed legality for approximate-over-approximate plans.
Many useful operators do not have a finite global L1/Lipschitz bound, or produce unusably loose bounds when propagated with independent scalar intervals. This issue adds domain-aware nonlinear and correlation-aware propagation without weakening #172's safety rule: no sound rule means the candidate remains illegal.
Represent L1, L2, LInf, and explicitly supported Lp norms. Norm conversion requires dimension/cardinality evidence and must not happen implicitly.
Domain-aware local bounds
Carry a proven value domain alongside an error guarantee:
structResultGuarantee{error:ErrorBound,value_domain:Option<ValueRegion>,assumptions:AssumptionSet,// probability and provenance omitted here}
Operators may derive a local bound only when their domain preconditions are proved. For example, reciprocal/division requires a denominator interval that excludes zero.
Interval extension
Implement monotone and interval-arithmetic rules for selected scalar operators:
x in [lx, ux] -> exp(x) in [exp(lx), exp(ux)]
x in [lx, ux], lx > 0 -> log(x) in [log(lx), log(ux)]
Division by an interval containing zero returns UnboundedComposition.
Jacobian and Taylor remainder
For supported differentiable multi-input operators, permit a certified local rule:
Context
Follow-up to #172. The core issue introduces typed result guarantees, conservative basic propagation, budget allocation, and fail-closed legality for approximate-over-approximate plans.
Many useful operators do not have a finite global L1/Lipschitz bound, or produce unusably loose bounds when propagated with independent scalar intervals. This issue adds domain-aware nonlinear and correlation-aware propagation without weakening #172's safety rule: no sound rule means the candidate remains illegal.
Scope
General norm conversion
Support typed induced-operator bounds:
Represent
L1,L2,LInf, and explicitly supportedLpnorms. Norm conversion requires dimension/cardinality evidence and must not happen implicitly.Domain-aware local bounds
Carry a proven value domain alongside an error guarantee:
Operators may derive a local bound only when their domain preconditions are proved. For example, reciprocal/division requires a denominator interval that excludes zero.
Interval extension
Implement monotone and interval-arithmetic rules for selected scalar operators:
Division by an interval containing zero returns
UnboundedComposition.Jacobian and Taylor remainder
For supported differentiable multi-input operators, permit a certified local rule:
Where first-order propagation is insufficient, represent a bounded remainder:
Do not implement an unrestricted symbolic calculus engine initially; register explicit rules for concrete operators.
Correlation-aware affine errors
Preserve shared error-source identity so reuse of one approximate value does not get treated as independent errors:
For example,
x_hat - x_hatfrom the same error source should cancel rather than produce twice the interval radius.Architectural requirements
AccuracyModel; do not add propagation decisions toCostModel.Acceptance criteria
x - x; independent source IDs do not.KeepPreAsap/raw fallback rather than silently treating an input as exact.Non-goals
AccuracyTargetproof.