Details

Time bar (total: 1.8s)

analyze54.0ms (3%)

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
25%56.2%18.8%6
37.5%40.6%22%7
46.8%31.2%22%8
54.6%21.9%23.5%9
60.1%16.4%23.5%10
64.4%11.3%24.3%11
67.3%8.4%24.3%12
Compiler

Compiled 10 to 6 computations (40% saved)

sample1.2s (67.5%)

Results
1.2s8256×body256valid
11.0ms89×body256invalid

preprocess33.0ms (1.8%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
*-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
11916
22616
33016
43216
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(+.f64 (+.f64 (*.f64 x x) y) y)
(+.f64 (+.f64 (*.f64 y y) x) x)
Outputs
(+.f64 (+.f64 (*.f64 x x) y) y)
(+.f64 y (fma.f64 x x y))
(+.f64 (+.f64 (*.f64 y y) x) x)
(+.f64 x (fma.f64 y y x))
Compiler

Compiled 11 to 7 computations (36.4% saved)

simplify15.0ms (0.9%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
*-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1118
2158
3178
4188
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x x) y) y)
Outputs
(+.f64 (+.f64 (*.f64 x x) y) y)
(+.f64 y (fma.f64 x x y))

eval1.0ms (0.1%)

Compiler

Compiled 15 to 7 computations (53.3% saved)

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 x x) y) y)
Compiler

Compiled 9 to 5 computations (44.4% saved)

localize13.0ms (0.7%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 x x) y) y)
Compiler

Compiled 19 to 5 computations (73.7% saved)

series5.0ms (0.3%)

Counts
1 → 24
Calls

6 calls:

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

rewrite86.0ms (4.8%)

Algorithm
batch-egg-rewrite
Rules
850×pow1_binary64
796×add-log-exp_binary64
796×log1p-expm1-u_binary64
796×expm1-log1p-u_binary64
778×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify177.0ms (9.8%)

Algorithm
egg-herbie
Rules
1366×sqr-pow_binary64
695×pow-sqr_binary64
617×cube-prod_binary64
604×fabs-mul_binary64
434×unswap-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07168
115168
225168
336168
465168
5166168
6593168
71458168
81642168
91826168
102034168
112329168
122722168
133203168
143771168
154453168
165290168
175682168
185970168
196242168
206314168
216350168
227291168
Stop Event
node limit
Counts
62 → 43
Calls
Call 1
Inputs
(*.f64 2 y)
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(*.f64 2 y)
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(*.f64 2 y)
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
Outputs
(*.f64 2 y)
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(*.f64 2 y)
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(*.f64 2 y)
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))
(+.f64 (*.f64 2 y) (pow.f64 x 2))
(fma.f64 2 y (*.f64 x x))

eval12.0ms (0.7%)

Compiler

Compiled 570 to 189 computations (66.8% saved)

