Details

Time bar (total: 1.9s)

analyze99.0ms (5.1%)

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
25%74.9%0.1%4
25%74.9%0.1%5
43.7%50%6.3%6
43.7%43.7%12.6%7
59.3%26.5%14.1%8
59.3%22.6%18%9
67.1%13.7%19.2%10
67.1%11.5%21.4%11
71%6.9%22%12
71%5.8%23.2%13
73%3.5%23.5%14
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample748.0ms (38.4%)

Results
699.0ms8256×body128valid
13.0ms178×body128invalid
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
fma-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
187
287

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
22.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
22.5b
(sqrt.f64 (fma.f64 x x y))
Compiler

Compiled 27 to 15 computations (44.4% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
20.9b
(sqrt.f64 (fma.f64 x x y))

series17.0ms (0.9%)

Counts
1 → 16
Calls

1 calls:

17.0ms
(sqrt.f64 (fma.f64 x x y))

rewrite1.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
sqrt-prod_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
pow1_binary64
Counts
1 → 15
Calls

1 calls:

1.0ms
(sqrt.f64 (fma.f64 x x y))

simplify55.0ms (2.8%)

Algorithm
egg-herbie
Rules
653×times-frac_binary64
423×associate-/l*_binary64
423×cancel-sign-sub-inv_binary64
379×unswap-sqr_binary64
345×fma-neg_binary64
Counts
31 → 45
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
071471
1174463
2445436
31589434
44455434
55259434

prune26.0ms (1.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42345
Fresh000
Picked011
Done000
Total42446
Error
0b
Counts
46 → 4
Alt Table
StatusErrorProgram
23.1b
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x y))) (sqrt.f64 (cbrt.f64 (fma.f64 x x y))))
22.5b
(sqrt.f64 (fma.f64 x x y))
40.3b
(-.f64 (*.f64 (/.f64 y x) (+.f64 (*.f64 (/.f64 y x) (/.f64 1/8 x)) -1/2)) x)
42.2b
x
Compiler

Compiled 649 to 331 computations (49% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (cbrt.f64 (fma.f64 x x y)))
0.3b
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x y))) (sqrt.f64 (cbrt.f64 (fma.f64 x x y))))
21.8b
(cbrt.f64 (fma.f64 x x y))

series96.0ms (4.9%)

Counts
3 → 72
Calls

3 calls:

41.0ms
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x y))) (sqrt.f64 (cbrt.f64 (fma.f64 x x y))))
27.0ms
(cbrt.f64 (fma.f64 x x y))
27.0ms
(sqrt.f64 (cbrt.f64 (fma.f64 x x y)))

rewrite14.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt_binary64
26×cbrt-prod_binary64
22×sqrt-prod_binary64
15×unswap-sqr_binary64
12×fabs-mul_binary64
Counts
3 → 84
Calls

3 calls:

6.0ms
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x y))) (sqrt.f64 (cbrt.f64 (fma.f64 x x y))))
1.0ms
(sqrt.f64 (cbrt.f64 (fma.f64 x x y)))
1.0ms
(cbrt.f64 (fma.f64 x x y))

simplify162.0ms (8.3%)

Algorithm
egg-herbie
Rules
619×times-frac_binary64
382×cancel-sign-sub-inv_binary64
343×associate-*r*_binary64
290×fma-neg_binary64
267×unswap-sqr_binary64
Counts
156 → 200
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02944986
17994590
225354254
346983777
449573777
549343777

prune114.0ms (5.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2390239
Fresh022
Picked011
Done011
Total2394243
Error
0b
Counts
243 → 4
Alt Table
StatusErrorProgram
23.1b
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x y))) (sqrt.f64 (cbrt.f64 (fma.f64 x x y))))
22.5b
(sqrt.f64 (fma.f64 x x y))
40.3b
(-.f64 (*.f64 (/.f64 y x) (+.f64 (*.f64 (/.f64 y x) (/.f64 1/8 x)) -1/2)) x)
42.2b
x
Compiler

Compiled 6468 to 2836 computations (56.2% saved)

localize7.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 (/.f64 y x) (+.f64 (*.f64 (/.f64 y x) (/.f64 1/8 x)) -1/2)) x)
0.1b
(*.f64 (/.f64 y x) (+.f64 (*.f64 (/.f64 y x) (/.f64 1/8 x)) -1/2))
0.2b
(*.f64 (/.f64 y x) (/.f64 1/8 x))

series77.0ms (3.9%)

Counts
3 → 72
Calls

3 calls:

29.0ms
(*.f64 (/.f64 y x) (+.f64 (*.f64 (/.f64 y x) (/.f64 1/8 x)) -1/2))
28.0ms
(*.f64 (/.f64 y x) (/.f64 1/8 x))
19.0ms
(-.f64 (*.f64 (/.f64 y x) (+.f64 (*.f64 (/.f64 y x) (/.f64 1/8 x)) -1/2)) x)

rewrite34.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt_binary64
32×times-frac_binary64
27×*-un-lft-identity_binary64
27×add-cube-cbrt_binary64
26×associate-*l*_binary64
Counts
3 → 114
Calls

3 calls:

10.0ms
(-.f64 (*.f64 (/.f64 y x) (+.f64 (*.f64 (/.f64 y x) (/.f64 1/8 x)) -1/2)) x)
9.0ms
(*.f64 (/.f64 y x) (+.f64 (*.f64 (/.f64 y x) (/.f64 1/8 x)) -1/2))
8.0ms
(*.f64 (/.f64 y x) (/.f64 1/8 x))

simplify108.0ms (5.5%)

Algorithm
egg-herbie
Rules
724×fma-def_binary64
307×fma-neg_binary64
291×times-frac_binary64
285×associate-/r*_binary64
219×associate-*l*_binary64
Counts
186 → 197
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02223277
16773046
229663013
346343013
448913013

prune93.0ms (4.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1970197
Fresh011
Picked011
Done022
Total1974201
Error
0b
Counts
201 → 4
Alt Table
StatusErrorProgram
23.1b
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x y))) (sqrt.f64 (cbrt.f64 (fma.f64 x x y))))
22.5b
(sqrt.f64 (fma.f64 x x y))
40.3b
(-.f64 (*.f64 (/.f64 y x) (+.f64 (*.f64 (/.f64 y x) (/.f64 1/8 x)) -1/2)) x)
42.2b
x
Compiler

Compiled 4641 to 2195 computations (52.7% saved)

localize1.0ms (0%)

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
StatusErrorProgram
23.1b
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x y))) (sqrt.f64 (cbrt.f64 (fma.f64 x x y))))
22.5b
(sqrt.f64 (fma.f64 x x y))
40.3b
(-.f64 (*.f64 (/.f64 y x) (+.f64 (*.f64 (/.f64 y x) (/.f64 1/8 x)) -1/2)) x)
42.2b
x
Compiler

Compiled 42 to 23 computations (45.2% saved)

regimes206.0ms (10.6%)

Accuracy

Total 0.1b remaining (94.4%)

Threshold costs 0.1b (94.4%)

Counts
28 → 3
Compiler

Compiled 1639 to 956 computations (41.7% saved)

bsearch13.0ms (0.7%)

Steps
ItersRangePoint
5
5.200113852364843e+118
1.6897313327594673e+125
1.1157196809697832e+125
2
-1.1671965581043208e+149
-1.1990725939032492e+147
-3.787085724672916e+148
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify3.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
02040
12340
22840
33040
43140
53140

end55.0ms (2.8%)

Compiler

Compiled 102 to 59 computations (42.2% saved)

Profiling

Loading profile data...