Coder Social home page Coder Social logo

abuseofnotation / category-theory-illustrated Goto Github PK

View Code? Open in Web Editor NEW
312.0 16.0 33.0 60.35 MB

A book about category theory

Home Page: https://abuseofnotation.github.io/category-theory-illustrated/

HTML 55.28% CSS 43.29% Ruby 1.43%
book category-theory functional-programming math mathematics books

category-theory-illustrated's People

Contributors

abuseofnotation avatar akovacs avatar astangl avatar ciderpunx avatar das-g avatar felix-engelmann avatar heliocorreia avatar insideoutclub avatar jarekr avatar jiwon-mun avatar kartikchincholikar avatar kinow avatar kjhughes avatar mormegil-cz avatar nlewycky avatar pitmonticone avatar rprominski avatar taulant avatar vivarado avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

category-theory-illustrated's Issues

minor typos

Search for "the the", it appears twice on the text.

Another: "For example here is a function which that takes an argument"

Also, "than that function" should be "then that function"

I tried to open a pull request but I didn't have permission to open a branch.

Excellent book! It's already in a very mature stage.

About ePub format output

Hello!

First of all, I'd like to thank all the contributors for their contributions to this project.
I find it useful and I believe, such resources like this should be available in different formats as well.
I have seen that it is also possible to have a PDF format of the website, but ePub format is better than this as
it has better compatibility with book applications and you may have more tools (for note taking, highlighting, section and whatnot) compared to PDF, even though most of these are also available for PDF.

So this issue I open is about the possibility of whether the epub could also be provided maybe in releases section of this repository or on the website.

Thank you in advance.

A few typos

This is a great book. I really wish I had it back at the university where all was explained with symbols only.

Here is a few typos / broken links I found:

small error

For example, squaring a number is a function from the set of real numbers to the set of real positive numbers

That should read: to the set of real non-negative numbers.
The example even shows 0 being mapped to 0.

Singlton Example

In the "Singleton Set" section it says:

The set of books written by the American writer Harper Lee and published during her lifetime is a singleton set - she has published just one novel.

Which isn't quite true, since 2015 she published "Go Set a Watchman".

I know this is being pedantic and not the point of the explanation, but I guess it could confuse someone who knows a lot more about American literature than set theory.

Content's license

I find your explanations and graphics excellent and I am wondering if there is an open source or CreativeCommons-type of license attached to it that would allow fair sharing of parts of the content.

Please may you make a libre license official?

#7 was closed with no libre license officially added, and the permission given was extremely vague and ambiguous.
So as to avoid any legal trouble, please may you make the licensing official and add a libre license?

poset used without being defined

On the orders page, poset is used without being defined, starting in the Greatest and Least section.

Normally, I would just create a pull request to either define it at first use, or to replace all instances of poset with partial orders or partially ordered sets but it seems to me that the correct solution is one that respects the style and approach you are using throughout. E.g., using partially ordered sets instead of partial orders might require some explanation about being a little loose with the poset concept, since the text is concerned more with partial orders than posets, strictly speaking.

Great read, by the way, thank you very much for pulling this together.

Chapter 02 - `isomorphism.svg` image is broken

When I open it directly at https://boris-marinov.github.io/category-theory-illustrated/02_category/isomorphism.svg, I get the following error:

This page contains the following errors:
error on line 3 at column 33: xmlns:i: '&ns_ai;' is not a valid URI
Below is a rendering of the page up to the first error.

Looking at the contents:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:i="&amp;#38;#38;ns_ai;"

it probably should be xmlns:i="&amp;#38;ns_ai;"

Monoid associativity doesn't imply that inverses exist

In Monoids etc, we have:

When a rule is associative [...] we can add or remove a term that is present at both sides of an equation and retaining the equality of the existing terms:

An image follows that suggests that for elements x, y, z and w, if x y z = w z then x y = w. This is false; there's nothing that says w has a right inverse. As a counterexample, take a commutative ring with a zero divisor, like k[X] / (X^3) where k is a field, and consider x = X, y = X, z = X and w = X^2. Then x y z = 0 and w z = 0 but x y = X^2 and w = X.

Grammar: it's > its

Please review cases where it's should be it's. Example:
,,,
alter it’s state.
,,,

OR and AND diagram labels are reversed

This is a fantastic resource for learning category theory. There's one confusing diagram I noticed in the "categories" chapter: OR and AND

I think these labels are reversed, as earlier in the chapter, this diagram is associated with the product ("and"): product

Thank you!

Isomorphism vs bijection

If I an not wrong an isomorphism is "structure-preserving bijection" i.e. "bijective homomorphism".

First chapter describes isomorphisms in context of plain sets that don't have structure. This is technically correct, but it may be more appropriate to use term "bijection" instead.

(I'm sorry if this is explained later in the book)

Illustrations for logical operators are hard to read

The symbols ∧ (AND), ∨(OR) and ¬(NOT) are very abstract. Using them in a diagram makes that diagram harder to understand intuitively. You sort of have to already know them to understand what is going on. Also more complicated diagrams require a lot of mental effort to parse, which is in stark contrast to the other chapters, where diagrams are elegant and intuitive.

I would like to suggest other symbols:

NOT

Have a red? curly? zigzaging? ring around the elements. This would work great for composition and would be easy to read even in more complicated diagrams (like when illustrating the rules of de morgan).

AND

Have a rounded rectangle around the terms, signaling that they are connected and are now one term. A bit similar to a cartouche in egytian hieroglyphs

OR

Have a rounded rectangle around the terms, but with a line separating the two terms.

Example

To illustrate how easy these symbols would make visual parsing I have drawn a diagram of the de morgan rule:

x OR y = (NOT x) AND (NOT y)

de morgan

(drawn in paint, I am ashamed by myself)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.