Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianMaeurer committed Nov 11, 2024
1 parent 3fe45e2 commit bc0b685
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/CategoryFramework/Fallbacks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ Base.length(H::AbstractHomSpace) = int_dim(H)
Base.eltype(H::Type{T}) where T <: AbstractHomSpace = fieldtype(H, :basis).parameters[1]


function (F::Ring)(f::Morphism)
(R::Ring)(f::Morphism) = morphism_to_scalar(R,f)
(R::QQBarField)(f::Morphism) = morphism_to_scalar(R,f)

function morphism_to_scalar(R::Ring, f::Morphism)
B = basis(Hom(domain(f), codomain(f)))
if length(B) == 0
return 0
Expand Down
2 changes: 1 addition & 1 deletion src/TensorCategories.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import Oscar: +, @alias, @attributes, AbstractSet, AcbField, StructureConstantAl
number_of_rows, number_of_columns, is_squarefree, is_commutative,
gens, center, graph_from_adjacency_matrix, connected_components, weakly_connected_components, Directed, Undirected, morphism, algebra,
radical, is_zero, minimal_submodules, representation_matrix, QQBarField,
is_irreducible, polynomial, is_univariate, action, is_equivalent, extension_of_scalars, free_module, perm, fraction_field
is_irreducible, polynomial, is_univariate, action, is_equivalent, extension_of_scalars, free_module, perm, fraction_field, simplify

using Serialization
import Oscar: @register_serialization_type,
Expand Down
6 changes: 6 additions & 0 deletions src/TensorCategoryFramework/FusionCategory.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,12 @@ function extension_of_scalars(m::SixJMorphism, L::Field)
end
end



function simplify(C::SixJCategory)
K = base_ring(C)
end

#=----------------------------------------------------------
Reverse braided
----------------------------------------------------------=#
Expand Down
3 changes: 3 additions & 0 deletions src/TensorCategoryFramework/Skeletization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ function six_j_symbols(C::Category, S = simples(C))
return ass
end

function skeletal_spherical(C::Category, Homs)
end

function skeletal_braiding(C::Category, S = simples(C))
@assert is_braided(C)

Expand Down

0 comments on commit bc0b685

Please sign in to comment.