rings
npx machina-cli add skill parcadei/Continuous-Claude-v3/rings --openclawRings
When to Use
Use this skill when working on rings problems in abstract algebra.
Decision Tree
-
Is R a ring?
- (R, +) is an abelian group
- Multiplication is associative
- Distributive laws: a(b+c) = ab + ac and (a+b)c = ac + bc
z3_solve.py prove "ring_axioms"
-
Ring Properties
- Commutative ring: ab = ba for all a, b?
- Ring with unity: exists 1 such that 1a = a1 = a?
- Integral domain: ab = 0 implies a = 0 or b = 0?
z3_solve.py prove "integral_domain"
-
Ideals
- I is ideal if: I is additive subgroup AND for all r in R, a in I: ra in I, ar in I
- Principal ideal: (a) = {ra : r in R}
sympy_compute.py simplify "r*a"for ideal multiplication
-
Ring Homomorphisms
- phi(a + b) = phi(a) + phi(b)
- phi(ab) = phi(a)phi(b)
- phi(1) = 1 (for rings with unity)
Tool Commands
Z3_Ring_Axioms
uv run python -m runtime.harness scripts/z3_solve.py prove "ForAll([a,b,c], a*(b+c) == a*b + a*c)"
Z3_Integral_Domain
uv run python -m runtime.harness scripts/z3_solve.py prove "a*b == 0 implies a == 0 or b == 0"
Sympy_Ideal
uv run python -m runtime.harness scripts/sympy_compute.py simplify "r*a"
Key Techniques
From indexed textbooks:
- [Abstract Algebra] Reading the above equation mod4(that is, considering this equation in the quotient ring Z/4Z), we must have {2} =2[9}=[9} ons ( io ‘| where the | he? Checking the few saad shows that we must take the 0 each time. Introduction to Rings Another ideal in RG is {}-"_, agi | a € R}, i.
- [Abstract Algebra] Transcendental Extensions, Inseparable Extensions, Infinite Galois Groups Part V INTRODUCTION TO COMMUTATIVE RINGS, ALGEBRAIC GEOMETRY, AND HOMOLOGICAL ALGEBRA In this part of the book we continue the study of rings and modules, concentrating first on commutative rings. The topic of Commutative Algebra, which is of interest in its own right, is also a basic foundation for other areas of algebra. To indicate some of the © importance of the algebraic topics introduced, we parallel the development of the ring theory in Chapter 15 with an introduction to affine algebraic geometry.
- [Abstract Algebra] In the next section we give three important ways of constructing “larger” rings from a given ring (analogous to Example 6 above) and thus greafly expand our list of examples. Before doing so we mention some basic properties of arbitrary rings. The ring Z is a good example to keep in mind, although this ring has a good deal more algebraic structure than a general ring (for example, it is commutative and has an identity).
- [Abstract Algebra] Let R and S be rings with identities. S is of the form 'e x J where J is an ideal of R and J is an ideal of S. Prove that if R and S are nonzero rings then R x S is never a field.
- [Abstract Algebra] This connection of geometry and algebra shows a rich interplay between these two areas of mathematics and demonstrates again how results and structures in one circle of mathematical ideas provide insights into another. In Chapter 16 we continue with some of the fundamental structures involving commutative rings, culminating with Dedekind Domains and a structure theorem for modules over such rings which is a generalization of the structure theorem for modules over P. In Chapter 17 we describe some of the basic techniques of “homological algebra,” which continues with some of the questions raised by the failure of exactness of some of the sequences considered in Chapter 10.
Cognitive Tools Reference
See .claude/skills/math-mode/SKILL.md for full tool documentation.
Source
git clone https://github.com/parcadei/Continuous-Claude-v3/blob/main/.claude/skills/math/abstract-algebra/rings/SKILL.mdView on GitHub Overview
This skill guides you through rings in abstract algebra using a practical decision tree: verify axioms, assess properties, work with ideals and homomorphisms. It emphasizes using built-in tools (z3, sympy) to prove theorems and manipulate ideals.
How This Skill Works
Follow a stepwise decision tree: confirm R is a ring, check properties (commutativity, unity, integral domain), analyze ideals and principal ideals, then study ring homomorphisms. It shows how to apply tool commands like z3_solve.py and sympy_compute.py to verify ring axioms, integral domain conditions, and ideal computations.
When to Use It
- Starting a ring problem in abstract algebra and needing a practical workflow
- Verifying ring axioms using automated proof tools
- Determining if a ring is commutative, has a unity, or is an integral domain
- Working with ideals, principal ideals, or ideal multiplications
- Analyzing ring homomorphisms and preservation of structure
Quick Start
- Step 1: Identify R, its operations (+, *) and verify closure
- Step 2: Use Z3_Ring_Axioms to prove ring axioms; test ring properties as needed
- Step 3: If applicable, examine ideals, principal ideals, and ring homomorphisms with Sympy or related tools
Best Practices
- Start by confirming R satisfies ring axioms (additive abelian group, associative multiplication, distributivity)
- Check for key properties: commutativity, unity, and integral domain condition
- Identify ideals and principal ideals; test membership and generation
- Leverage tool commands (Z3_Ring_Axioms, Z3_Integral_Domain, Sympy_Ideal) to verify results
- Systematically verify ring homomorphisms preserve addition, multiplication, and unit (when present)
Example Use Cases
- Prove a candidate structure forms a ring by checking axioms with the decision tree
- Decide if a ring is commutative or has a multiplicative identity in a problem set
- Analyze an ideal I, determine if I is principal and compute (a)
- Verify a candidate map is a ring homomorphism by testing both operations and unit preservation
- Explore quotient constructions like Z/4Z to illustrate rings and ideals