The free Magma on a Set, resp. Setoid#1954
The free Magma on a Set, resp. Setoid#1954jamesmckinna wants to merge 40 commits intoagda:masterfrom
Magma on a Set, resp. Setoid#1954Conversation
…gda-stdlib into issue1919" This reverts commit dbfb5a7, reversing changes made to 824dce6.
…pattern" This reverts commit 824dce6.
|
Hmm, a lot of this can be made generic. [All of it can be generated, but that's a different story for another day.] I do have some code in the Theories and Data Structures repository that should be resurrected and cleaned up for that purpose. Even if we agree to write a lot of this "by hand", there is tons to discuss regarding the details of the design. Certainly I'll add doing a thorough commentary on this to my "to do" list. |
|
Thanks for the prompt to think about automation, and I look forward to your detailed comments! As to patterns present in the design, thinking a bit harder about being systematic with naming would be helpful... as would a bit more UPDATED: @JacquesCarette I squinted at your 2019 paper on Theories and Structures, and that prompted me to add the functoriality of |
…stdlib into free-algebras
|
Re: I guess one of us should open an issue for this? #1957 |
|
So I was picturing |
|
Re; (DELETED: discussion moved to #1957) |
|
This last commit revealed another 'missing' item from the library: cf issue #1960 there seems to be no Suggest also that I should refactor the |
|
OK... after functoriality of the One outstanding question: besides resolving the above review conversations, where should such a contribution live, assuming that we want it anywhere? I chose |
|
Blast, I've screwed up reverting the bogus merge commit again... sigh. I'll make a fresh PR. Double sigh. |
This reverts commit f120c1e.
This is a specimen instance of a general hierarchy, intended to be placed under
Algebra.Bundles.Free.X, and to be reexported publicly byAlgebra.Bundles.Free, cf. my comments on #1281, esp for comparison with @JacquesCarette 's work onagda-categories.UPDATED: now with the 'free' homomorphism
⟦_⟧_guaranteed by initiality, plus a whole bunch of stuff.But:
Magmaseems easy, compared to all the others... ;-)For discussion: is this the right way to proceed?
(I'm conscious that the (inner) module structure alone needs some tidying up)