Details

Time bar (total: 1.6s)

analyze6.0ms (0.4%)

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)

sample760.0ms (47.5%)

Results
733.0ms8256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify6.0ms (0.4%)

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

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 21 to 15 computations (28.6% saved)

localize3.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series8.0ms (0.5%)

Counts
2 → 24
Calls

2 calls:

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

rewrite40.0ms (2.5%)

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:

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

simplify47.0ms (3%)

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

prune37.0ms (2.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New70575
Fresh000
Picked011
Done000
Total70676
Error
0.1b
Counts
76 → 6
Alt Table
StatusErrorProgram
35.1b
(*.f64 (sqrt.f64 2) x)
31.7b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
36.0b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
31.8b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
35.9b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
27.9b
(*.f64 (sqrt.f64 2) (neg.f64 x))
Compiler

Compiled 876 to 676 computations (22.8% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.4b
(*.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))

rewrite28.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:

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

simplify11.0ms (0.7%)

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

prune15.0ms (1%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New25025
Fresh044
Picked011
Done011
Total25631
Error
0.1b
Counts
31 → 6
Alt Table
StatusErrorProgram
35.1b
(*.f64 (sqrt.f64 2) x)
31.7b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
36.0b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
31.8b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
35.9b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
27.9b
(*.f64 (sqrt.f64 2) (neg.f64 x))
Compiler

Compiled 286 to 239 computations (16.4% saved)

localize9.0ms (0.5%)

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.4b
(*.f64 x (sqrt.f64 2))
30.5b
(pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2)

series186.0ms (11.7%)

Counts
4 → 48
Calls

4 calls:

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

rewrite45.0ms (2.8%)

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:

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

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

prune35.0ms (2.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New63164
Fresh033
Picked101
Done022
Total64670
Error
0.0b
Counts
70 → 6
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 (*.f64 x (pow.f64 2 1/4))))
35.9b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
35.1b
(*.f64 (sqrt.f64 2) x)
31.7b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
36.0b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
27.9b
(*.f64 (sqrt.f64 2) (neg.f64 x))
Compiler

Compiled 1012 to 857 computations (15.3% 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))))

series36.0ms (2.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite35.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:

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

simplify64.0ms (4%)

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

prune20.0ms (1.2%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New35136
Fresh033
Picked011
Done022
Total35742
Error
0.0b
Counts
42 → 7
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 (*.f64 x (pow.f64 2 1/4))))
35.9b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
35.1b
(*.f64 (sqrt.f64 2) x)
31.7b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
36.0b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
1.3b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 (pow.f64 (cbrt.f64 (*.f64 x (pow.f64 2 1/4))) 3)))
27.9b
(*.f64 (sqrt.f64 2) (neg.f64 x))
Compiler

Compiled 442 to 395 computations (10.6% saved)

regimes75.0ms (4.7%)

Accuracy

Total 0.4b remaining (92.9%)

Threshold costs 0.4b (92.9%)

Counts
19 → 1
Compiler

Compiled 946 to 784 computations (17.1% 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

end82.0ms (5.1%)

Compiler

Compiled 86 to 74 computations (14% saved)

Profiling

Loading profile data...