Details

Time bar (total: 6.6s)

analyze3.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 12 to 9 computations (25% saved)

sample4.8s (73.2%)

Results
3.0s2229×body8192exit
1.3s7700×body128valid
148.0ms189×body1024valid
111.0ms216×body512valid
48.0ms150×body256valid
3.0msbody2048valid
Compiler

Compiled 35 to 26 computations (25.7% saved)

simplify136.0ms (2.1%)

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

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.2b
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
Compiler

Compiled 36 to 22 computations (38.9% saved)

localize12.0ms (0.2%)

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

series335.0ms (5.1%)

Counts
2 → 36
Calls

2 calls:

250.0ms
(log1p.f64 (exp.f64 x))
85.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:

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

simplify93.0ms (1.4%)

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

prune36.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New54256
Fresh000
Picked011
Done000
Total54357
Error
0b
Counts
57 → 3
Alt Table
StatusErrorProgram
12.9b
(expm1.f64 (log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))))
22.5b
(fma.f64 x (+.f64 (-.f64 1/2 y) (*.f64 x 1/8)) (-.f64 (log.f64 2) (*.f64 1/192 (pow.f64 x 4))))
0.2b
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
Compiler

Compiled 815 to 310 computations (62% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series139.0ms (2.1%)

Counts
2 → 48
Calls

2 calls:

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

rewrite2.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:

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

simplify91.0ms (1.4%)

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

prune169.0ms (2.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1450145
Fresh011
Picked011
Done011
Total1453148
Error
0b
Counts
148 → 3
Alt Table
StatusErrorProgram
12.9b
(expm1.f64 (log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))))
22.5b
(fma.f64 x (+.f64 (-.f64 1/2 y) (*.f64 x 1/8)) (-.f64 (log.f64 2) (*.f64 1/192 (pow.f64 x 4))))
0.2b
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
Compiler

Compiled 3910 to 2045 computations (47.7% saved)

localize25.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (log.f64 2) (*.f64 1/192 (pow.f64 x 4)))
0.1b
(*.f64 1/192 (pow.f64 x 4))
0.3b
(fma.f64 x (+.f64 (-.f64 1/2 y) (*.f64 x 1/8)) (-.f64 (log.f64 2) (*.f64 1/192 (pow.f64 x 4))))

series57.0ms (0.9%)

Counts
3 → 27
Calls

3 calls:

35.0ms
(fma.f64 x (+.f64 (-.f64 1/2 y) (*.f64 x 1/8)) (-.f64 (log.f64 2) (*.f64 1/192 (pow.f64 x 4))))
16.0ms
(-.f64 (log.f64 2) (*.f64 1/192 (pow.f64 x 4)))
6.0ms
(*.f64 1/192 (pow.f64 x 4))

rewrite20.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
associate-*r*_binary64
Counts
3 → 62
Calls

3 calls:

8.0ms
(*.f64 1/192 (pow.f64 x 4))
7.0ms
(-.f64 (log.f64 2) (*.f64 1/192 (pow.f64 x 4)))
1.0ms
(fma.f64 x (+.f64 (-.f64 1/2 y) (*.f64 x 1/8)) (-.f64 (log.f64 2) (*.f64 1/192 (pow.f64 x 4))))

simplify159.0ms (2.4%)

Algorithm
egg-herbie
Rules
613×fma-neg_binary64
495×cancel-sign-sub-inv_binary64
331×associate-*l*_binary64
309×associate-*r*_binary64
300×fma-def_binary64
Counts
89 → 108
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01301603
12721369
26471231
325821229
444031229
548631229

prune176.0ms (2.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1080108
Fresh000
Picked011
Done022
Total1083111
Error
0b
Counts
111 → 3
Alt Table
StatusErrorProgram
12.9b
(expm1.f64 (log1p.f64 (-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))))
22.5b
(fma.f64 x (+.f64 (-.f64 1/2 y) (*.f64 x 1/8)) (-.f64 (log.f64 2) (*.f64 1/192 (pow.f64 x 4))))
0.2b
(-.f64 (log1p.f64 (exp.f64 x)) (*.f64 x y))
Compiler

Compiled 2418 to 1898 computations (21.5% saved)

regimes174.0ms (2.7%)

Accuracy

Total 0.2b remaining (48.9%)

Threshold costs 0.2b (48.9%)

Counts
27 → 1
Compiler

Compiled 950 to 730 computations (23.2% saved)

simplify5.0ms (0.1%)

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
0711
11311
22311
32911
43311
53411
63411

end105.0ms (1.6%)

Compiler

Compiled 57 to 41 computations (28.1% saved)

Profiling

Loading profile data...