prune7.0ms (0.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40343
Fresh000
Picked011
Done000
Total40444
Error
0b
Counts
44 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
41.7b
(*.f64 x x)
0b
(fma.f64 x x (+.f64 y y))
0.0b
(+.f64 (+.f64 (*.f64 x x) y) y)
20.2b
(*.f64 2 y)
Compiler

Compiled 27 to 16 computations (40.7% saved)

localize3.0ms (0.2%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

localize3.0ms (0.1%)

Compiler

Compiled 6 to 3 computations (50% saved)

localize8.0ms (0.4%)

Compiler

Compiled 13 to 4 computations (69.2% saved)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done033
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
41.7b
(*.f64 x x)
0b
(fma.f64 x x (+.f64 y y))
0.0b
(+.f64 (+.f64 (*.f64 x x) y) y)
20.2b
(*.f64 2 y)
Compiler

Compiled 27 to 16 computations (40.7% saved)

regimes22.0ms (1.2%)

Counts
4 → 1
Calls
Call 1
Inputs
(*.f64 x x)
(*.f64 2 y)
(+.f64 (+.f64 (*.f64 x x) y) y)
(fma.f64 x x (+.f64 y y))
Outputs
(fma.f64 x x (+.f64 y y))
Calls

5 calls:

7.0ms
(+.f64 (+.f64 (*.f64 x x) y) y)
4.0ms
y
4.0ms
x
3.0ms
(*.f64 x x)
3.0ms
(*.f64 x x)
Results
ErrorSegmentsBranch
0b1x
0b1y
0b1(+.f64 (+.f64 (*.f64 x x) y) y)
0b1(*.f64 x x)
0b1(*.f64 x x)
Compiler

Compiled 46 to 24 computations (47.8% saved)

regimes21.0ms (1.2%)

Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 x x)
(*.f64 2 y)
(+.f64 (+.f64 (*.f64 x x) y) y)
Outputs
(+.f64 (+.f64 (*.f64 x x) y) y)
Calls

4 calls:

4.0ms
(*.f64 x x)
4.0ms
(+.f64 (+.f64 (*.f64 x x) y) y)
4.0ms
y
4.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
0.0b1y
0.0b1(+.f64 (+.f64 (*.f64 x x) y) y)
0.0b1(*.f64 x x)
Compiler

Compiled 35 to 19 computations (45.7% saved)

regimes34.0ms (1.9%)

Accuracy

Total -53.9b remaining (-683.8%)

Threshold costs -53.9b (-683.8%)

Counts
2 → 4
Calls
Call 1
Inputs
(*.f64 x x)
(*.f64 2 y)
Outputs
(*.f64 2 y)
(*.f64 x x)
(*.f64 2 y)
(*.f64 x x)
Calls

3 calls:

14.0ms
y
11.0ms
x
8.0ms
(*.f64 x x)
Results
ErrorSegmentsBranch
8.9b3x
14.8b3y
7.9b4(*.f64 x x)
Compiler

Compiled 19 to 12 computations (36.8% saved)

bsearch49.0ms (2.7%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
1.387027967686682e+149
6.352878715682755e+150
19.0ms
1.1796383788578042e+125
3.175248358030749e+127
15.0ms
3.568049874465215e+21
4.014665515563511e+21
Compiler

Compiled 14 to 9 computations (35.7% saved)

simplify7.0ms (0.4%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02065
12365
Stop Event
done
saturated
Calls
Call 1
Inputs
(fma.f64 x x (+.f64 y y))
(+.f64 (+.f64 (*.f64 x x) y) y)
(if (<=.f64 (*.f64 x x) 3568049874465214955520) (*.f64 2 y) (if (<=.f64 (*.f64 x x) 117963837885780423377097427161878231594340065655391584948755350843017668787283971813278587675548491096982050006188571077115904) (*.f64 x x) (if (<=.f64 (*.f64 x x) 138702796768668189897046222189682299842611632919166193591692573423428554638245309624434926975420438777881934215726463876199865915401043240003043328000) (*.f64 2 y) (*.f64 x x))))
(*.f64 x x)
Outputs
(fma.f64 x x (+.f64 y y))
(+.f64 (+.f64 (*.f64 x x) y) y)
(+.f64 y (+.f64 y (*.f64 x x)))
(if (<=.f64 (*.f64 x x) 3568049874465214955520) (*.f64 2 y) (if (<=.f64 (*.f64 x x) 117963837885780423377097427161878231594340065655391584948755350843017668787283971813278587675548491096982050006188571077115904) (*.f64 x x) (if (<=.f64 (*.f64 x x) 138702796768668189897046222189682299842611632919166193591692573423428554638245309624434926975420438777881934215726463876199865915401043240003043328000) (*.f64 2 y) (*.f64 x x))))
(if (<=.f64 (*.f64 x x) 3568049874465214955520) (*.f64 y 2) (if (<=.f64 (*.f64 x x) 117963837885780423377097427161878231594340065655391584948755350843017668787283971813278587675548491096982050006188571077115904) (*.f64 x x) (if (<=.f64 (*.f64 x x) 138702796768668189897046222189682299842611632919166193591692573423428554638245309624434926975420438777881934215726463876199865915401043240003043328000) (*.f64 y 2) (*.f64 x x))))
(*.f64 x x)
Compiler

Compiled 54 to 28 computations (48.1% saved)

soundness0.0ms (0%)

end33.0ms (1.8%)

Compiler

Compiled 48 to 20 computations (58.3% saved)

Profiling

Loading profile data...