PFunctor.FreeM.instLawfulMonad
instanceimported Lean
PFunctor.FreeM.instLawfulMonad
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in universe u v uA uB in variable {P : PFunctor.{uA, uB}} {α β γ : Type*} in instance PFunctor.FreeM.instLawfulMonad : LawfulMonad (P.FreeM)
- Defined in
- CSLib, `PFunctor.FreeM.instLawfulMonad`
- Lean proof
- By Quang Dao, from github.com/leanprover/cslib at
3951377e5a3f(Copyright (c) 2026 Quang Dao. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.33.0.PFunctor.FreeM.instLawfulMonad← @Cslib/Foundations/Data/PFunctor/Free.lean:239 (Cslib/Foundations/Data/PFunctor/Free.lean:239): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 8
- PFunctor.FreeM.instMonadPFunctor.FreeM.instMonad
- PFunctor.FreeM.id_mapPFunctor.FreeM.id_map
- PFunctor.FreeM.pure_bind
.pure afollowed bybindcollapses immediately. - Cslib.FreeM.instLawfulMonadCslib.FreeM.instLawfulMonad
- PFunctor.FreeMThe free monad on a polynomial functor. This extends
WTypewith an extrapureconstructor. - Cslib.FreeM.bind_assocCslib.FreeM.bind_assoc
- PFunctor.FreeM.bind_pure_compPFunctor.FreeM.bind_pure_comp
- PFunctor.FreeM.bind_assocPFunctor.FreeM.bind_assoc
- Used by 6
- PFunctor.FreeM.liftM_seqLeftPFunctor.FreeM.liftM_seqLeft
- PFunctor.FreeM.liftM_seqPFunctor.FreeM.liftM_seq
- PFunctor.FreeM.liftM_liftPFunctor.FreeM.liftM_lift
- PFunctor.FreeM.liftM_seqRightPFunctor.FreeM.liftM_seqRight
- PFunctor.FreeM.liftM_bindPFunctor.FreeM.liftM_bind
- PFunctor.FreeM.liftM_mapPFunctor.FreeM.liftM_map
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in universe u v uA uB in variable {P : PFunctor.{uA, uB}} {α β γ : Type*} in instance PFunctor.FreeM.instLawfulMonad : LawfulMonad (P.FreeM) := LawfulMonad.mk' (bind_pure_comp := bind_pure_comp) (id_map := id_map) (pure_bind := pure_bind) (bind_assoc := FreeM.bind_assoc)