Details

Time bar (total: 5.0s)

analyze368.0ms (7.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%50%0%3
62.5%37.5%0%4
68.7%31.2%0%5
71.8%28.1%0%6
73.4%26.5%0%7
74.2%25.8%0%8
74.6%25.4%0%9
74.8%25.2%0%10
74.9%25.1%0%11
74.9%25%0%12
74.9%25%0%13
75%25%0%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample3.3s (66.2%)

Results
1.6s2550×body1024valid
686.0ms1230×body2048valid
536.0ms1335×body512valid
339.0ms2412×body128valid
145.0ms671×body256valid
42.0ms58×body4096valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
hypot-1-def_binary64
fma-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0812
1139
2149
3139

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
45.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
45.3b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 30 to 21 computations (30% saved)

localize4.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 x)
0.2b
(+.f64 x (hypot.f64 1 x))
2.7b
(log.f64 (+.f64 x (hypot.f64 1 x)))

series9.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

4.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))
3.0ms
(+.f64 x (hypot.f64 1 x))
3.0ms
(hypot.f64 1 x)

rewrite100.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
575×log1p-expm1-u_binary64
575×expm1-log1p-u_binary64
462×prod-diff_binary64
347×fma-udef_binary64
185×fma-def_binary64
Counts
3 → 85
Calls

3 calls:

99.0ms
(hypot.f64 1 x)
99.0ms
(+.f64 x (hypot.f64 1 x))
99.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0620
112020
2143620
3483120
4480420
5497620
000
100

simplify57.0ms (1.1%)

Algorithm
egg-herbie
Rules
848×fma-neg_binary64
722×times-frac_binary64
447×cancel-sign-sub-inv_binary64
426×associate-/r*_binary64
340×sub-neg_binary64
Counts
121 → 149
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
098569
1305549
2805537
32329537
44446537
55590537

prune74.0ms (1.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1463149
Fresh000
Picked101
Done000
Total1473150
Error
0.0b
Counts
150 → 3
Alt Table
StatusErrorProgram
45.5b
(log.f64 (/.f64 -1/2 x))
34.3b
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
45.3b
(log1p.f64 (-.f64 (+.f64 x (hypot.f64 1 x)) 1))
Compiler

Compiled 1967 to 1467 computations (25.4% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 3/40 (pow.f64 x 5) x)
20.9b
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))

series7.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
3.0ms
(fma.f64 3/40 (pow.f64 x 5) x)

rewrite53.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
836×log1p-expm1-u_binary64
836×expm1-log1p-u_binary64
103×prod-diff_binary64
100×add-sqr-sqrt_binary64
95×add-cbrt-cube_binary64
Counts
2 → 47
Calls

2 calls:

52.0ms
(fma.f64 3/40 (pow.f64 x 5) x)
52.0ms
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
121423
2215323
3505023
000
100

simplify129.0ms (2.6%)

Algorithm
egg-herbie
Rules
992×fma-neg_binary64
552×distribute-rgt-neg-in_binary64
422×distribute-lft-neg-in_binary64
416×unswap-sqr_binary64
405×cancel-sign-sub-inv_binary64
Counts
71 → 56
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
014246
142242
288228
3223228
4500228
51264228
61975228
73745228
84307228
94647228
104957228
114997228
124831228

prune77.0ms (1.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New55156
Fresh022
Picked101
Done000
Total56359
Error
0b
Counts
59 → 3
Alt Table
StatusErrorProgram
34.3b
(+.f64 (+.f64 (*.f64 (pow.f64 x 3) -1/6) (*.f64 3/40 (pow.f64 x 5))) x)
45.5b
(log.f64 (/.f64 -1/2 x))
45.3b
(log1p.f64 (-.f64 (+.f64 x (hypot.f64 1 x)) 1))
Compiler

Compiled 929 to 720 computations (22.5% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 (pow.f64 x 3) -1/6) (*.f64 3/40 (pow.f64 x 5))) x)
0.1b
(*.f64 3/40 (pow.f64 x 5))
0.1b
(*.f64 (pow.f64 x 3) -1/6)
20.9b
(+.f64 (*.f64 (pow.f64 x 3) -1/6) (*.f64 3/40 (pow.f64 x 5)))

series16.0ms (0.3%)

Counts
4 → 36
Calls

4 calls:

