Details

Time bar (total: 4.6s)

analyze6.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 7 computations (12.5% saved)

sample1.0s (22.7%)

Results
862.0ms8256×body128valid
Compiler

Compiled 23 to 20 computations (13% saved)

simplify143.0ms (3.2%)

Algorithm
egg-herbie
Rules
1108×sqr-pow_binary64
573×fabs-mul_binary64
560×cube-prod_binary64
536×pow-sqr_binary64
454×associate-*l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1129
2229
3419
4889
52219
66939
710989
811009
912489
1014189
1116009
1218259
1321109
1425299
1530949
1637809
1739989
1842429
1943249
2043579
2143789
2249479

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 22 computations (18.5% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (pow.f64 x 2))
33.6b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))

series5.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

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

rewrite85.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
850×log1p-udef_binary64
450×log1p-expm1-u_binary64
450×expm1-log1p-u_binary64
402×unpow-prod-down_binary64
251×log-prod_binary64
Counts
2 → 73
Calls

2 calls:

84.0ms
(*.f64 2 (pow.f64 x 2))
84.0ms
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0616
112213
2121413
3488013
4625213

simplify12.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

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

prune123.0ms (2.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New68775
Fresh000
Picked011
Done000
Total68876
Error
0.2b
Counts
76 → 8
Alt Table
StatusErrorProgram
33.2b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
16.3b
(*.f64 (pow.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 4)) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
35.0b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
33.2b
(*.f64 (sqrt.f64 x) (pow.f64 (*.f64 x 2) 1/2))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
32.5b
(*.f64 (sqrt.f64 2) x)
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
35.0b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
Compiler

Compiled 905 to 704 computations (22.2% saved)

localize97.0ms (2.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(pow.f64 (cbrt.f64 x) 2)
0.6b
(cbrt.f64 x)
0.7b
(pow.f64 (cbrt.f64 x) 4)
15.0b
(pow.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 4)) 1/2)

series1.2s (25.3%)

Counts
4 → 48
Calls

4 calls:

1.0s
(pow.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 4)) 1/2)
51.0ms
(pow.f64 (cbrt.f64 x) 4)
39.0ms
(pow.f64 (cbrt.f64 x) 2)
28.0ms
(cbrt.f64 x)

rewrite52.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
693×log1p-expm1-u_binary64
693×expm1-log1p-u_binary64
362×log-prod_binary64
142×expm1-udef_binary64
142×log1p-udef_binary64
Counts
4 → 101
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
120726
2185326
3525926

simplify79.0ms (1.7%)

Algorithm
egg-herbie
Rules
863×fma-def_binary64
712×unswap-sqr_binary64
504×associate-*l*_binary64
409×associate-*r*_binary64
337×unsub-neg_binary64
Counts
149 → 114
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
023436
157436
2130436
3370432
41293432
52621432
62813432
73513432
84511432
94830432

prune101.0ms (2.2%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1376143
Fresh156
Picked101
Done011
Total13912151
Error
0.1b
Counts
151 → 12
Alt Table
StatusErrorProgram
33.2b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
16.4b
(*.f64 (pow.f64 (*.f64 2 (pow.f64 (*.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (cbrt.f64 x)))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2))) 4)) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
16.1b
(*.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x (cbrt.f64 x)))) (cbrt.f64 (sqrt.f64 (*.f64 2 (*.f64 x (cbrt.f64 x)))))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
35.0b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
17.4b
(*.f64 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (*.f64 x (cbrt.f64 x)))))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
33.2b
(*.f64 (sqrt.f64 x) (pow.f64 (*.f64 x 2) 1/2))
1.4b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
1.4b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 2)) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
16.9b
(*.f64 (pow.f64 (*.f64 2 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) 4)) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
35.0b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
Compiler

Compiled 2953 to 2031 computations (31.2% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
0.5b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)))
0.5b
(pow.f64 (cbrt.f64 x) 2)
0.6b
(cbrt.f64 x)

series177.0ms (3.9%)

Counts
2 → 24
Calls

2 calls:

118.0ms
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)))
59.0ms
(*.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))

rewrite119.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
775×log1p-expm1-u_binary64
775×expm1-log1p-u_binary64
152×log1p-udef_binary64
96×associate-*r*_binary64
90×add-sqr-sqrt_binary64
Counts
2 → 32
Calls

