Details

Time bar (total: 7.9s)

analyze385.0ms (4.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
43.7%56.2%0.1%6
53.1%42.1%4.8%7
59.3%35.9%4.8%8
62.4%30.4%7.1%9
64.8%28.1%7.1%10
66%25.8%8.3%11
66.9%24.8%8.3%12
67.4%23.7%8.9%13
67.9%23.3%8.9%14
Compiler

Compiled 12 to 9 computations (25% saved)

sample4.8s (60.7%)

Results
2.6s2566×body8192exit
1.8s7664×body128valid
118.0ms196×body1024valid
106.0ms262×body512valid
32.0ms133×body256valid
10.0ms78×body128invalid
2.0msbody2048valid
Compiler

Compiled 35 to 26 computations (25.7% saved)

simplify99.0ms (1.3%)

Algorithm
egg-herbie
Rules
837×fma-def_binary64
741×fabs-mul_binary64
531×fabs-div_binary64
469×swap-sqr_binary64
420×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11911
22811
34511
45911
58911
612011
714811
818811
920111
1023111
1125711
1233611
1354411
1496711
15293011
16346311
17360011
18389611
19482011
20496911

prune3.0ms (0%)

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 (log1p.f64 (exp.f64 x)) (*.f64 x y))
0.3b
(-.f64 (log.f64 (+.f64 1 (exp.f64 x))) (*.f64 x y))
Compiler

Compiled 58 to 38 computations (34.5% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (exp.f64 x))
0.0b
(-.f64 (log.f64 (+.f64 1 (exp.f64 x))) (*.f64 x y))
0.2b
(log.f64 (+.f64 1 (exp.f64 x)))

series265.0ms (3.4%)

Counts
3 → 32
Calls

3 calls:

180.0ms
(log.f64 (+.f64 1 (exp.f64 x)))
84.0ms
(-.f64 (log.f64 (+.f64 1 (exp.f64 x))) (*.f64 x y))
2.0ms
(+.f64 1 (exp.f64 x))

rewrite12.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64
add-sqr-sqrt_binary64
log-prod_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
Counts
3 → 63
Calls

3 calls:

5.0ms
(-.f64 (log.f64 (+.f64 1 (exp.f64 x))) (*.f64 x y))
2.0ms
(log.f64 (+.f64 1 (exp.f64 x)))
2.0ms
(+.f64 1 (exp.f64 x))

simplify118.0ms (1.5%)

Algorithm
egg-herbie
Rules
343×fma-def_binary64
310×distribute-rgt-in_binary64
305×cancel-sign-sub-inv_binary64
244×associate-+l+_binary64
238×distribute-lft-in_binary64
Counts
95 → 109
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01151097
12721018
26521004
32057999
44440999
54970993
65000993
74880993

