/usr/share/axiom-20170501/src/algebra/FDIV2.spad is in axiom-source 20170501-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | )abbrev package FDIV2 FiniteDivisorFunctions2
++ Author: Manuel Bronstein
++ Date Created: 1988
++ Date Last Updated: 19 May 1993
++ Description:
++ Lift a map to finite divisors.
FiniteDivisorFunctions2(R1, UP1, UPUP1, F1, R2, UP2, UPUP2, F2) : SIG == CODE where
R1 : Field
UP1 : UnivariatePolynomialCategory R1
UPUP1 : UnivariatePolynomialCategory Fraction UP1
F1 : FunctionFieldCategory(R1, UP1, UPUP1)
R2 : Field
UP2 : UnivariatePolynomialCategory R2
UPUP2: UnivariatePolynomialCategory Fraction UP2
F2 : FunctionFieldCategory(R2, UP2, UPUP2)
SIG ==> with
map : (R1 -> R2, FiniteDivisor(R1, UP1, UPUP1, F1)) ->
FiniteDivisor(R2, UP2, UPUP2, F2)
++ map(f,d) \undocumented{}
CODE ==> add
import UnivariatePolynomialCategoryFunctions2(R1,UP1,R2,UP2)
import FunctionFieldCategoryFunctions2(R1,UP1,UPUP1,F1,R2,UP2,UPUP2,F2)
import FractionalIdealFunctions2(UP1, Fraction UP1, UPUP1, F1,
UP2, Fraction UP2, UPUP2, F2)
map(f, d) ==
rec := decompose d
divisor map(f, rec.principalPart) +
divisor map((s:UP1):UP2 +-> map(f,s), rec.id)
|