Details

Time bar (total: 11.4s)

analyze1.1s (9.7%)

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)

sample1.4s (12.1%)

Results
1.2s8033×body128valid
72.0ms564×body128invalid
51.0ms98×body1024valid
32.0ms77×body512valid
10.0ms47×body256valid
1.0msbody2048valid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify21.0ms (0.2%)

Algorithm
egg-herbie
Rules
402×distribute-rgt-in_binary64
372×distribute-lft-in_binary64
289×fma-def_binary64
256×associate-*l*_binary64
255×associate-*r*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01323
15521
215421
339121
4146021
Stop Event
node limit
Counts
1 → 2

prune3.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.8b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.8b
(fma.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x)
3.5b
(+.f64 x (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
Compiler

Compiled 107 to 60 computations (43.9% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series614.0ms (5.4%)

Counts
4 → 144
Calls

4 calls:

236.0ms
(fma.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x)
177.0ms
(*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
149.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
52.0ms
(tanh.f64 (/.f64 x y))

rewrite86.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
569×prod-diff_binary64
174×egg-rr
161×add-sqr-sqrt_binary64
152×log1p-expm1-u_binary64
152×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01258
128958
2449658
Stop Event
node limit
Counts
4 → 174
Calls

4 calls:

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

simplify153.0ms (1.3%)

Algorithm
egg-herbie
Rules
810×fma-def_binary64
771×times-frac_binary64
412×sub-neg_binary64
191×fma-neg_binary64
178×+-commutative_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
022811622
177410800
2268110652
Stop Event
node limit
Counts
318 → 271

prune193.0ms (1.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2701271
Fresh011
Picked011
Done000
Total2703273
Error
0.0b
Counts
273 → 3
Alt Table
StatusErrorProgram
0.8b
(fma.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x)
3.5b
(+.f64 x (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
31.1b
(fma.f64 z (-.f64 t x) x)
Compiler

Compiled 10431 to 4033 computations (61.3% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series513.0ms (4.5%)

Counts
2 → 96
Calls

2 calls:

299.0ms
(*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
213.0ms
(+.f64 x (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))

rewrite36.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
177×add-sqr-sqrt_binary64
169×log1p-expm1-u_binary64
169×expm1-log1p-u_binary64
168×add-cbrt-cube_binary64
165×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01343
132041
Stop Event
node limit
Counts
2 → 56
Calls

2 calls:

35.0ms
(+.f64 x (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
35.0ms
(*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))

simplify114.0ms (1%)

Algorithm
egg-herbie
Rules
556×fma-def_binary64
332×cancel-sign-sub-inv_binary64
299×times-frac_binary64
291×sub-neg_binary64
257×associate-/l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01729431
15798750
218977447
Stop Event
node limit
Counts
152 → 118

prune234.0ms (2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2841285
Fresh011
Picked011
Done011
Total2844288
Error
0b
Counts
288 → 4
Alt Table
StatusErrorProgram
0.8b
(fma.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x)
3.5b
(+.f64 x (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
31.1b
(fma.f64 z (-.f64 t x) x)
9.6b
(+.f64 x (/.f64 (*.f64 (-.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 3) (pow.f64 (tanh.f64 (/.f64 x y)) 3)) (*.f64 y z)) (+.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 2) (*.f64 (tanh.f64 (/.f64 x y)) (+.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 t y)))))))
Compiler

Compiled 11242 to 4211 computations (62.5% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (tanh.f64 (/.f64 t y)) 2)
0.1b
(pow.f64 (tanh.f64 (/.f64 t y)) 3)
3.6b
(*.f64 (-.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 3) (pow.f64 (tanh.f64 (/.f64 x y)) 3)) (*.f64 y z))
9.3b
(/.f64 (*.f64 (-.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 3) (pow.f64 (tanh.f64 (/.f64 x y)) 3)) (*.f64 y z)) (+.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 2) (*.f64 (tanh.f64 (/.f64 x y)) (+.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 t y))))))

series5.5s (47.9%)

Counts
4 → 144
Calls

4 calls:

4.5s
(/.f64 (*.f64 (-.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 3) (pow.f64 (tanh.f64 (/.f64 x y)) 3)) (*.f64 y z)) (+.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 2) (*.f64 (tanh.f64 (/.f64 x y)) (+.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 t y))))))
840.0ms
(*.f64 (-.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 3) (pow.f64 (tanh.f64 (/.f64 x y)) 3)) (*.f64 y z))
81.0ms
(pow.f64 (tanh.f64 (/.f64 t y)) 3)
63.0ms
(pow.f64 (tanh.f64 (/.f64 t y)) 2)

