Details

Time bar (total: 3.1s)

analyze450.0ms (14.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%62.5%12.5%4
25%56.2%18.8%5
28.1%50%21.9%6
29.7%46.9%23.5%7
30.5%45.3%24.3%8
30.8%44.9%24.3%9
31.2%44.5%24.3%10
31.3%44.4%24.3%11
31.4%44.3%24.3%12
31.4%44.2%24.3%13
31.5%44.2%24.3%14
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample2.1s (66%)

Results
1.1s2794×body1024valid
410.0ms3132×body128valid
311.0ms1359×body512valid
114.0ms675×body256valid
107.0ms296×body2048valid
1.0msbody2048invalid
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify8.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
expm1-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1128
2138
3118

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.3b
(/.f64 (exp.f64 x) (expm1.f64 x))
41.8b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
Compiler

Compiled 41 to 25 computations (39% saved)

localize3.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 x)
0.3b
(/.f64 (exp.f64 x) (expm1.f64 x))

series9.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

8.0ms
(/.f64 (exp.f64 x) (expm1.f64 x))
2.0ms
(expm1.f64 x)

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 40
Calls

2 calls:

3.0ms
(/.f64 (exp.f64 x) (expm1.f64 x))
0.0ms
(expm1.f64 x)

simplify73.0ms (2.3%)

Algorithm
egg-herbie
Rules
942×fma-neg_binary64
666×times-frac_binary64
570×fma-def_binary64
504×cancel-sign-sub-inv_binary64
262×associate-*l*_binary64
Counts
64 → 59
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
082688
1165643
2385641
3904635
42629635
54940635
65241635

prune39.0ms (1.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New57259
Fresh011
Picked101
Done000
Total58361
Error
0.2b
Counts
61 → 3
Alt Table
StatusErrorProgram
21.3b
(+.f64 1/2 (/.f64 1 x))
41.8b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
0.3b
(*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))
Compiler

Compiled 675 to 258 computations (61.8% saved)

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 x)
0.3b
(*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))
0.3b
(/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x))

series17.0ms (0.5%)

Counts
2 → 24
Calls

2 calls:

10.0ms
(/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x))
8.0ms
(*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))

rewrite20.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt_binary64
40×times-frac_binary64
32×*-un-lft-identity_binary64
32×add-cube-cbrt_binary64
29×sqrt-prod_binary64
Counts
2 → 91
Calls

2 calls:

11.0ms
(*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))
3.0ms
(/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x))

simplify119.0ms (3.8%)

Algorithm
egg-herbie
Rules
517×fma-neg_binary64
466×fma-def_binary64
371×associate-/l*_binary64
300×times-frac_binary64
299×associate-*l*_binary64
Counts
115 → 124
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01281914
12751831
28931787
326441785
443141785
549391785
649511785

prune63.0ms (2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1430143
Fresh022
Picked011
Done000
Total1433146
Error
0.2b
Counts
146 → 3
Alt Table
StatusErrorProgram
21.3b
(+.f64 1/2 (/.f64 1 x))
41.8b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
0.3b
(*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))
Compiler

Compiled 2442 to 584 computations (76.1% saved)

localize3.0ms (0.1%)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0.2b
Counts
3 → 3
Alt Table
StatusErrorProgram
21.3b
(+.f64 1/2 (/.f64 1 x))
41.8b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
0.3b
(*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))
Compiler

Compiled 33 to 21 computations (36.4% saved)

localize3.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
4.4b
(-.f64 (exp.f64 x) 1)

series14.0ms (0.4%)

Counts
2 → 8
Calls

2 calls:

12.0ms
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
2.0ms
(-.f64 (exp.f64 x) 1)

rewrite13.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt_binary64
37×*-un-lft-identity_binary64
22×add-cube-cbrt_binary64
21×times-frac_binary64
10×difference-of-squares_binary64
Counts
2 → 80
Calls

2 calls:

5.0ms
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
4.0ms
(-.f64 (exp.f64 x) 1)

simplify82.0ms (2.6%)

Algorithm
egg-herbie
Rules
727×fma-neg_binary64
421×distribute-rgt-in_binary64
376×distribute-lft-in_binary64
252×times-frac_binary64
172×associate-/l*_binary64
Counts
88 → 128
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01121293
12251072
25861064
321031050
446471048
551441048

prune53.0ms (1.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1280128
Fresh000
Picked011
Done022
Total1283131
Error
0.2b
Counts
131 → 3
Alt Table
StatusErrorProgram
21.3b
(+.f64 1/2 (/.f64 1 x))
41.8b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
0.3b
(*.f64 (sqrt.f64 (exp.f64 x)) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))
Compiler

Compiled 1885 to 939 computations (50.2% saved)

regimes31.0ms (1%)

Accuracy

Total 0.1b remaining (20.3%)

Threshold costs 0.1b (20.3%)

Counts
14 → 1
Compiler

Compiled 410 to 286 computations (30.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
1817
2817

end46.0ms (1.5%)

Compiler

Compiled 47 to 28 computations (40.4% saved)

Profiling

Loading profile data...