Repository navigation
nf.classical.0nf
Contract ID:
nf.classical.0nf| Family:shape| Index Status:draft| AuthorityEffect:None
⬅ Back to Wiki Home | View SVG Diagram
Raw / Unnormalized Form (0NF) enforces structural normalization and explicit defect routing in the shape regime.
| Property | Value |
|---|---|
| Canonical ID | nf.classical.0nf |
| Short Name | 0NF |
| Full Name | Raw / Unnormalized Form |
| Family |
shape (Relational, Algebraic & Cochain Shape Normal Forms (Data at Rest & Structural Decompositions)) |
| Qualification | Extended Form Contract (Normal Form Contract) |
| Data / Math Posture | at_rest |
| Index Status | draft |
| Theory Status | established |
| Verification Status | executable |
| Contract Version | v0 |
| Governance Fence |
AuthorityEffect: None (certified_implies_authorized: false) |
- Author: Pedagogical pre-form
- Structural Invariant: Finite carrier before heading, domain, key, or predicate is declared.
- Anomaly Excluded: None.
- Lossless Join Property: Not applicable.
- Qualifies As True Normal Form: False
- Qualification Gap: Removes no anomalies; lacks schema constraints.
| Stage | Carrier / Operator | Concrete State / Invariant |
|---|---|---|
| 1. Before / Candidate Input | Unnormalized Table (Repeating Groups) |
row 1: Order#101 |
| 2. Normalization / Gate | 0NF Carrier Intake |
Untyped Table -> Relvar Gate (certified_implies_authorized: false) |
| 3. After / Certified Output | Pre-Normalized Relvar Carrier |
Status: Admitted as 0NF Raw Carrier ; Gap: Requires 1NF Unnest + Key ; Route: UnnormalizedCarrier |
- ref: coda_all_universe/1_the_tower/normal_forms/contracts/_book_09_full_normal_form_atlas.md
section: 2.1 Classical Relational Normal FormsEvery contract in simplex-normal-forms is evaluated against the Four-Pillar Quadrilateral defined in contracts/_golden_nfs/standard.yaml:
| Pillar | Requirement | Contract Specification for nf.classical.0nf
|
|---|---|---|
| Pillar I: Excludes Anomaly | Name and eliminate a specific class of data or state defects. | none |
| Pillar II: Preserves Invariant | State the structural invariant and protected skeleton preserved across transitions. |
Invariant: carrier is parseable as a finite data body before relational discipline is asserted Protected Skeleton: ['finite_carrier', 'parseable_values'] |
| Pillar III: Lossless Reconstruction | State the non-loss reconstruction operator (join, direct sum, pullback, or replay). | Lossless reconstruction under declared projection, direct sum, or pullback operators. |
| Pillar IV: Syntactic Decidability | State how conformance is decided from declared constraints without unbudgeted scans. | Decidable from declared schema and witness metadata within bounded evaluation budgets. |
- does not assert relation semantics
- does not assert tuple identity
- does not assert declared domains or keys
- does not certify runtime repair
- does not imply authorization
- does not meet the four-pillar test for a true normal form
- finite_carrier_encoding
- parse_rule
None declared.
| Criterion ID | Name | Condition |
|---|---|---|
criterion |
Check | carrier can be parsed into finite values under the declared parse rule |
criterion |
Check | unparseable carrier cannot be promoted to relational analysis |
criterion |
Check | relational claims require explicit heading domains keys and predicate |
Every evaluation terminates in a declared local route mapped to a canonical terminal in standard.yaml:
| Local Terminal Route | Canonical Terminal |
|---|---|
AcceptRawCarrier |
Preserve |
RejectUnparseableCarrier |
Reject |
RequireRelationalDeclaration |
Refuse |
- symptom: byte stream is treated as a relation before parse rule and heading are declared, diagnosis: raw carrier promoted to relational claim, terminal: RequireRelationalDeclaration
AuthorityEffect: None.
Level: Level 00 (Unnormalized Raw Presentation / Base Ground)
Evidential Grade: NATIVE IMPLEMENTED
Contract Reference: nf.classical.0nf
Mathematical Posture: Structural / Operational
Data Posture: At Rest / Ingress
Zero Normal Form (0NF) models raw, unnormalized data representations prior to any relational atomicity or dependency discipline. In 0NF:
- Attributes may contain non-scalar collections (arrays, sub-tables, JSON bags, nested trees).
- Tuples lack positional or domain invariance.
- Duplication and repeated field groups are unrestricted.
Raw Ingress Representation (0NF)
┌─────────────────────────────────────────────────────────────┐
│ Record: [id: 101, tags: {"dev", "ops"}, payload: [1, 2, 3]] │
└──────────────────────────────┬──────────────────────────────┘
│
Flattening & Atomicity Filter
▼
Scalar Relvar (1NF)
In the MSS-N Tower, 0NF serves as the ground state for all data ingress pipelines, establishing the baseline against which structural projection loss is audited.
| Construct | Ontological Layer | Mathematical Object | Structural Discipline | Failure / Degeneracy Mode |
|---|---|---|---|---|
| SQL Table | Industrial Storage Engine | Multiset of physical rows, nullable columns, ordered fields | Ad-hoc SQL DDL (CREATE TABLE), duplicate rows permitted unless explicit unique constraint |
Hidden duplicates, three-valued logic (NULL = NULL is UNKNOWN), silent ordering reliance |
| Relational Relvar | Classical Logical Model (Codd/Date) | Time-varying relation variable whose state is a mathematical relation |
Unordered set of tuples, atomic scalar values, unique candidate keys | Static data-at-rest only; silent update/CDC cache inconsistency across views |
| Boundary-Relvar | Boundary-Oriented Programming (MSS-N) | Augmented relvar |
Explicit delta-boundary tracking, signed repair certificates, typed terminal routing | Quarantined when boundary delta residual |
-
Relation Heading & Non-Scalar Domains:
$$R_0 = (H, B), \quad H = {A_1: D_1, \dots, A_k: D_k}$$ where domains$D_i$ may be arbitrary power sets$\mathcal{P}(U)$ or recursive relation types. -
The Quadrilateral Invariants:
- Anomaly Excluded: Uncontrolled structural embedding, invisible nested updates, and indeterminate key semantics.
- Protected Skeleton: Raw tuple identifiers and declared nested attribute trees.
- Erased Structure: None (0NF preserves all ingress bytes).
-
Reconstruction: Trivial identity mapping
$R_0 \to R_0$ .
-
Non-Claims:
- 0NF does not claim relational closure under Codd relational algebra.
- 0NF does not ensure under declared assumptions unique tuple addressing without an external row identifier.
- 0NF does not prevent update, insertion, or deletion anomalies.
Ingress Payload
│
├── Contains valid parse tree ──► Preserve (0NF Admitted)
│
├── Missing root schema ────────► Refuse (IngressViolation)
│
└── Unparseable encoding ───────► Reject (MalformedPayload)
-
Preserve: Payload admitted as a raw, unflattened ground representation. -
Refuse: Schema declaration missing or untyped. -
Reject: Syntax or framing violation.
Verified in test_tranche3_advanced_relational_nfs.py:
-
test_0nf_nested_collection_preservation: Asserts that non-scalar attributes remain accessible without silent projection. -
test_0nf_rejection_of_relational_joins: Verifies that Codd joins on non-scalar domains fail closed to typed refusal.
-
What it supports:
- Formal admission of nested and unnormalized data payloads without premature data loss.
- Explicit auditing of ingress representations before relational normalization begins.
-
What it does not support:
- Relational dependency preservation, lossless join decomposition, or SQL set algebra.
-
The narrowest defensible claim:
- 0NF defines an unconstrained container whose members satisfy syntax parsing but not relational first normal form.
-
The next test needed:
- Property tests asserting that any 0NF
$\to$ 1NF flattening step emits an explicit loss ledger whenever nested ordering is discarded.
- Property tests asserting that any 0NF
In accordance with the repository's epistemic claim discipline:
-
What it supports:
- Supports syntactic and operational checking of
nf.classical.0nf(0NF) against its declared schema, boundary constraints, and witness obligations in this model. - Supports deterministic terminal routing (
AcceptRawCarrier, RejectUnparseableCarrier, RequireRelationalDeclaration) when required declarations or invariants fail.
- Supports syntactic and operational checking of
-
What it does not support:
- Does not confer operational authority (
AuthorityEffect: None,certified_implies_authorized: false). - Does not claim semantic truth of undeclared external processes or unverified upstream inputs beyond the declaredprotected skeleton.
- Does not confer operational authority (
-
The narrowest defensible claim:
- Within the declared substrate
at_rest, this contract enforces thatnoneis either excluded undercarrier is parseable as a finite data body before relational discipline is assertedor routed to an explicit refusal/recovery terminal.
- Within the declared substrate
-
The next test needed:
- Property-based falsification and mutation testing across boundary edge cases and composed multi-step pipelines for
nf.classical.0nf.
- Property-based falsification and mutation testing across boundary edge cases and composed multi-step pipelines for
Click to expand full canonical YAML contract (contracts/nf.classical.0nf.yaml)
schema_version: smplx.nf.contract.v0
schema_ref: ./normal_form_contract_schema.yaml
contract_kind: form_contract
identity:
id: nf.classical.0nf
name: Raw / Unnormalized Form
short_name: 0NF
version: v0
theory_status: established
contract_status: draft
verification_status: executable
family: shape
status: draft
classification:
hierarchy_level: form
subject_kind:
- relvar
data_posture: at_rest
mathematical_posture: operational
purpose:
excludes_anomaly: none
preserves_invariant: carrier is parseable as a finite data body before relational
discipline is asserted
protected_skeleton:
- finite_carrier
- parseable_values
erased_structure: []
non_claims:
- does not assert relation semantics
- does not assert tuple identity
- does not assert declared domains or keys
- does not certify runtime repair
- does not imply authorization
- does not meet the four-pillar test for a true normal form
definition:
source: coda_all_universe/mssn_sn_tower/definitions.md
citation:
label: pedagogical name for an unnormalized carrier
formal_statement: 'A carrier is called 0NF when a declared parse rule reads it as
a finite collection of values. No heading, domain, key, or predicate is required.
'
quadrilateral:
qualifies_as_true_normal_form: false
anomaly_exclusion: no anomaly class is excluded
lossless_join:
status: not_applicable
statement: no decomposition is defined
dependency_preservation:
status: not_applicable
statement: no dependency set is declared
syntactic_decision:
status: parse_check
statement: 'The check is that the declared parse rule accepts the carrier. That
is not a decision about a relation schema.
'
declarations_required:
- finite_carrier_encoding
- parse_rule
evidence_required: []
validation_criteria:
- carrier can be parsed into finite values under the declared parse rule
- unparseable carrier cannot be promoted to relational analysis
- relational claims require explicit heading domains keys and predicate
proof_obligations: []
terminal_routes:
- AcceptRawCarrier
- RejectUnparseableCarrier
- RequireRelationalDeclaration
terminal_route_map:
AcceptRawCarrier: Preserve
RejectUnparseableCarrier: Reject
RequireRelationalDeclaration: Refuse
certification:
certificate_required: false
certificate_kind: null
obstruction_class_required: false
loss_ledger_required: false
verifier_required: false
loss_ledger_trigger_id: null
authorization:
authorized_by: null
certified_implies_authorized: false
failure_modes:
- symptom: byte stream is treated as a relation before parse rule and heading are
declared
diagnosis: raw carrier promoted to relational claim
terminal: RequireRelationalDeclaration
examples:
- ref: coda_all_universe/1_the_tower/normal_forms/contracts/_book_09_full_normal_form_atlas.md
section: 2.1 Classical Relational Normal Forms
references:
- coda_all_universe/1_the_tower/normal_forms/contracts/_book_09_full_normal_form_atlas.md
- coda_all_universe/1_the_tower/normal_forms/contracts/_paper_0_relvar_relation_table_and_boundary_relvar.mdSimplex 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)