Details

Time bar (total: 14.3s)

analyze1.2s (8.3%)

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.3s (16.2%)

Results
1.9s8007×body128valid
271.0ms86×body1024valid
73.0ms575×body128invalid
30.0ms91×body512valid
15.0ms71×body256valid
1.0msbody2048valid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify42.0ms (0.3%)

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)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series649.0ms (4.5%)

Counts
4 → 132
Calls

4 calls:

334.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
207.0ms
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
58.0ms
(tanh.f64 (/.f64 t y))
49.0ms
(tanh.f64 (/.f64 x y))

rewrite101.0ms (0.7%)

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:

95.0ms
(tanh.f64 (/.f64 t y))
95.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
95.0ms
(tanh.f64 (/.f64 x y))
95.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
000
100

simplify183.0ms (1.3%)

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

prune190.0ms (1.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2652267
Fresh000
Picked011
Done000
Total2653268
Error
0.0b
Counts
268 → 3
Alt Table
StatusErrorProgram
4.0b
(fma.f64 (*.f64 y z) (pow.f64 (cbrt.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) 3) x)
25.6b
(+.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 9655 to 3669 computations (62% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series8.3s (58.3%)

Counts
3 → 120
Calls

3 calls:

3.2s
(pow.f64 (cbrt.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) 3)
3.0s
(cbrt.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
2.1s
(fma.f64 (*.f64 y z) (pow.f64 (cbrt.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) 3) x)

rewrite98.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
574×prod-diff_binary64
178×add-sqr-sqrt_binary64
171×log1p-expm1-u_binary64
171×expm1-log1p-u_binary64
167×add-cbrt-cube_binary64
Counts
3 → 153
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01551
133551
2474151
3586351
000
100

simplify259.0ms (1.8%)

Algorithm
egg-herbie
Rules
930×associate-/l*_binary64
600×fma-def_binary64
278×*-commutative_binary64
166×+-commutative_binary64
149×distribute-rgt-in_binary64
Counts
273 → 265
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
071120363
1272818245
2618018245

prune329.0ms (2.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3080308
Fresh011
Picked011
Done011
Total3083311
Error
0.0b
Counts
311 → 3
Alt Table
StatusErrorProgram
4.0b
(fma.f64 (*.f64 y z) (pow.f64 (cbrt.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) 3) x)
25.6b
(+.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 23503 to 9513 computations (59.5% saved)

localize4.0ms (0%)

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

series16.0ms (0.1%)

Counts
2 → 72
Calls

2 calls:

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

rewrite54.0ms (0.4%)

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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
115815
2219715
3542815
000
100

simplify44.0ms (0.3%)

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

prune39.0ms (0.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh000
Picked011
Done022
Total69372
Error
0.0b
Counts
72 → 3
Alt Table
StatusErrorProgram
4.0b
(fma.f64 (*.f64 y z) (pow.f64 (cbrt.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) 3) x)
25.6b
(+.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 885 to 288 computations (67.5% saved)

regimes346.0ms (2.4%)

Accuracy

Total 0.6b remaining (70.7%)

Threshold costs 0.6b (70.7%)

Counts
52 → 3
Compiler

Compiled 4538 to 2851 computations (37.2% saved)

bsearch2.0ms (0%)

Compiler

Compiled 19 to 12 computations (36.8% 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: 1 (0.0ms)

IterNodesCost
028100
14498
25698
36498
46898
56998
66998

end69.0ms (0.5%)

Compiler

Compiled 188 to 82 computations (56.4% saved)

Profiling

Loading profile data...