2 calls:

118.0ms
(*.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
118.0ms
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01127
120317
2209117
3497617

simplify144.0ms (3.2%)

Algorithm
egg-herbie
Rules
874×fabs-mul_binary64
827×cube-prod_binary64
756×sqr-pow_binary64
706×pow-sqr_binary64
458×cube-mult_binary64
Counts
56 → 36
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
014236
132236
264236
3157236
4502236
5654236
6980236
7990236
81100236
91240236
101427236
111609236
121859236
132202236
142775236
153509236
163852236
174234236
184556236
194718236
204792236
215115236

prune153.0ms (3.4%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1522154
Fresh1910
Picked011
Done011
Total15313166
Error
0.1b
Counts
166 → 13
Alt Table
StatusErrorProgram
33.2b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
1.7b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) (pow.f64 (cbrt.f64 x) 2))) 3) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
16.4b
(*.f64 (pow.f64 (*.f64 2 (pow.f64 (*.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (cbrt.f64 x)))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2))) 4)) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
1.8b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x))) (sqrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) 2)))
1.4b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
35.0b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
17.4b
(*.f64 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (*.f64 x (cbrt.f64 x)))))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
33.2b
(*.f64 (sqrt.f64 x) (pow.f64 (*.f64 x 2) 1/2))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
1.4b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 2)) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
16.9b
(*.f64 (pow.f64 (*.f64 2 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) 4)) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
35.0b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
Compiler

Compiled 3526 to 2460 computations (30.2% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 2)) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
0.5b
(*.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 2))
0.5b
(pow.f64 (cbrt.f64 x) 2)
0.6b
(cbrt.f64 x)

series63.0ms (1.4%)

Counts
2 → 24
Calls

2 calls:

46.0ms
(*.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 2))
16.0ms
(*.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 2)) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))

rewrite73.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
620×log1p-expm1-u_binary64
620×expm1-log1p-u_binary64
357×log-prod_binary64
126×expm1-udef_binary64
126×log1p-udef_binary64
Counts
2 → 38
Calls

2 calls:

73.0ms
(*.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 2)) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
73.0ms
(*.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 2))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0927
116117
2167017
3496317
4493217

simplify141.0ms (3.1%)

Algorithm
egg-herbie
Rules
874×fabs-mul_binary64
827×cube-prod_binary64
756×sqr-pow_binary64
706×pow-sqr_binary64
458×cube-mult_binary64
Counts
62 → 43
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
014236
132236
264236
3157236
4502236
5654236
6980236
7990236
81100236
91240236
101427236
111609236
121859236
132202236
142775236
153509236
163852236
174234236
184556236
194718236
204792236
215115236

prune95.0ms (2.1%)

Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New1594163
Fresh1910
Picked101
Done022
Total16115176
Error
0.1b
Counts
176 → 15
Alt Table
StatusErrorProgram
33.2b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
1.7b
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) (pow.f64 (cbrt.f64 x) 2))) 3) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
16.4b
(*.f64 (pow.f64 (*.f64 2 (pow.f64 (*.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (cbrt.f64 x)))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2))) 4)) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
33.2b
(*.f64 (sqrt.f64 x) (pow.f64 (*.f64 x 2) 1/2))
1.8b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 2)) (sqrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) 2)))
1.8b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x))) (sqrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) 2)))
1.4b
(*.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (cbrt.f64 x))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
1.8b
(*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2)) (cbrt.f64 (cbrt.f64 x))) (sqrt.f64 2)) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
15.9b
(*.f64 (*.f64 (sqrt.f64 (*.f64 x (cbrt.f64 x))) (sqrt.f64 2)) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
35.0b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
35.0b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
17.4b
(*.f64 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (*.f64 x (cbrt.f64 x)))))) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
2.2b
(*.f64 (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) 2) (sqrt.f64 2)) (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 2867 to 2020 computations (29.5% saved)

regimes442.0ms (9.7%)

Accuracy

Total 1.3b remaining (94%)

Threshold costs 0b (0%)

Counts
97 → 1
Compiler

Compiled 5846 to 4598 computations (21.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
11322
21322

end233.0ms (5.1%)

Compiler

Compiled 259 to 203 computations (21.6% saved)

Profiling

Loading profile data...