/usr/share/axiom-20170501/src/algebra/ONECOMP2.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 | )abbrev package ONECOMP2 OnePointCompletionFunctions2
++ Author: Manuel Bronstein
++ Date Created: 4 Oct 1989
++ Date Last Updated: 4 Oct 1989
++ Description:
++ Lifting of maps to one-point completions.
OnePointCompletionFunctions2(R, S) : SIG == CODE where
R, S: SetCategory
OPR ==> OnePointCompletion R
OPS ==> OnePointCompletion S
SIG ==> with
map : (R -> S, OPR) -> OPS
++ map(f, r) lifts f and applies it to r, assuming that
++ f(infinity) = infinity.
map : (R -> S, OPR, OPS) -> OPS
++ map(f, r, i) lifts f and applies it to r, assuming that
++ f(infinity) = i.
CODE ==> add
map(f, r) == map(f, r, infinity())
map(f, r, i) ==
(u := retractIfCan r) case R => (f(u::R))::OPS
i
|