Beta

Powerset monad (Part 1)

Description:

Prove that the (contravariant) double powerset functor PP is a monad.

Preloaded contains the following:

import category_theory.functor
import category_theory.types
import tactic

universe u

@[simps]
def PP : Type u ⥤ Type u :=
{ obj := λ X, set (set X),
  map := λ X Y f, set.preimage (set.preimage f) }
Monads
Fundamentals

Similar Kata:

More By Author:

Check out these other kata created by b-mehta

Stats:

CreatedMay 14, 2020
PublishedMay 14, 2020
Warriors Trained22
Total Skips6
Total Code Submissions2
Total Times Completed3
Lean Completions3
Total Stars2
% of votes with a positive feedback rating100% of 2
Total "Very Satisfied" Votes2
Total "Somewhat Satisfied" Votes0
Total "Not Satisfied" Votes0
Total Rank Assessments2
Average Assessed Rank
5 kyu
Highest Assessed Rank
4 kyu
Lowest Assessed Rank
6 kyu
Ad
Contributors
  • b-mehta Avatar
Ad