Details

Time bar (total: 4.9s)

analyze411.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.5s (69.9%)

Results
1.6s2554×body1024valid
852.0ms1338×body2048valid
475.0ms1260×body512valid
298.0ms2422×body128valid
156.0ms629×body256valid
50.0ms53×body4096valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify8.0ms (0.2%)

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

Compiled 30 to 21 computations (30% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.8b
(+.f64 x (hypot.f64 1 x))
3.0b
(log.f64 (+.f64 x (hypot.f64 1 x)))

series7.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
log-prod_binary64
add-cube-cbrt_binary64
Counts
2 → 34
Calls

2 calls:

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

simplify77.0ms (1.6%)

Algorithm
egg-herbie
Rules
665×fma-neg_binary64
426×associate-/r*_binary64
386×cancel-sign-sub-inv_binary64
299×sub-neg_binary64
286×fma-def_binary64
Counts
58 → 81
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0125861
1334805
2827799
32288799
44460799
54998799
64887799

prune43.0ms (0.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New78381
Fresh000
Picked011
Done000
Total78482
Error
0.0b
Counts
82 → 4
Alt Table
StatusErrorProgram
46.2b
(log.f64 (+.f64 x (hypot.f64 1 x)))
32.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))))
47.5b
(exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))
45.9b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 1189 to 902 computations (24.1% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 3/40 (pow.f64 x 5) x)
0.0b
(fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))
0.2b
(*.f64 5/112 (pow.f64 x 7))
24.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))))

series15.0ms (0.3%)

Counts
4 → 36
Calls

4 calls:

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))))
3.0ms
(*.f64 5/112 (pow.f64 x 7))
3.0ms
(fma.f64 3/40 (pow.f64 x 5) x)

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 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))
0.0ms
(fma.f64 3/40 (pow.f64 x 5) x)

simplify111.0ms (2.2%)

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

prune110.0ms (2.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1211122
Fresh022
Picked101
Done011
Total1224126
Error
0.0b
Counts
126 → 4
Alt Table
StatusErrorProgram
46.2b
(log.f64 (+.f64 x (hypot.f64 1 x)))
32.7b
(fma.f64 (pow.f64 x 7) -5/112 (fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x)))
47.5b
(exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))
45.9b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 3515 to 2788 computations (20.7% saved)

localize9.0ms (0.2%)

Local error

Found 3 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))
24.9b
(fma.f64 (pow.f64 x 7) -5/112 (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 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
4.0ms
(fma.f64 (pow.f64 x 7) -5/112 (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 7) -5/112 (fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x)))
0.0ms
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))

simplify70.0ms (1.4%)

Algorithm
egg-herbie
Rules
645×fma-def_binary64
377×unsub-neg_binary64
319×exp-prod_binary64
319×fma-neg_binary64
267×cancel-sign-sub-inv_binary64
Counts
44 → 44
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
048857
199753
2230745
31015745
42663745
54901745
64873745

prune39.0ms (0.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New57057
Fresh022
Picked011
Done011
Total57461
Error
0.0b
Counts
61 → 4
Alt Table
StatusErrorProgram
46.2b
(log.f64 (+.f64 x (hypot.f64 1 x)))
32.7b
(fma.f64 (pow.f64 x 7) -5/112 (fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x)))
47.5b
(exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))
45.9b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 1207 to 934 computations (22.6% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
0.2b
(/.f64 1/8 (pow.f64 x 3))
9.7b
(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))

rewrite54.0ms (1.1%)

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:

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

simplify85.0ms (1.7%)

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

prune106.0ms (2.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1850185
Fresh011
Picked011
Done022
Total1854189
Error
0.0b
Counts
189 → 4
Alt Table
StatusErrorProgram
46.2b
(log.f64 (+.f64 x (hypot.f64 1 x)))
32.7b
(fma.f64 (pow.f64 x 7) -5/112 (fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x)))
47.5b
(exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))
45.9b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 3339 to 2652 computations (20.6% saved)

regimes117.0ms (2.4%)

Accuracy

Total 0.0b remaining (71.3%)

Threshold costs 0.0b (71.3%)

Counts
21 → 3
Compiler

Compiled 702 to 544 computations (22.5% saved)

bsearch48.0ms (1%)

Steps
ItersRangePoint
10
2.882604217358748e-12
0.07644472838022903
0.02314138012114505
8
-6893.847911831632
-0.2958869014464166
-1.1375845794427093
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
03158
13558
23458

end114.0ms (2.3%)

Compiler

Compiled 126 to 96 computations (23.8% saved)

Profiling

Loading profile data...