원클릭으로
catcolab-ologs
CatColab Ologs (Ontology Logs) - category-theoretic knowledge representation where objects are concepts and morphisms are functional relationships. Foundation for database schemas and conceptual modeling.
메뉴
CatColab Ologs (Ontology Logs) - category-theoretic knowledge representation where objects are concepts and morphisms are functional relationships. Foundation for database schemas and conceptual modeling.
SOC 직업 분류 기준
Query and explore the 2600: The Hacker Quarterly magazine archive (1984-present) via DuckDB. Provides structured access to 168+ issues covering hacker culture, security, privacy, telephony, and digital rights without loading full content into context.
ACSets (Attributed C-Sets): Algebraic databases with Specter-style bidirectional navigation. Category-theoretic formalism for relational databases.
Attributed C-Sets as algebraic databases. Category-theoretic data structures generalizing graphs and dataframes with Gay.jl color integration.
ACSets (Attributed C-Sets): Algebraic databases with Specter-style bidirectional
Bridge active inference theory with robot control using K-Scale's JAX/MuJoCo stack. Use when connecting predictive coding to locomotion policies, mapping KL divergence minimization to RL training, applying mean field approximation to robotics state estimation, or implementing sim2real as inference about future observations.
Implement affective valence as directional derivative of interoceptive energy landscapes for AI alignment. Use when building alignment-aware RL agents, validating GF(3) conservation in reward signals, training Langevin-based policies, or analyzing fold-change detection signals in POMDP environments.
| name | catcolab-ologs |
| description | CatColab Ologs (Ontology Logs) - category-theoretic knowledge representation where objects are concepts and morphisms are functional relationships. Foundation for database schemas and conceptual modeling. |
| version | 1.0.0 |
Trit: -1 (MINUS - validator/verifier) Color: Cyan (#00CED1)
Ologs (Ontology Logs) are category-theoretic representations of knowledge domains, introduced by Spivak and Kent (2011). In CatColab, ologs serve as:
An olog is a category where:
┌─────────────────────────────────────────────────────┐
│ OLOG │
├─────────────────────────────────────────────────────┤
│ Objects: │
│ Person, Company, Date, Department │
│ │
│ Morphisms (functional): │
│ works_for: Person → Company │
│ has_birthday: Person → Date │
│ employs: Company → Department │
│ │
│ Commutative Diagram (constraint): │
│ Person ──works_for──► Company │
│ │ │ │
│ in_dept employs │
│ ▼ ▼ │
│ Dept ════════════════► Dept │
│ (must agree) │
└─────────────────────────────────────────────────────┘
// In CatColab notebook
{
"type": "ObDecl",
"name": "Person",
"description": "a person in the organization"
}
{
"type": "MorDecl",
"name": "works_for",
"dom": "Person",
"cod": "Company",
"description": "the company that employs this person"
}
{
"type": "EqDecl",
"lhs": "Person.in_dept",
"rhs": "Person.works_for.employs",
"description": "a person's department agrees with their company's structure"
}
Ologs in CatColab are instances of the SimpleCategory double theory:
// From catlog
pub fn th_category() -> DiscreteDblTheory {
let mut cat = FpCategory::new();
cat.add_ob_generator(name("Ob"));
cat.add_mor_generator(name("Hom"), name("Ob"), name("Ob"));
// Composition and identity axioms
cat.into()
}
Objects: Professor, Student, Course, Department, University
Morphisms:
teaches: Professor → Course
enrolled: Student → Course
member_of: Professor → Department
part_of: Department → University
Diagram (functorial):
Professor ──teaches──► Course
│ │
member_of offered_by
▼ ▼
Department ◄──────────── Department
Objects: Supplier, Warehouse, Product, Customer
Morphisms:
supplies: Supplier → Product
stores: Warehouse → Product
orders: Customer → Product
ships_from: Product → Warehouse
Ologs upgrade to Schemas by distinguishing:
OLOG: SCHEMA:
Person ──name──► String → Person (Entity)
├── id: UUID
└── name: String (Attr)
catcolab-ologs (-1) ⊗ topos-catcolab (0) ⊗ catcolab-schemas (+1) = 0 ✓
catcolab-ologs (-1) ⊗ acsets-relational-thinking (0) ⊗ database-design (+1) = 0 ✓
# Create new olog
just catcolab-new category "my-ontology"
# Validate olog constraints
just catcolab-validate my-ontology
# Export to JSON-LD
just catcolab-export my-ontology --format=jsonld
Skill Name: catcolab-ologs Type: Knowledge Representation / Ontology Trit: -1 (MINUS) GF(3): Conserved via triadic composition