Strata: the Subsurface Belief Ledger
5,368 words12 subsections10 tables1 listingPlan version 0.1
On this page12
13.1 Verdict (Brenner pass B1)
| Hypothesis | Verdict | Role |
|---|---|---|
| Kriged block model as the authority (industry practice) | Killed as authority | Survives as a mandatory declared-estimator projection (Estimator::DeclaredOk) with bit-for-bit parity, so the QP signs on familiar ground |
| Ensemble of conditional simulations as the authority | Downgraded | Realizations are the exchange currency: regenerable, indexed by common random numbers, cached, never stored as truth |
| Generative hierarchical belief object as the authority | Survives, amended | Core design: staged ("cut") inference; a hypothesis set plus catch-all; procedure certificates in place of truth certificates |
| Event-sourced data plus recipes as the only authority | Survives, merged | Storage and provenance substrate. A recipe without a probabilistic model collapses back to the kriged model; reproducibility is not validity. |
| Support-indexed authorities glued by restriction maps | Downgraded | Kept as the reconciliation consistency layer. F-factor residuals are obstruction witnesses, but gluing alone cannot learn from a defect. |
| QP wireframes as the authority (legacy practice) | Downgraded | Wireframes become AttestedInterpretation inputs with a contact-uncertainty model |
Why the kriged model cannot be the authority (GB-11). Selecting blocks on an estimate selects its errors. Under multi-Gaussian regression, E[Z | Z* = z*] = m + b(z* − m).
- Substituted: m = 1.0 g/t, selected-block mean estimate 2.0 g/t.
- With slope b = 0.8, the expected true grade is 1.8 g/t (−10%).
- With b = 0.5, a poorly informed domain, it is 1.5 g/t (−25%).
- Stress case: estimators that restore SMU-scale variance (LUC, single realizations) have σ_Z* ≈ σ_Z, so b = ρ·σ_Z/σ_Z* ≈ ρ(Z, Z*) by construction (INFERENCE, E355). Where local correlation is poor the slope collapses. One published check of Localised Uniform Conditioning (Abzalov 2006; E352) against grade control reported b ≈ 0.1 (Assibey-Bonsu & Muller 2014; FACT[U], single study, page not pinned in the corpus; E029). Then it is 1.1 g/t (−45%). The originator's own LUC check reports an RMA slope of 1 with r = 0.85, which implies b ≈ 0.85 (E354, E355), and restricts LUC to low-nugget domains whose data are not too sparse or remote from the panel (E353). The design does not depend on this extreme; it depends on the slope being measured per domain against outcomes rather than assumed.
- Flip: in a domain where, against grade-control truth, (i) b ≥ 0.95, (ii) ρ(Z, Z*) ≥ the policy minimum and
(iii) tonnage and metal above the operating cut-off are within policy tolerance,
DeclaredOkat SMU is adequate there and simulation buys little. Slope alone is not enough: correlation can be 0.5 while the slope is 0.9–1.0 (E357), and in a textbook synthetic gold case b = 0.89–1.05 at every block size while tonnage error at cut-off stays excessive below the data spacing (E358). - Data gate. Public filings cannot populate per-domain slopes. NGM's reports for Carlin, Cortez and Turquoise Ridge disclose neither kriging efficiency nor slope and classify by drill-spacing geometry (E158, E162, E163); Kibali and Loulo display slope only visually, with no numeric threshold (E227). A measured slope needs blasthole and GC data from the pilot (§37.3 M2). Grade-control grids of 5×5 to 20×20 m support using GC as the "truth" term (E384). The nearest public practice is estimator choice tuned against GC (Cortez ID3; E161).
- The SMU carries the dilution. Carlin and Cortez take open-pit dilution and mining recovery as "inherent in the SMU" (FACT, E185), so the SMU block size, and therefore this change-of-support argument, carries every dilution assumption in those reserves.
13.2 Layers and authority
| Layer | Content | Mutability | Authority? |
|---|---|---|---|
| L0 Evidence | Corebox records (§12), structural measurements, density, geophysics grids, mapping, blasthole samples, survey epochs, plant reconciliation | Append-only, bitemporal | Yes (data) |
| L1 Interpretation | Structural framework: stratigraphic/intrusive potential fields; faults with offset and chronology (cut/onlap/erode rules after GemPy and LoopStructural); vein and lode surfaces; weathering surfaces; several domain partitions (grade, oxidation, geometallurgy, geotechnics, hydrogeology); alternative hypotheses with weights plus a catch-all | Versioned; every version is a signed human act (AttestedInterpretation). Software never edits L1. |
Yes (spec) |
| L2 Property fields | Per (partition, domain, variable group): anamorphosis, decorrelation, nested anisotropic covariance, trend, hyperparameter particles with weights, measurement-error model, method-bias terms, reconciliation bias hyperprior | Versioned; reweighting is a logged event | Yes (spec) |
| L3 Transfer cards | Recovery(Cu, CuAS/CuT, S, As…), throughput(A×b, BWi…), PRI(TOC), UCS(Is50), density(S, Fe), Hoek–Brown parameters, following frankensim's CorrelationCard pattern with ValidityDomain and colour |
Versioned | Yes (spec) |
| L4 Projections | Block models (any frame, support, estimator), realizations, wireframes and grade shells, entropy maps, classification-support metrics, recoverable resources, domain summary material cards | Immutable, content-addressed, regenerable, cached with eviction | No. Each carries a ProjectionReceipt. |
| L5 Twin geometry | Depletion epochs (as-mined solids), design solids (plans, not belief), anthropogenic bodies (stockpiles, ROM, heaps, TSF) | Epoch-indexed events plus projections | Data yes; current state is a projection |
- The
BeliefSpecis L1 + L2 + L3 + an evidence cut + a seed root: a small, canonical, hash-addressed document of KB–MB. - The QP/CP snapshot is the triple
(EvidenceCut, SpecHash, Vec<ProjectionReceiptHash>)plus a humanCompetentPersonActrecord. An independent QP MUST be able to reproduce the declared-estimator projection, the validation pack and the tonnage–grade certificate from the triple alone (GATE-STRATA-G5).
13.3 Type sketches (DESIGN; stable Rust, #![forbid(unsafe_code)])
pub struct SpecHash([u8; 32]);
pub struct EvidenceCut { record_seq: u64, valid_time: TimeInterval, qaqc_policy: PolicyHash, exclusions: Vec<ExclusionActId> }
pub struct BeliefSpec {
cut: EvidenceCut, seed_root: SeedRoot,
structure: StructuralModelRef, // L1, attested
hypotheses: Vec<(HypothesisId, Weight)>, catch_all: Weight,
partitions: Vec<PartitionSpec>, // grade, oxidation, geomet, geotech, hydro
fields: Vec<FieldSpec>, transfers: Vec<CardRef>,
}
pub enum Additivity { Extensive, MassWeighted, VolumeWeighted, NonAdditive { blend: BlendRuleId }, Ordinal, Categorical }
pub struct AttributeSpec { id: AttrId, unit: UnitId, measurand: MeasurandId, additivity: Additivity,
censoring: Option<DetectionLimitModel> }
pub struct FieldSpec { partition: PartitionId, domain: DomainId, vars: Vec<AttributeSpec>,
anamorphosis: AnamorphosisRef, decorrelation: Decorrelation /* None | Maf | Ppmt */,
covariance: NestedAnisotropic, trend: Option<TrendSpec>, hyper: ParticleSet<Hyper>,
meas_error: MeasErrorModelRef, bias_prior: BiasPriorRef }
pub enum Support { Point, Interval{len_m: f64}, Composite{len_m: f64}, Block{d: [f64;3]}, Smu{d: [f64;3]},
Panel(PanelId), Stope(StopeId), Bench(BenchId), Parcel(ParcelId) }
pub enum Estimator { DeclaredOk(OkParams), Sk, Etype, Quantiles(Vec<f64>), ProbAbove(Vec<Cutoff>), Realization(u32),
SimulatedGc { pattern: GcPattern, dig: DigRule }, Luc, Uc, Dgm }
pub struct ProjectionRequest { spec: SpecHash, frame: GridFrame, support: Support, estimator: Estimator,
realizations: RealizationSet, attrs: Vec<AttrId>, region: RegionSel, det: DetClass }
pub struct ProjectionReceipt { request: RequestHash, spec: SpecHash, code: CodeVersion, det: DetClass,
merkle_root: [u8; 32], conservation: ConservationWitness,
validation: ValidationStats /* swath, NN-vs-estimate bias, kriging efficiency,
slope {kind: RegressionTrueOnEstimate | Rma}, rho(Z, Z*), variance ratio σ_Z*/σ_Z,
OK-vs-DGM grade–tonnage deviation at registered cut-offs, variance reproduction */,
color: Color, staleness: Staleness, mnpi: MnpiLabel }
pub enum Staleness { Fresh, Stale { since: EventSeq, cause: StaleCause }, Superseded(RequestHash) }
- Typed slope. A lint refuses any rule that compares an
Rmaslope with a regression-slope threshold (E354, E355). Known answer: the validation stats flag 1×1 m blocks with σ_Z*/σ_Z = 0.45 and ρ = 0.41 even though b = 0.92 (re-derived synthetic case after E358). Estimator::Luccarries aValidityDomain: nugget/sill ratio, data spacing vs variogram range, data-to-panel distance and a border-effect flag (E353). Outside it the projection rendersOutsideValidity.- Imported legacy models. A projection's receipt records model age and the shell and cut-off it was
re-reported under: Kibali re-reports 2019–2020 models under a new shell and COG (C3 §3.11). An importer that
meets a negative-grade reset (Loulo resets negative kriged grades to the nearest sample's grade; E229) records
it as a
ModellingDecision, and Strata never applies it silently.
13.4 Change of support and the information effect
-
Support is a type (INV-014). Any operation mixing supports without a declared operator is refused.
-
Linear variables, and transforms that are not (G-STRATA-11):
- simulate at fine support, target ≤ SMU/4 per axis (e.g., 2.5 m nodes, 4 × 4 × 4 per 10 m SMU);
- regularize in physical space. Normal-score anamorphosis, ILR and PPMT are nonlinear, so an average of transformed values back-transforms to the wrong grade, and an average of grades ignores density. Back-transform each node x_q to dry bulk density ρ(x_q) and concentrations z_m(x_q) first, then accumulate with node volume weights w_q: M_V = Σ_q w_q ρ(x_q), Q_{V,m} = Σ_q w_q ρ(x_q) z_m(x_q), g_{V,m} = Q_{V,m} / M_V, the density-weighted average Σρᵢvᵢgᵢ / Σρᵢvᵢ. G-STRATA-11 refuses any path that averages normal-score, ILR, MAF or PPMT values across supports before back-transformation;
- density is itself a field. To first order, CV_T² ≈ CV_V² + CV_ρ², and in massive sulphides or variably decalcified Carlin-type host rocks density error can rival volume error.
-
The information effect is modelled by
Estimator::SimulatedGc{pattern, dig}. On each realization:- sample a virtual blasthole grid with blasthole measurand error;
- re-estimate;
- classify by the operating rule, including minimum mining width;
- account the true tonnes and metal of what is sent where.
This is the simulation route to recoverable resources.
-
Parity paths. DGM/UC/LUC exist as projections because QPs and reviewers know them. They are never the authority.
-
Non-additive variables carry
Additivity::NonAdditive{blend_rule}, and naive averaging is refused.- Hardness: aggregate an additive proxy (specific energy at a declared circuit, or 1/throughput) and transform at the end.
- Recovery: applies at a declared processing support (a shift or day blend), not per block (§17.3). Loulo
estimates recovery per block by inverse distance (FACT, E230); FrankenMining imports such a field as a
NonAdditiveattribute that blends metal-weighted.
-
Grade remapping. Grades are remapped only as metal and tonnes, never directly. frankensim's
conservative_cell_remapconserves extensive quantities from caller-supplied overlap fractions (FACT,fs-mesh/src/adaptivity.rs:1171). FrankenMining computes exact overlap fractions itself for rotated and sub-blocked grids.
13.5 Scale: regenerate, don't store
-
Stored:
- evidence: 10⁵ holes ≈ 2×10⁷ intervals ≈ a few GB;
- the spec and hyperparameter particles;
- per-block summaries at SMU support: e-type, conditional variance, P(>c) at up to 4 cut-offs, P10/P50/P90 of metal, domain-membership probabilities, distance to data.
TARGET ≤ 64 B per block, so 10⁸ SMU blocks ≈ 6.4 GB per version.
-
Regenerated.
- Any realization tile is rebuilt bit-identically from
(SpecHash, realization r, tile key). It uses keyed counter-based RNG (lifted fs-rand PhiloxStreamKey) plus conditioning by kriging:realization_r = Z_uc(r) + K·(data − Z_uc(r)@data). - Soft contacts keep common random numbers (DESIGN). If the Philox key embeds a hard
domain_id, moving a contact by 5 m between L1 hypotheses or after infill flips the domain of boundary blocks. Those blocks then draw independent innovations, and paired realizations decorrelate exactly where the decision lives (GB-12). For soft or uncertain contacts,fmine-beliefkeys the innovations on a domain-free background stream("strata_bg", var_group, r, brick)and blends the domain fields across the contact with a smooth weight of the signed distance φ(x): w = σ(φ(x)/ℓ) and Z = (w Z_a + (1 − w) Z_b) / √(w² + (1 − w)² + 2w(1 − w)ρ_ab), where ρ_ab is the correlation of the two domain fields at x, so the blend keeps unit variance in normal-score space. A small contact move then changes block metal continuously. The paired-correlation target (ρ ≥ 0.90 for a 5 m move) is an acceptance test (BD-317), not a property. Hard contacts keep the domain key. This is a partition-of-unity blend, not plurigaussian simulation, which thresholds Gaussian fields into categories. - Tiles are cached under a cost policy. The cache is never authoritative: a regeneration hash mismatch is refused (G-STRATA-5).
- Any realization tile is rebuilt bit-identically from
-
Grid substrate.
- Sparse bricks (8³ leaf, 32³ internal) after frankensim's
VdbGrid, lifted for topology only. - Attributes are stored as columnar per-attribute chunks.
VdbGridleaves are dense arrays of structs ([T; 512]per leaf regardless of occupancy, FACT,vdb.rs:20-31), which wastes memory on thin veins. - Per-brick hashes roll up into a Merkle root per projection, which drives incremental diffs.
- Sparse bricks (8³ leaf, 32³ internal) after frankensim's
-
Simulation engines. Fine-support realizations use turning bands, FFT moving average or sequential Gaussian simulation, plus kriging correction. SPDE/GMRF is used only for hyperparameter inference and coarse latent fields (≤ 10⁶–10⁷ nodes), because nested-dissection fill for a 3D GMRF grows about as n^(4/3).
GB-10 · Store or regenerate realizations?
- Equation. S_store = N_b·R·V·b; T_regen = N_b·R·c_node/P.
- Substituted.
- Storing: N_b = 10⁹ blocks, R = 100 realizations, V = 10 attributes at 4 B gives 4 TB per model version.
- Regenerating: an SMU projection of 10⁸ blocks at R = 100, with c_node = 2 µs (TARGET) on 64 cores, takes ≈5.2 min; at 10⁹ blocks, ≈52 min.
- Flip. Any of these changes the answer and leads to materializing SMU ensembles for active zones only:
- c_node > ~50 µs (e.g., multiple-point statistics);
- more than ~20 full-ensemble queries per day;
- a regulator requiring retained realizations (OPEN-STRATA-4).
GB-12 · Common random numbers make "did the new drilling change the decision?" answerable.
- Equation. Var(X_new − X_old) = Var(X_new) + Var(X_old) − 2ρσ_newσ_old.
- Substituted. σ = 10 koz of panel metal.
- Independent seeds give an SD of the difference of 14.1 koz.
- Common random numbers with ρ = 0.95 give 3.2 koz.
- Detecting a 5 koz shift then needs about 20× fewer realizations.
- Flip. An interpretation change or a large hyperparameter shift decorrelates the realizations. The change is then reported as a structural update, not a paired delta.
13.6 Elements, deleterious elements, geometallurgy and geotechnics
| Element / attribute | Issue | Design response |
|---|---|---|
| Au (nuggety, coarse) | High nugget; FSE dominates; capping is an estimator choice | Measurement-error model separates geological from sampling nugget. Capping is a logged ModellingDecision with a metal-at-risk sensitivity. Use indicator or mixture fields where multi-Gaussianity fails. |
| Ag | Correlated with Au (epithermal) or base metals | Co-simulation in decorrelated factor space |
| Cu (CuT, CuAS, CuCN) | Sequential-leach ratios route ore to oxide, transition or primary processing | Model CuT plus ratios in log-ratio space with closure. Never krige CuAS and CuT independently. |
| Sn | Recoverable Sn depends on mineralogy (cassiterite vs stannite) | Distinct measurands Sn_total and Sn_cassiterite; geometallurgical card for recovery |
| As, S, Hg, Sb, Bi, F, Cl | Smelter penalties; ARD (PAG/NAF); Hg often below detection | Censored likelihood; heterotopic co-simulation; S feeds ARD classification (NAPP/NPR projections, §18.5) |
| Carbonaceous / preg-robbing (TOC, PRI) | Few PRI tests on large composites | CorrelationCard PRI(TOC, domain) with a validity box; a field on TOC; recovery card consumes PRI per realization |
| Major components (Cu %, S %, Fe %) | Closed compositions | ilr coordinates where closure is material; trace elements in log space |
| Density | Varies with sulphide content and porosity | A field, with a regression card on S and Fe |
| Hardness (A×b, BWi, SPI) | Non-additive | Additive proxy, aggregated then transformed (§13.4) |
| RQD, GSI, RMR, Q | Ordinal or judgement indices | Additivity::Ordinal, Estimated colour only; categorical or truncated-Gaussian fields with an elicitation record |
| UCS | Sparse lab tests, many point-load tests | CorrelationCard UCS(Is50) per domain; a field with per-method error |
| Structural fabric | Directional data | Fisher statistics per structural domain; discrete fracture network later (OPEN-STRATA-9) |
Different domain partitions over one structural framework (grade ≠ geotechnical ≠ weathering ≠ hydrogeological
units) are first-class: Partition{id, kind, boundary_rules}.
13.7 Reconciliation and incremental update inside Strata
- Grade control is an observation, not a peer model (DESIGN). Blasthole and RC grade-control assays enter L0
with their own measurand, support (cone or full hole, RC interval), error variance σ²_ε,BH and bias prior, beside
diamond core (support v_DD, error variance σ²_ε,DD). Fine-support realizations and SMU projections are
conditioned on both supports at once by multi-support kriging with heteroscedastic measurement error:
Σ_j λ_j (C̄(v_i, v_j) + δ_ij σ²_ε,i) + μ = C̄(v_i, V) for each i, with Σ_j λ_j = 1, where
C̄(v_i, v_j) = (1 / |v_i||v_j|) ∫{v_i}∫{v_j} C(x − x′) dx dx′ is evaluated by product Gauss–Legendre quadrature
along both desurveyed segments and σ²_ε,i comes from Corebox's Gy FSE, duplicate and CRM model (§12.3–12.4). A
blasthole bias that is not zero enters as its own drift term with its own unbiasedness constraint. The "GC
model" is the projection of the belief at T_gc, built with
as_of_decision(T_gc)(§6.3). - F-factors.
- New drilling changes only the kriging correction inside the neighbourhood. Only dirty bricks are recomputed (Merkle diff), and realization indices persist, so before/after comparisons are paired (GB-12).
- Hyperparameter particles are updated by importance reweighting. ESS < 0.3·N triggers a refit (G-STRATA-8).
- Contradictions. An interpretation contradiction (ore logged outside its domain beyond tolerance, or an
unexpected fault offset) raises a surprise event (a posterior-predictive e-value). The affected volume becomes
conflicted, and a human re-interpretation is required.
13.8 Exploration-stage instantiation
When Lodestar's prospect is drilled, the deposit hypothesis instantiates a BeliefSpec:
- its priors (global mean, volume, grade–tonnage) come from the deposit-type model as hierarchical hyperpriors;
- L1 starts hypothesis-heavy, with many structural alternatives and a large catch-all.
The same types are used from first hole to closure (HYPOTHESIS; tested by instantiating on a public early-stage dataset).
13.9 frankensim mapping (verified read-only at frankensim 20463525d, 2026-10-26)
Code facts that shape the plan (FACT):
VdbGridis std-only and liftable (fs-rep-sdf/src/vdb.rs, 310 lines; imports onlystd). The Cx coupling is at crate level, not in this file.- Its leaves are dense arrays of structs (
Leaf<T>{mask: [u64;8], values: [T;512]}). It has no frame or rotation, no serialization and no out-of-core iteration. The 10⁹ target is "scaled in CI (~12.5k actives)" (fs-rep-sdf/CONTRACT.md:203). fs-rep-voxel::DensityFieldis a volume fraction in [0,1], not rock density. It is a false friend.fs-geocon::volume_certifiedcannot certify realistic orebody geometry.- It requires an exact-distance chart (
primitives.rs:783-793). - Mesh, tiled-SDF and occupancy charts make no such claim, and F-rep claims exactness only for primitives and axis-aligned half-spaces, so an oblique fault plane does not qualify.
- It caps work at 256³ cells on a serial dense grid.
- It requires an exact-distance chart (
- The EnSRF core is Cx-free (
fs-assimilate/src/nonlinear/ensemble.rs, 273 lines). Its member-major dense state limits it to low-dimensional states (10⁸ blocks × 100 members would need 80 GB). fs-evidenceneeds nightly Rust throughfs-qty'sgeneric_const_exprs. "Asupersync-free" does not mean "stable Rust".winding_exactis liftable (214 lines) but usesstd::atan2, which must be swapped for deterministic math for cross-ISA reproducibility, and it importsfs_geom::{Point3, Vec3}, which the lift replaces withfmine-geomtypes.fs-uq::KlExpansionis dense and isotropic-only: exponential and squared-exponential covariances.fs-sparsehas a supernodal LDLᵀ with AMD ordering, but no selected inversion for marginal variances.- The geometry trait uses
fs_exec::Cx, a per-tile context, notasupersync::Cx. The suite has three distinctCxtypes (FACT, B4 S1). - The matdb seed corpus has no rock, ore, soil or tailings bundles (FACT, E009; re-counted in E824).
Per-crate disposition (DESIGN). Postures: Lift (copy with a //! Provenance: header plus a golden-hash
test), Bridge (gated dependency through fmine-simbridge), Pattern (copy the design, not the code),
Oracle (dev-only), Don't.
| frankensim crate / item | Posture | FrankenMining target | What FrankenMining builds itself |
|---|---|---|---|
fs-rep-sdf VdbGrid |
Lift vdb.rs (topology/index only) |
fmine-geom::vdb |
Columnar attribute chunks; rotated/offset grid frames; sub-blocking (scheme OPEN-STRATA-1); per-brick Merkle; out-of-core paging; parallel brick iteration |
fs-rep-mesh winding_exact, WindingOctree |
Lift winding.rs (swap atan2 → det::atan2) |
fmine-geom::winding |
Mesh ingest (OMF/DXF); proportion-in-wireframe per block with an error bound |
fs-ivl, fs-math/eft.rs, exact predicates |
Lift | fmine-geom::exact |
Robust orient3d for wireframes and shells |
fs-geocon volume_certified |
Don't | — | fmine-geom::volcert: divergence-theorem volume of certified closed meshes in interval arithmetic; sure/band block-proportion enclosures |
fs-topo manifold_certificate, self_intersection_certificate |
Bridge after GATE-FSIM-RECONV, else Pattern | fmine-geom::meshcheck |
Wireframe validity report (watertight, no self-intersection) in the QP pack |
fs-rep-mesh dual_contour, mesh_to_sdf |
Bridge later, or reimplement | fmine-geom::contour |
Wireframe and grade-shell extraction from implicit fields on bricks |
| fs-rep-frep | Pattern | fmine-belief::structure |
Hard/blend CSG for design envelopes (pit/stope solids, exclusion zones). Geological chronology (fault offsets, erode/onlap) is not min/max CSG. |
| fs-rep-voxel | Pattern | fmine-geom |
Domain-code bricks; FrameMismatch refusal |
fs-mesh delaunay, conservative_cell_remap |
Pattern now; Bridge later for geotech meshes | fmine-geom::remap |
Exact overlap fractions; tonnes-plus-metal conservation witness |
| fs-query BVH | Pattern (FrankenTextiles already lifted bvh.rs) |
fmine-geom::bvh |
Exact segment–triangle tests for drillhole–wireframe intersection |
| fs-asbuilt | Pattern (Kabsch/Umeyama plus pose covariance) | fmine-ops::asbuilt |
Survey-epoch ingest (LAS/LAZ, DTM), ICP registration, surface-to-surface volumes |
fs-rand (Philox StreamKey, Sobol/Owen) |
Lift | fmine-core::rand |
Key schema (seed_root, partition, domain, var_group, r, brick) |
| fs-sparse (CSR/COO, supernodal LDLᵀ + AMD, PCG, smoothed-aggregation AMG) | Lift | fmine-numerics::sparse |
Selected inversion, or Hutchinson/RBMC variance estimates; SPDE mesh builder |
fs-assimilate EnSRF (nonlinear/ensemble.rs) |
Lift | fmine-numerics::enkf |
Low-dimensional states only: domain bias factors, density regressions, grade-control zone patches |
fs-uq KlExpansion; fs-bo Gp |
Oracle | fmine-oracles |
Full kriging engine (SK/OK/UK/co-kriging/block); turning bands, FFT-MA, SGS |
| fs-evidence | Lift types; shim QuantitySpec for stable Rust |
fmine-evidence |
Evidence-class mapping (§7) |
| fs-eproc, fs-voi, fs-robust (cvar), fs-tropical | Lift | fmine-numerics::{eproc, voi, risk, tropical} |
Monitor wiring; Monte Carlo preposterior VOI (§11.5) |
| fs-qty | Don't (nightly) | — | fmine-units on stable Rust, modelled on fs-qty |
| fs-matdb / fs-matdb-store | Pattern + format-compatible export; sealed-corpus pattern | fmine-materials |
Geomaterial packs in frankensim.matdb-manifest.v1 format (§13.10) |
fs-convection CorrelationCard |
Pattern | fmine-materials::cards |
Transfer cards (L3) |
| fs-airflow (ventilation networks) | Bridge after RECONV; otherwise Pattern | fmine-ops::vent (§16.6) |
Network solve from mine development geometry |
| fs-conduction (operator twin of confined Darcy seepage) | Bridge after RECONV | fmine-tailings::seepage, fmine-geotech::pore (§14, §18) |
Unconfined/Richards seepage is a gap (E010); build or request upstream |
fs-tribo ArchardLaw |
Lift or Pattern | fmine-ops::wear (§16.5) |
Liner, ground-engaging-tool and pipe wear cards |
| fs-solid (J2 plasticity only) | Bridge only when Mohr–Coulomb/Hoek–Brown exist upstream (upstream ask) | fmine-geotech::fem |
Limit-equilibrium analysis is built in-house (§14.2) |
| fs-lbm (no Bingham/Herschel–Bulkley) | Don't (gap) | — | Tailings and paste rheology as correlation cards (§17, §18) |
| fs-vvreg | Pattern | fmine-oracles::registry |
Benchmark registry with pinned editions |
| fs-blake3 | Lift | fmine-core::hash |
— |
| fs-rep-nurbs, fs-rep-neural, fs-xform, fs-motion | Don't (checked null) | — | — |
Rules (DESIGN).
- R-1. No FrankenMining authority type (evidence, BeliefSpec, receipts, brick format) mentions a frankensim
type. Lifted code is re-owned under
fmine-*with provenance headers and golden hashes. - R-2. FrankenMining numerical kernels take a cancellation/budget closure (
FnMut() -> bool, as EnSRF does) and are driven from asupersync regions at the orchestration layer. This avoids a secondCxtype (fs_exec::Cx) and asupersync 0.5/0.6 mixing (E011). - R-3. One optional crate,
fmine-simbridge, implementsfs_geom::Chartfor FrankenMining implicit fields and block projections, so frankensim solvers (CutFEM, seepage, ventilation, eventually Mohr–Coulomb FEM) can consume them. It is the only placefs_exec::Cxmay appear. It does not exist until GATE-FSIM-RECONV passes (§27.1). - Consequence. frankensim's non-convergence can delay engineering consumers (geotechnical FEM, seepage, ventilation solves) but cannot block the resource representation.
13.10 Where material properties live (the materials database answer)
| Kind of knowledge | Home | Examples | Colour / authority |
|---|---|---|---|
| Located measurements | L0 evidence (spatial) | Assays, density determinations, UCS/Is50, Bond/SMC/A×b on located composites, PRI | Measured; they feed fields |
| Spatially varying attributes | L2 fields → L4 block projections | Grades, density, hardness proxies, RQD, UCS, TOC, oxidation state | Estimated; Validated only after reconciliation calibration |
| Empirical laws | L3 correlation cards (fmine-materials::cards) |
UCS(Is50), density(S, Fe), Hoek–Brown, Bond's law, PRI(TOC), recovery(CuAS/CuT), Archard wear coefficients, slurry rheology | Validated(regime, dataset) or Estimated; never promoted by verification |
| Non-spatial material classes | fmine-materials sealed private corpus in frankensim.matdb-manifest.v1 format |
Mill-liner and GET steels, grinding media, reagents (cyanide, lime, xanthates, frothers, flocculants), process water chemistry, CRMs and reference ores, TSF construction-zone design parameters, geomembranes, explosives products | Per-claim provenance; NoClaimInDomain refusal outside the corpus |
| Domain summary cards (export) | L4 projection → matdb-format bundle | "Domain 12 fresh granodiorite: UCS distribution, E, ν", for frankensim solvers through the bridge | Projection receipt hash in citation; Estimated |
- Client test data is confidential and MNPI-adjacent, so only sealed corpora are used (
seal_corpus;StoreError::CorpusChanged, FACT,fs-matdb-store/src/lib.rs), never seed bundles. - The same located test result lives once in L0. matdb cards are projections of it (one authority per number).
- matdb's pack schema is versioned upstream (v8 at
20463525d, E824), so frankensim-side additions are governed upstream changes. FrankenMining emits compatible bundles and never edits frankensim's corpus.
13.11 Certificates, guards and proof obligations
| Certificate | Content | Verifiable by |
|---|---|---|
TonnageGradeCertificate |
Region, support and cut-off spec. Tonnes and metal per element as distributions (P10/P50/P90 plus Monte Carlo half-width); grade derived as metal ÷ tonnes. procedure: regeneration hash OK, conservation OK, optional volume enclosure. Calibration flag and colour. |
fmine-verify replay from the snapshot |
VolumeEnclosure |
[lo, hi] from the interval divergence theorem on a certified closed mesh | Interval re-evaluation; admissible as Certified<f64> (Enclosure) |
ConservationWitness |
Σ tonnes and Σ metal per element before and after every support change; max relative residual | Recompute |
RegenerationWitness |
Per-brick BLAKE3 of regenerated bytes; determinism class | Regenerate on the reference ISA |
ClassificationSupportPack |
Per block or volume: kriging efficiency, slope of regression, drill spacing vs range, P(±15% over a quarterly volume at 90%) (a heuristic, labelled as such), AOA distance | Evidence for the CP act; never a class label |
ReconciliationWitness |
Per period and domain: forecast registered before the outcome, outcome, PIT value, e-process state | Forecast ledger |
| Guard | Condition | Action |
|---|---|---|
| G-STRATA-1 | Aggregating a NonAdditive/Ordinal attribute across supports without a blend rule |
Refuse NonAdditiveAggregation{attr, fix} |
| G-STRATA-2 | Mixing supports without a declared operator | Refuse SupportMismatch |
| G-STRATA-3 | Mixing grid frames | Refuse FrameMismatch |
| G-STRATA-4 | Conservation residual > 1e-9 relative (extensive attributes) | Refuse publish |
| G-STRATA-5 | Regenerated brick hash ≠ receipt | Refuse; mark Corrupt; re-materialize on the reference ISA |
| G-STRATA-6 | QA/QC invalidation or new evidence in the region after the cut | Mark Stale; block use in disclosure packages |
| G-STRATA-7 | Block beyond k × range from data | Label Extrapolated; exclude from classification-support metrics |
| G-STRATA-8 | Particle ESS < 0.3·N | Flag HyperDegenerate; schedule a refit |
| G-STRATA-9 | Intercept contradicts interpretation beyond tolerance | Surprise event; volume conflicted; human re-interpretation |
| G-STRATA-10 | Below-detection values substituted by constants | Refuse; require the censored model |
| G-STRATA-11 | Averaging ILR, MAF, PPMT or normal-score values across supports before back-transforming to density and concentrations (§13.4) |
Refuse TransformSpaceAverage; regularize mass and metal in physical space |
| PO | Statement | Verification | Failure → mitigation |
|---|---|---|---|
| PO-STRATA-1 Regeneration determinism | Same (spec, request, code, determinism class) ⇒ bit-identical bricks | Golden hashes across runs and machines | G-STRATA-5; reference-ISA rebuild |
| PO-STRATA-2 Conditioning | Zero-nugget realizations honour data exactly; with an error model, residuals follow the declared error | Unit and statistical tests | Refuse the spec |
| PO-STRATA-3 Conservation | Extensive totals invariant under every support change | Witness | Refuse publish |
| PO-STRATA-4 Dispersion | Variance of regularized realizations ≈ γ̄(D,D) − γ̄(v,v) (Krige's relation) | Monte Carlo test with tolerance from the number of realizations | Flag a covariance or regularization bug |
| PO-STRATA-5 Parity | DeclaredOk equals a reference ordinary kriging (GSLIB kt3d-class lab oracle) within 1e-6 relative |
Oracle harness | Block the QP pack |
| PO-STRATA-6 Calibration | On synthetic truth, nominal 80% panel intervals cover 0.72–0.88 | GATE-STRATA-G3 | Downgrade to "uncalibrated"; declared-estimator fallback |
| PO-STRATA-7 Incremental equivalence | Incremental update ≡ from-scratch (bitwise with identical neighbourhoods); indices preserved | Replay test | Force full recompute |
| PO-STRATA-8 Volume enclosure | True volume ∈ [lo, hi] for a certified closed mesh | Analytic shapes | Refuse the certificate |
| PO-STRATA-11 Reweighting | Self-normalized importance weights consistent; ESS guard enforced | Known-posterior (conjugate) test | Refit |
13.12 Gates, failure modes and open questions
| Gate | When | Pass criterion (TARGET) | On fail |
|---|---|---|---|
| ✖ GATE-STRATA-G0 (frankensim spike) | S+5 (month 17) | A separate clone at a pinned commit: a scratch crate depending on fs-rep-mesh + fs-topo + fs-sparse builds with one unified asupersync; one Chart round-trip from a FrankenMining field |
Kill the bridge; lift-only (no impact on the resource path) |
| GATE-STRATA-G1 (parity) | S+6 (month 18) | DeclaredOk vs reference OK: estimates and kriging variances ≤ 1e-6 relative; desurvey ≤ 1 mm/1,000 m; identical composite intervals |
Block the QP pack until fixed |
| GATE-STRATA-G2 (regeneration and throughput) | S+7 (month 19) | Bit-identical bricks across 3 runs × 2 machines (same ISA); 10⁷ blocks × 100 conditional realizations ≤ 3.3 min on 64 cores (c_node ≈ 12.5 µs; GB-10's TARGET of 2 µs gives ≈ 31 s); summaries ≤ 64 B/block | Optimize; if > 4× over (c_node > 50 µs, GB-10's flip), materialize SMU ensembles for active zones only |
| ✖ GATE-STRATA-G3 (calibration) | S+8 (month 20) | Synthetic-truth mine: 80% panel-metal intervals cover 0.72–0.88 over ≥ 50 panels; injected 5% F2 bias recovered within ±2%; injected 8% resource bias reduced to < 2% after 12 periods | Ship only DeclaredOk plus ensembles labelled "uncalibrated"; no probabilistic claims in management views |
| GATE-STRATA-G4 (scale and incremental) | S+10 (month 22) | 10⁸ SMU blocks end to end with out-of-core paging, peak RAM ≤ 50% of host; +100 holes recomputes ≤ 5% of bricks and satisfies PO-STRATA-7 | Restrict v1 to ≤ 10⁷ blocks per domain-region |
| ✖ GATE-STRATA-G5 (QP replay) | S+12 (month 24) | An independent QP reproduces DeclaredOk, the validation pack and the TonnageGradeCertificate from the snapshot triple alone, in ≤ 1 day |
Revert to the declared-estimator authority, with the belief ledger as advisory |
"S+n" is month n of Strata work, which begins at M3 (month 12, §37); "S+" avoids any clash with milestone ids M0–M6. Strata is not on the wedge's critical path: the wedge consumes vendor block models as observations (B5).
| Failure | Detection | Deterministic fallback |
|---|---|---|
| Simulation infeasible within budget | Budget exhaustion | Publish DeclaredOk + LUC/DGM only, labelled UncertaintyUncharacterized; no intervals shown |
| Hyperparameter inference degenerate | G-STRATA-8 | Ensemble over ≥3 QP-declared defensible variograms (equal weights), labelled elicited |
| Structural contradiction | G-STRATA-9 | Freeze the last attested L1; volume conflicted; excluded from classification support |
| Calibration fails in reconciliation | e-process alarm | Widen by measured variance inflation (an explicit, visible claim); open a hypothesis review; never a silent F-multiplier |
Open questions.
- OPEN-STRATA-1. The sub-blocking scheme sites use (octree vs per-parent variable sub-cells), and its interoperability.
- OPEN-STRATA-2. Will QPs sign
DeclaredOk, the simulation e-type, or both side by side? - OPEN-STRATA-3. Which grade-control models are produced in other software and must be ingested as observations?
- OPEN-STRATA-4. Do regulators or auditors require retained realizations? If so, GB-10 flips for disclosed snapshots only.
- OPEN-STRATA-5. The dig-line rule under several live hypotheses (expected-loss dig lines; §15.7).
- OPEN-STRATA-6. Licensing of lifted MIT-plus-rider files in a client-facing product (RISK-17).
- OPEN-STRATA-7. How much the staged ("cut") inference understates uncertainty on realistic deposits.
- OPEN-STRATA-8. The minimum geometallurgical sampling density at which transfer cards beat domain averages.
- OPEN-STRATA-9. Discrete fracture network modelling scope.