Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revive AugmentedDirac #50

Open
blegat opened this issue Jun 14, 2024 · 0 comments
Open

Revive AugmentedDirac #50

blegat opened this issue Jun 14, 2024 · 0 comments

Comments

@blegat
Copy link
Member

blegat commented Jun 14, 2024

#49 made the tests fail so I commented them out because I don't understood why they would work. Because AugmentedDirac does not have the same element type than DiracBasis, how could coeffs work ?
See

# @testset "Augmented basis" begin
# ad = SA.AugmentedBasis(db)
# @test SA.mstructure(ad) == SA.AugmentedMStructure(SA.mstructure(db))
# @test ad[SA.Augmented(h)] isa SA.Augmented
# @test sprint(show, ad[SA.Augmented(h)]) == "(-1·()+1·(1,2,4,5))"
#
# @test !(h in ad)
# @test SA.Augmented(h) in ad
#
# IG = SA.StarAlgebra(G, ad)
#
# axcfs = SA.coeffs(x, basis(IG))
# aycfs = SA.coeffs(y, basis(IG))
# azcfs = SA.coeffs(z, basis(IG))
# ax = SA.AlgebraElement(axcfs, IG)
# ay = SA.AlgebraElement(aycfs, IG)
# az = SA.AlgebraElement(azcfs, IG)
#
# @test coeffs(ax * ay) == SA.coeffs(x * y, basis(IG))
# @test coeffs(ax * az) == SA.coeffs(x * z, basis(IG))
# @test SA.aug(ax) == 0
# @test star(ax) * star(ay) == star(ay) * star(ax)
#
# @test length(ad) == length(db) - 1
# @test Set(ad) == Set(SA.Augmented(g) for g in db if !isone(g))
# end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant