Read the Books & Research Papers:
- emdash Monograph (
v3.2) — Functorial Type Theory: Univalent Foundations for Mathematics (Markdown · Overview Paper PDF · Zenodo DOI10.5281/zenodo.21544186· Live Integrated Reviewer) - endash Research Paper & Formal Type Theory (
v0.1.3) — Functorial Type Theory Without the Profunctor Ladder: Direct Glued Normalization-by-Evaluation, Certified Algebra, and Machine-Checked Geometry inendash(Markdown · Formal Type Theory Rules · Executive Overview PDF) - endash Three-Volume Machine-Checked Series (
7,7210-axiom declarations):
emdash is a research programme, formal mathematical library, and AI-native scientific computing workbench for Functorial Type Theory: a dependent type theory in which categorical variance, functoriality, naturality, and higher cells are native computational operations rather than external proof obligations bolted onto set-based encodings.
The repository unites two complementary realizations of the same foundational mathematics:
emdash(v3.2,emdash2/+src/v3_2/+packages/emdash/): The authoritative Lambdapi logical-framework specification (emdash2/emdash3_2.lpand one-way extension modules), paired with a backend-neutral explicit Core checker in TypeScript, a client-side browser reviewer, native polynomial/homological algebra engines, and AI-native workspace/plugin workflows (plugins/emdash/&plugins/emdash-cloud/).endash(v0.1.3,endash/&github.com/hotdocx/endash): A standalone, zero-dependency direct Glued Normalization-by-Evaluation (NbE) prover, Lean 4-compatible.ensurface language, 14-tactic LCF-certifiedBigIntCAS, CLI/MCP server,< 190 KiBgzipped browser prover, and three-volume0-axiom monograph library (@hotdocx/endash-kernel&@hotdocx/endash-stdlib).
| Directory / Package | Role | Key Entrypoints |
|---|---|---|
emdash2/ |
Active Lambdapi v3.2 mathematical authority (strict Cat_cart families, Homd ladder, simplicial/cubical nerves, sites, & homological algebra) |
emdash2/emdash3_2.lp, EMDASH_FOUNDATIONS.md
|
src/v3_2/ & packages/emdash/
|
TypeScript surface elaborator, backend-neutral explicit Core checker, native algebra/proof–CAS lowering, and AI-native proof-plan/goal-graph SDK (@hotdocx/emdash) |
TYPESCRIPT_ELABORATOR_V3_2_HANDOFF.md |
emdash-template/ |
Standalone client-side browser workbench & live integrated reviewer | ./scripts/pnpmw run reviewer:dev |
emdash2/print/ & emdash2/book/
|
Deterministic monograph & overview typesetting and PDF verification pipeline for the emdash book |
./scripts/pnpmw run book:check |
plugins/ |
Local & cloud Codex/MCP algebra goal-assistant plugins (emdash & emdash-cloud) |
EMDASH_SCIENTIFIC_COMPUTING_STRATEGY.md |
endash/ |
Standalone direct Glued-NbE prover (v0.1.3), 68 plain .en + 39 plain .ts 0-axiom library modules (7,721 declarations), CLI/MCP/Playground, and 3-volume monograph PDFs |
endash/README.md, endash/FORMAL_TYPE_THEORY.md, endash/RESEARCH_PAPER.md
|
emdashLive Reviewer: Open the live integrated reviewer to elaborate bounded categorical syntax, inspect explicit Core and reductions, replay paper proof states, and read theemdashmonograph. The browser workbench is published frommainby GitHub Pages; it is wholly client-side and does not require a Lambdapi process or other production backend.endashBrowser Prover & 3-Volume Blueprint: Openendash/playground/index.htmlorendash/prebuilt/books/index.htmldirectly in any modern browser (or visit https://hotdocx.github.io/endash/).
# Bootstrap workspace dependencies (uses pinned pnpm via Corepack)
./scripts/bootstrap-worktree.sh
# Inspect environment prerequisites & gate matrix
./scripts/emdash dev doctor
./scripts/emdash dev check --explain
# Launch local emdash browser reviewer or terminal walkthrough
./scripts/pnpmw run reviewer:dev
./scripts/pnpmw run demo:external-review
# Focused validation gates
./scripts/pnpmw run check:ts # Root TypeScript workbench & reviewer contracts
./scripts/pnpmw run kernel:check # Lambdapi v3.2 formal kernel (requires lambdapi on PATH)
./scripts/pnpmw run book:check # Authored emdash book & PDF contracts
# Run standalone endash CLI, MCP server, & 3-volume monograph audit
node endash/prebuilt/endash-cli.cjs check endash/stdlib/en/HigherAlgebraShowcase.en --strict-axioms
node endash/prebuilt/endash-cli.cjs book check endash/books
npm --prefix endash testFor contributor workflow, SOPs, and multi-agent handoffs, see AGENTS.md, emdash2/AGENTS.md, docs/DEVOPS.md, and docs/AGENT_COLLABORATION.md.
emdashv3.2Workbench Scope: The currentv3.2edition is a checked development draft and a working, bounded product—not a finished foundation, complete proof assistant, or claim of global metatheory.- The textual surface adapter accepts reviewed mathematical constructions and fails closed outside them.
- Displayed contexts support arbitrary finite depth in the canonical ordered sibling/Sigma normal form (including displayed-functorial and displayed-natural witnesses), together with qualified depth-generic finite Hom-category recursion. Arbitrary dependency or variance DAGs, general mixed introduction/curry, exchange across dependency, and unrestricted displayed coherence remain open; see
EMDASH_FOUNDATIONS_MAIN_HANDOFF.mdandEMDASH_FOUNDATIONS.md. - Historical TypeScript feasibility-prototype mechanisms retained in repository history are documented in
TYPESCRIPT_ELABORATOR_V3_2_HANDOFF.mdand are not an authority overv3.2.
endashv0.1.3Direct-Kernel Scope: Every library declaration (7,721total) and everycheckedclaim across Volumes 0, I, and II is machine-verified with zero postulated axioms (printAxioms === []). Global external metatheorems (normalization/confluence of the combined calculus) and explicit classical/analytic boundary hypotheses in the Volume II arithmetic spine (rh-spine-map.jsonv2 four-status concordance) remain strictly separated from unconditional0-axiom theorems; seeendash/FORMAL_TYPE_THEORY.md§8.4 andendash/RESEARCH_PAPER.md§§6–7.
hotdocx/endash— Standalone public distribution of theendashprover, plain-source.en/.tsstandard libraries, and 3-volume monograph (@hotdocx/endash-kernel&@hotdocx/endash-stdlib).- Arrowgram — Commutative diagrams and structured mathematical documents.
- Hotdocx / One Big Math — Browser mathematical publishing, live
.enchallenge verification, and research workspaces. - LastRevision.pro — Hosted AI scientific workspaces and automation.
