Details

Time bar (total: 4.7s)

analyze4.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0.1%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample694.0ms (14.9%)

Results
666.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-*r*_binary64
associate-*l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1109
2119
3119

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
31.4b
Counts
3 → 1
Alt Table
StatusErrorProgram
31.4b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
Compiler

Compiled 27 to 19 computations (29.6% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
30.1b
(sqrt.f64 (*.f64 (*.f64 2 x) x))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(sqrt.f64 (*.f64 (*.f64 2 x) x))

rewrite38.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
488×log1p-expm1-u_binary64
488×expm1-log1p-u_binary64
483×unpow-prod-down_binary64
289×log-prod_binary64
142×pow2_binary64
Counts
1 → 55
Calls

1 calls:

37.0ms
(sqrt.f64 (*.f64 (*.f64 2 x) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
11216
213176
349616
000
100

simplify12.0ms (0.2%)

Algorithm
egg-herbie
Rules
38×fma-def_binary64
sub-neg_binary64
+-commutative_binary64
*-commutative_binary64
distribute-lft-in_binary64
Counts
67 → 57
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0780
11280
22480
32580
42980
54780
65880
76380
87580
97280
105880

prune34.0ms (0.7%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New49857
Fresh000
Picked011
Done000
Total49958
Error
0.1b
Counts
58 → 9
Alt Table
StatusErrorProgram
33.4b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
31.4b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
15.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
15.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
40.1b
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (pow.f64 (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (*.f64 x (sqrt.f64 2))) 1/2))
30.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
32.9b
(*.f64 (sqrt.f64 2) x)
33.6b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
33.3b
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
Compiler

Compiled 822 to 555 computations (32.5% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
0.5b
(pow.f64 (cbrt.f64 x) 2)
0.5b
(cbrt.f64 x)
14.4b
(pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2)

series804.0ms (17.3%)

Counts
4 → 48
Calls

4 calls:

719.0ms
(pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2)
38.0ms
(pow.f64 (cbrt.f64 x) 2)
30.0ms
(cbrt.f64 x)
17.0ms
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))

rewrite81.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
824×log1p-expm1-u_binary64
824×expm1-log1p-u_binary64
499×prod-diff_binary64
99×add-sqr-sqrt_binary64
93×add-cube-cbrt_binary64
Counts
4 → 80
Calls

4 calls:

79.0ms
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
79.0ms
(pow.f64 (cbrt.f64 x) 2)
79.0ms
(cbrt.f64 x)
79.0ms
(pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01136
121925
2217825
3579225
000
100

simplify132.0ms (2.8%)

Algorithm
egg-herbie
Rules
927×fma-def_binary64
735×sqr-pow_binary64
412×unswap-sqr_binary64
388×*-commutative_binary64
288×fma-neg_binary64
Counts
128 → 93
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022400
153400
2100400
3234400
4671400
51071400
61134400
71347400
81640400
91962400
102318400
112672400
123136400
133857400
144627400
154938400
164746400

prune104.0ms (2.2%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1211122
Fresh077
Picked011
Done011
Total12110131
Error
0.1b
Counts
131 → 10
Alt Table
StatusErrorProgram
33.4b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
31.4b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
15.4b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) (+.f64 x x)) 1/2))
30.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
15.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
15.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
40.1b
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (pow.f64 (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (*.f64 x (sqrt.f64 2))) 1/2))
32.9b
(*.f64 (sqrt.f64 2) x)
33.6b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
33.3b
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
Compiler

Compiled 2128 to 1269 computations (40.4% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
0.5b
(pow.f64 (cbrt.f64 (+.f64 x x)) 2)
0.6b
(cbrt.f64 (+.f64 x x))
14.5b
(pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2)

series951.0ms (20.4%)

Counts
4 → 48
Calls

4 calls:

848.0ms
(pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2)
46.0ms
(pow.f64 (cbrt.f64 (+.f64 x x)) 2)
34.0ms
(cbrt.f64 (+.f64 x x))
23.0ms
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))

rewrite63.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
620×log1p-expm1-u_binary64
620×expm1-log1p-u_binary64
308×log-prod_binary64
238×prod-diff_binary64
218×egg-rr
Counts
4 → 218
Calls

