/usr/share/gap/lib/semicong.gd is in gap-libs 4r6p5-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | #############################################################################
##
#W semicong.gd GAP library Andrew Solomon
##
##
#Y Copyright (C) 1997, Lehrstuhl D für Mathematik, RWTH Aachen, Germany
#Y (C) 1998 School Math and Comp. Sci., University of St Andrews, Scotland
#Y Copyright (C) 2002 The GAP Group
##
## This file contains the declaration for semigroup congruences.
##
## Maintenance and further development by:
## Robert F. Morse
## Andrew Solomon
##
###########################################################################
##
#O SemigroupCongruenceByGeneratingPairs(<s>,<list>)
##
## create a semigroup congruence on <s> generated by the list
## <list> of pairs.
##
DeclareOperation("SemigroupCongruenceByGeneratingPairs",
[IsMagma and IsAssociative, IsList]);
#############################################################################
##
#O RightSemigroupCongruenceByGeneratingPairs(<D>, <pairs> )
##
## The right congruence on <D> generated by <pairs>
##
DeclareOperation( "RightSemigroupCongruenceByGeneratingPairs",
[IsMagma and IsAssociative, IsList ] );
#############################################################################
##
#O LeftSemigroupCongruenceByGeneratingPairs(<D>, <pairs> )
##
## The left congruence generated by pairs
##
DeclareOperation( "LeftSemigroupCongruenceByGeneratingPairs",
[IsMagma and IsAssociative, IsList ] );
#############################################################################
##
#M JoinSemigroupCongruences(<cong1>, <cong2>)
##
## Join of two semigroup congruences
##
DeclareSynonym("JoinSemigroupCongruences", JoinMagmaCongruences);
#############################################################################
##
#M MeetSemigroupCongruences(<cong1>, <cong2>)
##
## Join of two semigroup congruences
##
DeclareSynonym("MeetSemigroupCongruences", MeetMagmaCongruences);
#############################################################################
##
#A GeneratingPairsOfSemigroupCongruence(<cong1>, <cong2>)
##
## <ManSection>
## <Attr Name="GeneratingPairsOfSemigroupCongruence" Arg='cong1, cong2'/>
##
## <Description>
## Generating Pairs of a semigroup congruences
## </Description>
## </ManSection>
##
DeclareSynonym("GeneratingPairsOfSemigroupCongruence",
GeneratingPairsOfMagmaCongruence);
###########################################################################
##
#P IsLeftSemigroupCongruence(<c>)
##
## <ManSection>
## <Prop Name="IsLeftSemigroupCongruence" Arg='c'/>
##
## <Description>
## a left magma congruence <A>c</A> on a semigroup.
## </Description>
## </ManSection>
##
DeclareProperty("IsLeftSemigroupCongruence", IsLeftMagmaCongruence);
###########################################################################
##
#P IsRightSemigroupCongruence(<c>)
##
## <ManSection>
## <Prop Name="IsRightSemigroupCongruence" Arg='c'/>
##
## <Description>
## a right magma congruence <A>c</A> on a semigroup.
## </Description>
## </ManSection>
##
DeclareProperty("IsRightSemigroupCongruence", IsRightMagmaCongruence);
###########################################################################
##
#P IsSemigroupCongruence(<c>)
##
## <#GAPDoc Label="IsSemigroupCongruence">
## <ManSection>
## <Prop Name="IsSemigroupCongruence" Arg='c'/>
##
## <Description>
## a magma congruence <A>c</A> on a semigroup.
## </Description>
## </ManSection>
## <#/GAPDoc>
##
DeclareProperty("IsSemigroupCongruence", IsMagmaCongruence);
InstallTrueMethod(IsLeftSemigroupCongruence,IsSemigroupCongruence);
InstallTrueMethod(IsRightSemigroupCongruence,IsSemigroupCongruence);
###########################################################################
##
#P IsReesCongruence(<c>)
##
## <#GAPDoc Label="IsReesCongruence">
## <ManSection>
## <Prop Name="IsReesCongruence" Arg='c'/>
##
## <Description>
## returns <K>true</K> if and only if the congruence <A>c</A> has at most
## one nonsingleton congruence class.
## </Description>
## </ManSection>
## <#/GAPDoc>
##
DeclareProperty("IsReesCongruence", IsSemigroupCongruence );
#############################################################################
##
#E
|