From f9118e1a663637b47a6d47d40b68d9598ee42a47 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 9 Oct 2026 23:07:48 +0200 Subject: [PATCH] CultMath 0.4.0: the noise-ball enclosures are empirical, not proven CHANGELOG and README no longer claim iv_snoise_ball and iv_fbm_ball enclose every input unconditionally: they rest on SNOISE_LIPSCHITZ, an empirical bound with a margin, and the tests sample. Docs only; builds. Co-Authored-By: Claude Opus 5.5 --- packages/cultmath/README.md | 2 ++ packages/cultmath/unity/org.gamecult.cultmath/CHANGELOG.md | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/cultmath/README.md b/packages/cultmath/README.md index e5df5f1e..1f1f0ff2 100644 --- a/packages/cultmath/README.md +++ b/packages/cultmath/README.md @@ -44,6 +44,8 @@ shader semantics. float32 rounding bound). Every one returns an interval containing the function's value at every point of its input, so a raymarch can skip a segment whose `hi` is below its cutoff; `cultmath_iv_*` in HLSL. + The two noise balls rest on `SNOISE_LIPSCHITZ`, an empirical bound with a + margin that the enclosure tests sample, not a proof. The bounds compose with a consumer's own analytic envelope (a height fog, a carved sphere): its interval over the segment proves empty space in one probe, and the noise ball is consulted only near the surface. See `docs/design.md`, diff --git a/packages/cultmath/unity/org.gamecult.cultmath/CHANGELOG.md b/packages/cultmath/unity/org.gamecult.cultmath/CHANGELOG.md index 734568d3..45409cd9 100644 --- a/packages/cultmath/unity/org.gamecult.cultmath/CHANGELOG.md +++ b/packages/cultmath/unity/org.gamecult.cultmath/CHANGELOG.md @@ -38,7 +38,10 @@ backfilled here; see `docs/semver-policy.md` for why. `iv_frustum_ball`, with the HLSL mirrors in the new `Shaders/CultMath.Interval.hlsl`. Each function returns an interval that contains the pointwise float32 result for every input in the operand - intervals; the enclosure tests check this without a tolerance. + intervals, except that `iv_snoise_ball` and `iv_fbm_ball` rest on + `SNOISE_LIPSCHITZ`, an empirical bound with a margin and not a proof. The + enclosure tests sample points and check containment without a tolerance; they + do not prove it for every input. - Reduced affine forms on `float3(x0, a, e)` that share one symbol over a region: `math.af_point`, `af_symbol`, `af_range`, `af_from_iv`, `af_add`, `af_add_iv`, `af_sub`, `af_neg`, `af_scale`, `af_mul`, `af_snoise`, `af_fbm`,