Details

Time bar (total: 2.1s)

analyze10.0ms (0.5%)

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.1s (52%)

Results
905.0ms8256×body128valid
Compiler

Compiled 23 to 20 computations (13% saved)

simplify140.0ms (6.7%)

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

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 22 computations (18.5% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.3%)

Counts
2 → 12
Calls

2 calls:

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

rewrite83.0ms (4%)

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 → 72
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0616
112213
2121413
3488013
4625213
000
100

simplify12.0ms (0.6%)

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

Useful iterations: 0 (0.0ms)

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

prune50.0ms (2.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New68674
Fresh000
Picked011
Done000
Total68775
Error
0.1b
Counts
75 → 7
Alt Table
StatusErrorProgram
30.1b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
32.8b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
46.3b
(pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4)
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) (pow.f64 (*.f64 x 2) 1/2))
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 856 to 669 computations (21.8% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.2%)

Counts
1 → 0
Calls

1 calls:

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

rewrite77.0ms (3.7%)

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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1996
210296
348236
459486
000
100

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune19.0ms (0.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New37037
Fresh055
Picked011
Done011
Total37744
Error
0.1b
Counts
44 → 7
Alt Table
StatusErrorProgram
30.1b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
32.8b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
46.3b
(pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4)
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) (pow.f64 (*.f64 x 2) 1/2))
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 431 to 362 computations (16% saved)

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.3%)

Counts
1 → 8
Calls

1 calls:

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

rewrite42.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
613×log1p-expm1-u_binary64
613×expm1-log1p-u_binary64
348×log-prod_binary64
127×expm1-udef_binary64
127×log1p-udef_binary64
Counts
1 → 19
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11646
216446
348906
000
100

simplify7.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Counts
27 → 20
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0548
1648
2648

prune12.0ms (0.6%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New20020
Fresh044
Picked011
Done022
Total20727
Error
0.1b
Counts
27 → 7
Alt Table
StatusErrorProgram
30.1b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
32.8b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
46.3b
(pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4)
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) (pow.f64 (*.f64 x 2) 1/2))
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 255 to 206 computations (19.2% saved)

localize10.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))

series18.0ms (0.9%)

Counts
3 → 32
Calls

3 calls:

8.0ms
(*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2))
7.0ms
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
3.0ms
(*.f64 x (sqrt.f64 2))

rewrite82.0ms (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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01016
120416
2189216
3494916
4493116
000
100

simplify155.0ms (7.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

prune22.0ms (1.1%)

Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New35237
Fresh033
Picked011
Done033
Total35944
Error
0.1b
Counts
44 → 9
Alt Table
StatusErrorProgram
29.4b
(*.f64 (sqrt.f64 2) 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.1b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
32.8b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
46.3b
(pow.f64 (*.f64 4 (pow.f64 x 4)) 1/4)
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) (pow.f64 (*.f64 x 2) 1/2))
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.2b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 x 2)) 3) 1/2) (sqrt.f64 x))
Compiler

Compiled 582 to 451 computations (22.5% saved)

regimes97.0ms (4.7%)

Accuracy

Total 0.3b remaining (64.4%)

Threshold costs 0.3b (64.4%)

Counts
16 → 2
Compiler

Compiled 690 to 578 computations (16.2% saved)

bsearch18.0ms (0.8%)

Steps
ItersRangePoint
9
-7.0290898584775714e-304
1.0895490308086033e-304
6.07190567874543e-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
01526
12626
23426
33926
44126
54126

end105.0ms (5.1%)

Compiler

Compiled 120 to 99 computations (17.5% saved)

Profiling

Loading profile data...