Skip to content

Commit

Permalink
Remove redundant members of refiners
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfwilson committed Dec 3, 2021
1 parent bf8fa18 commit d34fe50
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 40 deletions.
4 changes: 0 additions & 4 deletions gap/constraints/canonicalconstraints.g
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ BTKit_Con.InCosetSimple := function(group, perm)
r := rec(
name := "InGroupSimple",
largest_required_point := Maximum(LargestMovedPoint(group), LargestMovedPoint(perm)),
largest_moved_point := Maximum(LargestMovedPoint(group), LargestMovedPoint(perm)),
image := {p} -> RightCoset(group, p),
result := {} -> RightCoset(group, perm),
check := {p} -> p in RightCoset(group, perm),
constraint := Constraint.InCoset(group, perm),
refine := rec(
initialise := function(ps, buildingRBase)
Expand Down
6 changes: 0 additions & 6 deletions gap/constraints/conjugacyexample.g
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ BTKit_Con.MostBasicPermConjugacy := function(permL, permR)
return Objectify(BTKitRefinerType,rec(
name := "MostBasicPermConjugacy",
largest_required_point := Maximum(LargestMovedPoint(permL),LargestMovedPoint(permR)),
image := {p} -> permL^p,
result := {} -> permR,
constraint := Constraint.Conjugate(permL, permR),
refine := rec(
initialise := function(ps, buildingRBase)
Expand Down Expand Up @@ -35,8 +33,6 @@ BTKit_Con.BasicPermConjugacy := function(permL, permR)
return Objectify(BTKitRefinerType,rec(
name := "BasicPermConjugacy",
largest_required_point := Maximum(LargestMovedPoint(permL),LargestMovedPoint(permR)),
image := {p} -> permL^p,
result := {} -> permR,
constraint := Constraint.Conjugate(permL, permR),
refine := rec(
initialise := function(ps, buildingRBase)
Expand Down Expand Up @@ -93,8 +89,6 @@ BTKit_Con.PermTransporter := function(fixedeltL, fixedeltR)
r := rec(
name := "PermTransporter",
largest_required_point := Maximum(LargestMovedPoint(fixedeltL),LargestMovedPoint(fixedeltR)),
image := {p} -> fixedeltL^p,
result := {} -> fixedeltR,
constraint := Constraint.Conjugate(fixedeltL, fixedeltR),
refine := rec(
initialise := function(ps, buildingRBase)
Expand Down
2 changes: 0 additions & 2 deletions gap/constraints/graphconstraints.g
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ BTKit_Con.GraphTrans := function(graphL, graphR)
return Objectify(BTKitRefinerType, rec(
name := "GraphTrans",
largest_required_point := Maximum(Maximum(DigraphVertices(graphL), Maximum(DigraphVertices(graphR)))),
image := {p} -> OnDigraphs(graphL, p),
result := {} -> graphR,
constraint := Constraint.Transport(graphL, graphR, OnDigraphs),
refine := rec(
initialise := filter,
Expand Down
6 changes: 0 additions & 6 deletions gap/constraints/normaliserexample.g
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ BTKit_Con.MostBasicGroupConjugacy := function(grpL, grpR)
return Objectify(BTKitRefinerType, rec(
name := "MostBasicGroupPermConjugacy",
largest_required_point := Maximum(LargestMovedPoint(grpL), LargestMovedPoint(grpR)),
image := {p} -> grpL^p,
result := {} -> grpR,
constraint := Constraint.Conjugate(grpL, grpR),
refine := rec(
initialise := function(ps, buildingRBase)
Expand Down Expand Up @@ -38,8 +36,6 @@ BTKit_Con.BasicGroupConjugacy := function(grpL, grpR)
return Objectify(BTKitRefinerType,rec(
name := "BasicGroupConjugacy",
largest_required_point := Maximum(LargestMovedPoint(grpL), LargestMovedPoint(grpR)),
image := {p} -> grpL^p,
result := {} -> grpR,
constraint := Constraint.Conjugate(grpL, grpR),
refine := rec(
initialise := function(ps, buildingRBase)
Expand Down Expand Up @@ -71,8 +67,6 @@ BTKit_Con.SimpleGroupConjugacy := function(grpL, grpR)
return Objectify(BTKitRefinerType,rec(
name := "BasicGroupConjugacy",
largest_required_point := Maximum(LargestMovedPoint(grpL), LargestMovedPoint(grpR)),
image := {p} -> grpL^p,
result := {} -> grpR,
constraint := Constraint.Conjugate(grpL, grpR),
refine := rec(
initialise := function(ps, buildingRBase)
Expand Down
22 changes: 0 additions & 22 deletions gap/constraints/simpleconstraints.g
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ BTKit_MakeFixlistStabilizer := function(name, fixlist, o, action, lrp)
return Objectify(BTKitRefinerType, rec(
name := name,
largest_required_point := lrp,
image := {p} -> action(o,p),
result := {} -> o,
constraint := Constraint.Stabilise(o, action),
refine := rec(
initialise := function(ps, buildingRBase)
Expand All @@ -40,8 +38,6 @@ BTKit_MakeFixlistTransporter := function(name, fixlistL, fixlistR, oL, oR, actio
return Objectify(BTKitRefinerType, rec(
name := name,
largest_required_point := lrp,
image := {p} -> action(oL,p),
result := {} -> oR,
constraint := Constraint.Transport(oL, oR, action),
refine := rec(
initialise := function(ps, buildingRBase)
Expand Down Expand Up @@ -141,10 +137,6 @@ BTKit_Con.InCoset := function(group, perm)
r := rec(
name := "InCoset",
largest_required_point := Maximum(LargestMovedPoint(group), LargestMovedPoint(perm)),
largest_moved_point := Maximum(LargestMovedPoint(group), LargestMovedPoint(perm)),
image := {p} -> RightCoset(group, p),
result := {} -> RightCoset(group, perm),
check := {p} -> p in RightCoset(group, perm),
constraint := Constraint.InCoset(group, perm),
refine := rec(
rBaseFinished := function(getRBase)
Expand Down Expand Up @@ -260,10 +252,6 @@ BTKit_Con.InCosetWithOrbitals := function(group, perm)
r := rec(
name := "InGroupWithCoset-BTKit",
largest_required_point := Maximum(LargestMovedPoint(group), LargestMovedPoint(perm)),
largest_moved_point := Maximum(LargestMovedPoint(group), LargestMovedPoint(perm)),
image := {p} -> RightCoset(group, p),
result := {} -> RightCoset(group, perm),
check := {p} -> p in RightCoset(group, perm),
constraint := Constraint.InCoset(group, perm),
refine := rec(
rBaseFinished := function(getRBase)
Expand Down Expand Up @@ -327,8 +315,6 @@ BTKit_Con.InGroupWithOrbitals := {group} -> BTKit_Con.InCosetWithOrbitals(group,
BTKit_Con.IsEven := {} -> Objectify(BTKitRefinerType, rec(
name := "IsEven",
largest_required_point := 1,
image := {p} -> SignPerm(p),
result := {} -> 1,
constraint := Constraint.IsEven,
refine := rec(
initialise := function(ps, buildingRBase)
Expand All @@ -341,8 +327,6 @@ BTKit_Con.IsOdd := {} -> Objectify(BTKitRefinerType, rec(
name := "IsOdd",
# Somehow needs to store that it needs two or more points...
largest_required_point := 1,
image := {p} -> SignPerm(p),
result := {} -> -1,
constraint := Constraint.IsOdd,
refine := rec(
initialise := function(ps, buildingRBase)
Expand All @@ -353,9 +337,6 @@ BTKit_Con.IsOdd := {} -> Objectify(BTKitRefinerType, rec(
BTKit_Con.Nothing := {} -> Objectify(BTKitRefinerType, rec(
name := "RefinerForNothing",
largest_required_point := 1,
largest_moved_point := 1,
image := {p} -> true,
result := {} -> false,
constraint := Constraint.Nothing,
refine := rec(
initialise := ReturnFail
Expand All @@ -365,9 +346,6 @@ BTKit_Con.Nothing := {} -> Objectify(BTKitRefinerType, rec(
BTKit_Con.Nothing2 := {} -> Objectify(BTKitRefinerType, rec(
name := "RefinerForNothing2",
largest_required_point := 1,
largest_moved_point := 1,
image := {p} -> true,
result := {} -> false,
constraint := Constraint.Nothing,
refine := rec(
initialise := function(ps, buildingRBase)
Expand Down

0 comments on commit d34fe50

Please sign in to comment.