Collaborative work on reversible computing and its relationship to Homotopy Type Theory. Drafts are available in releases.
vikraman / 2dtypes Goto Github PK
View Code? Open in Web Editor NEWCollaborative work on reversible computing
Collaborative work on reversible computing
Collaborative work on reversible computing and its relationship to Homotopy Type Theory. Drafts are available in releases.
To do:
(1 + (1 + ... + (1 + 0)))
and normalized 1-combinatorst1
and t2
and a 1-combinator c
between them, there exists a normalized 1-combinator nc
and a 2-combinator nnc
such that the (obvious) diagram commutes up to nnc
.By defining the free group and constructing the surjection, or showing an equivalence between a quotient of Free and the Sn type.
The global README leads me to believe that
Pi combinators ≃ (Fin n ≃ Fin n)
is really the desired end goal. [Though I'd prefer if the latter part was (Fin n ≃ Fin m)
, where it is understood/provable that for m <> n, the type is empty.] But this issue should be to clearly define the "main message", and then also a plan to get there.
Again, the global README gives a particular plan, via a sequence of equivalences - but nowhere have I seen any reasoning that these particular steps are somehow thought to be the 'easiest' path. [I don't disbelieve it, but neither am I convinced.]
There are three functions marked as non-terminating:
Pi+/Coxeter/NonParametrized/Diamond.agda
: diamond
and diamond-full
Pi+/Coxeter/NonParametrized/LehmerReduction.agda
: Listℕ-to-LehmerProper
All three of them are of similar nature, and they terminate based on the same reason. Namely, when they are called with an argument l1 : Listℕ
, they are calling themselves recursively on l2
, which has the property that l1 ≅* l2
. Relation ≅*
has the property that, if l1 ≅* l2
, then l2
is lexicographically smaller than l1
.
Thus, we need to:
Hopefully, this can be done in a generic way, to not bother with the details of the functions above (they are quite messy and I can modify them to fit in the generic interface myself).
Convert it from Agda std-lib to HoTT.
It looks like a hexagon but it doesn't match any existing pi combinators?
Some stuff will still be missing, but just to see where we are now and what's still to be done.
This requires that the Coxeter relation:
https://arxiv.org/abs/2101.04238. It's about the free symmetric strict monoidal category.
Show that for any (p : O ⟷₁ O) → (id⟷₁ ⟷₂ p)
.
Maybe we could use FinSet-exp instead of FinSet? The latter is very inconvenient to use because of its monadic form?
I'm attempting to build the project, but am encountering syntax errors both with Agda 2.5.2 and git HEAD (agda/agda@01798f3). Is there any chance that the Agda version needed could be noted somewhere, even if just as a comment in the Makefile?
Partially done in FSMG.Properties
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.