Commit graph

425 commits

Author SHA1 Message Date
Frederik Hanghøj Iversen ce4dd83969 Prove that the yoneda embedding is distributive 2018-03-05 14:42:12 +01:00
Frederik Hanghøj Iversen 7fbca1aeeb Clean-up yoneda embedding 2018-03-05 14:04:04 +01:00
Frederik Hanghøj Iversen 1bf565b87a Have yoneda without having a category of categories
I did break some things in Cat.Categories.Cat but since this is
unprovable anyways it's not that big a deal.
2018-03-05 13:52:59 +01:00
Frederik Hanghøj Iversen 5c3616bca5 Make argument to presheaf explicit 2018-03-05 11:17:31 +01:00
Frederik Hanghøj Iversen 059c74b687 Use already defined category 2018-03-05 11:15:45 +01:00
Frederik Hanghøj Iversen a4890a42cf Define Monoidal categories without depending on category of categories 2018-03-05 11:13:58 +01:00
Frederik Hanghøj Iversen 5902c6121b Further reduce dependency on impossible facts.
Provide the data for the product in the category of categories without
requiring such a category to actually exist
2018-03-05 11:07:42 +01:00
Frederik Hanghøj Iversen 77006011d3 Minimize dependency on category of categories 2018-03-05 10:35:33 +01:00
Frederik Hanghøj Iversen 8f8800cb67 More stuff about kleisli \equiv monoidal 2018-03-05 10:28:16 +01:00
Frederik Hanghøj Iversen b079f5e426 Prove propositionality for IsMonad 2018-03-02 13:31:46 +01:00
Frederik Hanghøj Iversen c4e3625746 Finish proof of distributivity 2018-03-01 20:47:36 +01:00
Frederik Hanghøj Iversen 2ceb027f7a Prove monad-equality principle for kleisly monads 2018-03-01 20:23:34 +01:00
Frederik Hanghøj Iversen f2164a6717 Prove equality principle for monads 2018-03-01 20:12:49 +01:00
Frederik Hanghøj Iversen a7f31bb3e2 Prove "foreign naturality condition" 2018-03-01 18:00:51 +01:00
Frederik Hanghøj Iversen f526fd6010 Prove inverse law 2018-03-01 17:50:06 +01:00
Frederik Hanghøj Iversen ff2952e9ad Make postulate 2018-03-01 14:59:19 +01:00
Frederik Hanghøj Iversen ae46a48861 Define goals in Kleisli 2018-03-01 14:58:01 +01:00
Frederik Hanghøj Iversen 64a0292755 Cosmetics 2018-03-01 14:19:46 +01:00
Frederik Hanghøj Iversen e8b29e1f7f \mu is join and it's a natural transformation! 2018-02-28 23:41:59 +01:00
Frederik Hanghøj Iversen 9d3b17245f Provide \zeta 2018-02-28 19:32:07 +01:00
Frederik Hanghøj Iversen f2b1a36a75 Define and use Endofunctor 2018-02-28 19:03:11 +01:00
Frederik Hanghøj Iversen 3c77c69cf6 Move functor definition to Kleisli.Monad 2018-02-28 19:00:21 +01:00
Frederik Hanghøj Iversen 70221377d3 Move proof of equivalence to IsMonad making them lemmas 2018-02-28 18:55:32 +01:00
Frederik Hanghøj Iversen 1aaf81552c Move another proof to category definition 2018-02-26 20:42:00 +01:00
Frederik Hanghøj Iversen 101b2639e1 Move proof to category definition 2018-02-26 20:31:47 +01:00
Frederik Hanghøj Iversen 5b5d21f777 Formatting 2018-02-26 20:23:31 +01:00
Frederik Hanghøj Iversen a0944d69b1 Documentation in Monad 2018-02-26 20:08:48 +01:00
Frederik Hanghøj Iversen 67993be27b Add reverse function composition to category 2018-02-26 20:00:24 +01:00
Frederik Hanghøj Iversen 47882b1110 Rename zeta to pure 2018-02-26 19:58:27 +01:00
Frederik Hanghøj Iversen 043641462d Prove distributive law for monads! 2018-02-26 19:57:05 +01:00
Frederik Hanghøj Iversen 7cddba97a8 Shorten definition 2018-02-25 19:03:48 +01:00
Frederik Hanghøj Iversen 9c8bc1b1f4 Merge branch 'dev' 2018-02-25 15:38:23 +01:00
Frederik Hanghøj Iversen 7518a642f6 Update changelog 2018-02-25 15:38:12 +01:00
Frederik Hanghøj Iversen 2c6132768e Remove Pathy and Bij 2018-02-25 15:29:52 +01:00
Frederik Hanghøj Iversen 5caecf9796 Rename properties to yoneda 2018-02-25 15:28:42 +01:00
Frederik Hanghøj Iversen 44526b85eb Move CwF 2018-02-25 15:24:44 +01:00
Frederik Hanghøj Iversen f0beec1530 Rename Opposite to opposite 2018-02-25 15:23:33 +01:00
Frederik Hanghøj Iversen cd98736d02 Add documentation in Category-module 2018-02-25 15:21:38 +01:00
Frederik Hanghøj Iversen 2e7220567a Move lemma into IsCategory 2018-02-25 14:44:03 +01:00
Frederik Hanghøj Iversen d63ecc3a65 Use abbreviation 2018-02-25 14:39:11 +01:00
Frederik Hanghøj Iversen caddf83a09 Let IsCategory reexport RawCategory 2018-02-25 14:37:28 +01:00
Frederik Hanghøj Iversen 5deabb7546 Forgot to add monoid-module 2018-02-25 14:28:01 +01:00
Frederik Hanghøj Iversen ce46e0ae7a Module-ify 2018-02-25 14:27:37 +01:00
Frederik Hanghøj Iversen 12dddc2067 Use a module 2018-02-25 03:12:51 +01:00
Frederik Hanghøj Iversen 4c298855e0 [WIP] Proving other fusion law
Also set up framework for equality principle for monads
2018-02-25 03:09:25 +01:00
Frederik Hanghøj Iversen a6b01929f0 Prove distributive law 2018-02-25 01:27:20 +01:00
Frederik Hanghøj Iversen a447cd9c7c Syntax 2018-02-24 20:41:47 +01:00
Frederik Hanghøj Iversen 9d09363f78 Expand definition of isDistributive somewhat
Also contains some side-tracks
2018-02-24 20:37:21 +01:00
Frederik Hanghøj Iversen e7abab0e4c Add pure and >=> to kleisli category 2018-02-24 19:08:20 +01:00
Frederik Hanghøj Iversen be505cdfbe Prove IsAssociative 2018-02-24 19:07:58 +01:00