Details

Time bar (total: 7.2s)

analyze1.6s (21.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
6.2%93.6%0.2%8
6.2%93.6%0.2%9
10.1%89.7%0.2%10
32%67.8%0.2%11
39.4%60.4%0.2%12
40.2%59.6%0.2%13
47.5%52.3%0.2%14
Compiler

Compiled 20 to 13 computations (35% saved)

sample2.2s (31.1%)

Results
1.8s7995×body128valid
212.0ms604×body128invalid
56.0ms81×body1024valid
47.0ms110×body512valid
15.0ms69×body256valid
1.0msbody2048valid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify39.0ms (0.5%)

Algorithm
egg-herbie
Rules
509×fma-neg_binary64
396×distribute-rgt-in_binary64
366×distribute-lft-in_binary64
289×fma-def_binary64
260×associate-*l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01323
15521
215321
336221
4131521
5463921
6506721

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
3.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
3.8b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
Compiler

Compiled 69 to 35 computations (49.3% saved)

localize255.0ms (3.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(tanh.f64 (/.f64 x y))
0.0b
(tanh.f64 (/.f64 t y))
0.0b
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
3.6b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)

series483.0ms (6.7%)

Counts
4 → 132
Calls

4 calls:

230.0ms
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
151.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
52.0ms
(tanh.f64 (/.f64 t y))
50.0ms
(tanh.f64 (/.f64 x y))

rewrite101.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
569×prod-diff_binary64
190×egg-rr
161×add-sqr-sqrt_binary64
152×log1p-expm1-u_binary64
152×expm1-log1p-u_binary64
Counts
4 → 190
Calls

4 calls:

96.0ms
(tanh.f64 (/.f64 x y))
96.0ms
(tanh.f64 (/.f64 t y))
96.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
96.0ms
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01247
128947
2433647
3551247

simplify316.0ms (4.4%)

Algorithm
egg-herbie
Rules
654×fma-def_binary64
648×times-frac_binary64
594×fma-neg_binary64
349×cancel-sign-sub-inv_binary64
318×sub-neg_binary64
Counts
322 → 267
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01919459
16178209
220887471
346867471
450927471

prune199.0ms (2.8%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2625267
Fresh000
Picked011
Done000
Total2626268
Error
0.0b
Counts
268 → 6
Alt Table
StatusErrorProgram
37.5b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (*.f64 (*.f64 2 (sinh.f64 (/.f64 x y))) (/.f64 1 (*.f64 2 (cosh.f64 (/.f64 x y)))))) x)
36.2b
(pow.f64 (sqrt.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) 2)
5.9b
(fma.f64 (*.f64 y z) (cbrt.f64 (pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3)) x)
41.0b
(cbrt.f64 (pow.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) 3))
27.5b
(+.f64 x (*.f64 z (-.f64 t x)))
3.8b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
Compiler

Compiled 9797 to 3763 computations (61.6% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
0.1b
(pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3)
3.6b
(fma.f64 (*.f64 y z) (cbrt.f64 (pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3)) x)
7.7b
(cbrt.f64 (pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3))

series692.0ms (9.6%)

Counts
3 → 120
Calls

3 calls:

319.0ms
(pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3)
219.0ms
(fma.f64 (*.f64 y z) (cbrt.f64 (pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3)) x)
153.0ms
(cbrt.f64 (pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3))

rewrite98.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
569×prod-diff_binary64
178×add-sqr-sqrt_binary64
171×log1p-expm1-u_binary64
171×expm1-log1p-u_binary64
167×add-log-exp_binary64
Counts
3 → 159
Calls

3 calls:

93.0ms
(pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3)
93.0ms
(fma.f64 (*.f64 y z) (cbrt.f64 (pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3)) x)
93.0ms
(cbrt.f64 (pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01552
133452
2474852
3586552

simplify190.0ms (2.6%)

Algorithm
egg-herbie
Rules
389×fma-def_binary64
326×times-frac_binary64
286×associate-/r*_binary64
276×associate-/l*_binary64
233×associate-*r*_binary64
Counts
279 → 252
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
046413904
1158212847
2525212847

prune368.0ms (5.1%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New3780378
Fresh044
Picked011
Done011
Total3786384
Error
0.0b
Counts
384 → 6
Alt Table
StatusErrorProgram
37.5b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (*.f64 (*.f64 2 (sinh.f64 (/.f64 x y))) (/.f64 1 (*.f64 2 (cosh.f64 (/.f64 x y)))))) x)
36.2b
(pow.f64 (sqrt.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) 2)
5.9b
(fma.f64 (*.f64 y z) (cbrt.f64 (pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3)) x)
41.0b
(cbrt.f64 (pow.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) 3))
27.5b
(+.f64 x (*.f64 z (-.f64 t x)))
3.8b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
Compiler

Compiled 20419 to 8813 computations (56.8% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 z (-.f64 t x))
0.0b
(+.f64 x (*.f64 z (-.f64 t x)))

series14.0ms (0.2%)

Counts
2 → 72
Calls

2 calls:

8.0ms
(+.f64 x (*.f64 z (-.f64 t x)))
6.0ms
(*.f64 z (-.f64 t x))

rewrite52.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
901×log1p-expm1-u_binary64
901×expm1-log1p-u_binary64
84×add-sqr-sqrt_binary64
78×add-log-exp_binary64
77×add-cube-cbrt_binary64
Counts
2 → 57
Calls

2 calls:

51.0ms
(*.f64 z (-.f64 t x))
51.0ms
(+.f64 x (*.f64 z (-.f64 t x)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0717
115815
2219715
3542815

simplify40.0ms (0.6%)

Algorithm
egg-herbie
Rules
274×fma-neg_binary64
259×fma-def_binary64
58×distribute-rgt-in_binary64
38×cancel-sign-sub-inv_binary64
36×unsub-neg_binary64
Counts
129 → 69
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
023585
162558
2113558
3194504
4358504
5564504
6642504
7666504
8623504

prune44.0ms (0.6%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New68169
Fresh033
Picked101
Done022
Total69675
Error
0b
Counts
75 → 6
Alt Table
StatusErrorProgram
27.5b
(fma.f64 z (-.f64 t x) x)
37.5b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (*.f64 (*.f64 2 (sinh.f64 (/.f64 x y))) (/.f64 1 (*.f64 2 (cosh.f64 (/.f64 x y)))))) x)
36.2b
(pow.f64 (sqrt.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) 2)
5.9b
(fma.f64 (*.f64 y z) (cbrt.f64 (pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3)) x)
41.0b
(cbrt.f64 (pow.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) 3))
3.8b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
Compiler

Compiled 1036 to 387 computations (62.6% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 z (-.f64 t x) x)

series10.0ms (0.1%)

Counts
1 → 36
Calls

1 calls:

10.0ms
(fma.f64 z (-.f64 t x) x)

rewrite40.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
686×log1p-expm1-u_binary64
686×expm1-log1p-u_binary64
423×prod-diff_binary64
69×add-sqr-sqrt_binary64
64×add-log-exp_binary64
Counts
1 → 24
Calls

1 calls:

39.0ms
(fma.f64 z (-.f64 t x) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11308
216898
349568

simplify32.0ms (0.4%)

Algorithm
egg-herbie
Rules
275×fma-neg_binary64
255×fma-def_binary64
63×distribute-rgt-in_binary64
36×cancel-sign-sub-inv_binary64
36×unsub-neg_binary64
Counts
60 → 34
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
021345
154318
2111318
3184264
4358264
5564264
6642264
7666264
8623264

prune16.0ms (0.2%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New34034
Fresh033
Picked011
Done022
Total34640
Error
0b
Counts
40 → 6
Alt Table
StatusErrorProgram
27.5b
(fma.f64 z (-.f64 t x) x)
37.5b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (*.f64 (*.f64 2 (sinh.f64 (/.f64 x y))) (/.f64 1 (*.f64 2 (cosh.f64 (/.f64 x y)))))) x)
36.2b
(pow.f64 (sqrt.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) 2)
5.9b
(fma.f64 (*.f64 y z) (cbrt.f64 (pow.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) 3)) x)
41.0b
(cbrt.f64 (pow.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) 3))
3.8b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
Compiler

Compiled 444 to 170 computations (61.7% saved)

regimes255.0ms (3.5%)

Accuracy

Total 1.2b remaining (85.7%)

Threshold costs 0b (0%)

Counts
34 → 3
Compiler

Compiled 2758 to 1791 computations (35.1% saved)

bsearch1.0ms (0%)

Compiler

Compiled 19 to 12 computations (36.8% saved)

simplify4.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
02492
13292
24092
34492
44692
54692

end106.0ms (1.5%)

Compiler

Compiled 250 to 122 computations (51.2% saved)

Profiling

Loading profile data...