Idris2Doc : Frexlet.Monoid.Commutative.Free

Frexlet.Monoid.Commutative.Free

An inductive construction of the free commutative monoid over a
finite set.

Reexports

importpublic Frexlet.Monoid.Commutative.NatSemiLinear
importpublic Frexlet.Monoid.Commutative.Nat
importpublic Decidable.Equality
importpublic Data.Vect.Extra

Definitions

Model : Nat->CommutativeMonoid
Totality: total
Visibility: public export
unit : (n : Nat) ->Finn->U (Modeln)
  Monadic unit

Totality: total
Visibility: public export
FreeCommutativeMonoidOver : (n : Nat) ->ModelOverCommutativeMonoidTheory (cast (Finn))
Totality: total
Visibility: public export
FreeModelZeroRepresentation : (n : Nat) -> (Modeln) .semNeutral=replicaten0
Totality: total
Visibility: export
pointwiseSum : (n : Nat) -> (xss : Vectm (U (Modeln))) -> (i : Finn) ->indexi ((Modeln) .sumxss) =Additive.sum (map (indexi) xss)
Totality: total
Visibility: export
pointwiseMult : (n : Nat) -> (m : Nat) -> (xs : U (Modeln)) -> (i : Finn) ->indexi (m*.xs) =m*indexixs
Totality: total
Visibility: export
diracPointMass : (i : Finn) -> (j : Finn) ->Either (i=j, indexj (unitni) =1) (indexj (unitni) =0)
Totality: total
Visibility: export
normalForm : (n : Nat) -> (xs : U (Modeln)) -> (Modeln) .sum (tabulate (\i=>indexixs*.unitni)) =xs
Totality: total
Visibility: export
FreeExtenderFunction : ExtenderFunction
Totality: total
Visibility: public export
FreeExtenderSetoidHomomorphism : ExtenderSetoidHomomorphism
Totality: total
Visibility: public export
extenderPreservesZero : (other : ModelOverCommutativeMonoidTheory (cast (Finn))) ->Preserves ((Modeln) .Algebra) ((other.Model) .Algebra) (FreeExtenderFunctionother) Zero
Totality: total
Visibility: public export
extenderPreservesPlus : (other : ModelOverCommutativeMonoidTheory (cast (Finn))) ->Preserves ((Modeln) .Algebra) ((other.Model) .Algebra) (FreeExtenderFunctionother) Plus
Totality: total
Visibility: public export
FreeExtenderHomomorphism : ExtenderAlgebraHomomorphism
Totality: total
Visibility: public export
extenderIsMorphism : (other : ModelOverCommutativeMonoidTheory (cast (Finn))) ->PreservesEnv (FreeCommutativeMonoidOvern) other (FreeExtenderSetoidHomomorphismother)
Totality: total
Visibility: public export
Extender : Extender
Totality: total
Visibility: public export
uniqueExtender : (other : ModelOverCommutativeMonoidTheory (cast (Finn))) -> (extend : FreeCommutativeMonoidOvern~>other) -> (xs : U (Modeln)) -> (other.Model) .rel (((extend.H) .H) .Hxs) (FreeExtenderFunctionotherxs)
Totality: total
Visibility: public export
Uniqueness : Uniqueness
Totality: total
Visibility: public export
Free : FreeCommutativeMonoidTheory (cast (Finn))
Totality: total
Visibility: public export