|
| 1 | += Adjacency: Cubical Systems |
| 2 | +:toc: macro |
| 3 | + |
| 4 | +toc::[] |
| 5 | + |
| 6 | +== 1. Nearest existing constructions |
| 7 | + |
| 8 | +The nearest cubical-side systems for this repository are: |
| 9 | + |
| 10 | +* Cubical Agda: Agda's built-in `--cubical` mode plus the separate |
| 11 | + Cubical Agda library. |
| 12 | +* `RedPRL`: a tactic-oriented assistant for computational Cartesian |
| 13 | + cubical type theory. |
| 14 | +* `redtt` and `cooltt`: experimental cubical proof assistants / |
| 15 | + typecheckers. |
| 16 | + |
| 17 | +For this repository, Cubical Agda is the closest operational neighbour: |
| 18 | +it preserves the Agda language and keeps the migration cost lower than a |
| 19 | +move to a different prover. |
| 20 | + |
| 21 | +== 2. What do they add? |
| 22 | + |
| 23 | +* First-class path/cubical equality and higher-dimensional structure. |
| 24 | +* Higher inductive and quotient-like reasoning that plain |
| 25 | + `--safe --without-K` Agda does not provide directly. |
| 26 | +* A plausible route for roadmap item `R2` in `roadmap.adoc`: treating |
| 27 | + indistinguishability with equivalence-aware identity rather than only |
| 28 | + propositional/set-level relations. |
| 29 | + |
| 30 | +== 3. What do they _not_ add? |
| 31 | + |
| 32 | +* No automatic reuse guarantee for the current Buchholz work. Moving to |
| 33 | + `RedPRL`, `redtt`, or `cooltt` is a prover migration, not a local |
| 34 | + refactor. |
| 35 | +* No evidence yet that the blocked direct same-binder route in plain |
| 36 | + Agda disappears automatically in a cubical setting. |
| 37 | +* No requirement for the current echo-types evidence base, which still |
| 38 | + compiles in plain Agda with the standard library. |
| 39 | + |
| 40 | +== 4. Working decision |
| 41 | + |
| 42 | +* Active repository tooling stays Agda-first. |
| 43 | +* Optional exploratory extension: Agda `--cubical` plus the Cubical |
| 44 | + Agda library. |
| 45 | +* `RedPRL`, `redtt`, and `cooltt` are tracked as adjacent references, |
| 46 | + not installed or required for normal builds. |
| 47 | + |
| 48 | +== 5. Why this matters here |
| 49 | + |
| 50 | +Cubical systems may matter later for quotient-like or |
| 51 | +equivalence-sensitive extensions of echo types, especially roadmap item |
| 52 | +`R2`. They are not part of the evidential base for the current identity |
| 53 | +claim. That claim still stands or falls on the plain-Agda development |
| 54 | +already in the repository. |
| 55 | + |
| 56 | +== 6. References |
| 57 | + |
| 58 | +* Cubical Agda library: `https://github.com/agda/cubical` |
| 59 | +* `RedPRL` family: `https://redprl.org/` |
0 commit comments