Details

Time bar (total: 8.9s)

analyze1.6s (17.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)

sample1.5s (16.6%)

Results
1.2s8065×body128valid
77.0ms592×body128invalid
66.0ms79×body512valid
32.0ms67×body1024valid
10.0ms45×body256valid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify40.0ms (0.4%)

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
6.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
6.3b
(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)

localize11.0ms (0.1%)

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)))
6.0b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)

series518.0ms (5.9%)

Counts
4 → 132
Calls

4 calls:

236.0ms
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
164.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
59.0ms
(tanh.f64 (/.f64 t y))
58.0ms
(tanh.f64 (/.f64 x y))

rewrite12.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64
14×add-sqr-sqrt_binary64
12×add-cube-cbrt_binary64
frac-sub_binary64
prod-diff_binary64
Counts
4 → 73
Calls

4 calls:

5.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
1.0ms
(tanh.f64 (/.f64 t y))
1.0ms
(tanh.f64 (/.f64 x y))
0.0ms
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)

simplify182.0ms (2.1%)

Algorithm
egg-herbie
Rules
750×times-frac_binary64
231×fma-neg_binary64
202×fma-def_binary64
174×distribute-rgt-in_binary64
173×distribute-lft-in_binary64
Counts
205 → 173
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
033012435
110067805
234977805
351597805

prune120.0ms (1.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1703173
Fresh000
Picked011
Done000
Total1704174
Error
0.0b
Counts
174 → 4
Alt Table
StatusErrorProgram
6.3b
(fma.f64 (*.f64 y z) (log1p.f64 (expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))) x)
26.9b
(-.f64 (fma.f64 z t x) (*.f64 x z))
6.3b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
41.1b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)))
Compiler

Compiled 6743 to 2152 computations (68.1% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
0.0b
(log1p.f64 (expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
0.2b
(expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
6.0b
(fma.f64 (*.f64 y z) (log1p.f64 (expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))) x)

series601.0ms (6.8%)

Counts
3 → 120
Calls

3 calls:

256.0ms
(fma.f64 (*.f64 y z) (log1p.f64 (expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))) x)
190.0ms
(expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
154.0ms
(log1p.f64 (expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
3 → 32
Calls

3 calls:

0.0ms
(fma.f64 (*.f64 y z) (log1p.f64 (expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))) x)
0.0ms
(expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
0.0ms
(log1p.f64 (expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))

simplify189.0ms (2.1%)

Algorithm
egg-herbie
Rules
439×cancel-sign-sub-inv_binary64
409×sub-neg_binary64
211×+-commutative_binary64
206×fma-neg_binary64
202×fma-def_binary64
Counts
152 → 133
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
031012668
19459213
234268547
349578547

prune159.0ms (1.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2180218
Fresh022
Picked011
Done011
Total2184222
Error
0.0b
Counts
222 → 4
Alt Table
StatusErrorProgram
6.3b
(fma.f64 (*.f64 y z) (log1p.f64 (expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))) x)
26.9b
(-.f64 (fma.f64 z t x) (*.f64 x z))
6.3b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
41.1b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)))
Compiler

Compiled 9804 to 3345 computations (65.9% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
1.1b
(-.f64 (fma.f64 z t x) (*.f64 x z))

series7.0ms (0.1%)

Counts
1 → 36
Calls

1 calls:

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

rewrite3.0ms (0%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
fma-neg_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
prod-diff_binary64
Counts
1 → 21
Calls

1 calls:

2.0ms
(-.f64 (fma.f64 z t x) (*.f64 x z))

simplify79.0ms (0.9%)

Algorithm
egg-herbie
Rules
625×fma-neg_binary64
539×associate-+l+_binary64
512×associate-+r+_binary64
301×*-commutative_binary64
241×neg-sub0_binary64
Counts
57 → 42
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
060695
1142615
2415596
31618595
43553508
54678508
64933508

prune21.0ms (0.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done022
Total42446
Error
0.0b
Counts
46 → 4
Alt Table
StatusErrorProgram
6.3b
(fma.f64 (*.f64 y z) (log1p.f64 (expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))) x)
26.9b
(-.f64 (fma.f64 z t x) (*.f64 x z))
6.3b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
41.1b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)))
Compiler

Compiled 701 to 184 computations (73.8% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x))
0.2b
(*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x))
6.0b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
37.9b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)))

series1.9s (21.6%)

Counts
3 → 144
Calls

3 calls:

1.3s
(*.f64 (*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x))
422.0ms
(*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x))
232.0ms
(cbrt.f64 (*.f64 (*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)))

rewrite20.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
29×pow1_binary64
13×add-cbrt-cube_binary64
11×add-sqr-sqrt_binary64
10×add-exp-log_binary64
*-un-lft-identity_binary64
Counts
3 → 74
Calls

3 calls:

4.0ms
(*.f64 (*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x))
3.0ms
(cbrt.f64 (*.f64 (*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)))
3.0ms
(*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x))

simplify870.0ms (9.8%)

Algorithm
egg-herbie
Rules
708×associate-+r+_binary64
614×fma-def_binary64
217×associate-*r*_binary64
198×associate-/l*_binary64
191×associate-*r/_binary64
Counts
218 → 236
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0169562689
1532562689

prune656.0ms (7.4%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New3650365
Fresh000
Picked011
Done033
Total3654369
Error
0.0b
Counts
369 → 4
Alt Table
StatusErrorProgram
6.3b
(fma.f64 (*.f64 y z) (log1p.f64 (expm1.f64 (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))) x)
26.9b
(-.f64 (fma.f64 z t x) (*.f64 x z))
6.3b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
41.1b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)) (fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)))
Compiler

Compiled 75386 to 24171 computations (67.9% saved)

regimes284.0ms (3.2%)

Accuracy

Total 0.7b remaining (75.1%)

Threshold costs 0.7b (75.1%)

Counts
40 → 3
Compiler

Compiled 4288 to 2361 computations (44.9% saved)

bsearch2.0ms (0%)

Compiler

Compiled 19 to 12 computations (36.8% saved)

simplify5.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
02499
13599
24899
35699
46199
56299
66299

end78.0ms (0.9%)

Compiler

Compiled 239 to 89 computations (62.8% saved)

Profiling

Loading profile data...