Details

Time bar (total: 1.2s)

analyze253.0ms (20.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
37.5%62.4%0.1%6
56.2%43.7%0.1%7
56.2%32.8%11%8
65.6%22.6%11.8%9
65.6%16.8%17.7%10
70.2%11.5%18.2%11
70.2%8.5%21.3%12
72.6%5.8%21.6%13
72.6%4.3%23.1%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample741.0ms (60.5%)

Results
710.0ms8255×body128valid
16.0ms187×body128invalid
0.0msbody1024valid
Compiler

Compiled 20 to 14 computations (30% saved)

preprocess33.0ms (2.7%)

Algorithm
egg-herbie
Rules
330×fma-def_binary64
192×fma-neg_binary64
60×cancel-sign-sub-inv_binary64
58×distribute-rgt-in_binary64
34×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01020
11820
23820
38020
414320
520620
638720
768820
8106320
9116920
10118720
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(*.f64 1/2 (-.f64 (*.f64 x x) y))
(*.f64 1/2 (-.f64 (*.f64 y y) x))
Outputs
(*.f64 1/2 (-.f64 (*.f64 x x) y))
(*.f64 1/2 (-.f64 (*.f64 y y) x))
(*.f64 1/2 (fma.f64 y y (neg.f64 x)))
Compiler

Compiled 9 to 6 computations (33.3% saved)

simplify14.0ms (1.1%)

Algorithm
egg-herbie
Rules
232×fma-def_binary64
111×fma-neg_binary64
44×distribute-rgt-in_binary64
39×cancel-sign-sub-inv_binary64
28×distribute-lft-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11110
22210
34810
48310
511710
620810
735610
854610
971610
1081610
1183210
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 1/2 (-.f64 (*.f64 x x) y))
Outputs
(*.f64 1/2 (-.f64 (*.f64 x x) y))

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 1/2 (-.f64 (*.f64 x x) y))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 x x) y)

series3.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

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

rewrite36.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
597×pow1_binary64
558×add-log-exp_binary64
558×log1p-expm1-u_binary64
558×expm1-log1p-u_binary64
60×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11117
215337
Stop Event
node limit
Counts
1 → 36
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) y)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (neg.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 (neg.f64 y) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 y) 1 y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (cbrt.f64 y)) (cbrt.f64 (*.f64 y y)) y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x x) y) (fma.f64 (neg.f64 (sqrt.f64 y)) (sqrt.f64 y) y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 y) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (*.f64 x x) y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 2) (cbrt.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) (sqrt.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (/.f64 1 (fma.f64 x x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (sqrt.f64 y)) (-.f64 x (sqrt.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))) (-.f64 (pow.f64 x 6) (pow.f64 y 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x y) (-.f64 (pow.f64 x 4) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3)) (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 y y)) (fma.f64 x x y))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 6) (pow.f64 y 3))) (neg.f64 (+.f64 (pow.f64 x 4) (*.f64 y (fma.f64 x x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (*.f64 y y))) (neg.f64 (fma.f64 x x y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 (neg.f64 y) 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (neg.f64 y) (neg.f64 y)) (*.f64 (*.f64 x x) (neg.f64 y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (neg.f64 y) (neg.f64 y))) (-.f64 (*.f64 x x) (neg.f64 y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (*.f64 x x) y) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (*.f64 x x) y)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (*.f64 x x) y)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 (*.f64 x x) y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (*.f64 x x) y) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (*.f64 x x) y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (neg.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (neg.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (neg.f64 y))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (*.f64 x x) y)))))))

simplify26.0ms (2.2%)

Algorithm
egg-herbie
Rules
707×distribute-rgt-neg-in_binary64
434×unswap-sqr_binary64
424×cancel-sign-sub-inv_binary64
297×fma-neg_binary64
273×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08147
116147
227147
345147
496147
5282147
61159147
73135147
Stop Event
node limit
Counts
60 → 42
Calls
Call 1
Inputs
(*.f64 -1 y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (pow.f64 x 2) y)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (pow.f64 x 2) y)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (pow.f64 x 2) y)
(pow.f64 x 2)
(-.f64 (pow.f64 x 2) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (pow.f64 x 2) y)
(*.f64 -1 y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (pow.f64 x 2) y)
(*.f64 -1 y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (pow.f64 x 2) y)
Outputs
(*.f64 -1 y)
(neg.f64 y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(pow.f64 x 2)
(*.f64 x x)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(*.f64 -1 y)
(neg.f64 y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(*.f64 -1 y)
(neg.f64 y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)
(-.f64 (pow.f64 x 2) y)
(-.f64 (*.f64 x x) y)

prune21.0ms (1.8%)

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 1/2 (fma.f64 x x (neg.f64 y)))
Compiler

Compiled 531 to 262 computations (50.7% saved)

localize4.0ms (0.4%)

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 1/2 (fma.f64 x x (neg.f64 y)))
Compiler

Compiled 9 to 6 computations (33.3% saved)

regimes51.0ms (4.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
9 → 1
Compiler

Compiled 110 to 60 computations (45.5% saved)

simplify2.0ms (0.1%)

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
0710
11210
21410
31510
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 1/2 (fma.f64 x x (neg.f64 y)))
Outputs
(*.f64 1/2 (fma.f64 x x (neg.f64 y)))

end35.0ms (2.8%)

Stop Event
done
Compiler

Compiled 27 to 18 computations (33.3% saved)

Profiling

Loading profile data...