Details

Time bar (total: 2.6s)

analyze4.0ms (0.2%)

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)

sample955.0ms (37.4%)

Results
855.0ms8256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify6.0ms (0.2%)

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

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 21 to 15 computations (28.6% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series5.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite85.0ms (3.3%)

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

2 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
0616
112113
2125713
3499113
4646113

simplify107.0ms (4.2%)

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
96 → 75
Iterations

Useful iterations: 0 (0.0ms)

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

prune153.0ms (6%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New68775
Fresh000
Picked011
Done000
Total68876
Error
0.2b
Counts
76 → 8
Alt Table
StatusErrorProgram
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
33.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
35.0b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
32.5b
(*.f64 (sqrt.f64 2) x)
35.0b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
43.2b
(*.f64 (pow.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) 1/2) (sqrt.f64 (sqrt.f64 x)))
33.2b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
Compiler

Compiled 918 to 700 computations (23.7% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 0
Calls

1 calls:

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

rewrite74.0ms (2.9%)

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

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1996
210296
348236
459486

simplify7.0ms (0.3%)

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune22.0ms (0.9%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New37138
Fresh066
Picked011
Done011
Total37946
Error
0.2b
Counts
46 → 9
Alt Table
StatusErrorProgram
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
33.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
35.0b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
32.5b
(*.f64 (sqrt.f64 2) x)
35.0b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
31.0b
(neg.f64 (pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3))
43.2b
(*.f64 (pow.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) 1/2) (sqrt.f64 (sqrt.f64 x)))
33.2b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
Compiler

Compiled 524 to 441 computations (15.8% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (sqrt.f64 2) x)
0.6b
(cbrt.f64 (*.f64 (sqrt.f64 2) x))
0.8b
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)

series540.0ms (21.2%)

Counts
2 → 24
Calls

2 calls:

354.0ms
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)
185.0ms
(cbrt.f64 (*.f64 (sqrt.f64 2) x))

rewrite52.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
542×log1p-expm1-u_binary64
542×expm1-log1p-u_binary64
488×unpow-prod-down_binary64
278×log-prod_binary64
155×pow2_binary64
Counts
2 → 113
Calls

2 calls:

50.0ms
(cbrt.f64 (*.f64 (sqrt.f64 2) x))
50.0ms
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
114714
2144914
3526914

simplify71.0ms (2.8%)

Algorithm
egg-herbie
Rules
733×fma-neg_binary64
425×fma-def_binary64
408×unswap-sqr_binary64
277×associate-+l+_binary64
236×associate-+r+_binary64
Counts
137 → 121
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
029448
174448
2133424
3382220
41233220
53771220
64972220
74921220

prune83.0ms (3.2%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1572159
Fresh066
Picked011
Done022
Total15711168
Error
0.0b
Counts
168 → 11
Alt Table
StatusErrorProgram
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
33.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
31.0b
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sqrt.f64 2))))
35.0b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
32.5b
(*.f64 (sqrt.f64 2) x)
35.0b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
30.5b
(neg.f64 (*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)))
31.0b
(neg.f64 (pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3))
43.2b
(*.f64 (pow.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) 1/2) (sqrt.f64 (sqrt.f64 x)))
33.2b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
Compiler

Compiled 2369 to 1960 computations (17.3% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series33.0ms (1.3%)

Counts
2 → 12
Calls

2 calls:

27.0ms
(*.f64 (pow.f64 2 1/4) x)
5.0ms
(*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x))

rewrite42.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
566×log1p-expm1-u_binary64
566×expm1-log1p-u_binary64
392×unpow-prod-down_binary64
310×log-prod_binary64
168×pow2_binary64
Counts
2 → 36
Calls

2 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
0720
114813
2152313
3539613

simplify7.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Counts
48 → 37
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0572
1672
2672

prune28.0ms (1.1%)

Pruning

11 alts after pruning (7 fresh and 4 done)

PrunedKeptTotal
New37037
Fresh077
Picked011
Done033
Total371148
Error
0.0b
Counts
48 → 11
Alt Table
StatusErrorProgram
33.3b
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)
33.2b
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x)))
31.0b
(neg.f64 (*.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (sqrt.f64 2))))
35.0b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (pow.f64 (*.f64 x (*.f64 x (sqrt.f64 2))) 1/2))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
32.5b
(*.f64 (sqrt.f64 2) x)
35.0b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
30.5b
(neg.f64 (*.f64 (pow.f64 2 1/4) (*.f64 (pow.f64 2 1/4) x)))
31.0b
(neg.f64 (pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3))
43.2b
(*.f64 (pow.f64 (*.f64 (*.f64 2 x) (sqrt.f64 x)) 1/2) (sqrt.f64 (sqrt.f64 x)))
33.2b
(*.f64 (pow.f64 (*.f64 (*.f64 x (sqrt.f64 2)) (sqrt.f64 2)) 1/2) (sqrt.f64 x))
Compiler

Compiled 515 to 447 computations (13.2% saved)

regimes111.0ms (4.3%)

Accuracy

Total 0.4b remaining (89.6%)

Threshold costs 0.4b (89.6%)

Counts
18 → 2
Compiler

Compiled 774 to 632 computations (18.3% saved)

bsearch17.0ms (0.7%)

Steps
ItersRangePoint
9
-5.0244719348910686e-303
1.998438837190896e-307
-1.04069420257774e-310
Compiler

Compiled 2 to 1 computations (50% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01427
12527
23827
34527
44927
55027
65027

end121.0ms (4.7%)

Compiler

Compiled 143 to 117 computations (18.2% saved)

Profiling

Loading profile data...