rewrite42.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
251×log1p-expm1-u_binary64
251×expm1-log1p-u_binary64
247×add-cbrt-cube_binary64
242×add-cube-cbrt_binary64
242×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
021105
1514103
Stop Event
node limit
Counts
4 → 58
Calls

4 calls:

41.0ms
(pow.f64 (tanh.f64 (/.f64 t y)) 2)
41.0ms
(pow.f64 (tanh.f64 (/.f64 t y)) 3)
40.0ms
(*.f64 (-.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 3) (pow.f64 (tanh.f64 (/.f64 x y)) 3)) (*.f64 y z))
40.0ms
(/.f64 (*.f64 (-.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 3) (pow.f64 (tanh.f64 (/.f64 x y)) 3)) (*.f64 y z)) (+.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 2) (*.f64 (tanh.f64 (/.f64 x y)) (+.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 t y))))))

simplify536.0ms (4.7%)

Algorithm
egg-herbie
Rules
929×fma-def_binary64
429×*-commutative_binary64
310×+-commutative_binary64
258×associate-+r+_binary64
198×associate-/l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0115559540
1463458892
Stop Event
node limit
Counts
202 → 148

prune556.0ms (4.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1480148
Fresh011
Picked011
Done022
Total1484152
Error
0b
Counts
152 → 4
Alt Table
StatusErrorProgram
0.8b
(fma.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x)
3.5b
(+.f64 x (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
31.1b
(fma.f64 z (-.f64 t x) x)
9.6b
(+.f64 x (/.f64 (*.f64 (-.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 3) (pow.f64 (tanh.f64 (/.f64 x y)) 3)) (*.f64 y z)) (+.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 2) (*.f64 (tanh.f64 (/.f64 x y)) (+.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 t y)))))))
Compiler

Compiled 43191 to 18209 computations (57.8% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

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

series7.0ms (0.1%)

Counts
1 → 36
Calls

1 calls:

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

rewrite74.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
65×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11308
217758
Stop Event
node limit
Counts
1 → 23
Calls

1 calls:

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

simplify25.0ms (0.2%)

Algorithm
egg-herbie
Rules
267×fma-neg_binary64
251×fma-def_binary64
61×distribute-rgt-in_binary64
37×associate--r+_binary64
36×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
021345
154318
2121318
3247264
4527264
5952264
61139264
71163264
Stop Event
saturated
Counts
59 → 34

prune17.0ms (0.2%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New34034
Fresh000
Picked011
Done033
Total34438
Error
0b
Counts
38 → 4
Alt Table
StatusErrorProgram
0.8b
(fma.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x)
3.5b
(+.f64 x (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
31.1b
(fma.f64 z (-.f64 t x) x)
9.6b
(+.f64 x (/.f64 (*.f64 (-.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 3) (pow.f64 (tanh.f64 (/.f64 x y)) 3)) (*.f64 y z)) (+.f64 (pow.f64 (tanh.f64 (/.f64 t y)) 2) (*.f64 (tanh.f64 (/.f64 x y)) (+.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 t y)))))))
Compiler

Compiled 416 to 144 computations (65.4% saved)

regimes113.0ms (1%)

Accuracy

Total 1.6b remaining (99%)

Threshold costs 0b (0%)

Counts
20 → 1
Compiler

Compiled 1563 to 981 computations (37.2% saved)

simplify6.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
01221
11521
22021
32221
42321
Stop Event
saturated

end74.0ms (0.6%)

Compiler

Compiled 128 to 73 computations (43% saved)

Profiling

Loading profile data...