constructive-algebra-0.1: A library of constructive algebra.

Algebra.Ideal

Description

Finitely generated ideals in commutative rings.

Synopsis

Documentation

data CommutativeRing a => Ideal a Source

Ideals characterized by their list of generators.

Constructors

Id [a] 

Instances

zeroIdeal :: CommutativeRing a => Ideal aSource

The zero ideal.

isPrincipal :: CommutativeRing a => Ideal a -> BoolSource

Test if an ideal is principal.

eval :: CommutativeRing a => a -> Ideal a -> aSource

Evaluate the ideal at a certain point.

addId :: (CommutativeRing a, Eq a) => Ideal a -> Ideal a -> Ideal aSource

Addition of ideals.

mulId :: (CommutativeRing a, Eq a) => Ideal a -> Ideal a -> Ideal aSource

Multiplication of ideals.