Encyclopedia Compat Compat
Compat
A small import file that gives downstream modules uniform access to compatibility shims and project-wide constants.
Compatibility layer
In software projects, a compatibility layer is a thin bridge that lets different parts of a codebase speak the same dialect. The compat module in Recognition Science plays exactly this role. It is a central import file: downstream modules can import it to gain access to compatibility shims and project-wide constants. Think of it as the hallway that connects rooms in a building, so that each room does not need its own private corridor.
The module itself does not derive new physics or mathematics. It establishes plumbing. The ledger, the discrete record of recognition events that the framework reasons about, relies on many constants and definitions scattered across the library. The compat module gathers these so that later files can assume a common baseline. This matters because the framework's proofs are checked by a machine-checked library of formal theorems, and that library needs consistent notation and definitions from the start.
In plain language, compat is the project's shared foundation for bookkeeping. It does not decide what the universe is; it decides how the framework's own files refer to the universe. A downstream module that imports compat knows it will find the same shims and the same constants that every other module uses. That uniformity is what lets later theorems build on earlier ones without re-explaining their terms.
The practical consequence is modularity. When a new result is added to the framework, it can import compat and immediately stand on the same ground as everything else. The module is small, but it is load-bearing: without a shared compatibility layer, each new file would have to reinvent the definitions it depends on, and the library would fragment. Compat prevents that fragmentation at the cost of one import line.
What this page does not claim
Compat does not derive any physical or mathematical result. Compat does not define the ledger or any recognition event. Compat does not change the framework's axioms or proof rules.
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:
- Which specific constants and shims does the compat module re-export?
- How does the compatibility layer interact with the framework's axiom audit?
- What happens when a downstream module does not import compat?
MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND
- MODELThe compat module is a central import file that downstream modules can import to gain access to compatibility shims and project-wide constants.