Repository navigation
Theory and Cochain Substrate
Theory and Cochain Substrate: From Codd Relations to Boundary-Quotient Normal Forms (BQNF & CODA_MUR)
AuthorityEffect: None (certified_implies_authorized: false)
⬅ Back to Wiki Home
As formalized in contracts/_golden_nfs/standard.yaml and contracts/_golden_nfs/normal_form_definitions.yaml, a structural specification qualifies as a True Normal Form (TNF) when it satisfies four pillars:
-
Pillar I — Explicit Anomaly Exclusion: Names and eliminates a specific class of data-modification or state-transition redundancy (e.g., repeating groups in
1NF, partial-key dependence in2NF, transitive dependence in3NF, non-superkey determinants inBCNF, independent multivalued Cartesian bloat in4NF, non-key-implied join dependencies in5NF). -
Pillar II — Lossless Reconstruction Theorem: Establishes non-loss recovery under declared operators:
-
Heath's Theorem (1971): Binary projection
$R = (XY, XZ)$ is lossless under functional dependencies iff$X \to Y$ or$X \to Z$ . -
Fagin's Theorem (1977): Binary projection
$R = (XY, XZ)$ is lossless under multivalued dependencies iff$X \twoheadrightarrow Y \mid Z$ . -
Rissanen's Theorem (1977):
$n$ -ary decomposition is lossless iff the join dependency$\bowtie[R_1, \dots, R_k]$ holds. -
Cochain Direct Sum: For discrete 1-cochains (
nf.cochain.dhnf,nf.ddc.hodge_canonical),$c = d_0 p + h + d_1^* q$ reconstructs$c$ identically over$\mathbb{Q}$ .
-
Heath's Theorem (1971): Binary projection
-
Pillar III — Dependency Preservation Analysis: Explicitly states whether the union of component dependencies implies the original dependency closure (
$(\bigcup_i \pi_{R_i}(\Sigma))^+ = \Sigma^+$ ), as achieved by Bernstein synthesis for3NFandEKNF, or whether cross-component joins are required (as can occur inBCNF). -
Pillar IV — Syntactic Decidability from Constraints: Conformance is decided from the declared schema
$(H(R), \Sigma)$ rather than scanning a single accidental table body. Where unrestricted constraints exceed decidability (nf.classical.dknf,nf.logic.qanf), bounded evaluators emitBudgetUnknownorUnsupportedrather than silently guessing.
2. Data in Motion: Boundary-Quotient Normal Form (nf.change.bqnf)
While classical normal forms govern data at rest, distributed caches, materialized views, and streaming pipelines operate on data in motion under Change Data Capture (CDC) events (INSERT, UPDATE, DELETE).
Over an admitted query boundary
-
Zero Defect (
$\omega = 0 \implies \text{Preserve}$ ): Unrelated column updates outside$\partial Q$ leave the view unchanged. -
Exact Coboundary (
$\omega = d^0 \alpha \iff [\omega] = 0 \in Q^1 \implies \text{Repair}$ ): The view is updated incrementally in$O(1)$ via local potential delta$\alpha$ without scanning the base table. -
Closed Residual (
$[\omega] \ne 0, d^1\omega = 0 \implies \text{Recompute} / \text{Invalidate}$ ): Non-trivial cohomology defect (e.g., destructive deletion of aMAX/MINwitness without an auxiliary priority-queue cochain, or quantile drift exceeding$\epsilon$ tolerance). Routes to bounded partition recomputation. -
Boundary Failure (
$d^1\omega \ne 0$ or missing CDC evidence$\implies \text{Invalidate} / \text{ClosureFailure}$ ): Fails closed when required before/after images are missing.
3. Data in Representation: CODA_MUR Transport (nf.coda.mur.transport)
When data moves across representation boundaries $F: \operatorname{Rep}{\text{source}} \to \operatorname{Rep}{\text{target}}$ (e.g., relational OLTP table CODA_MUR (nf.coda.mur.transport) enforces the commutation square:
-
Descent Compatibility Witness (
$\chi_F$ ): Verifies that applying source mutation$D_{\text{source}}$ and transporting via$\bar{F}$ agrees with transporting via$F$ and applying target mutation$D_{\text{target}}$ . -
Sealed Loss Ledger (
nf.evidence.loss_ledger,nf.ddc.loss_ledger): Every unmapped attribute or coarsened precision is recorded under triggercoda_mur.unmapped_field_drop. Dropping a field without a loss-ledger entry routes immediately toLossLedgerMissing(Refuse). -
Target Verifier Precedence: A transport certificate never bypasses target-side verification (
AuthorityLaundering -> Refuse).
-
What it supports:
- Supports formal classification of relational schemas, streaming CDC coboundary repairs, and loss-ledger-backed representation transport in this model.
-
What it does not support:
- Does not claim that an unverified external database engine preserves constraints without executing the corresponding verifier.
-
The narrowest defensible claim:
- In this model, separating data at rest (
1NF–6NF), data in motion (BQNF), and data in representation (CODA_MUR) prevents silent conflation of storage redundancy, cache staleness, and translation loss.
- In this model, separating data at rest (
-
The next test needed:
- End-to-end property tests composing
3NFdecomposition withBQNFCDC maintenance andCODA_MURprojection transport.
- End-to-end property tests composing
Simplex Normal Forms • 112 Canonical Contracts & SVG Diagrams • CODA_MUR Transport • certified_implies_authorized: false • AuthorityEffect: None
- Home (Master Index)
- Project Status & Evidence
- Theory & Cochain Substrate
- Observer-Relative Ontology
- Concrete Worked Examples
- Geometrodynamics & Physics
shape (17)
- 0NF (
nf.classical.0nf) - 1NF (
nf.classical.1nf) - 2NF (
nf.classical.2nf) - 3NF (
nf.classical.3nf) - 4NF (
nf.classical.4nf) - 5NF (
nf.classical.5nf) - 6NF (
nf.classical.6nf) - BCNF (
nf.classical.bcnf) - DKNF (
nf.classical.dknf) - EKNF (
nf.classical.eknf) - ETNF (
nf.classical.etnf) - NF2 (
nf.classical.nf2) - RFNF (
nf.classical.rfnf) - SKNF (
nf.classical.sknf) - DHNF (
nf.cochain.dhnf) - HCNF (
nf.ddc.hodge_canonical) - MSSNF (
nf.mssn)
change (6)
representation (5)
compilation (1)
epistemic (15)
- EQNF (
nf.coda.eqnf) - ANF (
nf.epistemic.authority) - CNF (
nf.epistemic.cnf) - EFNF (
nf.epistemic.efnf) - ENF (
nf.epistemic.enf) - FNF (
nf.epistemic.freshness) - LNF (
nf.epistemic.location) - NAR-NF (
nf.epistemic.nar_nf) - ObsNF (
nf.epistemic.observer) - ODNF (
nf.epistemic.odnf) - ONF (
nf.epistemic.onf) - PvNF (
nf.epistemic.pvnf) - RNF (
nf.epistemic.replica) - SnNF (
nf.epistemic.snnf) - StNF (
nf.epistemic.state)
authority (1)
evidence (8)
derivation (12)
- AONF (
nf.derivation.aonf) - APNF (
nf.derivation.apnf) - IGNF (
nf.derivation.ignf) - IRNF (
nf.derivation.irnf) - LSNF (
nf.derivation.lsnf) - OBNF (
nf.derivation.obnf) - PDNF (
nf.derivation.pdnf) - RPNF (
nf.derivation.rpnf) - SCNF (
nf.derivation.scnf) - SERNF (
nf.derivation.sernf) - AINF (
nf.ontology.ainf) - WDNF (
nf.wdp.wdnf)
topology (2)
physics (20)
- RBNF (
nf.physics.bianchi_regge) - BQNF-REGGE (
nf.physics.bqnf_regge) - CDT-FSIGN-NF (
nf.physics.cdt_fermion_sign) - CDT-KD-DOUBLING-NF (
nf.physics.cdt_kd_doubling) - CDT-MATTER-NF (
nf.physics.cdt_matter_coupling) - CDT-OVERLAP-NF (
nf.physics.cdt_overlap_fermions) - CDT-SPEC-NF (
nf.physics.cdt_spectral_dimension) - CDT-SUSY-WITTEN-NF (
nf.physics.cdt_susy_witten) - CDT-TOPO-CHARGE-NF (
nf.physics.cdt_topological_charge) - CDT-WMC-NF (
nf.physics.cdt_wick_mc) - CDT-ZOLOTAREV-NF (
nf.physics.cdt_zolotarev_overlap) - DFNF (
nf.physics.dfnf) - L1CCNF (
nf.physics.l1_constraint_closure) - LCNF (
nf.physics.lorentzian_cdt) - L1PSNF (
nf.physics.pachner_lp_scaling) - PWNF (
nf.physics.pwnf) - RCNF (
nf.physics.rcnf) - RPCNF (
nf.physics.rpcnf) - SIDNF (
nf.physics.schlafli_nf) - WDWNF (
nf.physics.wdwnf)