Module docstring
{"# Power basis
This file defines a structure PowerBasis R S, giving a basis of the
R-algebra S as a finite list of powers 1, x, ..., x^n.
For example, if x is algebraic over a ring/field, adjoining x
gives a PowerBasis structure generated by x.
Definitions
PowerBasis R A: a structure containing anxand annsuch that1, x, ..., x^nis a basis for theR-algebraA(viewed as anR-module).finrank (hf : f ≠ 0) : Module.finrank K (AdjoinRoot f) = f.natDegree, the dimension ofAdjoinRoot fequals the degree offPowerBasis.lift (pb : PowerBasis R S): ify : S'satisfies the same equations aspb.gen, this is the mapS →ₐ[R] S'sendingpb.gentoyPowerBasis.equiv: if two power bases satisfy the same equations, they are equivalent as algebras
Implementation notes
Throughout this file, R, S, A, B ... are CommRings, and K, L, ... are Fields.
S is an R-algebra, B is an A-algebra, L is a K-algebra.
Tags
power basis, powerbasis
"}