# Abelian Group Decomposer AI Agent Connect

> Abelian Group Decomposer MCP handles the heavy lifting of group theory calculations. It uses the Fundamental Theorem of Finitely Generated Abelian Groups to split groups defined by generators and relations or integer relation matrices into their constituent parts. Your AI client can now perform precise decompositions and verify mathematical consistency without manual computation.

## Overview
- **Category:** mathematics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_DnUAm1Ih48GV4l4ksT8LfjqzlEJD5eVGdh9qDbeP/ai-agent-connect
- **Tags:** abelian-groups, group-theory, linear-algebra, smith-normal-form, mathematics

## Description

If you work with group theory, you know that decomposing finitely generated abelian groups is a tedious process. This MCP gives your AI client the ability to handle these calculations directly. You can feed it raw integer relation matrices or symbolic definitions involving generators and linear relations. It applies the Fundamental Theorem to separate the free part from the torsion part, providing you with the invariant factors you need. Instead of manually calculating Smith Normal Form or checking group properties, you hand the data to your agent. It can validate if a specific decomposition is mathematically sound or quickly pull high-level details like rank and order. It turns your AI client into a specialized mathematical tool for algebraic structures.

## Tools

### decompose_from_matrix
This tool decomposes an abelian group that is defined by an integer relation matrix.

### get_group_properties
This tool extracts high-level descriptive properties like rank and order without needing a full decomposition.

### decompose_from_relations
Use this to break down an abelian group provided as a list of generator counts and specific linear relations.

### verify_decomposition
This tool checks if a given decomposition accurately represents the original group structure.

## Prompt Examples

**Prompt:** 
```
Decompose the abelian group defined by the relation matrix [[2, 0], [0, 3]].
```

**Response:** 
```
The group is finite with invariant factors [2, 3] and a total order of 6.
```

**Prompt:** 
```
What are the properties of a group with a relation matrix [[1, 0], [0, 0]]?
```

**Response:** 
```
The group has a free rank of 1 and is not finite.
```

**Prompt:** 
```
Decompose a group with 2 generators and relations [[1, 1], [1, 1]].
```

**Response:** 
```
The group has a free rank of 1 and is infinite.
```

## Capabilities

### Matrix Decomposition
Your agent uses this to process integer relation matrices into group components.

### Symbolic Relation Processing
Your agent handles groups defined by specific generator counts and linear relations.

### Structural Validation
Your client checks the mathematical correctness of a proposed decomposition.

### Property Extraction
Your agent pulls rank and order data without running a full decomposition.

## Use Cases

### Invariant Factor Calculation
Your agent calculates the invariant factors of a group from a given matrix.

### Group Property Auditing
You use the tool to quickly check if a group is finite or infinite.

### Verification of Results
Your agent confirms that a specific decomposition matches the original group definition.

### Symbolic Group Analysis
You provide linear relations to your agent to see how they define a group's structure.

## Benefits

- Converts raw relation matrices into structured group components.
- Validates mathematical consistency of group decompositions.
- Provides immediate access to rank and order properties.
- Handles both matrix-based and symbolic relation-based definitions.

## How It Works

Connecting to this MCP gives your AI client immediate access to specialized group theory tools.

1. Connect your AI client to Vinkius.
2. Provide the group data as a matrix or a list of relations.
3. The MCP processes the data using the Fundamental Theorem.
4. Your agent receives the decomposed parts or group properties.

## Frequently Asked Questions

**What kind of groups can this MCP decompose?**
It decomposes finitely generated abelian groups.

**Can I use a matrix to define my group?**
Yes, you can use the decompose_from_matrix tool to process integer relation matrices.

**How do I check if my decomposition is correct?**
You can use the verify_decomposition tool to validate the mathematical consistency of a decomposition.

**Does it work with symbolic relations?**
Yes, the decompose_from_relations tool is designed for groups defined by generator counts and linear relations.

**Can I get the rank of a group without a full decomposition?**
Yes, the get_group_properties tool extracts properties like rank and order directly.

**What is the difference between the free rank and invariant factors?**
The free rank represents the number of infinite cyclic components ($\mathbb{Z}$), while invariant factors represent the orders of the finite cyclic components in the torsion part.

**How do I verify if my decomposition is correct?**
You can use the `verify_decomposition` tool by providing the original relation matrix along with the rank and invariant factors you obtained.

**Can I use a relation matrix directly?**
Yes, you can use `decompose_from_matrix` to process a 2D array of integers representing the relations between generators.
