-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add consistency check to verify F-linear regular representation for G…
…roup Algebra elements
- Loading branch information
Showing
4 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
"""" | ||
Verifies that the specified group elements constitute a regular F-linear representation | ||
of the group G by checking the properties L(a)L(b) = L(ab) and R(a)R(b) = R(ba) for any | ||
elements a, b in the group algebra F[G]. | ||
""" | ||
function check_repr_regular_linear(GA::GroupAlgebra) | ||
a, b = rand(GA), rand(GA) | ||
# L(a)L(b) = L(ab) | ||
L_a = representation_matrix(a) | ||
L_b = representation_matrix(b) | ||
L_ab = representation_matrix(a*b) | ||
# R(a)R(b) = R(ba) | ||
R_a = representation_matrix(a, :right) | ||
R_b = representation_matrix(b, :right) | ||
R_ba = representation_matrix(b*a, :right) | ||
return L_a * L_b == L_ab && R_a * R_b == R_ba | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters