Alias of DistribMulAction
.
Typeclass for multiplicative actions on additive structures. This generalizes group modules.
Equations
Instances For
a * b
computes the product of a
and b
.
The meaning of this notation is type-dependent.
Equations
- «term_⊙_» = Lean.ParserDescr.trailingNode `«term_⊙_» 73 74 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊙ ") (Lean.ParserDescr.cat `term 73))
Instances For
a • b
computes the product of a
and b
.
The meaning of this notation is type-dependent, but it is intended to be used for left actions.
Equations
- «term_⊗_» = Lean.ParserDescr.trailingNode `«term_⊗_» 70 70 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊗ ") (Lean.ParserDescr.cat `term 71))
Instances For
instance
Pi.instDistribMulAction
(W M : Type)
[Monoid W]
[AddCommMonoid M]
[DistribMulAction W M]
{ι : Type u_1}
:
DistribMulAction W (ι → M)
Equations
- Pi.instDistribMulAction W M = { toMulAction := Pi.mulAction W, smul_zero := ⋯, smul_add := ⋯ }
instance
instDistribMulAction𝕎
(W M : Type)
[Monoid W]
[AddCommMonoid M]
[DistribMulAction W M]
(Var : Type)
:
DistribMulAction W (𝕎 M Var)
Equations
- instDistribMulAction𝕎 W M Var = Pi.instDistribMulAction W M
Equations
- instDistribMulAction_wGCL = { toMulAction := DistribMulAction.toMulAction, smul_zero := ⋯, smul_add := ⋯ }
Instances
- Branch {D W Var : Type} : wGCL D W Var → wGCL D W Var → wGCL D W Var
- Weight {D W Var : Type} : 𝕎 W (Mem D Var) → wGCL D W Var
- Assign {D W Var : Type} : Var → AExpr D Var → wGCL D W Var
- Ite {D W Var : Type} : BExpr D Var → wGCL D W Var → wGCL D W Var → wGCL D W Var
- Seq {D W Var : Type} : wGCL D W Var → wGCL D W Var → wGCL D W Var
- While {D W Var : Type} : BExpr D Var → wGCL D W Var → wGCL D W Var
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- WGCL.«cwgcl_var~_» = Lean.ParserDescr.node `WGCL.«cwgcl_var~_» 1024 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "~") (Lean.ParserDescr.cat `term 1024))
Instances For
Equations
- WGCL.«cwgcl_bexp~_» = Lean.ParserDescr.node `WGCL.«cwgcl_bexp~_» 1024 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "~") (Lean.ParserDescr.cat `term 1024))
Instances For
Equations
- WGCL.«cwgcl_aexp~_» = Lean.ParserDescr.node `WGCL.«cwgcl_aexp~_» 1024 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "~") (Lean.ParserDescr.cat `term 1024))
Instances For
Equations
- WGCL.«cwgcl_wght~_» = Lean.ParserDescr.node `WGCL.«cwgcl_wght~_» 1024 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "~") (Lean.ParserDescr.cat `term 1024))
Instances For
Equations
- WGCL.«cwgcl_prog~_» = Lean.ParserDescr.node `WGCL.«cwgcl_prog~_» 1024 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "~") (Lean.ParserDescr.cat `term 1024))
Instances For
Equations
- WGCL.cwgcl_var_ = Lean.ParserDescr.node `WGCL.cwgcl_var_ 1022 (Lean.ParserDescr.const `ident)
Instances For
Equations
- WGCL.cwgcl_bexp_ = Lean.ParserDescr.node `WGCL.cwgcl_bexp_ 1022 (Lean.ParserDescr.const `ident)
Instances For
Equations
- WGCL.cwgcl_aexp_ = Lean.ParserDescr.node `WGCL.cwgcl_aexp_ 1022 (Lean.ParserDescr.const `num)
Instances For
Equations
- WGCL.«cwgcl_aexp_+_» = Lean.ParserDescr.trailingNode `WGCL.«cwgcl_aexp_+_» 50 50 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " + ") (Lean.ParserDescr.cat `cwgcl_aexp 51))
Instances For
Equations
- WGCL.cwgcl_wght_ = Lean.ParserDescr.node `WGCL.cwgcl_wght_ 1022 (Lean.ParserDescr.const `num)
Instances For
Equations
- WGCL.cwgcl_wght__1 = Lean.ParserDescr.node `WGCL.cwgcl_wght__1 1022 (Lean.ParserDescr.const `ident)
Instances For
Equations
- WGCL.«cwgcl_prog⊙_» = Lean.ParserDescr.node `WGCL.«cwgcl_prog⊙_» 75 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "⊙") (Lean.ParserDescr.cat `cwgcl_wght 0))
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- WGCL.cwgcl_progSkip = Lean.ParserDescr.node `WGCL.cwgcl_progSkip 1024 (Lean.ParserDescr.symbol "skip")
Instances For
def
WGCL.unexpandWeighting :
Lean.TSyntax `term → Lean.PrettyPrinter.UnexpandM (Lean.TSyntax `cwgcl_wght)
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
WGCL.wGCL.unexpandBExpr :
Lean.TSyntax `term → Lean.PrettyPrinter.UnexpandM (Lean.TSyntax `cwgcl_bexp)
Equations
- One or more equations did not get rendered due to their size.
Instances For
partial def
WGCL.wGCL.unexpandAExpr :
Lean.TSyntax `term → Lean.PrettyPrinter.UnexpandM (Lean.TSyntax `cwgcl_aexp)
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.