/thinking-frameworks-skills:symmetry-group-identifierfrom thinking-frameworks-skills
Formalizes identified symmetries into mathematical groups (cyclic, dihedral, symmetric, SO(3), SE(3), E(3)) for equivariant neural network architecture design.
Ships in thinking-frameworks-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Knowing your symmetry group tells you which equivariant architecture patterns to use. This skill formalizes identified transformations into the language of group theory.
Copy this checklist and track your progress:
Group Identification Progress:
- [ ] Step 1: List symmetries from discovery phase
- [ ] Step 2: Classify each as discrete or continuous
- [ ] Step 3: Match to specific groups using taxonomy
- [ ] Step 4: Determine how groups combine
- [ ] Step 5: Verify group properties
- [ ] Step 6: Document final group specification
Step 1: List symmetries from discovery phase
Gather the identified symmetries from the discovery phase. List each identified transformation and whether it requires invariance or equivariance. Note confidence levels, the valid domain and the input/output actions. Do not promote an uncertain task symmetry to confirmed merely by naming a group. If closure or invertibility fails (cropping, subset removal), record a non-group transformation family instead of forcing a group name. If symmetries haven't been discovered yet, work with user to identify them through domain analysis first.
Step 2: Classify each as discrete or continuous
For each symmetry, determine: Are group elements isolated in the specified topology, or do they vary continuously? Record cardinality separately: discrete groups can be finite or infinite (integer translations ℤ or lattice translations ℤ²). Discrete examples: 90° rotations (4 elements), permutations of n items (n! elements). Continuous examples: rotation by any angle, translation by any distance. Use Group Taxonomy to guide classification. For mathematical foundations, see Group Theory Primer.
Step 3: Match to specific groups using taxonomy
Use the Discrete Groups and Continuous Groups reference sections. Identify the specific group name and notation for each symmetry. Common matches: n-fold rotation → Cₙ, rotation+reflection → Dₙ, permutation → Sₙ, 3D rotation → SO(3), rigid motion → SE(3), full Euclidean → E(3). For detailed Lie group information (SO(3), SE(3), E(3)), consult Lie Groups Reference.
Step 4: Determine how groups combine
If multiple symmetries are present, determine how they combine. Direct product (G × H): symmetries act independently. Semidirect product (G ⋊ H): G is the normal factor and H acts on it by a specified homomorphism (e.g., SE(3) = ℝ³ ⋊ SO(3)). Use Combining Groups reference.
Step 5: Verify group properties
Check that identified structure satisfies group axioms: closure, associativity, identity, inverses. Verify important properties: Is it compact? (affects representation theory). Is it abelian? (commutative or not). Is it connected? (affects implementation). Use Group Properties Checklist. For detailed verification methodology, see Methodology.
Step 6: Document final group specification
Create specification using Output Template. Include: group name/notation, dimension/size, key properties, invariance vs equivariance requirements, and recommended architecture family. This specification provides the foundation for architecture design. Quality criteria for this output are defined in Quality Rubric.
Use the convention N ⋊ H with N the normal factor throughout. For Euclidean actions x ↦ Rx + t, write elements as (t, R) and compose (t₁, R₁)(t₂, R₂) = (t₁ + R₁t₂, R₁R₂). Noncommutativity alone does not establish a semidirect-product decomposition.
SYMMETRY GROUPS
│
┌───────────────┴───────────────┐
│ │
DISCRETE CONTINUOUS
│ (Lie Groups)
│ │
┌─────┼─────┐ ┌────────┼────────┐
│ │ │ │ │ │
Cyclic Dihedral Symmetric SO(n) SE(n) E(n)
Cₙ Dₙ Sₙ rotations rigid Euclidean
only motions (w/ reflect)
The diagram lists examples, not a cardinality dichotomy: ℤ and ℤ² are infinite discrete groups. Discrete groups can also be viewed as zero-dimensional Lie groups; “continuous” below refers to the positive-dimensional examples.
| Symmetry Type | Group | Notation | Elements | Common Use |
|---|---|---|---|---|
| n-fold rotation | Cyclic | Cₙ | n | Image rotation (90°, 60°) |
| Rotation + reflection | Dihedral | Dₙ | 2n | Regular polygons |
| Permutation | Symmetric | Sₙ | n! | Sets, graphs |
| 2D rotation (continuous) | Special orthogonal | SO(2) | ∞ | Continuous rotation |
| 3D rotation | Special orthogonal | SO(3) | ∞ | 3D orientation |
| 3D rigid motion | Special Euclidean | SE(3) | ∞ | Robotics, molecules |
| 3D with reflections | Euclidean | E(3) | ∞ | Chemistry, physics |
What they represent: Rotations by multiples of 360°/n
Elements: {e, r, r², ..., rⁿ⁻¹} where rⁿ = e (identity)
| Group | Rotations | Example |
|---|---|---|
| C₂ | 0°, 180° | Playing cards |
| C₄ | 0°, 90°, 180°, 270° | Square images |
| C₆ | 60° increments | Hexagonal patterns |
Use when: Rotation symmetry present but NOT reflection symmetry.
What they represent: Rotations + reflections of regular n-gon
Elements: n rotations + n reflections = 2n total
| Group | Elements | Example |
|---|---|---|
| D₄ | 8 | Point symmetries of a square; p4m also includes an infinite translation lattice |
| D₆ | 12 | Regular hexagon |
Use when: Both rotation AND reflection symmetry present.
What they represent: All permutations of n elements
Elements: n! permutations
Use when: Element ordering is arbitrary (sets, graphs, point clouds).
Elements: Rotation by any angle θ ∈ [0, 2π)
Matrix form: R(θ) = [[cos θ, -sin θ], [sin θ, cos θ]]
Use when: Continuous rotation symmetry in 2D.
Elements: All rotations in 3D (3 degrees of freedom)
Representations: Rotation matrices, quaternions, Euler angles, axis-angle
Use when: 3D orientation doesn't matter, but handedness does.
Elements: Rotations + Translations in 3D
Structure: SE(3) = ℝ³ ⋊ SO(3) (semidirect product)
Use when: Objects can be anywhere and in any orientation, handedness matters.
Elements: SE(3) + Reflections
Structure: E(3) = ℝ³ ⋊ O(3)
Use when: SE(3) symmetry PLUS reflection symmetry when supported by the target and environment, such as isolated molecular energy under parity-symmetric interactions.
E(3) = ℝ³ ⋊ O(3)
│ exclude reflections
▼
SE(3) = ℝ³ ⋊ SO(3)
│ exclude translations
▼
SO(3)
│ 2D restriction
▼
SO(2)
When to use: Symmetries act independently (neither affects the other).
Example: Continuous planar translation with independent color permutation → ℝ² × S₃ (only if channel relabeling preserves the task); SE(2) additionally requires rotations
Property: (g₁, h₁) · (g₂, h₂) = (g₁g₂, h₁h₂)
When to use: A normal factor G and a factor H acting on G have been specified; mere noncommutativity is insufficient.
Example: SE(3) = ℝ³ ⋊ SO(3) (rotating then translating ≠ translating then rotating)
Common cases: SE(n) = ℝⁿ ⋊ SO(n), E(n) = ℝⁿ ⋊ O(n), Dₙ = Cₙ ⋊ C₂
For your identified group, verify:
| Property | Question | Why It Matters |
|---|---|---|
| Compact | Is the topological group compact (closed and bounded for these matrix-group embeddings)? | Affects representation theory |
| Abelian | Does order matter? (g₁g₂ = g₂g₁?) | Simplifies architecture |
| Connected | Is group in one piece? | Affects irreducible representations |
| Finite | Finite number of elements? | Finite enumeration versus infinite-domain methods; separate from discreteness |
| Domain | Typical Group | Notes |
|---|---|---|
| 2D images | C₄ or D₄ point actions | With square-lattice translations: p4 = ℤ² ⋊ C₄ or p4m = ℤ² ⋊ D₄; infinite unless a finite wrapped domain is specified |
| 3D Molecular Energy | E(3) × Sₙ | Conditional on parity-symmetric isolated interactions; jointly permute atom features and coordinates |
| 3D Molecular Chirality | SE(3) × Sₙ | No reflections |
| Point Cloud Classification | SO(3) × Sₙ | Rotation + permutation |
| Graph Classification | Sₙ | Permutation invariant |
| Robotics | SE(3) | Sometimes with gravity constraint |
SYMMETRY GROUP SPECIFICATION
============================
Identified Symmetries:
1. [Symmetry] → Group: [name] ([notation])
2. [Symmetry] → Group: [name] ([notation])
Combined Group Structure:
- Full group: [G₁ × G₂] or [G₁ ⋊ G₂]
- Cardinality: [Finite count / infinite]
- Topology and dimension: [Discrete / continuous parameters; dimension]
- Product convention and action: [Normal factor, acting factor, composition]
- Uncertainty or non-group transformations: [Explicit limitations]
Group Properties:
- Compact: [Yes/No]
- Abelian: [Yes/No]
- Connected: [Yes/No]
Symmetry Requirements:
- [Group]: [Invariant/Equivariant] for [task type]
Recommended Architecture Family:
- [Architecture] supporting [group]
NEXT STEPS:
- Empirically validate symmetry hypotheses if not yet confirmed
- Design equivariant architecture based on group specification
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lyndonkl/claude --plugin thinking-frameworks-skills270 skills in this plugin
/abstraction-concrete-examplesBuilds structured abstraction ladders that translate high-level principles into concrete, actionable examples across 3-5 levels. Bridges communication gaps, reveals hidden assumptions, and tests whether abstract ideas work in practice. Use when explaining concepts at different expertise levels, moving between abstract principles and concrete implementation, identifying edge cases by testing ideas against scenarios, designing layered documentation, decomposing complex problems into actionable steps, or bridging strategy-execution gaps./academic-letter-architectGuides the creation of evidence-based academic recommendation letters, reference letters, and award nominations that combine concrete examples, meaningful comparisons, and genuine enthusiasm. Use when writing recommendation letters for students, postdocs, or colleagues, or when user mentions recommendation letter, reference, nomination, letter of support, endorsement, or needs help with strong advocacy and comparative statements./adr-architectureDocuments significant architectural and technical decisions with full context, alternatives considered, trade-offs analyzed, and consequences understood. Creates a decision trail that helps teams understand why decisions were made. Use when choosing between technology options, making infrastructure decisions, establishing standards, migrating systems, or when user mentions ADR, architecture decision, technical decision record, or decision documentation.Other plugins' skills for the same job