a,b,c = symmath.vars('a', 'b', 'c')
GOOD time: 0.018000ms
stack: size: 0

    x,y,z = symmath.vars('x', 'y', 'z')
    GOOD time: 0.007000ms
    stack: size: 0


      expr = a * x + b * y + c * z
      GOOD time: 0.180000ms
      stack: size: 0

        assert(expr:replace(a * x, 1) == 1 + b * y + c * z)
        GOOD time: 0.480000ms
        stack: size: 0

          assert(expr:replace(b * y, 1) == 1 + a * x + c * z)
          GOOD time: 0.375000ms
          stack: size: 0

            assert(expr:replace(c * z, 1) == 1 + a * x + b * y)
            GOOD time: 0.266000ms
            stack: size: 0

              assert(expr:replace(a * x + b * y, 1) == 1 + c * z)
              GOOD time: 0.127000ms
              stack: size: 0

                assert(expr:replace(a * x + c * z, 1) == 1 + b * y)
                GOOD time: 0.115000ms
                stack: size: 0

                  assert(expr:replace(b * y + c * z, 1) == 1 + a * x)
                  GOOD time: 0.127000ms
                  stack: size: 0

                    assert(expr:replace(b * y + c * z, 1) == 1 + a * x)
                    GOOD time: 0.046000ms
                    stack: size: 0

                      assert(expr:replace(a * x + b * y + c * z, 1) == symmath.Constant(1))
                      GOOD time: 0.138000ms
                      stack: size: 0