Suppose I had a permutation group $G$ for example, that corresponded to the intersection of some elements of a list $H$ where the elements are groups. Then, if I wanted to create a set or some structure that enumerates elements in the form $\{G,\{i_{1}...i_{n}\}\}$ where $G = H[i_{1}]\cap ... \cap H[i_{n}]$, how would I construct such a structure? I attempted to do this by explicitly constructing a set, but MAGMA would not allow me to create a set consisting of both integers and a group structure in the same universe. Moreover, I tried some coercion commands, but that would not allow me to achieve this either. Is there any way to do this?
2026-03-25 12:52:19.1774443139
Coercing elements into a set in MAGMA
989 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in FINITE-GROUPS
- List Conjugacy Classes in GAP?
- For a $G$ a finite subgroup of $\mathbb{GL}_2(\mathbb{R})$ of rank $3$, show that $f^2 = \textrm{Id}$ for all $f \in G$
- Assuming unitarity of arbitrary representations in proof of Schur's lemma
- existence of subgroups of finite abelian groups
- Online reference about semi-direct products in finite group theory?
- classify groups of order $p^2$ simple or not
- Show that for character $\chi$ of an Abelian group $G$ we have $[\chi; \chi] \ge \chi(1)$.
- The number of conjugacy classes of a finite group
- Properties of symmetric and alternating characters
- Finite group, How can I construct solution step-by-step.
Related Questions in COMPUTER-ALGEBRA-SYSTEMS
- List Conjugacy Classes in GAP?
- open-source illustrations of Riemann surfaces
- Entry systems for math that are simpler than LaTeX
- calculation of multiplicity of a subvariety
- Recursion relations: Coding a procedure to compute the number of planar rooted bipartite graphs
- Changing basis of indeterminates in polynomial ring
- Monster coefficients
- Use MuPAD to prove $(4^{(x-1)}+2^{(2x-4)})/(2^{(2x+1)}+5\cdot(2^{(2x-3)}))=5/42$
- Solve the following system of equations: $[x[i-1]-(2-h^2)x[i]+x[i+1]=0, \ x[1]=1, \ x[50]-x[49]=h$, where $h=0.1$
- Investigating the subgroup structure of $SL_{3}(\mathbb{Z}/4\mathbb{Z})$
Related Questions in MAGMA-CAS
- Artin Representations in MAGMA
- Define a vector space for a given set on Magma.
- Computing the inverse of a full lattice in a quaternion algebra
- Solving linear systems for integer values in MAGMA
- Are all quaternion algebras over the rationals skew fields?
- How to use string operations on braid groups in MAGMA
- Order of roots in MAGMA and/or Pari for computing Galois groups
- On IsSimple() in Magma.
- How to construct $\mathbb{F}_p(\zeta)$ with MAGMA?
- Writing a vector variable in Magma.
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
If I understand you correctly, your main issue appears to be that you tried to create the set $\{G, \{i_1...i_n\}\}$ and MAGMA did not allow you to do so. This is because, in MAGMA, all elements of a set (or sequence) are required to be of the same type. If you want to aggregate elements of different types then you will need to use either a tuple (represented by angled brackets: < >) or a list (represented by square brackets with asterisks: [* *]). For cases where the length will not change, such as here, it would seem that a tuple is more appropriate. So what you should use is <$G, \{i_1...i_n\}$> instead.
To (I hope) answer your larger issue, you seem to want to iterate through the possible non-empty intersections of the groups in H. If that was all that you wished to do then you could convert H to a set and use the Subsets intrinsic:
If you want to generate all such groups G then it is a one-liner:
However, if you also want to keep track of those indices then you have to be a little less direct:
Or the generate-all-at-once approach: