Details

Time bar (total: 3.9s)

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)

sample685.0ms (17.4%)

Results
658.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify6.0ms (0.2%)

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
29.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
29.3b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
Compiler

Compiled 27 to 19 computations (29.6% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
28.2b
(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))

rewrite41.0ms (1.1%)

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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
069
11216
213176
349616
000
100

simplify12.0ms (0.3%)

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.9%)

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
34.6b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
41.2b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x x))) (pow.f64 (*.f64 (sqrt.f64 (+.f64 x x)) x) 1/2))
41.1b
(*.f64 (sqrt.f64 (sqrt.f64 x)) (pow.f64 (*.f64 (sqrt.f64 x) (+.f64 x x)) 1/2))
12.1b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
12.1b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
34.4b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
29.3b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
29.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
33.7b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 824 to 541 computations (34.3% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.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))
11.4b
(pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2)

series985.0ms (25%)

Counts
4 → 48
Calls

4 calls:

877.0ms
(pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2)
51.0ms
(pow.f64 (cbrt.f64 (+.f64 x x)) 2)
34.0ms
(cbrt.f64 (+.f64 x x))
22.0ms
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))

rewrite85.0ms (2.2%)

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:

80.0ms
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
80.0ms
(pow.f64 (cbrt.f64 (+.f64 x x)) 2)
80.0ms
(cbrt.f64 (+.f64 x x))
80.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

simplify120.0ms (3%)

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

prune101.0ms (2.6%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2312233
Fresh167
Picked011
Done011
Total23210242
Error
0.1b
Counts
242 → 10
Alt Table
StatusErrorProgram
12.1b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
29.5b
(pow.f64 (pow.f64 (*.f64 x (+.f64 x x)) 1/4) 2)
34.6b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
41.2b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x x))) (pow.f64 (*.f64 (sqrt.f64 (+.f64 x x)) x) 1/2))
12.1b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
12.2b
(*.f64 (sqrt.f64 (pow.f64 (*.f64 (cbrt.f64 2) (cbrt.f64 x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
34.4b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
29.3b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
29.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
33.7b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 5009 to 2291 computations (54.3% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.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.6b
(cbrt.f64 x)
11.4b
(pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2)

series890.0ms (22.6%)

Counts
4 → 48
Calls

4 calls:

802.0ms
(pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2)
41.0ms
(pow.f64 (cbrt.f64 x) 2)
31.0ms
(cbrt.f64 x)
16.0ms
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))

rewrite65.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 → 83
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01136
121928
2217828
3579228
000
100

simplify143.0ms (3.6%)

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

Useful iterations: 0 (0.0ms)

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

prune70.0ms (1.8%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1204124
Fresh167
Picked101
Done022
Total12212134
Error
0.1b
Counts
134 → 12
Alt Table
StatusErrorProgram
12.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 x)) (pow.f64 (cbrt.f64 (cbrt.f64 x)) 2)) (+.f64 x x)) 1/2))
41.2b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x x))) (pow.f64 (*.f64 (sqrt.f64 (+.f64 x x)) x) 1/2))
29.3b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
12.2b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (*.f64 (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/4) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/4)))
11.9b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (cbrt.f64 x)))) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
34.6b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
12.1b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
29.5b
(pow.f64 (pow.f64 (*.f64 x (+.f64 x x)) 1/4) 2)
34.4b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
12.6b
(*.f64 (sqrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
29.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
33.7b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 2295 to 1205 computations (47.5% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (cbrt.f64 x)))) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
0.6b
(cbrt.f64 x)
11.4b
(pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2)
11.4b
(sqrt.f64 (*.f64 x (cbrt.f64 x)))

series122.0ms (3.1%)

Counts
2 → 24
Calls

2 calls:

80.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (cbrt.f64 x)))) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
42.0ms
(sqrt.f64 (*.f64 x (cbrt.f64 x)))

rewrite51.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
918×prod-diff_binary64
832×expm1-log1p-u_binary64
107×add-sqr-sqrt_binary64
103×log1p-expm1-u_binary64
99×add-cube-cbrt_binary64
Counts
2 → 45
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01131
123015
2223615
3517515
000
100

simplify120.0ms (3%)

Algorithm
egg-herbie
Rules
578×fma-def_binary64
531×associate-*l*_binary64
478×sqr-pow_binary64
474×unswap-sqr_binary64
289×associate-*r*_binary64
Counts
69 → 52
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021288
147288
292288
3174288
4385288
51056288
61695288
72280288
82955288
93564288
104112288
114714288
124996288
134691288

prune67.0ms (1.7%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1322134
Fresh459
Picked011
Done022
Total13610146
Error
0.1b
Counts
146 → 10
Alt Table
StatusErrorProgram
12.0b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3)))) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
29.3b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
11.9b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (cbrt.f64 x)))) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
41.2b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x x))) (pow.f64 (*.f64 (sqrt.f64 (+.f64 x x)) x) 1/2))
12.1b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
29.5b
(pow.f64 (pow.f64 (*.f64 x (+.f64 x x)) 1/4) 2)
34.4b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
12.2b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 x (cbrt.f64 x)))) (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) (+.f64 x x)) 1/2))
29.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
33.7b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 2407 to 1047 computations (56.5% saved)

regimes148.0ms (3.8%)

Accuracy

Total 0.3b remaining (74%)

Threshold costs 0.3b (74%)

Counts
46 → 2
Compiler

Compiled 2211 to 1514 computations (31.5% saved)

bsearch17.0ms (0.4%)

Steps
ItersRangePoint
9
-3.081099170909963e-308
1.0738827390072638e-303
-1.5649434706456e-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

end118.0ms (3%)

Compiler

Compiled 156 to 104 computations (33.3% saved)

Profiling

Loading profile data...