Details

Time bar (total: 2.5s)

analyze44.0ms (1.8%)

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
25%74.9%0.1%4
37.5%62.4%0.1%5
62.4%37.5%0.1%6
87.4%12.5%0.1%7
87.4%12.5%0.1%8
93.7%6.2%0.1%9
93.7%6.2%0.1%10
96.8%3.1%0.1%11
96.8%3.1%0.1%12
98.3%1.6%0.1%13
98.3%1.6%0.1%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample910.0ms (36.5%)

Results
795.0ms8256×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify73.0ms (2.9%)

Algorithm
egg-herbie
Rules
694×fma-def_binary64
621×fma-neg_binary64
457×times-frac_binary64
316×div-sub_binary64
141×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0712
11812
23812
37112
415212
520712
659710
793710
8131410
9133710
10134210
11136910
12137910
13137910
14127410

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
Compiler

Compiled 35 to 18 computations (48.6% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))

series7.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

7.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

rewrite130.0ms (5.2%)

Algorithm
batch-egg-rewrite
Rules
884×expm1-log1p-u_binary64
758×prod-diff_binary64
77×add-sqr-sqrt_binary64
74×log1p-expm1-u_binary64
72×add-log-exp_binary64
Counts
1 → 36
Calls

1 calls:

129.0ms
(/.f64 (+.f64 f n) (-.f64 n f))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
114310
2214610
3525310

simplify52.0ms (2.1%)

Algorithm
egg-herbie
Rules
838×fma-neg_binary64
821×associate-/l*_binary64
515×associate-/r*_binary64
386×associate-/r/_binary64
251×cancel-sign-sub-inv_binary64
Counts
60 → 50
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035426
1110393
2368342
31432324
44696324
55368324

prune48.0ms (1.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New47350
Fresh000
Picked101
Done000
Total48351
Error
0b
Counts
51 → 3
Alt Table
StatusErrorProgram
1.8b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))) 1)
32.7b
(fma.f64 2 (/.f64 f n) 1)
30.8b
(fma.f64 -2 (+.f64 (pow.f64 (/.f64 n f) 3) (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))) -1)
Compiler

Compiled 728 to 308 computations (57.7% saved)

localize51.0ms (2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))) 1)
0.0b
(/.f64 (+.f64 f n) (-.f64 n f))
0.1b
(exp.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
1.6b
(log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))

series52.0ms (2.1%)

Counts
3 → 72
Calls

3 calls:

21.0ms
(-.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))) 1)
19.0ms
(exp.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
12.0ms
(log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))

rewrite83.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
491×log-prod_binary64
392×fma-def_binary64
207×fma-neg_binary64
183×log1p-udef_binary64
182×expm1-udef_binary64
Counts
3 → 157
Calls

3 calls:

80.0ms
(-.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))) 1)
80.0ms
(exp.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f))))
80.0ms
(log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01036
120435
2281735
3548435

simplify78.0ms (3.1%)

Algorithm
egg-herbie
Rules
581×times-frac_binary64
482×fma-def_binary64
438×associate-+l+_binary64
405×associate-/l*_binary64
348×fma-neg_binary64
Counts
229 → 226
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01182265
13511884
211601485
343491473
450031473

prune181.0ms (7.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2760276
Fresh022
Picked011
Done000
Total2763279
Error
0b
Counts
279 → 3
Alt Table
StatusErrorProgram
1.8b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))) 1)
32.7b
(fma.f64 2 (/.f64 f n) 1)
30.8b
(fma.f64 -2 (+.f64 (pow.f64 (/.f64 n f) 3) (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))) -1)
Compiler

Compiled 5495 to 2741 computations (50.1% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))
0.2b
(pow.f64 (/.f64 n f) 3)
8.0b
(+.f64 (pow.f64 (/.f64 n f) 3) (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f)))

series46.0ms (1.8%)

Counts
3 → 72
Calls

3 calls:

21.0ms
(+.f64 (pow.f64 (/.f64 n f) 3) (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f)))
13.0ms
(pow.f64 (/.f64 n f) 3)
11.0ms
(*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))

rewrite78.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
512×fma-def_binary64
267×fma-neg_binary64
190×egg-rr
190×log1p-udef_binary64
189×expm1-udef_binary64
Counts
3 → 190
Calls

3 calls:

74.0ms
(*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))
74.0ms
(pow.f64 (/.f64 n f) 3)
74.0ms
(+.f64 (pow.f64 (/.f64 n f) 3) (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01042
122640
2293340
3492840

simplify119.0ms (4.8%)

Algorithm
egg-herbie
Rules
535×fma-def_binary64
497×unswap-sqr_binary64
490×sqr-pow_binary64
349×times-frac_binary64
268×*-commutative_binary64
Counts
262 → 199
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0161062
1391062
289831
3335807
41708765
53301765
63725765
73959765
84269765
94821765
104991765

prune130.0ms (5.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1990199
Fresh011
Picked011
Done011
Total1993202
Error
0b
Counts
202 → 3
Alt Table
StatusErrorProgram
1.8b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))) 1)
32.7b
(fma.f64 2 (/.f64 f n) 1)
30.8b
(fma.f64 -2 (+.f64 (pow.f64 (/.f64 n f) 3) (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))) -1)
Compiler

Compiled 4830 to 2496 computations (48.3% saved)

localize4.0ms (0.2%)

prune3.0ms (0.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
StatusErrorProgram
1.8b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 f n) (-.f64 n f)))) 1)
32.7b
(fma.f64 2 (/.f64 f n) 1)
30.8b
(fma.f64 -2 (+.f64 (pow.f64 (/.f64 n f) 3) (*.f64 (+.f64 (/.f64 n f) 1) (/.f64 n f))) -1)
Compiler

Compiled 41 to 27 computations (34.1% saved)

regimes339.0ms (13.6%)

Accuracy

Total -0.1b remaining (-332.7%)

Threshold costs -0.1b (-332.7%)

Counts
103 → 1
Compiler

Compiled 4255 to 2917 computations (31.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
/-rgt-identity_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11310
21710
31910
42010
51910

end51.0ms (2%)

Compiler

Compiled 59 to 37 computations (37.3% saved)

Profiling

Loading profile data...