Details

Time bar (total: 6.2s)

analyze417.0ms (6.7%)

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)

sample3.9s (63.5%)

Results
2.5s2566×body8192exit
987.0ms7664×body128valid
121.0ms196×body1024valid
110.0ms262×body512valid
32.0ms133×body256valid
15.0ms78×body128invalid
2.0msbody2048valid
Compiler

Compiled 35 to 26 computations (25.7% saved)

simplify101.0ms (1.6%)

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

Compiled 58 to 38 computations (34.5% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
0.2b
(log1p.f64 (exp.f64 x))

series228.0ms (3.7%)

Counts
2 → 36
Calls

2 calls:

158.0ms
(log1p.f64 (exp.f64 x))
70.0ms
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))

rewrite4.0ms (0.1%)

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

2 calls:

2.0ms
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
0.0ms
(log1p.f64 (exp.f64 x))

simplify75.0ms (1.2%)

Algorithm
egg-herbie
Rules
620×cancel-sign-sub-inv_binary64
339×unswap-sqr_binary64
285×*-commutative_binary64
285×unsub-neg_binary64
252×distribute-rgt-in_binary64
Counts
68 → 56
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
073789
1167742
2426710
31507707
43171707
54588701
64872701

prune31.0ms (0.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New54256
Fresh101
Picked011
Done000
Total55358
Error
0.2b
Counts
58 → 3
Alt Table
StatusErrorProgram
13.6b
(expm1.f64 (log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))))
10.8b
(fma.f64 x (-.f64 1/2 y) (log.f64 2))
0.3b
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
Compiler

Compiled 795 to 294 computations (63% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series10.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

10.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))

simplify73.0ms (1.2%)

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

prune19.0ms (0.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New20222
Fresh011
Picked101
Done011
Total21425
Error
0.2b
Counts
25 → 4
Alt Table
StatusErrorProgram
13.6b
(expm1.f64 (log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))))
0.3b
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
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))))
28.3b
(log.f64 (*.f64 2 (exp.f64 (*.f64 x (-.f64 1/2 y)))))
Compiler

Compiled 315 to 238 computations (24.4% 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)))

series126.0ms (2%)

Counts
3 → 72
Calls

3 calls:

81.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))))
35.0ms
(cbrt.f64 (fma.f64 x (-.f64 1/2 y) (log.f64 2)))
10.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.3%)

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)))

simplify147.0ms (2.4%)

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

prune516.0ms (8.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3921393
Fresh022
Picked101
Done011
Total3934397
Error
0.2b
Counts
397 → 4
Alt Table
StatusErrorProgram
13.6b
(expm1.f64 (log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))))
0.3b
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
28.3b
(log.f64 (*.f64 2 (exp.f64 (*.f64 x (-.f64 1/2 y)))))
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)))))
Compiler

Compiled 24231 to 18870 computations (22.1% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
0.0b
(log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y)))
0.2b
(log1p.f64 (exp.f64 x))
1.1b
(expm1.f64 (log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))))

series111.0ms (1.8%)

Counts
2 → 48
Calls

2 calls:

70.0ms
(expm1.f64 (log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))))
40.0ms
(log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y)))

rewrite3.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

1.0ms
(log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y)))
1.0ms
(expm1.f64 (log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))))

simplify104.0ms (1.7%)

Algorithm
egg-herbie
Rules
668×fma-def_binary64
354×distribute-neg-in_binary64
303×sub-neg_binary64
271×associate-+r+_binary64
222×fma-neg_binary64
Counts
70 → 89
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02222386
16542314
226492270
349342268
450532268

prune88.0ms (1.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1450145
Fresh022
Picked011
Done011
Total1454149
Error
0.2b
Counts
149 → 4
Alt Table
StatusErrorProgram
13.6b
(expm1.f64 (log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))))
0.3b
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
28.3b
(log.f64 (*.f64 2 (exp.f64 (*.f64 x (-.f64 1/2 y)))))
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)))))
Compiler

Compiled 3934 to 2063 computations (47.6% saved)

regimes85.0ms (1.4%)

Accuracy

Total 0.2b remaining (37.1%)

Threshold costs 0.2b (37.1%)

Counts
29 → 1
Compiler

Compiled 1129 to 885 computations (21.6% 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
0914
11814
22714
33314
43714
53814
63714

end76.0ms (1.2%)

Compiler

Compiled 104 to 79 computations (24% saved)

Profiling

Loading profile data...