Details

Time bar (total: 1.3s)

analyze1.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
Compiler

Compiled 24 to 18 computations (25% saved)

sample1.1s (78.8%)

Results
1.0s8256×body128valid
Compiler

Compiled 48 to 36 computations (25% saved)

preprocess36.0ms (2.7%)

Algorithm
egg-herbie
Rules
481×associate-*l*_binary64
475×distribute-rgt-neg-in_binary64
474×fma-def_binary64
343×distribute-lft-neg-in_binary64
303×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01844
14340
213240
332640
491440
5333340
022
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(+.f64 (-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4)) (*.f64 2 (*.f64 y y)))
(+.f64 (-.f64 (*.f64 9 (pow.f64 y 4)) (pow.f64 x 4)) (*.f64 2 (*.f64 x x)))
Outputs
(+.f64 (-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4)) (*.f64 2 (*.f64 y y)))
(+.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4))) (*.f64 2 (*.f64 y y)))
(fma.f64 (*.f64 y 2) y (-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4)))
(-.f64 (fma.f64 y (*.f64 y 2) (*.f64 9 (pow.f64 x 4))) (pow.f64 y 4))
(-.f64 (*.f64 9 (pow.f64 x 4)) (*.f64 (*.f64 y y) (fma.f64 y y -2)))
(fma.f64 9 (pow.f64 x 4) (-.f64 (*.f64 y (*.f64 y 2)) (pow.f64 y 4)))
(+.f64 (-.f64 (*.f64 9 (pow.f64 y 4)) (pow.f64 x 4)) (*.f64 2 (*.f64 x x)))
(+.f64 (fma.f64 9 (pow.f64 y 4) (neg.f64 (pow.f64 x 4))) (*.f64 2 (*.f64 x x)))
(fma.f64 2 (*.f64 x x) (fma.f64 9 (pow.f64 y 4) (neg.f64 (pow.f64 x 4))))
(fma.f64 x (*.f64 x 2) (fma.f64 9 (pow.f64 y 4) (neg.f64 (pow.f64 x 4))))
(-.f64 (*.f64 9 (pow.f64 y 4)) (*.f64 (*.f64 x x) (fma.f64 x x -2)))
(-.f64 (fma.f64 9 (pow.f64 y 4) (*.f64 2 (*.f64 x x))) (pow.f64 x 4))
Compiler

Compiled 17 to 13 computations (23.5% saved)

simplify29.0ms (2.2%)

Algorithm
egg-herbie
Rules
625×unswap-sqr_binary64
612×fma-def_binary64
509×fma-neg_binary64
441×cancel-sign-sub-inv_binary64
280×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01322
12820
27920
318420
450520
5184920
6451420
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4)) (*.f64 2 (*.f64 y y)))
Outputs
(+.f64 (-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4)) (*.f64 2 (*.f64 y y)))
(fma.f64 2 (*.f64 y y) (-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4)))
(-.f64 (fma.f64 y (*.f64 y 2) (*.f64 9 (pow.f64 x 4))) (pow.f64 y 4))
(fma.f64 9 (pow.f64 x 4) (-.f64 (*.f64 y (*.f64 y 2)) (pow.f64 y 4)))
(-.f64 (*.f64 9 (pow.f64 x 4)) (*.f64 y (*.f64 y (fma.f64 y y -2))))
(fma.f64 9 (pow.f64 x 4) (*.f64 (*.f64 y y) (-.f64 2 (*.f64 y y))))

prune2.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
52.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
52.0b
(+.f64 (-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4)) (*.f64 2 (*.f64 y y)))
Compiler

Compiled 65 to 46 computations (29.2% saved)

localize8.0ms (0.6%)

Local error

Found 1 expressions with local error:

NewErrorProgram
23.0b
(-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4))

series5.0ms (0.4%)

Counts
1 → 6
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4))
1.0ms
y
@0
(-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4))
1.0ms
x
@inf
(-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4))
1.0ms
y
@inf
(-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4))
0.0ms
y
@-inf
(-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4))

