Details

Time bar (total: 1.7s)

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

sample817.0ms (47.5%)

Results
787.0ms8256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify6.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
069
199
2129
Stop Event
saturated
Counts
1 → 1

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 21 to 15 computations (28.6% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(sqrt.f64 (*.f64 2 (*.f64 x x)))
2.0ms
(*.f64 2 (*.f64 x x))

rewrite35.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
466×log1p-expm1-u_binary64
466×expm1-log1p-u_binary64
441×unpow-prod-down_binary64
268×log-prod_binary64
138×pow2_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0616
112213
2136713
Stop Event
node limit
Counts
2 → 71
Calls

2 calls:

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

simplify46.0ms (2.7%)

Algorithm
egg-herbie
Rules
964×fma-def_binary64
286×distribute-rgt-in_binary64
242×unswap-sqr_binary64
225×fma-neg_binary64
201×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09164
120164
243164
383164
4203164
5607164
6959164
71606164
82009164
92876164
103703164
114514164
Stop Event
node limit
Counts
95 → 75

prune47.0ms (2.7%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New66975
Fresh000
Picked011
Done000
Total661076
Error
0.1b
Counts
76 → 10
Alt Table
StatusErrorProgram
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
30.5b
(*.f64 (sqrt.f64 2) (neg.f64 x))
33.7b
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))) 3))
32.6b
(*.f64 (sqrt.f64 2) x)
33.0b
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
43.8b
(*.f64 (pow.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) 1/2) (sqrt.f64 (sqrt.f64 x)))
31.0b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
33.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
39.6b
(*.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.9b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 982 to 764 computations (22.2% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (sqrt.f64 2) (neg.f64 x))

series3.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

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

rewrite31.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
417×log1p-expm1-u_binary64
417×expm1-log1p-u_binary64
303×unpow-prod-down_binary64
221×log-prod_binary64
124×pow-prod-down_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
068
11256
214796
Stop Event
node limit
Counts
1 → 23
Calls

1 calls:

31.0ms
(*.f64 (sqrt.f64 2) (neg.f64 x))

simplify11.0ms (0.6%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0796
11296
22596
32996
43396
55196
67396
78496
89696
912196
Stop Event
saturated
Counts
35 → 25

prune22.0ms (1.3%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New25025
Fresh088
Picked011
Done011
Total251035
Error
0.1b
Counts
35 → 10
Alt Table
StatusErrorProgram
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
30.5b
(*.f64 (sqrt.f64 2) (neg.f64 x))
33.7b
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2)))) 3))
32.6b
(*.f64 (sqrt.f64 2) x)
33.0b
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)
43.8b
(*.f64 (pow.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) 1/2) (sqrt.f64 (sqrt.f64 x)))
31.0b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
33.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
39.6b
(*.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.9b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 392 to 327 computations (16.6% saved)

localize12.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 x (*.f64 x (sqrt.f64 2)))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
0.5b
(*.f64 x (sqrt.f64 2))
29.6b
(pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2)

series180.0ms (10.5%)

Counts
4 → 48
Calls

4 calls:

169.0ms
(pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2)
5.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
3.0ms
(*.f64 x (*.f64 x (sqrt.f64 2)))
3.0ms
(*.f64 x (sqrt.f64 2))

rewrite42.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
712×log1p-expm1-u_binary64
712×expm1-log1p-u_binary64
141×log1p-udef_binary64
90×add-sqr-sqrt_binary64
86×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01032
120728
2230228
Stop Event
node limit
Counts
4 → 74
Calls

4 calls:

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

simplify34.0ms (2%)

Algorithm
egg-herbie
Rules
485×fma-neg_binary64
353×fma-def_binary64
308×exp-sum_binary64
190×exp-prod_binary64
187×distribute-rgt-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
029468
173444
2160360
3388348
41163348
53774348
Stop Event
node limit
Counts
122 → 64

prune40.0ms (2.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New63164
Fresh347
Picked101
Done022
Total67774
Error
0.0b
Counts
74 → 7
Alt Table
StatusErrorProgram
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
30.5b
(*.f64 (sqrt.f64 2) (neg.f64 x))
32.6b
(*.f64 (sqrt.f64 2) x)
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 (*.f64 x (pow.f64 2 1/4))))
43.8b
(*.f64 (pow.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) 1/2) (sqrt.f64 (sqrt.f64 x)))
33.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
30.9b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 1028 to 867 computations (15.7% saved)

localize7.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

series39.0ms (2.3%)

Counts
2 → 24
Calls

2 calls:

32.0ms
(*.f64 x (pow.f64 2 1/4))
7.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 (*.f64 x (pow.f64 2 1/4))))

rewrite38.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
651×log1p-expm1-u_binary64
651×expm1-log1p-u_binary64
133×expm1-udef_binary64
133×log1p-udef_binary64
91×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01023
120913
2230213
Stop Event
node limit
Counts
2 → 33
Calls

2 calls:

37.0ms
(*.f64 x (pow.f64 2 1/4))
37.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 (*.f64 x (pow.f64 2 1/4))))

simplify62.0ms (3.6%)

Algorithm
egg-herbie
Rules
1241×fabs-mul_binary64
405×sqr-pow_binary64
286×cube-prod_binary64
235×*-commutative_binary64
208×unswap-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010276
119276
237276
381276
4218276
5723276
61105276
71533276
81793276
91966276
102153276
112427276
122798276
133276276
143863276
154627276
Stop Event
node limit
Counts
57 → 36

prune22.0ms (1.3%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New36036
Fresh044
Picked011
Done022
Total36743
Error
0.0b
Counts
43 → 7
Alt Table
StatusErrorProgram
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
30.5b
(*.f64 (sqrt.f64 2) (neg.f64 x))
32.6b
(*.f64 (sqrt.f64 2) x)
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 (*.f64 x (pow.f64 2 1/4))))
43.8b
(*.f64 (pow.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) 1/2) (sqrt.f64 (sqrt.f64 x)))
33.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
30.9b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 436 to 387 computations (11.2% saved)

regimes106.0ms (6.2%)

Accuracy

Total 0.4b remaining (92.5%)

Threshold costs 0.4b (92.5%)

Counts
26 → 1
Compiler

Compiled 1232 to 1028 computations (16.6% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01016
11516
21616
Stop Event
saturated

end99.0ms (5.8%)

Compiler

Compiled 80 to 66 computations (17.5% saved)

Profiling

Loading profile data...