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

Remove sylow_subgroup(::GrpAbFinGen) #3209

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions src/Groups/GrpAb.jl
Original file line number Diff line number Diff line change
Expand Up @@ -282,23 +282,6 @@ solvable_radical(G::GrpAbFinGen) = (G, identity_map(G))
# complement_class_reps(G::T, N::T) where T <: GrpAbFinGen
# complement_system(G::GrpAbFinGen)

function sylow_subgroup(G::GrpAbFinGen, p::IntegerUnion)
@req is_finite(G) "G is not finite"
@req is_prime(p) "p is not a prime"
subgens = GrpAbFinGenElem[]
for x in gens(G)
ord = order(x)
while mod(ord, p) == 0
ord = divexact(ord, p)
end
x = ord*x
if !is_zero(x)
push!(subgens, x)
end
end
return sub(G, subgens)
end

function sylow_system(G::GrpAbFinGen)
@req is_finite(G) "G is not finite"
result = GrpAbFinGen[]
Expand Down
Loading