rewrite39.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
863×log1p-expm1-u_binary64
863×expm1-log1p-u_binary64
95×add-sqr-sqrt_binary64
95×add-log-exp_binary64
95×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
120113
2243213
Stop Event
node limit
Counts
1 → 39
Calls
Call 1
Inputs
(-.f64 (*.f64 9 (pow.f64 x 4)) (pow.f64 y 4))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 9 (pow.f64 x 4)) (neg.f64 (pow.f64 y 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 9 (pow.f64 x 4)) (*.f64 (neg.f64 (pow.f64 y 4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4))) (fma.f64 (neg.f64 (pow.f64 y 4)) 1 (pow.f64 y 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4))) (fma.f64 (neg.f64 (cbrt.f64 (pow.f64 y 4))) (cbrt.f64 (pow.f64 y 8)) (pow.f64 y 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4))) (fma.f64 (neg.f64 (*.f64 y y)) (*.f64 y y) (pow.f64 y 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (pow.f64 y 4)) (*.f64 9 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))) (pow.f64 (cbrt.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))) 2) (cbrt.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))) (sqrt.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 (pow.f64 x 4) 3) 729) (pow.f64 y 12)) (/.f64 1 (+.f64 (*.f64 (pow.f64 x 8) 81) (*.f64 (pow.f64 y 4) (fma.f64 9 (pow.f64 x 4) (pow.f64 y 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 8) 81) (pow.f64 y 8)) (/.f64 1 (fma.f64 9 (pow.f64 x 4) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 y y)) (-.f64 (*.f64 3 (*.f64 x x)) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 (pow.f64 x 8) 81) (*.f64 (pow.f64 y 4) (fma.f64 9 (pow.f64 x 4) (pow.f64 y 4)))) (-.f64 (*.f64 (pow.f64 (pow.f64 x 4) 3) 729) (pow.f64 y 12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 9 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 (pow.f64 x 8) 81) (pow.f64 y 8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (pow.f64 x 4) 3) 729) (pow.f64 y 12)) (+.f64 (*.f64 (pow.f64 x 8) 81) (*.f64 (pow.f64 y 4) (fma.f64 9 (pow.f64 x 4) (pow.f64 y 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 8) 81) (pow.f64 y 8)) (fma.f64 9 (pow.f64 x 4) (pow.f64 y 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 (pow.f64 x 4) 3) 729) (pow.f64 y 12))) (neg.f64 (+.f64 (*.f64 (pow.f64 x 8) 81) (*.f64 (pow.f64 y 4) (fma.f64 9 (pow.f64 x 4) (pow.f64 y 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 8) 81) (pow.f64 y 8))) (neg.f64 (fma.f64 9 (pow.f64 x 4) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 (pow.f64 x 4) 3) 729) (pow.f64 (neg.f64 (pow.f64 y 4)) 3)) (+.f64 (*.f64 (pow.f64 x 8) 81) (-.f64 (*.f64 (neg.f64 (pow.f64 y 4)) (neg.f64 (pow.f64 y 4))) (*.f64 (*.f64 9 (pow.f64 x 4)) (neg.f64 (pow.f64 y 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 8) 81) (*.f64 (neg.f64 (pow.f64 y 4)) (neg.f64 (pow.f64 y 4)))) (-.f64 (*.f64 9 (pow.f64 x 4)) (neg.f64 (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 4) 9 (neg.f64 (pow.f64 y 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 9 (pow.f64 x 4)) (neg.f64 (pow.f64 y 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 8) 81)) (cbrt.f64 (*.f64 9 (pow.f64 x 4))) (neg.f64 (pow.f64 y 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3 (*.f64 x x)) (*.f64 3 (*.f64 x x)) (neg.f64 (pow.f64 y 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 9 (pow.f64 x 4) (neg.f64 (pow.f64 y 4)))) 1))))))

simplify52.0ms (3.9%)

Algorithm
egg-herbie
Rules
950×fma-def_binary64
408×unswap-sqr_binary64
307×distribute-lft-neg-in_binary64
303×distribute-rgt-neg-in_binary64
258×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01039
11939
24139
38239
420439
565139
6107939
7208339
8297139
9402939
Stop Event
node limit
Counts
45 → 42
Calls
Call 1
Inputs
(*.f64 -1 (pow.f64 y 4))
(*.f64 9 (pow.f64 x 4))
(*.f64 9 (pow.f64 x 4))
(*.f64 9 (pow.f64 x 4))
(*.f64 -1 (pow.f64 y 4))
(*.f64 -1 (pow.f64 y 4))
Outputs
(*.f64 -1 (pow.f64 y 4))
(neg.f64 (pow.f64 y 4))
(*.f64 9 (pow.f64 x 4))
(*.f64 9 (pow.f64 x 4))
(*.f64 9 (pow.f64 x 4))
(*.f64 -1 (pow.f64 y 4))
(neg.f64 (pow.f64 y 4))
(*.f64 -1 (pow.f64 y 4))
(neg.f64 (pow.f64 y 4))

prune34.0ms (2.6%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New41142
Fresh000
Picked101
Done000
Total42143
Error
0b
Counts
43 → 1
Alt Table
StatusErrorProgram
0b
(+.f64 (*.f64 (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 y y)) (-.f64 (*.f64 3 (*.f64 x x)) (*.f64 y y))) (*.f64 2 (*.f64 y y)))
Compiler

Compiled 999 to 702 computations (29.7% saved)

localize9.0ms (0.7%)

prune1.0ms (0.1%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Error
0b
Counts
1 → 1
Alt Table
StatusErrorProgram
0b
(+.f64 (*.f64 (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 y y)) (-.f64 (*.f64 3 (*.f64 x x)) (*.f64 y y))) (*.f64 2 (*.f64 y y)))
Compiler

Compiled 27 to 14 computations (48.1% saved)

regimes14.0ms (1.1%)

Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

Counts
3 → 1
Compiler

Compiled 109 to 70 computations (35.8% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01337
12337
23137
33537
43737
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 y y)) (-.f64 (*.f64 3 (*.f64 x x)) (*.f64 y y))) (*.f64 2 (*.f64 y y)))
Outputs
(+.f64 (*.f64 (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 y y)) (-.f64 (*.f64 3 (*.f64 x x)) (*.f64 y y))) (*.f64 2 (*.f64 y y)))
(+.f64 (*.f64 (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 y y)) (-.f64 (*.f64 3 (*.f64 x x)) (*.f64 y y))) (*.f64 (*.f64 y y) 2))

end48.0ms (3.6%)

Stop Event
done
Compiler

Compiled 81 to 42 computations (48.1% saved)

Profiling

Loading profile data...