/usr/share/axiom-20170501/src/algebra/IEVALAB.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 | )abbrev category IEVALAB InnerEvalable
-- FOR THE BENEFIT OF LIBAX0 GENERATION
++ Date Last Updated: June 3, 1991
++ Description:
++ This category provides \spadfun{eval} operations.
++ A domain may belong to this category if it is possible to make
++ ``evaluation'' substitutions. The difference between this
++ and \spadtype{Evalable} is that the operations in this category
++ specify the substitution as a pair of arguments rather than as
++ an equation.
InnerEvalable(A,B) : Category == SIG where
A : SetCategory
B : Type
SIG ==> with
eval : ($, A, B) -> $
++ eval(f, x, v) replaces x by v in f.
eval : ($, List A, List B) -> $
++ eval(f, [x1,...,xn], [v1,...,vn]) replaces xi by vi in f.
add
eval(f:$, x:A, v:B) == eval(f, [x], [v])
|