Details

Time bar (total: 21.1s)

analyze1.0s (4.8%)

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
7.8%92%0.2%8
7.8%92%0.2%9
10.9%88.9%0.2%10
34.7%65.1%0.2%11
43.1%56.7%0.2%12
44.2%55.7%0.2%13
49.5%50.3%0.2%14
Compiler

Compiled 16 to 13 computations (18.8% saved)

sample26.0ms (0.1%)

Algorithm
intervals
Results
13.0ms250×body128valid
1.0msbody1024valid
1.0ms13×body128invalid
0.0msbody256valid
Compiler

Compiled 31 to 29 computations (6.5% saved)

simplify217.0ms (1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
0513723

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.6b

Counts
2 → 1
Compiler

Compiled 30 to 24 computations (20% saved)

localize10.0ms (0%)

Local error

Found 3 expressions with local error:

0.0b
(tanh.f64 (/.f64 x y))
0.2b
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
4.9b
(*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))

rewrite33.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×frac-sub_binary64_11784
13×tanh-def-a_binary64_11962 tanh-def-b_binary64_11963 tanh-def-c_binary64_11964
11×*-un-lft-identity_binary64_11775 associate-*r/_binary64_11717 add-sqr-sqrt_binary64_11797
cancel-sign-sub-inv_binary64_11741
pow1_binary64_11836 add-cbrt-cube_binary64_11811 add-exp-log_binary64_11813
add-cube-cbrt_binary64_11810
associate-*r*_binary64_11715 add-log-exp_binary64_11814
distribute-rgt-in_binary64_11725 distribute-lft-in_binary64_11724
pow-prod-down_binary64_11846 prod-exp_binary64_11824 cbrt-unprod_binary64_11808 sub-neg_binary64_11768
flip3--_binary64_11779 flip--_binary64_11750 distribute-lft-out--_binary64_11727 difference-of-squares_binary64_11744
associate-*l*_binary64_11716 *-commutative_binary64_11706 diff-log_binary64_11867
Counts
3 → 74
Calls

3 calls:

14.0ms
(*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
8.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
2.0ms
(tanh.f64 (/.f64 x y))

series1.0s (4.9%)

Counts
3 → 9
Calls

3 calls:

458.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
412.0ms
(*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
152.0ms
(tanh.f64 (/.f64 x y))

simplify69.0ms (0.3%)

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049742634
149742634

prune158.0ms (0.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New80383
Fresh000
Picked101
Done000
Total81384

Merged error: 1.1b

Counts
84 → 3
Compiler

Compiled 3559 to 1390 computations (60.9% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(tanh.f64 (/.f64 x y))
0.2b
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
0.7b
(*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
1.8b
(*.f64 y (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))

rewrite54.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
33×associate-*r/_binary64_11717
27×frac-sub_binary64_11784
21×cancel-sign-sub-inv_binary64_11741
20×distribute-rgt-in_binary64_11725 add-sqr-sqrt_binary64_11797 distribute-lft-in_binary64_11724
19×tanh-def-a_binary64_11962 tanh-def-b_binary64_11963 tanh-def-c_binary64_11964
18×*-un-lft-identity_binary64_11775
14×add-cube-cbrt_binary64_11810
11×pow1_binary64_11836 add-cbrt-cube_binary64_11811 add-exp-log_binary64_11813
sub-neg_binary64_11768
associate-*l*_binary64_11716 associate-*r*_binary64_11715 add-log-exp_binary64_11814
pow-prod-down_binary64_11846 prod-exp_binary64_11824 cbrt-unprod_binary64_11808
flip3--_binary64_11779 flip--_binary64_11750
*-commutative_binary64_11706 distribute-lft-out--_binary64_11727 difference-of-squares_binary64_11744
diff-log_binary64_11867 unswap-sqr_binary64_11743
Counts
4 → 119
Calls

4 calls:

15.0ms
(*.f64 y (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
13.0ms
(*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
8.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
2.0ms
(tanh.f64 (/.f64 x y))

series1.5s (7.2%)

Counts
4 → 12
Calls

4 calls:

519.0ms
(*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
454.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
392.0ms
(*.f64 y (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
152.0ms
(tanh.f64 (/.f64 x y))

simplify59.0ms (0.3%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
049783978
149783978

prune211.0ms (1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1274131
Fresh022
Picked101
Done000
Total1286134

Merged error: 1.0b

Counts
134 → 6
Compiler

Compiled 5596 to 2109 computations (62.3% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

1.3b
(*.f64 z (neg.f64 (tanh.f64 (/.f64 x y))))
1.7b
(*.f64 z (tanh.f64 (/.f64 t y)))
4.3b
(*.f64 y (*.f64 z (neg.f64 (tanh.f64 (/.f64 x y)))))
4.4b
(*.f64 y (*.f64 z (tanh.f64 (/.f64 t y))))

rewrite38.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×pow1_binary64_11836 add-cbrt-cube_binary64_11811 add-exp-log_binary64_11813 associate-*r/_binary64_11717
16×add-sqr-sqrt_binary64_11797
15×associate-*r*_binary64_11715
12×associate-*l*_binary64_11716 add-cube-cbrt_binary64_11810 *-un-lft-identity_binary64_11775
pow-prod-down_binary64_11846 prod-exp_binary64_11824 cbrt-unprod_binary64_11808
distribute-neg-frac_binary64_11739
tanh-def-a_binary64_11962 *-commutative_binary64_11706 tanh-def-b_binary64_11963 tanh-def-c_binary64_11964 add-log-exp_binary64_11814
distribute-lft-neg-in_binary64_11732 distribute-rgt-neg-out_binary64_11735 distribute-rgt-neg-in_binary64_11733
unswap-sqr_binary64_11743
neg-mul-1_binary64_11771
Counts
4 → 93
Calls

4 calls:

8.0ms
(*.f64 z (neg.f64 (tanh.f64 (/.f64 x y))))
8.0ms
(*.f64 y (*.f64 z (neg.f64 (tanh.f64 (/.f64 x y)))))
7.0ms
(*.f64 y (*.f64 z (tanh.f64 (/.f64 t y))))
6.0ms
(*.f64 z (tanh.f64 (/.f64 t y)))

series704.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

192.0ms
(*.f64 z (neg.f64 (tanh.f64 (/.f64 x y))))
173.0ms
(*.f64 z (tanh.f64 (/.f64 t y)))
173.0ms
(*.f64 y (*.f64 z (neg.f64 (tanh.f64 (/.f64 x y)))))
165.0ms
(*.f64 y (*.f64 z (tanh.f64 (/.f64 t y))))

simplify35.0ms (0.2%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
050701346

prune118.0ms (0.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1032105
Fresh415
Picked011
Done000
Total1074111

Merged error: 0b

Counts
111 → 4
Compiler

Compiled 3123 to 859 computations (72.5% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.4b
(-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y))))
2.2b
(*.f64 z (-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y)))))
3.0b
(*.f64 y (*.f64 z (-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y))))))
3.7b
(/.f64 (*.f64 y (*.f64 z (-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y)))))) (+.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))

rewrite654.0ms (3.1%)

Algorithm
rewrite-expression-head
Rules
1495×associate-*r/_binary64_11717
1080×frac-times_binary64_11785
966×tanh-def-a_binary64_11962 tanh-def-b_binary64_11963 tanh-def-c_binary64_11964
900×frac-sub_binary64_11784
360×associate-*l/_binary64_11718
227×associate-/l/_binary64_11722
20×add-cbrt-cube_binary64_11811 add-exp-log_binary64_11813
13×*-un-lft-identity_binary64_11775
11×associate-/r/_binary64_11721 pow1_binary64_11836 add-sqr-sqrt_binary64_11797
10×distribute-rgt-in_binary64_11725 distribute-lft-in_binary64_11724
add-cube-cbrt_binary64_11810 frac-add_binary64_11783
prod-exp_binary64_11824 cbrt-unprod_binary64_11808 sub-neg_binary64_11768 cancel-sign-sub-inv_binary64_11741
associate-*l*_binary64_11716 add-log-exp_binary64_11814
associate-*r*_binary64_11715
flip3--_binary64_11779 pow-prod-down_binary64_11846 flip--_binary64_11750 associate-/r*_binary64_11719 times-frac_binary64_11781
div-exp_binary64_11826 cbrt-undiv_binary64_11809
*-commutative_binary64_11706 distribute-lft-out_binary64_11726 difference-of-squares_binary64_11744
flip3-+_binary64_11778 flip-+_binary64_11749 clear-num_binary64_11774 diff-log_binary64_11867 div-inv_binary64_11772 frac-2neg_binary64_11786 unswap-sqr_binary64_11743 associate-/l*_binary64_11720
Counts
4 → 1004
Calls

4 calls:

90.0ms
(/.f64 (*.f64 y (*.f64 z (-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y)))))) (+.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
72.0ms
(*.f64 y (*.f64 z (-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y))))))
53.0ms
(*.f64 z (-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y)))))
29.0ms
(-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y))))

series6.9s (32.8%)

Counts
4 → 12
Calls

4 calls:

3.3s
(/.f64 (*.f64 y (*.f64 z (-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y)))))) (+.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
1.6s
(*.f64 z (-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y)))))
1.0s
(-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y))))
934.0ms
(*.f64 y (*.f64 z (-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y))))))

simplify744.0ms (3.5%)

Algorithm
egg-herbie
Counts
1016 → 1016
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
04863101024
14863101024

prune6.5s (31%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New101601016
Fresh022
Picked011
Done011
Total101641020

Merged error: 0b

Counts
1020 → 4
Compiler

Compiled 105957 to 40920 computations (61.4% saved)

regimes51.0ms (0.2%)

Compiler

Compiled 348 to 252 computations (27.6% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06229
16229

end0.0ms (0%)

sample858.0ms (4.1%)

Algorithm
intervals
Results
410.0ms7773×body128valid
30.0ms536×body128invalid
19.0ms90×body1024valid
12.0ms85×body512valid
5.0ms51×body256valid
1.0msbody2048valid
Compiler

Compiled 135 to 98 computations (27.4% saved)

Profiling

Loading profile data...