Details

Time bar (total: 5.3s)

analyze420.0ms (7.9%)

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)

sample4.4s (82.7%)

Results
1.8s2713×body1024valid
1.5s1168×body2048valid
538.0ms1305×body512valid
284.0ms2383×body128valid
147.0ms648×body256valid
31.0ms39×body4096valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify67.0ms (1.3%)

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.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
45.8b
(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.7b
(+.f64 x (hypot.f64 1 x))
4.2b
(log.f64 (+.f64 x (hypot.f64 1 x)))

series13.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

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

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
Counts
3 → 44
Calls

3 calls:

2.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))
2.0ms
(+.f64 x (hypot.f64 1 x))
0.0ms
(hypot.f64 1 x)

simplify78.0ms (1.5%)

Algorithm
egg-herbie
Rules
910×fma-neg_binary64
469×cancel-sign-sub-inv_binary64
426×associate-/r*_binary64
376×fma-def_binary64
361×sub-neg_binary64
Counts
80 → 113
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01481089
13941025
29591013
326751013
449991013
553381013

prune59.0ms (1.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1112113
Fresh000
Picked011
Done000
Total1113114
Error
0b
Counts
114 → 3
Alt Table
StatusErrorProgram
29.1b
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
49.2b
(log.f64 (/.f64 -1/2 x))
45.8b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 1561 to 1174 computations (24.8% 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)
17.7b
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))

series10.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 20
Calls

2 calls:

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

simplify52.0ms (1%)

Algorithm
egg-herbie
Rules
612×associate-*l*_binary64
578×associate-*r*_binary64
480×distribute-lft-in_binary64
480×distribute-rgt-in_binary64
291×fma-def_binary64
Counts
44 → 31
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
036584
165520
2153518
3599518
43541518
54941518

prune18.0ms (0.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New31031
Fresh011
Picked011
Done011
Total31334
Error
0b
Counts
34 → 3
Alt Table
StatusErrorProgram
29.1b
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
49.2b
(log.f64 (/.f64 -1/2 x))
45.8b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 486 to 369 computations (24.1% saved)

localize3.0ms (0.1%)

prune2.0ms (0%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
StatusErrorProgram
29.1b
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
49.2b
(log.f64 (/.f64 -1/2 x))
45.8b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 24 to 18 computations (25% saved)

regimes57.0ms (1.1%)

Accuracy

Total 0.1b remaining (53.1%)

Threshold costs 0.1b (53.1%)

Counts
12 → 3
Compiler

Compiled 309 to 232 computations (24.9% saved)

bsearch47.0ms (0.9%)

Steps
ItersRangePoint
10
3.08042433273409e-8
805269.0388429543
0.008183541869942034
10
-770347622.350186
-0.0001958338778048188
-1.3291109624821573
Compiler

Compiled 2 to 1 computations (50% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02646
13846
24546
34946
45246
55346
65146

end66.0ms (1.2%)

Compiler

Compiled 88 to 66 computations (25% saved)

Profiling

Loading profile data...