Cancel like terms

Time bar (total: 2.0s)

analyze19.0ms (1%)

Memory
5.6MiB live, 5.6MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample1.9s (95.4%)

Memory
13.6MiB live, 669.2MiB allocated
Samples
441.0ms3 795×1valid-baseline
206.0ms3 795×1valid-rival
148.0ms4 461×0valid-baseline
129.0ms4 461×0valid-rival
129.0ms3 795×1valid-sollya
77.0ms4 461×0valid-sollya
Precisions
Click to see Rival histograms. Total time spent on operations: 169.0ms
ival-add: 68.0ms (40.3% of total)
ival-sub: 52.0ms (30.8% of total)
adjust: 35.0ms (20.7% of total)
ival-true: 7.0ms (4.1% of total)
...in/eval/compile.rkt:76:19: 4.0ms (2.4% of total)
ival-assert: 4.0ms (2.4% of total)
Precisions
Click to see Base histograms. Total time spent on operations: 219.0ms
ival-add: 114.0ms (52.2% of total)
ival-sub: 85.0ms (38.9% of total)
const: 20.0ms (9.2% of total)
Bogosity

preprocess40.0ms (2%)

Memory
3.2MiB live, 18.6MiB allocated
Algorithm
egg-herbie
Rules
28×fmm-def
21×sub-neg
13×fma-define
10×distribute-lft-neg-in
10×associate-+l-
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01384
1334
2914
31304
41774
52034
62154
72194
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(neg.f64 (-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)))
Outputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(+.f64 #s(literal 1 binary64) (-.f64 x x))
#s(literal 1 binary64)
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
(+.f64 #s(literal 1 binary64) (-.f64 x x))
#s(literal 1 binary64)
(-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(+.f64 #s(literal 1 binary64) (-.f64 x x))
#s(literal 1 binary64)
(neg.f64 (-.f64 (+.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)))
(neg.f64 (-.f64 (-.f64 #s(literal 1 binary64) x) (neg.f64 x)))
#s(literal -1 binary64)
Symmetry

(abs x)

Compiler

Compiled 6 to 4 computations (33.3% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
48.5%
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify2.0ms (0.1%)

Memory
0.3MiB live, 0.3MiB allocated
Algorithm
egg-herbie
Rules
1-exp
+-commutative
sub-neg
*-commutative
neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11719
22119
32319
42419
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Outputs
(-.f64 (+.f64 #s(literal 1 binary64) x) x)

soundness0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Stop Event
fuel
Compiler

Compiled 6 to 4 computations (33.3% saved)

preprocess29.0ms (1.5%)

Memory
-15.3MiB live, 22.0MiB allocated
Remove

(abs x)

Compiler

Compiled 48 to 32 computations (33.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...