Bridging the gap between messy human language and precise machine logic.
Human language—specifically English—is a "hoarder" language. It is designed for social flexibility, not logical precision. This creates a massive, hidden "tax" on both human communication and Artificial Intelligence.
Consider the word "proof". To a human, the meaning is "obvious" based on context, but to a machine (and often to humans in different fields), it is a collision of unrelated concepts:
- Baking: Testing if yeast is alive (Fermentation).
- Mathematics: A sequence of logical steps (Deduction).
- Legal: Evidence presented in a case (Verification).
- Distilling: The ethanol content in a liquid (Density).
- Computational Waste: AI models spend billions of "tokens" and massive GPU wattage just trying to guess which "proof" you mean. We are burning energy to resolve ambiguity that shouldn't exist.
- The "Probability Cloud" Problem: Current AI maps words into "vectors" (mathematical coordinates). Because "proof" is one word, these different meanings overlap in a "messy" cloud. This leads to hallucinations, where an AI might use baking logic to solve a math problem.
- Institutional Silos: A biologist and a chemist may be studying the same "test" (proof) but using different words, preventing them from ever finding each other's work.
We treat English as a Legacy User Interface (UI) and this repository as the System Kernel.
Instead of forcing AI to learn our messy habits, we create a Unique Concept ID (UCID) for every distinct idea. When you say "proof" in a kitchen, the system "lints" it and maps it to a single, unambiguous logic node.
- Layer 1 (Human): Messy English (e.g., "Wait for the dough to proof.")
- Layer 2 (The Bridge): The OLK Dictionary (Maps "proof" + "dough" to
C_BAKE_001). - Layer 3 (Machine): Precise Logic (The AI reasons only on
C_BAKE_001).
Every entry in this repository must follow a strict JSON schema to ensure it is machine-readable and logically sound.
schema.json Design: schema.json
{
"ucid": "UNIQUE_ID_STRING",
"canonical_name": "UPPERCASE_SNAKE_CASE",
"domain": ["CATEGORY_1", "CATEGORY_2"],
"logic_gate": "FORMAL_LOGIC_EXPRESSION",
"legacy_aliases": ["ambiguous_word_1", "ambiguous_word_2"],
"metadata": {
"origin": "SCAN_OR_MANUAL",
"version": "1.0.0"
}
}Purpose of this Schema
- Validation: Every time a contributor adds a new concept, this schema validates that they haven't left out critical logic, such as the logic_definition.
- No Overlap: It forces a ucid pattern (e.g., UCID_MAT_001) to ensure the AI doesn't mix up the "math" proof with the "baking" proof.
- Standardization: It allows the automated "linter" to instantly translate messy text into the canonical_name.
We will deploy an AI agent to scan the last 20 years of the internet—manuals, social media, and literature—to: Identify every instance of ambiguous words. Group them into "Logic Clusters." Propose new UCIDs for the Open-Source community to review.
We will build a "Linguistic Linter" that suggests precise terms as you type. Input: "I need proof." AI Suggestion: "Did you mean Deductive-Proof (Math) or Evidentiary-Proof (Law)?"
To keep the logic organized, we use a domain-based folder system:
/OpenLogic-Kernel
│
├── schema.json # The master rules for all nodes
├── translator.py # The script that maps English to UCIDs
│
├── concepts/
│ ├── culinary/ # e.g., dough_fermentation.json
│ ├── mathematics/ # e.g., formal_deduction.json
│ ├── legal/ # e.g., burden_of_evidence.json
│ └── chemistry/ # e.g., ethanol_density.json
│
└── dictionary/ # The mapping of messy words to UCIDs
OLK is Open Source. We believe no one should own the "Dictionary of Truth."
- Fork the Repo: Propose a new Logic Node if you find a gap in English.
- Submit a Pull Request: If an AI-suggested term is biased or inaccurate, "patch" the logic.
- The "Merge" Rule: Once a concept is verified and has no overlapping aliases, it is merged into the Main branch as a "Global Standard."
The OLK acts as a "Headless Dictionary." Instead of humans reading it, software and AI use it to resolve ambiguity before reasoning begins.
- Tokenization: The system receives a raw string: "Is the proof sufficient?"
- Contextual Tagging: The AI identifies surrounding context (e.g., "yeast", "flour").
- Kernel Mapping: The system queries
concepts/and matches "proof" toUCID_CUL_001based on the domain. - Logic Injection: The system replaces the word with the internal
logic_definition.- Result: "Is the
UCID_PRI_001(ACTIVE_YEAST) via UCID_PRI_002(CO2_EXPANSION)sufficient?"
- Result: "Is the
By linking complex concepts to Primitives, the AI only needs to deeply understand the ~100 core logic primitives to interpret every complex concept in the repository. This eliminates the "heavy load" of context-
By using the UCID, the AI cannot accidentally apply mathematical logic to a baking problem. The "Probability Cloud" of English is bypassed entirely in favor of the "Logic Anchor" of the Kernel.
To make this repo operational, we are currently working on:
- [ ] Primitives Library: Defining core logic blocks like
VERIFY,MEASURE, andDEDUCT. - [ ] Mapping Script (
translator.py): A Python utility to demonstrate English-to-UCID translation. - [ ] Ambiguity Expansion: Identifying and untangling the "Top 100" most resource-heavy English words (e.g., Bank, Right, Scale, Lead).
f## 8. Atomic Dependency: The Primitive Laye
To ensure the kernel remains modular, complex concepts are built using Primitive Nodes (/concepts/primitives/).
Instead of defining "Baking Proof" with ambiguous words, we use the UCID of the underlying logic:
- Concept:
DOUGH_FERMENTATION_TEST - Precise Logic:
UCID_PRI_001(Verify) +UCID_PRI_002(Observe)
This creates a computational hierarchy where the AI only needs to deeply understand the ~100 core primitives to interpret every complex concept in the repository.
We have provided a translator.py script to demonstrate the Resolution Engine in action.
- Ensure your
/conceptsfolder is populated with JSON files. - Run the script:
python translator.py
- Input: "Check the proof of the sourdough."
- OLK Output: "Check the [UCID_CUL_001: UCID_PRI_001(ACTIVE_YEAST) via UCID_PRI_002(CO2_EXPANSION)] of the sourdough."