cmcma20 / cubical-mini Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Third time I think about path composition definition and find it biased. Can we do better? Yes, need to create an experimental branch, redefine composition with refl as top path and not as the left one. In the process of refactoring everything else we can uncover the subtleties in the new definition, maybe it doesn't work as good for unification or whatever, need to check this.
Also it would be nice to:
Square
rotationsThere's a clear hierarchy of n-ary functions, in order of increasing expressivity (and increasing complexity + unification-unfriendliness):
A -> A -> A -> ... -> R
A -> B -> C -> ... -> R
(a : A) -> (b : B a) -> C a b -> ... -> R
The last point is also a prerequisite for generics.
Manual implementation would be useful too until we get generics
What's the intended usage? See the official docs and paper.
Need to experiment and find out whether the feature is usable.
Do we want to make levels abstract?
HLevel
, is-of-hlevel
There are cases where records were used just to ensure no unneccessary reduction takes place.
n-Type
and other structured typesType-with
without record isomoprhism macrosCan we make all abstract
definitions opaque
instead? There aren't a lot of these, and they're all related either to hlevels or path algebra. Btw, making path algebra stuff abstract would be really nice as it's built from hcomp
s anyway.
Moving Erased
to Correspondences
was a mistake, lack of subtyping between erased and nonerased types is painful.
We need to get erased counterparts for all definitions in Foundations
, that's a lot of work.
is-of-hlevel
should be defined with only one base case (contractibility), because is-prop
is NOT equivalent to inductive case under erasurefibre
Dec
with erased proofStill need:
Follow the original paper by Danielsson and the sequel, code here
Instance's too inflexible, overlapping instances start to creep in algebraic structures. We need a macro which would banish overlap and allow extracting not only underling types from structured ones but also underlying functions (embeddings, surjections) etc.
Currently we have Meta.Witness
and it's really bad from the point of UX: user is forced to separately define a Dec something
then define something
in another opaque block for it to be filled by witness!
tactic. The tactic must not require such manipulations.
Investigate the cause of this behaviour and leave a comment. First hypothesis: the problem stems from a wacky implementation of Meta.Search
tactics, which doesn't provide an easy way to granularly control reductions when composing search hints.
Second part is more subtle. It may be possible to reformulate Meta.Search.Decidable
using n-ary Decidable
predicate instead of Dec
. I'll have no doubt the unifier's gonna choke on such a definition, but it's worth trying.
https://www.cs.bham.ac.uk/~mhe/TypeTopology/PathSequences.index.html seems like a piece of useful infrastructure
This is a very vast topic, and needs a lot of further research. One thing is clear though \em no monad transformers and Haskell bullshit like MonadIO
, MonadBase IO
, MonadBaseControl IO
etc.
Guess we'll need something based on interaction trees (hello, algebraic effects). If you love history, read this dusty paper. Hefty algebras are cutting edge level, but I'm afraid they might be too hefty for a minimal library.
Guillaume implemented IO for agda-stdlib, this is what we use now, but it's based on old coinduction. Can we do something like this but with later modality?
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.