Details

Time bar (total: 4.5s)

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)

sample789.0ms (17.6%)

Results
765.0ms8256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

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

Compiled 27 to 19 computations (29.6% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

rewrite38.0ms (0.8%)

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:

37.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

prune33.0ms (0.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New51657
Fresh000
Picked011
Done000
Total51758
Error
0.1b
Counts
58 → 7
Alt Table
StatusErrorProgram
30.1b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
17.4b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (pow.f64 (*.f64 (cbrt.f64 (+.f64 x x)) x) 1/2))
17.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
29.9b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
29.4b
(*.f64 (sqrt.f64 2) x)
32.8b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
Compiler

Compiled 768 to 509 computations (33.7% saved)

localize10.0ms (0.2%)

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

series1.4s (30.2%)

Counts
4 → 48
Calls

4 calls:

1.1s
(pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2)
157.0ms
(cbrt.f64 x)
43.0ms
(pow.f64 (cbrt.f64 x) 2)
16.0ms
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))

rewrite64.0ms (1.4%)

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

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01136
121925
2217825
3579225
000
100

simplify138.0ms (3.1%)

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

Useful iterations: 0 (0.0ms)

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

prune56.0ms (1.2%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1202122
Fresh145
Picked011
Done011
Total1218129
Error
0.1b
Counts
129 → 8
Alt Table
StatusErrorProgram
30.1b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
17.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
29.9b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
29.4b
(*.f64 (sqrt.f64 2) x)
17.7b
(*.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))
17.5b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) (+.f64 x x)) 1/2))
32.8b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
Compiler

Compiled 2076 to 1229 computations (40.8% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(cbrt.f64 x)
0.6b
(cbrt.f64 (cbrt.f64 x))
0.7b
(pow.f64 (cbrt.f64 (cbrt.f64 x)) 3)
16.5b
(pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) (+.f64 x x)) 1/2)

series1.5s (32.4%)

Counts
3 → 36
Calls

3 calls:

918.0ms
(pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) (+.f64 x x)) 1/2)
283.0ms
(pow.f64 (cbrt.f64 (cbrt.f64 x)) 3)
253.0ms
(cbrt.f64 (cbrt.f64 x))

rewrite54.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
772×log1p-expm1-u_binary64
772×expm1-log1p-u_binary64
664×prod-diff_binary64
90×add-sqr-sqrt_binary64
85×add-cbrt-cube_binary64
Counts
3 → 67
Calls

3 calls:

53.0ms
(cbrt.f64 (cbrt.f64 x))
53.0ms
(pow.f64 (cbrt.f64 (cbrt.f64 x)) 3)
53.0ms
(pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) (+.f64 x x)) 1/2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
120116
2203416
3576516
000
100

simplify110.0ms (2.4%)

Algorithm
egg-herbie
Rules
1015×fma-def_binary64
790×sqr-pow_binary64
323×cube-prod_binary64
322×*-commutative_binary64
312×unswap-sqr_binary64
Counts
103 → 76
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023300
155300
2104300
3224300
4598300
5908300
6987300
71200300
81489300
91842300
102269300
112720300
123222300
134053300
144559300
154839300

prune70.0ms (1.6%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1340134
Fresh055
Picked011
Done022
Total1348142
Error
0.1b
Counts
142 → 8
Alt Table
StatusErrorProgram
30.1b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
17.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
29.9b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
29.4b
(*.f64 (sqrt.f64 2) x)
17.7b
(*.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))
17.5b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) (+.f64 x x)) 1/2))
32.8b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
Compiler

Compiled 2764 to 1799 computations (34.9% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(cbrt.f64 x)
0.6b
(cbrt.f64 (cbrt.f64 x))
0.7b
(pow.f64 (cbrt.f64 (cbrt.f64 x)) 3)
16.5b
(pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2)

prune75.0ms (1.7%)

Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New1340134
Fresh044
Picked011
Done033
Total1348142
Error
0.1b
Counts
142 → 8
Alt Table
StatusErrorProgram
30.1b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
17.3b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (cbrt.f64 x) (+.f64 x x)) 1/2))
29.9b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))
29.4b
(*.f64 (sqrt.f64 2) x)
17.7b
(*.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))
17.5b
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 x) 2)) (pow.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 x)) 3) (+.f64 x x)) 1/2))
32.8b
(sqrt.f64 (*.f64 (*.f64 2 x) x))
Compiler

Compiled 2791 to 1732 computations (37.9% saved)

regimes72.0ms (1.6%)

Accuracy

Total 0.3b remaining (69.3%)

Threshold costs 0.3b (69.3%)

Counts
20 → 2
Compiler

Compiled 777 to 548 computations (29.5% saved)

bsearch16.0ms (0.4%)

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
01425
12425
23225
33725
43925
53925

end94.0ms (2.1%)

Compiler

Compiled 119 to 86 computations (27.7% saved)

Profiling

Loading profile data...