4 calls:

60.0ms
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
60.0ms
(pow.f64 (cbrt.f64 (+.f64 x x)) 2)
60.0ms
(cbrt.f64 (+.f64 x x))
60.0ms
(pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01134
121526
2162426
3495826
000
100

simplify117.0ms (2.5%)

Algorithm
egg-herbie
Rules
1003×fma-def_binary64
790×unswap-sqr_binary64
662×sqr-pow_binary64
468×*-commutative_binary64
344×distribute-rgt-in_binary64
Counts
266 → 139
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027516
164516
2129516
3324516
41021516
51715516
61918516
72288516
82999516
93608516
104272516
114564516
124655516

prune98.0ms (2.1%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New2321233
Fresh077
Picked011
Done022
Total23211243
Error
0.1b
Counts
243 → 11
Alt Table
StatusErrorProgram
15.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 x)) x) 1/2))
15.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
33.4b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
31.4b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
15.4b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) (+.f64 x x)) 1/2))
30.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
15.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
40.1b
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (pow.f64 (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (*.f64 x (sqrt.f64 2))) 1/2))
32.9b
(*.f64 (sqrt.f64 2) x)
33.6b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
33.3b
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
Compiler

Compiled 5034 to 2323 computations (53.9% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 x)
0.6b
(cbrt.f64 (+.f64 x x))
1.0b
(cbrt.f64 2)
14.5b
(pow.f64 (*.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 x)) x) 1/2)

series964.0ms (20.7%)

Counts
2 → 12
Calls

2 calls:

964.0ms
(pow.f64 (*.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 x)) x) 1/2)
0.0ms
(cbrt.f64 2)

rewrite42.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
716×log1p-expm1-u_binary64
716×expm1-log1p-u_binary64
142×expm1-udef_binary64
142×log1p-udef_binary64
133×log-pow_binary64
Counts
2 → 40
Calls

2 calls:

41.0ms
(cbrt.f64 2)
41.0ms
(pow.f64 (*.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 x)) x) 1/2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
118414
2190314
3488914
000
100

simplify139.0ms (3%)

Algorithm
egg-herbie
Rules
1024×sqr-pow_binary64
744×fabs-mul_binary64
722×cube-prod_binary64
450×unswap-sqr_binary64
390×pow-sqr_binary64
Counts
52 → 44
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015184
132184
262184
399184
4192184
5464184
6641184
71056184
81095184
91271184
101472184
111756184
122046184
132468184
143023184
153312184
163602184
173770184
183845184
193912184
204688184
214787184

prune94.0ms (2%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1661167
Fresh077
Picked011
Done123
Total16711178
Error
0.1b
Counts
178 → 11
Alt Table
StatusErrorProgram
33.4b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
31.4b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
40.1b
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (pow.f64 (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (*.f64 x (sqrt.f64 2))) 1/2))
15.6b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (*.f64 (cbrt.f64 (*.f64 x (cbrt.f64 (*.f64 2 x)))) (cbrt.f64 (sqrt.f64 (*.f64 x (cbrt.f64 (*.f64 2 x)))))))
15.4b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) (+.f64 x x)) 1/2))
30.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
15.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
15.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 x)) x) 1/2))
32.9b
(*.f64 (sqrt.f64 2) x)
33.6b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
33.3b
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
Compiler

Compiled 3730 to 2350 computations (37% saved)

regimes82.0ms (1.8%)

Accuracy

Total 0.3b remaining (72.3%)

Threshold costs 0.3b (72.3%)

Counts
22 → 2
Compiler

Compiled 906 to 659 computations (27.3% saved)

bsearch15.0ms (0.3%)

Steps
ItersRangePoint
9
-2.951990989665665e-304
3.707064043527614e-307
-1.85078885647426e-310
Compiler

Compiled 2 to 1 computations (50% saved)

simplify3.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
01425
12425
23225
33725
43925
53925

end138.0ms (3%)

Compiler

Compiled 173 to 129 computations (25.4% saved)

Profiling

Loading profile data...