prune123.0ms (1.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1072109
Fresh101
Picked101
Done000
Total1092111
Error
0.2b
Counts
111 → 2
Alt Table
StatusErrorProgram
10.8b
(fma.f64 x (-.f64 1/2 y) (log.f64 2))
0.8b
(+.f64 (log.f64 (sqrt.f64 (+.f64 1 (exp.f64 x)))) (-.f64 (*.f64 1/2 (log1p.f64 (exp.f64 x))) (*.f64 x y)))
Compiler

Compiled 1692 to 872 computations (48.5% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (exp.f64 x))
0.0b
(+.f64 (log.f64 (sqrt.f64 (+.f64 1 (exp.f64 x)))) (-.f64 (*.f64 1/2 (log1p.f64 (exp.f64 x))) (*.f64 x y)))
0.2b
(log1p.f64 (exp.f64 x))
1.0b
(log.f64 (sqrt.f64 (+.f64 1 (exp.f64 x))))

series602.0ms (7.6%)

Counts
3 → 40
Calls

3 calls:

236.0ms
(log.f64 (sqrt.f64 (+.f64 1 (exp.f64 x))))
184.0ms
(+.f64 (log.f64 (sqrt.f64 (+.f64 1 (exp.f64 x)))) (-.f64 (*.f64 1/2 (log1p.f64 (exp.f64 x))) (*.f64 x y)))
182.0ms
(log1p.f64 (exp.f64 x))

rewrite17.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity_binary64
14×log-prod_binary64
sqrt-prod_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
3 → 68
Calls

3 calls:

10.0ms
(+.f64 (log.f64 (sqrt.f64 (+.f64 1 (exp.f64 x)))) (-.f64 (*.f64 1/2 (log1p.f64 (exp.f64 x))) (*.f64 x y)))
3.0ms
(log.f64 (sqrt.f64 (+.f64 1 (exp.f64 x))))
0.0ms
(log1p.f64 (exp.f64 x))

simplify92.0ms (1.2%)

Algorithm
egg-herbie
Rules
829×fma-neg_binary64
583×fma-def_binary64
575×associate-+r+_binary64
363×associate--l+_binary64
208×distribute-rgt-in_binary64
Counts
108 → 117
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01772303
14422044
212701958
349281952
456241952

prune94.0ms (1.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1430143
Fresh011
Picked011
Done000
Total1432145
Error
0.2b
Counts
145 → 2
Alt Table
StatusErrorProgram
10.8b
(fma.f64 x (-.f64 1/2 y) (log.f64 2))
0.8b
(+.f64 (log.f64 (sqrt.f64 (+.f64 1 (exp.f64 x)))) (-.f64 (*.f64 1/2 (log1p.f64 (exp.f64 x))) (*.f64 x y)))
Compiler

Compiled 3486 to 2085 computations (40.2% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x (-.f64 1/2 y) (log.f64 2))

series13.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

13.0ms
(fma.f64 x (-.f64 1/2 y) (log.f64 2))

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
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 x (-.f64 1/2 y) (log.f64 2))

simplify64.0ms (0.8%)

Algorithm
egg-herbie
Rules
855×fma-neg_binary64
478×neg-sub0_binary64
433×neg-mul-1_binary64
375×*-commutative_binary64
362×distribute-rgt-in_binary64
Counts
34 → 22
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
028459
152346
2104346
3328346
41670346
52981346
64467346
74969346

prune18.0ms (0.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New21122
Fresh000
Picked011
Done011
Total21324
Error
0.2b
Counts
24 → 3
Alt Table
StatusErrorProgram
12.3b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))) (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2)))) (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))))
10.8b
(fma.f64 x (-.f64 1/2 y) (log.f64 2))
0.8b
(+.f64 (log.f64 (sqrt.f64 (+.f64 1 (exp.f64 x)))) (-.f64 (*.f64 1/2 (log1p.f64 (exp.f64 x))) (*.f64 x y)))
Compiler

Compiled 289 to 218 computations (24.6% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x (-.f64 1/2 y) (log.f64 2))
0.2b
(*.f64 (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))) (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))))
0.6b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))) (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2)))) (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))))
1.1b
(cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2)))

series192.0ms (2.4%)

Counts
3 → 72
Calls

3 calls:

126.0ms
(*.f64 (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))) (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))))
53.0ms
(cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2)))
13.0ms
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))) (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2)))) (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))))

rewrite17.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
29×pow1_binary64
24×add-sqr-sqrt_binary64
23×cbrt-prod_binary64
16×pow1/3_binary64
14×*-un-lft-identity_binary64
Counts
3 → 93
Calls

3 calls:

6.0ms
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))) (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2)))) (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))))
4.0ms
(*.f64 (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))) (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))))
1.0ms
(cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2)))

simplify145.0ms (1.8%)

Algorithm
egg-herbie
Rules
734×times-frac_binary64
597×fma-def_binary64
506×associate-/l*_binary64
250×*-commutative_binary64
137×+-commutative_binary64
Counts
165 → 207
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
06699535
123308681
253618681

prune550.0ms (7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3921393
Fresh000
Picked101
Done022
Total3933396
Error
0.2b
Counts
396 → 3
Alt Table
StatusErrorProgram
60.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2))) (cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2)))) (fma.f64 1/3 (/.f64 (pow.f64 (exp.f64 1/3) (+.f64 (log.f64 (-.f64 1/2 y)) (log.f64 x))) (/.f64 (-.f64 1/2 y) (/.f64 (log.f64 2) x))) (pow.f64 (exp.f64 1/3) (+.f64 (log.f64 (-.f64 1/2 y)) (log.f64 x)))))
10.8b
(fma.f64 x (-.f64 1/2 y) (log.f64 2))
0.8b
(+.f64 (log.f64 (sqrt.f64 (+.f64 1 (exp.f64 x)))) (-.f64 (*.f64 1/2 (log1p.f64 (exp.f64 x))) (*.f64 x y)))
Compiler

Compiled 24154 to 18810 computations (22.1% saved)

regimes153.0ms (1.9%)

Accuracy

Total 0.2b remaining (45.9%)

Threshold costs 0.2b (45.9%)

Counts
53 → 1
Compiler

Compiled 2294 to 1765 computations (23.1% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01024
11824
22824
33424
43824
53924
63924

end96.0ms (1.2%)

Compiler

Compiled 112 to 82 computations (26.8% saved)

Profiling

Loading profile data...