Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
modularity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gonzalo Tornaria
modularity
Commits
c3f24dba
Commit
c3f24dba
authored
Mar 23, 2018
by
Gonzalo Tornaría
Browse files
Options
Downloads
Patches
Plain Diff
check residual trace
parent
e70e754d
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Modularity.m
+12
-1
12 additions, 1 deletion
Modularity.m
run-353.m
+3
-4
3 additions, 4 deletions
run-353.m
with
15 additions
and
5 deletions
Modularity.m
+
12
−
1
View file @
c3f24dba
...
...
@@ -359,9 +359,20 @@ intrinsic ModPrimes(m :: Modularity, R2 :: FldNum,
proj
::
Map
,
phi
::
Map
:
debug
:=
false
,
keep
_
going
:=
false
,
PrimeBound
:=
500
,
no
_
order
:=
false
,
only
_
order
:=
false
,
check
_
frob
:=
false
)
->
[]
check
_
frob
:=
false
,
check
_
residual
:=
[])
->
[]
{
..
}
fc
:=
frobenius
_
classes
(
proj
:
no
_
order
:=
no
_
order
,
only
_
order
:=
only
_
order
)
;
for
p
_
ap
in
check
_
residual
do
p
,
ap
:=
Explode
(
p
_
ap
)
;
pat1
:=
m`frobR1
[
p
]
;
pat2
:=
FrobeniusStructure
(
R2
,
p
)
;
cs
:=
fc
[
<
pat1
,
pat2
>
]
;
cc
:=
[
c
:
c
in
cs
|
tr1
(
phi
(
c
))
eq
ap
]
;
if
#cc
eq
0
then
return
-
p
;
end
if
;
end
for
;
if
&
and
[
tr
(
phi
(
x
))
eq
0
:
x
in
fc
[
a
]
,
a
in
Keys
(
fc
)]
then
//
a
cocycle
with
all
traces
equal
to
0
is
ok
return
1
;
...
...
This diff is collapsed.
Click to expand it.
run-353.m
+
3
−
4
View file @
c3f24dba
Attach
(
"Modularity.m"
)
;
Attach
(
"GrpExt.m"
)
;
Attach
(
"Grp.m"
)
;
AttachSpec
(
"mod.spec"
)
;
//
load
"ex.m"
;
load
"ex-353.m"
;
...
...
@@ -11,7 +9,8 @@ time for i := 1 to #all do
R2
:=
NumberField
(
Polynomial
(
R1
,
[
-
all
[
i
]
,
0
,
1
]))
;
proj
,
phis
:=
ModPhis
(
m
,
R2
)
;
dim
:=
Integers
()
!
Log
(
2
,
#Domain
(
phis
[
1
])
/
#G5
)
;
ps
:=
[
ModPrimes
(
m
,
R2
,
proj
,
phi
)
:
phi
in
phis
]
;
ps
:=
[
ModPrimes
(
m
,
R2
,
proj
,
phi
:
check
_
residual
:=
[
<
5
,
1
>
]
)
:
phi
in
phis
]
;
for
p
in
ps
do
Include
(
~
PS
,
p
)
;
end
for
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment