Details

Time bar (total: 4.8s)

analyze108.0ms (2.3%)

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
59.3%40.6%0.1%6
76.5%23.4%0.1%7
82%18%0.1%8
87.8%12.1%0.1%9
90.7%9.2%0.1%10
93.8%6.1%0.1%11
95.3%4.6%0.1%12
96.8%3.1%0.1%13
97.6%2.3%0.1%14
Compiler

Compiled 10 to 6 computations (40% saved)

sample1.4s (29%)

Results
1.2s8256×body128valid
Compiler

Compiled 29 to 17 computations (41.4% saved)

simplify84.0ms (1.8%)

Algorithm
egg-herbie
Rules
801×fma-def_binary64
511×fma-neg_binary64
365×times-frac_binary64
331×div-sub_binary64
156×associate-/l*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11210
21910
33010
45210
58110
612410
719110
830010
964110
1082210
11129910
12132810
13134310
14135710
15137710
16137710
17127610

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))
Compiler

Compiled 27 to 15 computations (44.4% saved)

localize7.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))

series16.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

16.0ms
(/.f64 (-.f64 x y) (+.f64 x y))

rewrite218.0ms (4.6%)

Algorithm
batch-egg-rewrite
Rules
898×expm1-log1p-u_binary64
768×prod-diff_binary64
233×egg-rr
76×add-sqr-sqrt_binary64
73×log1p-expm1-u_binary64
Counts
1 → 233
Calls

1 calls:

195.0ms
(/.f64 (-.f64 x y) (+.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
114310
2218010
3540910
000
100

simplify100.0ms (2.1%)

Algorithm
egg-herbie
Rules
827×associate-/l*_binary64
533×fma-def_binary64
454×cancel-sign-sub-inv_binary64
411×associate-/r/_binary64
334×fma-neg_binary64
Counts
257 → 247
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
033414
1107408
2329366
31344324
44841324
55073324

prune2.0s (42.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2452247
Fresh000
Picked011
Done000
Total2453248
Error
0b
Counts
248 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))
0.1b
(*.f64 (-.f64 x y) (/.f64 1 (+.f64 x y)))
0.8b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x y) (+.f64 x y)))) 1)
Compiler

Compiled 11889 to 2648 computations (77.7% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x y))
0.1b
(*.f64 (-.f64 x y) (/.f64 1 (+.f64 x y)))

series17.0ms (0.4%)

Counts
2 → 48
Calls

2 calls:

9.0ms
(*.f64 (-.f64 x y) (/.f64 1 (+.f64 x y)))
8.0ms
(/.f64 1 (+.f64 x y))

rewrite57.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
908×expm1-log1p-u_binary64
543×prod-diff_binary64
88×add-sqr-sqrt_binary64
83×log1p-expm1-u_binary64
81×add-cbrt-cube_binary64
Counts
2 → 65
Calls

2 calls:

55.0ms
(/.f64 1 (+.f64 x y))
55.0ms
(*.f64 (-.f64 x y) (/.f64 1 (+.f64 x y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
117617
2228117
3498917
000
100

simplify67.0ms (1.4%)

Algorithm
egg-herbie
Rules
824×fma-neg_binary64
709×fma-def_binary64
688×cancel-sign-sub-inv_binary64
348×associate-/l/_binary64
213×distribute-neg-frac_binary64
Counts
113 → 93
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
054888
1155882
2477804
31882738
44712732
55053732

prune43.0ms (0.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh011
Picked011
Done011
Total93396
Error
0b
Counts
96 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))
0.1b
(*.f64 (-.f64 x y) (/.f64 1 (+.f64 x y)))
0.8b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x y) (+.f64 x y)))) 1)
Compiler

Compiled 1343 to 603 computations (55.1% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x y) (+.f64 x y)))) 1)
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))
0.1b
(exp.f64 (log1p.f64 (/.f64 (-.f64 x y) (+.f64 x y))))
2.8b
(log1p.f64 (/.f64 (-.f64 x y) (+.f64 x y)))

series59.0ms (1.2%)

Counts
3 → 72
Calls

3 calls:

23.0ms
(exp.f64 (log1p.f64 (/.f64 (-.f64 x y) (+.f64 x y))))
21.0ms
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x y) (+.f64 x y)))) 1)
15.0ms
(log1p.f64 (/.f64 (-.f64 x y) (+.f64 x y)))

rewrite79.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
509×log-prod_binary64
332×fma-def_binary64
211×fma-neg_binary64
184×log-div_binary64
183×log1p-udef_binary64
Counts
3 → 174
Calls

3 calls:

75.0ms
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x y) (+.f64 x y)))) 1)
75.0ms
(exp.f64 (log1p.f64 (/.f64 (-.f64 x y) (+.f64 x y))))
75.0ms
(log1p.f64 (/.f64 (-.f64 x y) (+.f64 x y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01036
120435
2285335
3550035
000
100

simplify78.0ms (1.6%)

Algorithm
egg-herbie
Rules
642×fma-neg_binary64
549×times-frac_binary64
365×associate-/l*_binary64
319×fma-def_binary64
309×cancel-sign-sub-inv_binary64
Counts
246 → 252
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01272217
13901788
212151546
346291538
451231538

prune308.0ms (6.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New4990499
Fresh000
Picked011
Done022
Total4993502
Error
0b
Counts
502 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))
0.1b
(*.f64 (-.f64 x y) (/.f64 1 (+.f64 x y)))
0.8b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 x y) (+.f64 x y)))) 1)
Compiler

Compiled 17980 to 5988 computations (66.7% saved)

regimes47.0ms (1%)

Accuracy

Total 0.0b remaining (29.2%)

Threshold costs 0.0b (29.2%)

Counts
17 → 1
Compiler

Compiled 486 to 345 computations (29% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
1910
21410
31610
41710
51710

end43.0ms (0.9%)

Compiler

Compiled 51 to 31 computations (39.2% saved)

Profiling

Loading profile data...