I was talking about cubical type theory with Mitchel Riley, and in particular hi...

@olynch@mathstodon.xyz

I was talking about cubical type theory with Mitchel Riley, and in particular his approach via tiny type theory, and we stumbled into what seems like an interesting idea that I'm wondering if anyone has tried.

Specifically, what if we have:

- An interval type I with points 0 and 1
- An identity type Id : (A : I -> Type) -> A 0 -> A 1 -> Type
- An identity 2 : Id (const I) 0 1
- An eliminator that witnesses I as a higher-inductive type built out of 0, 1 and 2. That is, given A : I -> Type, a0 : A 0, a1 : A 1, a2 : Id A a0 a1, and given i : I, we can form:

i .elim { 0 => a0, 1 => a1, 2 => a2 } : A i

Then this has the appropriate computation rules.

It almost seems circular, but it's not quite.

I feel like this could potentially play well with higher observational type theory? It would allow you to succinctly refer to higher cubes in higher observational type theory via iterated function type, but still have the ability to break them down into their components. And maybe it could be an approach to cubical without the cube propositions that make nbe so tricky.