6.0ms
(+.f64 (*.f64 (pow.f64 x 3) -1/6) (*.f64 3/40 (pow.f64 x 5)))
4.0ms
(+.f64 (+.f64 (*.f64 (pow.f64 x 3) -1/6) (*.f64 3/40 (pow.f64 x 5))) x)
3.0ms
(*.f64 3/40 (pow.f64 x 5))
3.0ms
(*.f64 (pow.f64 x 3) -1/6)

rewrite97.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
620×fma-def_binary64
315×fma-neg_binary64
228×expm1-udef_binary64
228×log1p-udef_binary64
162×egg-rr
Counts
4 → 162
Calls

4 calls:

92.0ms
(+.f64 (+.f64 (*.f64 (pow.f64 x 3) -1/6) (*.f64 3/40 (pow.f64 x 5))) x)
92.0ms
(*.f64 3/40 (pow.f64 x 5))
92.0ms
(*.f64 (pow.f64 x 3) -1/6)
92.0ms
(+.f64 (*.f64 (pow.f64 x 3) -1/6) (*.f64 3/40 (pow.f64 x 5)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01245
127443
2325843
3479743
000
100

simplify134.0ms (2.7%)

Algorithm
egg-herbie
Rules
976×fma-neg_binary64
541×distribute-rgt-neg-in_binary64
418×distribute-lft-neg-in_binary64
416×unswap-sqr_binary64
405×cancel-sign-sub-inv_binary64
Counts
198 → 169
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
016408
143386
294372
3237372
4511372
51281372
61983372
73739372
84307372
94647372
104957372
114997372
124831372

prune106.0ms (2.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1690169
Fresh022
Picked011
Done000
Total1693172
Error
0b
Counts
172 → 3
Alt Table
StatusErrorProgram
34.3b
(+.f64 (+.f64 (*.f64 (pow.f64 x 3) -1/6) (*.f64 3/40 (pow.f64 x 5))) x)
45.5b
(log.f64 (/.f64 -1/2 x))
45.3b
(log1p.f64 (-.f64 (+.f64 x (hypot.f64 1 x)) 1))
Compiler

Compiled 3190 to 2462 computations (22.8% saved)

localize5.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 x)
0.1b
(log1p.f64 (-.f64 (+.f64 x (hypot.f64 1 x)) 1))
0.2b
(+.f64 x (hypot.f64 1 x))
2.7b
(-.f64 (+.f64 x (hypot.f64 1 x)) 1)

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(log1p.f64 (-.f64 (+.f64 x (hypot.f64 1 x)) 1))
3.0ms
(-.f64 (+.f64 x (hypot.f64 1 x)) 1)

rewrite52.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
788×expm1-log1p-u_binary64
787×log1p-expm1-u_binary64
639×prod-diff_binary64
77×add-sqr-sqrt_binary64
72×add-cbrt-cube_binary64
Counts
2 → 64
Calls

2 calls:

50.0ms
(log1p.f64 (-.f64 (+.f64 x (hypot.f64 1 x)) 1))
50.0ms
(-.f64 (+.f64 x (hypot.f64 1 x)) 1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0722
115619
2191519
3597119
000
100

simplify68.0ms (1.3%)

Algorithm
egg-herbie
Rules
514×associate-*l*_binary64
401×cancel-sign-sub-inv_binary64
401×fma-neg_binary64
394×associate-/r*_binary64
358×sub-neg_binary64
Counts
88 → 107
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
081385
1249375
2710367
32036367
44503367
54975367
64877367

prune106.0ms (2.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2140214
Fresh011
Picked011
Done011
Total2143217
Error
0b
Counts
217 → 3
Alt Table
StatusErrorProgram
34.3b
(+.f64 (+.f64 (*.f64 (pow.f64 x 3) -1/6) (*.f64 3/40 (pow.f64 x 5))) x)
45.5b
(log.f64 (/.f64 -1/2 x))
45.3b
(log1p.f64 (-.f64 (+.f64 x (hypot.f64 1 x)) 1))
Compiler

Compiled 3057 to 2362 computations (22.7% saved)

regimes130.0ms (2.6%)

Accuracy

Total 0.3b remaining (74.4%)

Threshold costs 0.3b (74.4%)

Counts
47 → 2
Compiler

Compiled 1350 to 1027 computations (23.9% saved)

bsearch21.0ms (0.4%)

Steps
ItersRangePoint
10
-15265519445790.742
-5.389217412060972e-5
-8058.760018329849
Compiler

Compiled 2 to 1 computations (50% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01525
11825
21725

end58.0ms (1.1%)

Compiler

Compiled 64 to 50 computations (21.9% saved)

Profiling

Loading profile data...