# SPDX-License-Identifier: MPL-2.0 # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # ANCHOR.a2ml - authoritative anchor for this repository [metadata] version = "1.0.0" last-updated = "2026-06-28" [anchor] schema = "hyperpolymath.anchor/1" repo = "hyperpolymath/systemet" authority = "upstream-canonical" purpose = [ "Define the canonical semantics of Equality Theory for the estate.", "Declare what downstream (the anytype kernel, AffineScript) may extend but not redefine.", "Provide a stable golden path and invariant contract for release readiness.", ] [identity] project = "systemet" kind = "type-theory" # the theory/spec; downstream kernel is a 'tool' one-sentence = "Equality Theory: one primitive relation (equality is conversion) at the bottom, discipline added in layers, not new relations added sideways." domain = "programming-language theory / type theory" [semantic-authority] policy = "canonical" owns = [ "Equality Theory semantics and specification (the five layers, the three gates, the wager)", "Invariant definitions and proof obligations (L1 totality, structural soundness, polarity/blame, trope preservation, TEA erasure)", "The boundary of what downstream may extend vs. redefine", ] [implementation-policy] allowed = ["Idris2", "Agda", "Coq", "Lean4", "TLAplus", "Scheme", "Shell", "Just", "AsciiDoc"] forbidden = ["Node.js", "npm", "TypeScript", "Python", "Go"] [golden-path] smoke-test-command = [ "just test", "just quality", ] success-criteria = [ "Core tests pass", "Quality gates pass", "No unresolved critical security findings", ] [satellite-policy] # The anytype kernel is a satellite of this theory. must-pin-upstream = true must-declare-authority = true must-have-anchor = true must-have-golden-path = true [semantic-authority-files] # Intended locations for the formal artefacts (forward references — not yet populated). language-spec = "docs/theory/SPECIFICATION.adoc" formal-proofs = "verification/proofs/" type-theory = "docs/theory/THEORY.adoc" algorithms = "docs/theory/ALGORITHMS.adoc"