Details

Time bar (total: 2.9s)

analyze8.0ms (0.3%)

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)

sample1.3s (45.2%)

Results
1.3s8256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify13.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
069
199
2119
3119

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 21 to 15 computations (28.6% saved)

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (*.f64 x x))
31.6b
(sqrt.f64 (*.f64 2 (*.f64 x x)))

series13.0ms (0.5%)

Counts
2 → 24
Calls

2 calls:

7.0ms
(*.f64 2 (*.f64 x x))
6.0ms
(sqrt.f64 (*.f64 2 (*.f64 x x)))

rewrite120.0ms (4.2%)

Algorithm
batch-egg-rewrite
Rules
884×log1p-udef_binary64
466×log1p-expm1-u_binary64
466×expm1-log1p-u_binary64
449×unpow-prod-down_binary64
268×log-prod_binary64
Counts
2 → 71
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0616
112113
2125713
3499113
4646113
000
100

simplify141.0ms (4.9%)

Algorithm
egg-herbie
Rules
964×fma-def_binary64
644×fma-neg_binary64
569×neg-mul-1_binary64
441×fabs-mul_binary64
416×distribute-rgt-neg-out_binary64
Counts
95 → 75
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09164
120164
241164
376164
4160164
5416164
6614164
7992164
81262164
91713164
102084164
112649164
122932164
134196164
144917164
154747164

prune85.0ms (3%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New68775
Fresh000
Picked011
Done000
Total68876
Error
0.1b
Counts
76 → 8
Alt Table
StatusErrorProgram
29.4b
(*.f64 (sqrt.f64 2) x)
32.8b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
33.1b
(sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3))
30.1b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
41.8b
(*.f64 (pow.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) 1/2) (sqrt.f64 (sqrt.f64 x)))
30.0b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
29.9b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 912 to 694 computations (23.9% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.2%)

Counts
1 → 0
Calls

1 calls:

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

rewrite104.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
711×log1p-udef_binary64
386×log1p-expm1-u_binary64
386×expm1-log1p-u_binary64
336×pow1_binary64
245×unpow-prod-down_binary64
Counts
1 → 37
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1996
210296
348236
459486
000
100

simplify10.0ms (0.4%)

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune37.0ms (1.3%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New37037
Fresh066
Picked011
Done011
Total37845
Error
0.1b
Counts
45 → 8
Alt Table
StatusErrorProgram
29.4b
(*.f64 (sqrt.f64 2) x)
32.8b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
33.1b
(sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3))
30.1b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
41.8b
(*.f64 (pow.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) 1/2) (sqrt.f64 (sqrt.f64 x)))
30.0b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
29.9b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 459 to 379 computations (17.4% saved)

localize8.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series11.0ms (0.4%)

Counts
1 → 8
Calls

1 calls:

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

rewrite72.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
576×unpow-prod-down_binary64
551×log1p-expm1-u_binary64
551×expm1-log1p-u_binary64
325×log-prod_binary64
160×pow2_binary64
Counts
1 → 17
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
079
11406
214866
356026
000
100

simplify13.0ms (0.5%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Counts
25 → 18
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0548
1648
2648

prune24.0ms (0.8%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New18018
Fresh055
Picked011
Done022
Total18826
Error
0.1b
Counts
26 → 8
Alt Table
StatusErrorProgram
29.4b
(*.f64 (sqrt.f64 2) x)
32.8b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
33.1b
(sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3))
30.1b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
41.8b
(*.f64 (pow.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) 1/2) (sqrt.f64 (sqrt.f64 x)))
30.0b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
29.9b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 259 to 208 computations (19.7% saved)

localize15.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
0.4b
(*.f64 x (sqrt.f64 2))
0.4b
(*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2))

series34.0ms (1.2%)

Counts
3 → 32
Calls

3 calls:

14.0ms
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
13.0ms
(*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2))
7.0ms
(*.f64 x (sqrt.f64 2))

rewrite98.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
709×log1p-expm1-u_binary64
709×expm1-log1p-u_binary64
141×expm1-udef_binary64
141×log1p-udef_binary64
134×log-pow_binary64
Counts
3 → 52
Calls

3 calls:

97.0ms
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
97.0ms
(*.f64 x (sqrt.f64 2))
97.0ms
(*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01016
120416
2189216
3494916
4493116
000
100

simplify183.0ms (6.4%)

Algorithm
egg-herbie
Rules
1710×unswap-sqr_binary64
1171×sqr-pow_binary64
561×pow-sqr_binary64
542×fabs-mul_binary64
529×cube-prod_binary64
Counts
84 → 37
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
07228
114168
222168
336168
470168
5182168
6551168
7737168
8784168
9903168
101053168
111263168
121478168
131706168
142042168
152486168
163036168
173327168
183533168
193599168
203622168
213636168
224177168
237512168

prune43.0ms (1.5%)

Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New35237
Fresh134
Picked011
Done033
Total36945
Error
0.1b
Counts
45 → 9
Alt Table
StatusErrorProgram
29.4b
(*.f64 (sqrt.f64 2) x)
32.8b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
30.2b
(*.f64 (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
30.2b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 3) 1/2) (sqrt.f64 x))
33.1b
(sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3))
30.1b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
30.0b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
29.9b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 583 to 450 computations (22.8% saved)

regimes300.0ms (10.4%)

Accuracy

Total 0.2b remaining (63.4%)

Threshold costs 0.2b (63.4%)

Counts
17 → 2
Compiler

Compiled 800 to 642 computations (19.8% saved)

bsearch24.0ms (0.8%)

Steps
ItersRangePoint
9
-7.0290898584775714e-304
1.0895490308086033e-304
6.07190567874543e-310
Compiler

Compiled 2 to 1 computations (50% saved)

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
distribute-lft-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01525
12025
22825
33325
43825
54025
64025

end192.0ms (6.7%)

Compiler

Compiled 119 to 96 computations (19.3% saved)

Profiling

Loading profile data...