Encyclopedia Foundation Foundation Primitive Recognition Calculus Trace Closure
ARTICLE 4 claims 2 theorems 2 models
Foundation Primitive Recognition Calculus Trace Closure
A completed trace is an infinite ledger of distinction acts, and its finite prefixes are the traces we can actually inspect.
Trace closure
A trace, in the Recognition Science framework, is a finite list of distinction acts: discrete events that separate one thing from another. The framework's primitive recognition calculus builds these traces step by step, one act at a time. But a finite list always stops somewhere. Trace closure is the move that lets the framework talk about the whole infinite process, not just its finite beginnings.
Trace closure is defined by a completed trace: a structure that assigns a distinction act to every natural number. The key definition is the finite prefix, which cuts a completed trace at length n to recover an ordinary finite trace. The canonical completed trace simply repeats the primitive distinction act, called delta, at every step. This gives the framework a standard infinite object, and a theorem proves that every prefix of it is a finite trace.
The framework also defines a completed orbit ledger, which records the infinite sequence of positions in the delta-orbit. Its canonical version sends each natural number to itself, and a theorem confirms that this mapping is faithful: the position at index n is exactly n. This is the natural-number side of trace closure, the arithmetic backbone that the infinite ledger hangs on.
The main theorem assembles these pieces into a trace closure certificate. It proves that completed traces exist, that the canonical completed trace exists, that the completed orbit ledger exists, and that the canonical orbit verifier is faithful. The certificate carries a strength tag that honestly labels this as a trace closure claim, a boundary marker for what the framework extends beyond finite traces.
What this establishes, in plain language, is that the framework can move from finite recognition sequences to infinite ones without inventing new machinery. The infinite ledger is not a separate object; it is exactly the thing whose finite cuts are the traces the framework already had. This matters because the forcing chain that derives constants and dimensions in Recognition Science needs to reason about processes that do not stop, and trace closure is the bridge that lets it do so.
MODEL CompletedTrace · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.lean
/-- K4.13/R9. A completed trace is an infinite ledger of distinction acts.
This is a trace-closure object, not a finite δ-only trace. -/
structure CompletedTrace where
actAt : Nat → DistinctionAct
THEOREM finitePrefix · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.lean
/-- The finite prefix of length `n` cut out of a completed trace. -/
def finitePrefix (S : CompletedTrace) : Nat → Trace
| 0 => Trace.empty
| Nat.succ n => Trace.extend (finitePrefix S n) (S.actAt n)
MODEL canonical · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.lean
/-- The canonical completed trace repeats the primitive distinction act. -/
def canonical : CompletedTrace where
actAt := fun _ => DistinctionAct.delta
THEOREM trace_closure_certificate · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.lean
/-- K4.13. The trace-closure boundary is inhabited and tagged honestly. -/
theorem trace_closure_certificate : TraceClosureCertificate where
completed_trace_exists := ⟨CompletedTrace.canonical⟩
canonical_completed_trace_exists := ⟨CompletedTrace.canonical⟩
completed_orbit_ledger_exists := ⟨CompletedOrbitLedger.canonical⟩
canonical_orbit_verifier_faithful := CompletedOrbitLedger.canonical_toNat
strength_tag := rfl
What this page does not claim
This module does not prove that any particular physical process produces a completed trace. Trace closure does not derive the golden ratio or any specific constant by itself. The certificate does not claim that all completed traces are canonical.
Verify this page
Every tagged claim above names its theorem. To check one yourself rather than trust this page, elaborate the source module with Lean 4 and audit its axiom basis:
$ lake env lean IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.lean
expected axiom basis: [propext, Classical.choice, Quot.sound] (the Lean kernel's standard three; no RS-specific axioms)
A page whose claims cannot be reproduced this way does not ship. In production, every anchor links to the exact declaration in the public source release, and this block carries the build receipt for the page itself.
Derived articles
This page is generated by a question-recursion engine: the questions its answers raise become the next pages. The current agenda, with open targets marked red:
- How does trace closure connect to the forcing chain that derives physical constants?
- What role do infinite ledgers play in the framework's treatment of measurement?
- How does the trace closure boundary relate to the eight-tick recognition cycle?
MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND
MODEL CompletedTrace · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.lean
/-- K4.13/R9. A completed trace is an infinite ledger of distinction acts. This is a trace-closure object, not a finite δ-only trace. -/ structure CompletedTrace where actAt : Nat → DistinctionActA completed trace is a structure that assigns a distinction act to every natural number. CompletedTrace · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.leanTHEOREM finitePrefix · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.lean
/-- The finite prefix of length `n` cut out of a completed trace. -/ def finitePrefix (S : CompletedTrace) : Nat → Trace | 0 => Trace.empty | Nat.succ n => Trace.extend (finitePrefix S n) (S.actAt n)The finite prefix cuts a completed trace at length n to recover an ordinary finite trace. finitePrefix · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.leanMODEL canonical · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.lean
/-- The canonical completed trace repeats the primitive distinction act. -/ def canonical : CompletedTrace where actAt := fun _ => DistinctionAct.deltaThe canonical completed trace simply repeats the primitive distinction act, called delta, at every step. canonical · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.leanTHEOREM trace_closure_certificate · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.lean
/-- K4.13. The trace-closure boundary is inhabited and tagged honestly. -/ theorem trace_closure_certificate : TraceClosureCertificate where completed_trace_exists := ⟨CompletedTrace.canonical⟩ canonical_completed_trace_exists := ⟨CompletedTrace.canonical⟩ completed_orbit_ledger_exists := ⟨CompletedOrbitLedger.canonical⟩ canonical_orbit_verifier_faithful := CompletedOrbitLedger.canonical_toNat strength_tag := rflThe main theorem assembles these pieces into a trace closure certificate. trace_closure_certificate · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/TraceClosure.lean