Skip to content

Commit

Permalink
feat: bring algebras into shape
Browse files Browse the repository at this point in the history
- documentation
- tests
- renaming
  • Loading branch information
thofma committed Aug 29, 2024
1 parent ee980a7 commit 7f234c5
Show file tree
Hide file tree
Showing 7 changed files with 274 additions and 113 deletions.
8 changes: 8 additions & 0 deletions docs/src/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ export default defineConfig({
{ text: 'Discriminant groups', link: 'manual/quad_forms/discriminant_group'},
]
},
{ text: 'Algebras',
collapsed: true,
items: [
{ text: 'Introduction', link: 'manual/algebras/intro'},
{ text: 'Basics', link: 'manual/algebras/basics'},
{ text: 'Structure constant algebras', link: 'manual/algebras/structureconstant'},
]
},
{
text: 'Elliptic curves',
collapsed: true,
Expand Down
2 changes: 1 addition & 1 deletion src/AlgAss.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include("AlgAss/Map.jl")
include("AlgAss/AbsAlgAss.jl")
include("AlgAss/AlgQuat.jl")
include("AlgAss/AlgAss.jl")
include("AlgAss/StructureConstantAlgebra.jl")
include("AlgAss/radical.jl")
include("AlgAss/ChangeRing.jl")
include("AlgAss/AlgGrp.jl")
Expand Down
17 changes: 17 additions & 0 deletions src/AlgAss/AbsAlgAss.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
_base_ring(A::AbstractAssociativeAlgebra) = base_ring(A)

# document the following
#base_ring
#zero_algebra(T,...)
#iszero
#has_one
#dim
#@doc raw"""
# is_commutative(A::StructureConstantAlgebra) -> Bool
#
#Returns `true` if $A$ is a commutative ring and `false` otherwise.
#"""
#raw"""
# zero_algebra(R::Ring) -> StructureConstantAlgebra
#
#Return the zero ring as an associative $R$-algebra.
#"""

################################################################################
#
# Morphism types
Expand Down
Loading

0 comments on commit 7f234c5

Please sign in to comment.