AlternativeMonad
📁 Source: Batteries/Control/AlternativeMonad.lean
Statistics
AlternativeMonad
Definitions
| Name | Category | Theorems |
|---|---|---|
toAlternative 📖 | CompOp | |
toBind 📖 | CompOp | — |
toMonad 📖 | CompOp |
LawfulAlternative
Theorems
| Name | Kind | Assumes | Proves | Validates | Depends On |
|---|---|---|---|---|---|
failure_orElse 📖 | — | — | — | — | — |
failure_seq 📖 | — | — | — | — | — |
map_failure 📖 | — | — | — | — | — |
map_orElse 📖 | — | — | — | — | — |
orElse_assoc 📖 | — | — | — | — | — |
orElse_failure 📖 | — | — | — | — | — |
toLawfulApplicative 📖 | — | — | — | — | — |
LawfulAlternativeLift
Theorems
| Name | Kind | Assumes | Proves | Validates | Depends On |
|---|---|---|---|---|---|
monadLift_failure 📖 | — | — | — | — | — |
monadLift_orElse 📖 | — | — | — | — | — |
Option
Definitions
| Name | Category | Theorems |
|---|---|---|
instAlternativeMonad 📖 | CompOp | — |
Theorems
| Name | Kind | Assumes | Proves | Validates | Depends On |
|---|---|---|---|---|---|
instLawfulAlternative 📖 | mathematical | — | LawfulAlternative | — | — |
OptionT
Definitions
| Name | Category | Theorems |
|---|---|---|
instAlternativeMonadOfMonad 📖 | CompOp | — |
Theorems
| Name | Kind | Assumes | Proves | Validates | Depends On |
|---|---|---|---|---|---|
instLawfulAlternativeOfLawfulMonad 📖 | mathematical | — | LawfulAlternative | — | — |
ReaderT
Definitions
| Name | Category | Theorems |
|---|---|---|
instAlternativeMonad 📖 | CompOp | — |
Theorems
StateRefT'
Definitions
| Name | Category | Theorems |
|---|---|---|
instAlternativeMonad 📖 | CompOp | — |
Theorems
| Name | Kind | Assumes | Proves | Validates | Depends On |
|---|---|---|---|---|---|
instLawfulAlternative 📖 | mathematical | — | LawfulAlternativeAlternativeMonad.toAlternativeAlternativeMonad.toMonad | — | ReaderT.instLawfulAlternative |
instLawfulAlternativeLift 📖 | mathematical | — | LawfulAlternativeLiftAlternativeMonad.toAlternativeAlternativeMonad.toMonad | — | ReaderT.instLawfulAlternativeLift |
StateT
Definitions
| Name | Category | Theorems |
|---|---|---|
instAlternativeMonad 📖 | CompOp | — |
Theorems
(root)
Definitions
| Name | Category | Theorems |
|---|---|---|
AlternativeMonad 📖 | CompData | — |
LawfulAlternative 📖 | CompData | |
LawfulAlternativeLift 📖 | CompData |
Theorems
---