conal / denotational-hardware Goto Github PK
View Code? Open in Web Editor NEWDenotational hardware design in Agda
Denotational hardware design in Agda
See stub module Functions.Laws
.
When working on #21 I figured that having CoCartesian
Categories, hence coproducts and even BiCartesian
Categories formalized it would be more elegant to express some of the fields and laws of Logic
. However adding CoCartesian to Categorical.{Raw,Laws} isn't trivial due to name clashing. A couple of possible solutions are:
Cartesian
and CartesianClosed
in a local module called Cartesian and create a second local module called CoCartesian
as well.CoCartesian
formalization via dualizationPerhaps there are recommendations and examples for Agda projects on GitHub.
Given a homomorphism with lawful target, if equivalence of source morphisms is defined via the same homomorphism (f ≈ g = Fₘ f ≈ Fₘ g
), then the source must also be lawful. Categorical.MakeLawful
implements/proves this fact for Category
. Next, prove it for Cartesian
, CartesianClosed
, etc.
See stub module in Routing.Homomorphism
.
Comma categories allow mixing different categories into a single package of specification, implementation, and correctness proof. For instance,
Identify simple concrete examples of such multi-category developments, implement the categories involved, and build some arrow morphisms.
Building on the work of PR #10 (providing a CategoryH
instance for the routing category), continue with CartesianH
.
Can commutative diagrams (and thus comma categories) somehow capture refinement, in which the implementation is more specific than (and thus entails) the specification? If not, is there another category-theoretic notion that does subsume refinement?
Fill in Categorical.Laws
.
See stub module in Routing.Homomorphism
.
Set up our project to generate highlighted and hyperlinked source code HTML and deploy on github.io in the manner of agda-stdlib.
... using the helpers in Categorical.Reasoning
. Doing so will speed up loading and hopefully be easier to read.
Define a parametrized cartesian category of vectors and vector functions, in which the objects are natural numbers denoting vectors (from Data.Vec
) of the given length, with the element type given by a module parameter. Define a denotation as a cartesian functor to functions.
Later, we can build up from this category to hardware designs, specializing the element type to Bool
.
See stub module in Primitive.Homomorphism
.
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.