Details

Time bar (total: 5.2s)

analyze957.0ms (18.4%)

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
0%99.9%0.1%5
0%99.9%0.1%6
0%81.1%18.9%7
0%81.1%18.9%8
0%76.5%23.5%9
0%65.5%34.5%10
0%65.2%34.8%11
0%61.7%38.3%12
0.2%55.4%44.4%13
0.5%55%44.6%14
Compiler

Compiled 14 to 9 computations (35.7% saved)

sample2.2s (43%)

Results
996.0ms8256×body128valid
697.0ms1069×body8192exit
281.0ms2231×body128invalid
Compiler

Compiled 27 to 17 computations (37% saved)

simplify200.0ms (3.8%)

Algorithm
egg-herbie
Rules
767×unsub-neg_binary64
741×*-commutative_binary64
699×fma-def_binary64
598×fma-neg_binary64
465×distribute-neg-out_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0915
11915
22915
35715
411815
527815
652915
7100715
8178115
9258515
10283415
11314115
12337115
13348515
14348515
15444415
16428415
17460415
18460415
19510315

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 39 to 24 computations (38.5% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
4.0b
(-.f64 (*.f64 y y) (*.f64 z z))
24.5b
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))

series63.0ms (1.2%)

Counts
3 → 84
Calls

3 calls:

39.0ms
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
15.0ms
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))
8.0ms
(-.f64 (*.f64 y y) (*.f64 z z))

rewrite14.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
sqrt-prod_binary64
associate-*r*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
3 → 62
Calls

3 calls:

6.0ms
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
3.0ms
(sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z)))
3.0ms
(-.f64 (*.f64 y y) (*.f64 z z))

simplify102.0ms (2%)

Algorithm
egg-herbie
Rules
638×fma-def_binary64
337×fma-neg_binary64
316×cancel-sign-sub-inv_binary64
268×neg-mul-1_binary64
187×distribute-rgt-neg-in_binary64
Counts
146 → 179
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02062931
15822842
222892771
345562771
450282771

prune86.0ms (1.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1754179
Fresh000
Picked011
Done000
Total1755180
Error
0.1b
Counts
180 → 5
Alt Table
StatusErrorProgram
50.8b
(exp.f64 (log.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)))
33.3b
(*.f64 x (neg.f64 y))
28.5b
(*.f64 x y)
25.7b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
30.0b
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))
Compiler

Compiled 3660 to 1641 computations (55.2% saved)

localize2.0ms (0%)

prune4.0ms (0.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done011
Total055
Error
0.1b
Counts
5 → 5
Alt Table
StatusErrorProgram
50.8b
(exp.f64 (log.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)))
33.3b
(*.f64 x (neg.f64 y))
28.5b
(*.f64 x y)
25.7b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
30.0b
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))
Compiler

Compiled 89 to 60 computations (32.6% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 y z))
0.0b
(sqrt.f64 (-.f64 y z))
0.1b
(*.f64 x (sqrt.f64 (+.f64 y z)))
0.2b
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))

series119.0ms (2.3%)

Counts
4 → 68
Calls

4 calls:

42.0ms
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))
35.0ms
(*.f64 x (sqrt.f64 (+.f64 y z)))
22.0ms
(sqrt.f64 (+.f64 y z))
19.0ms
(sqrt.f64 (-.f64 y z))

rewrite27.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
19×sqrt-prod_binary64
19×*-un-lft-identity_binary64
18×sqrt-div_binary64
15×associate-*r*_binary64
Counts
4 → 98
Calls

4 calls:

9.0ms
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))
5.0ms
(sqrt.f64 (-.f64 y z))
5.0ms
(*.f64 x (sqrt.f64 (+.f64 y z)))
2.0ms
(sqrt.f64 (+.f64 y z))

simplify126.0ms (2.4%)

Algorithm
egg-herbie
Rules
410×cancel-sign-sub-inv_binary64
370×fma-neg_binary64
294×associate-*l*_binary64
278×associate-*r*_binary64
245×neg-mul-1_binary64
Counts
166 → 195
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02753232
17653105
227083068
346043003
450093003

prune82.0ms (1.6%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1941195
Fresh022
Picked011
Done022
Total1946200
Error
0.1b
Counts
200 → 6
Alt Table
StatusErrorProgram
50.8b
(exp.f64 (log.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)))
33.3b
(*.f64 x (neg.f64 y))
28.5b
(*.f64 x y)
25.7b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
30.1b
(*.f64 (*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (sqrt.f64 (-.f64 y z))))
30.0b
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))
Compiler

Compiled 4423 to 1737 computations (60.7% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (sqrt.f64 (-.f64 y z)))
0.1b
(*.f64 x (sqrt.f64 (+.f64 y z)))
0.2b
(*.f64 (*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (sqrt.f64 (-.f64 y z))))
0.2b
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (sqrt.f64 (-.f64 y z))))

series437.0ms (8.4%)

Counts
3 → 72
Calls

3 calls:

365.0ms
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (sqrt.f64 (-.f64 y z))))
46.0ms
(*.f64 (*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (sqrt.f64 (-.f64 y z))))
26.0ms
(sqrt.f64 (sqrt.f64 (-.f64 y z)))

rewrite48.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
112×sqrt-div_binary64
40×sqrt-prod_binary64
34×associate-*r/_binary64
32×frac-times_binary64
22×associate-*r*_binary64
Counts
3 → 118
Calls

3 calls:

16.0ms
(*.f64 (*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (sqrt.f64 (-.f64 y z))))
11.0ms
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (sqrt.f64 (-.f64 y z))))
3.0ms
(sqrt.f64 (sqrt.f64 (-.f64 y z)))

simplify165.0ms (3.2%)

Algorithm
egg-herbie
Rules
778×fma-def_binary64
535×associate-*l*_binary64
420×associate-*r*_binary64
263×*-commutative_binary64
256×fma-neg_binary64
Counts
190 → 239
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03615632
110355308
235345184
349635184
449435184

prune152.0ms (2.9%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New3340334
Fresh022
Picked011
Done033
Total3346340
Error
0.1b
Counts
340 → 6
Alt Table
StatusErrorProgram
50.8b
(exp.f64 (log.f64 (*.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 z z))) y) x)))
33.3b
(*.f64 x (neg.f64 y))
28.5b
(*.f64 x y)
25.7b
(*.f64 x (sqrt.f64 (-.f64 (*.f64 y y) (*.f64 z z))))
30.1b
(*.f64 (*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (sqrt.f64 (-.f64 y z)))) (sqrt.f64 (sqrt.f64 (-.f64 y z))))
30.0b
(*.f64 (*.f64 x (sqrt.f64 (+.f64 y z))) (sqrt.f64 (-.f64 y z)))
Compiler

Compiled 10531 to 3451 computations (67.2% saved)

regimes253.0ms (4.9%)

Accuracy

Total 0.4b remaining (77.1%)

Threshold costs 0.4b (77.1%)

Counts
13 → 2
Compiler

Compiled 1783 to 1028 computations (42.3% saved)

bsearch12.0ms (0.2%)

Steps
ItersRangePoint
1
-2.1945270859879633e-284
2.677262489569739e-267
4.105738868846895e-300
Compiler

Compiled 4 to 3 computations (25% saved)

simplify4.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
01629
12829
23829
34629
45029
55129
65129

end76.0ms (1.5%)

Compiler

Compiled 119 to 75 computations (37% saved)

Profiling

Loading profile data...