Index: pobysoPythonSage/src/pobyso.py
===================================================================
--- pobysoPythonSage/src/pobyso.py	(revision 62)
+++ pobysoPythonSage/src/pobyso.py	(revision 63)
@@ -466,6 +466,8 @@
             "(" + pobyso_get_sage_exp_from_sollya_exp_so_sa(subexpressions[0], \
             realField) + ")")
         elif arity == 2:
+            # We do not get through the preprocessor.
+            # The "^" operator is then a special case.
             if operator == SOLLYA_BASE_FUNC_POW:
                 operatorAsString = "**"
             else:
@@ -475,7 +477,8 @@
               eval("pobyso_get_sage_exp_from_sollya_exp_so_sa(subexpressions[0], realField)"\
               + " " + operatorAsString + " " + \
                    "pobyso_get_sage_exp_from_sollya_exp_so_sa(subexpressions[1], realField)")
-        # We do not know yet how to deal with arity > 3 (is there any in Sollya anyway?).
+        # We do not know yet how to deal with arity >= 3 
+        # (is there any in Sollya anyway?).
         else:
             sageExp = eval('None')
         return(sageExp)
@@ -505,8 +508,13 @@
     if realFieldSa is None:
         expressionPrecSa = pobyso_get_max_prec_of_exp_so_sa(polySo)
         realFieldSa = RealField(expressionPrecSa)
+    #print "Sollya expression before...",
+    #pobyso_autoprint(polySo)
+
     expressionSa = pobyso_get_sage_exp_from_sollya_exp_so_sa(polySo, \
                                                              realFieldSa)
+    #print "...Sollya expression after.",
+    #pobyso_autoprint(polySo)
     polyVariableSa = expressionSa.variables()[0]
     polyRingSa = realFieldSa[str(polyVariableSa)]
     print polyRingSa
@@ -805,7 +813,7 @@
     if not sollyaPrecSo is None:
         sollya_lib_set_prec(initialPrecSo)
         sollya_lib_clear_obj(initailPrecSo)
-    return([polyVarChangedSo, intervalCenterSo, maxErrorSo])
+    return((polyVarChangedSo, intervalCenterSo, maxErrorSo))
 # end pobyso_taylor_expansion_with_change_var_so_so
 
 def pobyso_taylor_expansion_no_change_var_so_so(functionSo, degreeSo, rangeSo, \
@@ -832,8 +840,8 @@
     # If changed, reset the Sollya working precision.
     if not sollyaPrecSo is None:
         sollya_lib_set_prec(initialPrecSo)
-        sollya_lib_clear_obj(initailPrecSo)
-    return([polySo, intervalCenterSo, maxErrorSo])
+        sollya_lib_clear_obj(initialPrecSo)
+    return((polySo, intervalCenterSo, maxErrorSo))
 # end pobyso_taylor_expansion_no_change_var_so_so
 
 def pobyso_taylor(function, degree, point):
Index: pobysoPythonSage/src/sageSLZ.sage
===================================================================
--- pobysoPythonSage/src/sageSLZ.sage	(revision 62)
+++ pobysoPythonSage/src/sageSLZ.sage	(revision 63)
@@ -56,7 +56,8 @@
     return((polySo, currentRangeSo, intervalCenterSo, maxErrorSo))
     # End slz_compute_polynomial_and_interval
 
-def slz_get_intervals_and_polynomials(functionSa, degreeSa, lowerBoundSa, 
+def slz_get_intervals_and_polynomials(functionSa, variableNameSa, degreeSa, 
+                                      lowerBoundSa, 
                                       upperBoundSa, floatingPointPrecSa, 
                                       internalSollyaPrecSa):
     """
@@ -82,13 +83,15 @@
     - the center, x0,  of the interval (the polynomial is defined as p(x-x0));
     - the corresponding approximation error.
     """
+    x = var(variableNameSa)
     # Scalling the domain -> [1,2[.
     boundsIntervalRifSa = RealIntervalField(floatingPointPrecSa)
     domainBoundsIntervalSa = boundsIntervalRifSa(lowerBoundSa, upperBoundSa)
     (domainScalingExpressionSa, invDomainScalingExpressionSa) = \
-        slz_interval_scaling_expression(domainBoundsIntervalSa, 'x')
+        slz_interval_scaling_expression(domainBoundsIntervalSa, variableNameSa)
     print "domainScalingExpression for argument :", domainScalingExpressionSa
-    ff(x) = f(domainScalingExpressionSa)
+    print "f: ", f
+    ff = f.subs({x:domainScalingExpressionSa})
     scaledLowerBoundSa = invDomainScalingExpressionSa(lowerBoundSa).n()
     scaledUpperBoundSa = invDomainScalingExpressionSa(upperBoundSa).n()
     print 'ff:', ff, "- Domain:", scaledLowerBoundSa, scaledUpperBoundSa
@@ -103,8 +106,9 @@
     print 'ff:', ff, '- Image:', flbSa, fubSa, imageBinadeBottomSa
     imageBoundsIntervalSa = boundsIntervalRifSa(flbSa, fubSa)
     (imageScalingExpressionSa, invImageScalingExpressionSa) = \
-        slz_interval_scaling_expression(imageBoundsIntervalSa, 'x')
-    fff(x) = invImageScalingExpressionSa(ff(x))
+        slz_interval_scaling_expression(imageBoundsIntervalSa, variableNameSa)
+    iis = invImageScalingExpressionSa.function(x)
+    fff = iis.subs({x:ff})
     print "fff:", fff,
     print " - Image:", fff(scaledLowerBoundSa), fff(scaledUpperBoundSa)
     #
