Skip to content

Commit

Permalink
Bump Hecke compat again
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Sep 20, 2024
1 parent f840cf7 commit e85813d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ AbstractAlgebra = "0.43.1"
AlgebraicSolving = "0.7.0"
Distributed = "1.6"
GAP = "0.11.3"
Hecke = "0.34.0"
Hecke = "0.34.1"
JSON = "^0.20, ^0.21"
JSON3 = "1.13.2"
LazyArtifacts = "1.6"
Expand Down
8 changes: 4 additions & 4 deletions experimental/GModule/src/GaloisCohomology.jl
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ defaulting to the full automorphism group over the prime field.
Find the embedding of Gp -> G, realizing the local automorphism group
as a subgroup of the global one.
"""
function Oscar.decomposition_group(K::AbsSimpleNumField, mK::Map, mG::Map = automorphism_group(K)[2], mGp::Map = automorphism_group(codomain(mK), Hecke.absolute_base_field(codomain(mK))); _sub::Bool = false)
function Oscar.decomposition_group(K::AbsSimpleNumField, mK::Map, mG::Map = automorphism_group(K)[2], mGp::Map = automorphism_group(codomain(mK), absolute_base_field(codomain(mK))); _sub::Bool = false)
Kp = codomain(mK)
@assert domain(mK) == K

Expand Down Expand Up @@ -998,7 +998,7 @@ function idele_class_gmodule(k::AbsSimpleNumField, s::Vector{Int} = Int[]; redo:
Hecke.popindent()
@vprint :GaloisCohomology 2 " .. gathering the local modules ..\n"
Hecke.pushindent()
C = [gmodule(x[1], Hecke.absolute_base_field(x[1])) for x = L];
C = [gmodule(x[1], absolute_base_field(x[1])) for x = L];
I.D = [x[2] for x = C]
I.L = [x[3] for x = C]
@hassert :GaloisCohomology 1 all(x->is_consistent(x[1]), C)
Expand Down Expand Up @@ -1314,7 +1314,7 @@ function local_index(CC::Vector{GrpCoh.CoChain{2, PermGroupElem, GrpCoh.MultGrpE
cn = data[7]
else
L, mL = completion(k, P)#, 40*ramification_index(P))
C, mGp, mU = gmodule(L, Hecke.absolute_base_field(L))
C, mGp, mU = gmodule(L, absolute_base_field(L))

G = domain(mG)
emb, _m = decomposition_group(k, mL, mG, mGp, _sub = true)
Expand Down Expand Up @@ -1860,7 +1860,7 @@ function serre(A::IdeleParent, P::AbsNumFieldOrderIdeal)
Kp, mKp, mGp, mUp, pro, inj = completion(A, P)
mp = decomposition_group(A.k, mKp, A.mG, mGp)
qr = restrict(C, mp)
s = Hecke.Hecke.local_fundamental_class_serre(Kp, Hecke.absolute_base_field(Kp))
s = Hecke.Hecke.local_fundamental_class_serre(Kp, absolute_base_field(Kp))
# Oscar.GModuleFromGap.istwo_cocycle(Dict( (g, h) => s(mGp(g), mGp(h)) for g = domain(mGp) for h = domain(mGp)), mGp)

z = gmodule(domain(mGp), [hom(domain(mUp), domain(mUp), [preimage(mUp, mGp(g)(mUp(u))) for u = gens(domain(mUp))]) for g = gens(domain(mGp))])
Expand Down
4 changes: 2 additions & 2 deletions experimental/GModule/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ end

l2 = prime_decomposition(maximal_order(k), 2)
k2, _ = Hecke.completion(k, l2[1][1], 120)
z = Hecke.local_fundamental_class_serre(k2, Hecke.absolute_base_field(k2))
C, mG, mU = Oscar.GrpCoh.gmodule(k2, Hecke.absolute_base_field(k2))
z = Hecke.local_fundamental_class_serre(k2, absolute_base_field(k2))
C, mG, mU = Oscar.GrpCoh.gmodule(k2, absolute_base_field(k2))
G = domain(mG)

pe = gen(k2)
Expand Down

0 comments on commit e85813d

Please sign in to comment.