Details

Time bar (total: 4.7s)

analyze390.0ms (8.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.4s (72.5%)

Results
1.6s2574×body1024valid
790.0ms1195×body2048valid
479.0ms1278×body512valid
283.0ms2484×body128valid
161.0ms681×body256valid
31.0ms44×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.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
45.0b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 30 to 21 computations (30% saved)

localize5.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 x)
0.4b
(+.f64 x (hypot.f64 1 x))
3.3b
(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)

rewrite6.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
(+.f64 x (hypot.f64 1 x))
2.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))
0.0ms
(hypot.f64 1 x)

simplify77.0ms (1.6%)

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

prune56.0ms (1.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1112113
Fresh000
Picked011
Done000
Total1113114
Error
0.0b
Counts
114 → 3
Alt Table
StatusErrorProgram
46.4b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
33.7b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
45.0b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 1585 to 1194 computations (24.7% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 3/40 (pow.f64 x 5) x)
0.0b
(*.f64 5/112 (pow.f64 x 7))
0.1b
(fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))
26.6b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))

series20.0ms (0.4%)

Counts
4 → 36
Calls

4 calls:

7.0ms
(fma.f64 3/40 (pow.f64 x 5) x)
5.0ms
(fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))
4.0ms
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
4.0ms
(*.f64 5/112 (pow.f64 x 7))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
17×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
add-exp-log_binary64
prod-diff_binary64
Counts
4 → 79
Calls

4 calls:

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

simplify106.0ms (2.3%)

Algorithm
egg-herbie
Rules
874×fma-neg_binary64
633×times-frac_binary64
600×associate-*r*_binary64
389×fma-def_binary64
339×distribute-lft-in_binary64
Counts
115 → 122
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01422229
12642018
27931831
334261774
444261759
556321759

prune105.0ms (2.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1220122
Fresh011
Picked011
Done011
Total1223125
Error
0.0b
Counts
125 → 3
Alt Table
StatusErrorProgram
46.4b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
33.7b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
45.0b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 3481 to 2762 computations (20.7% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
0.1b
(/.f64 1/8 (pow.f64 x 3))
11.6b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))

series10.0ms (0.2%)

Counts
3 → 24
Calls

3 calls:

4.0ms
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
3.0ms
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
3.0ms
(/.f64 1/8 (pow.f64 x 3))

rewrite63.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
76×times-frac_binary64
63×*-un-lft-identity_binary64
51×add-sqr-sqrt_binary64
51×add-cube-cbrt_binary64
40×fma-def_binary64
Counts
3 → 142
Calls

3 calls:

26.0ms
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
25.0ms
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
4.0ms
(/.f64 1/8 (pow.f64 x 3))

simplify89.0ms (1.9%)

Algorithm
egg-herbie
Rules
409×fma-def_binary64
378×associate-/l*_binary64
347×cancel-sign-sub-inv_binary64
334×associate-*l/_binary64
284×associate-/l/_binary64
Counts
166 → 185
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01952065
14021967
213951913
347651912
450791912

prune94.0ms (2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1850185
Fresh000
Picked011
Done022
Total1853188
Error
0.0b
Counts
188 → 3
Alt Table
StatusErrorProgram
46.4b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
33.7b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
45.0b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 3331 to 2646 computations (20.6% saved)

regimes84.0ms (1.8%)

Accuracy

Total 0.1b remaining (75.6%)

Threshold costs 0.1b (75.6%)

Counts
20 → 3
Compiler

Compiled 675 to 523 computations (22.5% saved)

bsearch46.0ms (1%)

Steps
ItersRangePoint
10
0.01710817362014471
4615241499492.261
0.02259612619328486
10
-118685.5196701979
-3.1843737634226373e-14
-1.1533316581136956
Compiler

Compiled 2 to 1 computations (50% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03158
13558
23458

end85.0ms (1.8%)

Compiler

Compiled 118 to 90 computations (23.7% saved)

Profiling

Loading profile data...