Questions tagged [canonicalization]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
134 views

How to get all necklaces without the full permutations' set?

There are previous posts, such as Delete duplicates from list of lists as if on a necklace, that give a way to find all necklaces from a set of lists. The methods presented there work well for a small ...
Kostas's user avatar
  • 65
-1 votes
2 answers
81 views

Non-linear equation

I have to solve this equation but the problem is X is function of x it means X[x] $$X(X-a)+ b e^{-2 X t}=B,$$ a,b,B are constants. How we can I get some result for ...
Armin Sharafi's user avatar
1 vote
1 answer
136 views

How to put numerator and denominator in a canonical form?

I have the following expression that I obtained after some computation: ...
Granger Obliviate's user avatar
0 votes
1 answer
79 views

Simplifying expression using pattern matching inside Assuming[]

I want to simplify a sum of terms that look like so: ...
Subho's user avatar
  • 1,534
5 votes
3 answers
472 views

How can I get the unique solution?

The eight queens puzzle has 92 distinct solutions. If solutions that differ only by the symmetry operations of rotation and reflection of the board are counted as one, the puzzle has 12 solutions. My ...
matrix42's user avatar
  • 6,996
20 votes
6 answers
2k views

Delete duplicates from list of lists as if on a necklace

Given a list of lists of integers, all of the same length, I want to regard two elements as equivalent if one is the rotated and/or reflected version of another (that is, if the two lists are the same ...
rogerl's user avatar
  • 4,209
2 votes
1 answer
217 views

How to remove symmetries from this list?

First of all, I work with modular arithmetics and the elements of the arithmetics are lists themselves. I recognize two kinds of symmetries - shift and mirroring. We could define shift of a list like ...
Džuris's user avatar
  • 325
6 votes
1 answer
1k views

Normal ordering in Mathematica

I want to create a function which normally orders a string of field operators. Consider the following: $$\langle0\vert\hat{a}(k_n) \cdots \hat{a}(k_2)\hat{a}(k_1)\hat{a}^\dagger(k_1)\hat{a}^\dagger(...
Sid's user avatar
  • 977
5 votes
2 answers
121 views

How to canonically reorganize a list using only a limited set of manipulations?

I want to canonically reorganize (like Sort) a sequence of four objects seq[a,b,c,d], but the only manipulations allowed are <...
QuantumDot's user avatar
  • 19.6k
12 votes
3 answers
2k views

How to represent a list as a cycle

I want to select distinct cycles (represented by List). The cycle {a, b, c, d} must be the same as {b, c, d, a} or ...
praaeew's user avatar
  • 143
11 votes
1 answer
1k views

Find all permutations with reversals / cyclic permutations removed

I have a list of all non-cyclic permutations of n labels. How can I get rid of all elements which are redundant in the sense that they are the inverse of another one. For instance if n=4, the ...
A friendly helper's user avatar