Expand description
Metric-completeness descriptor + the “queryability claim == code” gate.
The .10d header carries a MetricCompletenessDescriptor declaring, per
v-branch, which COORDINATE axes the distance metric folds. The parser
rejects any descriptor that diverges from Tensor10D::full_distance’s
actual v-branch behaviour — this is the mechanical barrier that enforces
the honest-limitation contract: a developer cannot claim an axis is
queryable under a metric the kernel does not actually fold.
Current reality (encoded as the proposed default):
v=0Euclidean foldsx,y,z,t,α,μ,σ(all seven COORDINATEs)v=1Cyclic/Toroidal foldsx,y,zonlyv=2Hyperbolic foldsx,y,zonlyv>=3Boundary clique folds no coordinate axes (byte-equality onv)
This is option (b) “document the limitation” per Timothy’s 2026-07-04 decision. P7.9 (making the non-Euclidean metrics axis-complete via product / warped-product manifolds and a clique-graph) is deferred as future geometry design work — see the progress log and the P7.9 task entry.
Reference: docs/plans/native-computational-geometry.md §4.1 honest
limitation, and the cross-cutting gate “Honest axis-role taxonomy &
metric-completeness (queryability claim == code)”.
Structs§
- Metric
Branch Descriptor - One row of the metric-completeness table: the metric used for a single
v-class and the bitmask of COORDINATE axes it folds. - Metric
Completeness Descriptor - The full metric-completeness table carried in the
.10dheader. One row perv-class;branches[3]is thev >= 3catch-all. - Metric
Divergence - Error raised when a descriptor diverges from
full_distance’s actual behaviour. Carries enough detail to name the offending branch + axis in the parser’s rejection message.
Enums§
- Metric
Kind - A
u8tag identifying the metric kind a branch implements. Mirrors the dispatch inTensor10D::full_distance.
Constants§
- BOUNDARY_
CLIQUE_ BRANCH_ INDEX - Index of the
v >= 3catch-all branch in aMetricCompletenessDescriptor. - METRIC_
BRANCH_ COUNT - Number of
v-branch descriptors the header carries: the three explicit classes (0, 1, 2) plus one catch-all forv >= 3.
Functions§
- probe_
folded_ axes - Probe
full_distancefor one branch and return the bitmask of COORDINATE axes it actually folds. Only COORDINATE axes are probed — SELECTOR axes are excluded by definition and a descriptor claiming to fold one is a divergence. - proposed_
metric_ descriptor - The proposed (not-yet-frozen) metric-completeness descriptor encoding the
current
full_distancereality — option (b), the documented limitation. The header’s descriptor field is initialised from this bysuper::header::Container10dHeader::proposed. - verify_
descriptor_ against_ reality - Verify a
MetricCompletenessDescriptoragainst the actualTensor10D::full_distancebehaviour. Returns the first divergence found, orOk(())if every branch’s declaredfolded_axesandmetric_kindmatch reality.