Details

Time bar (total: 21.2s)

analyze803.0ms (3.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)

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

simplify205.0ms (1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
0509123

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

localize11.0ms (0.1%)

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

rewrite36.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×frac-sub_binary64_11881
13×tanh-def-c_binary64_12058 tanh-def-b_binary64_12057 tanh-def-a_binary64_12056
11×associate-*r/_binary64_11816
add-exp-log_binary64_11907 add-sqr-sqrt_binary64_11893 add-cbrt-cube_binary64_11905 pow1_binary64_11930 *-un-lft-identity_binary64_11872
associate-*r*_binary64_11814 add-log-exp_binary64_11908
add-cube-cbrt_binary64_11904
sub-neg_binary64_11865 prod-exp_binary64_11918 pow-prod-down_binary64_11940 cbrt-unprod_binary64_11902
distribute-lft-out--_binary64_11826 flip--_binary64_11847 difference-of-squares_binary64_11841 flip3--_binary64_11876
diff-log_binary64_11961 associate-*l*_binary64_11815 distribute-lft-in_binary64_11823 distribute-rgt-in_binary64_11824 *-commutative_binary64_11805
Counts
3 → 65
Calls

3 calls:

15.0ms
(*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
11.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:

475.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
406.0ms
(*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
160.0ms
(tanh.f64 (/.f64 x y))

simplify78.0ms (0.4%)

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
050152454

prune100.0ms (0.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New71374
Fresh000
Picked101
Done000
Total72375

Merged error: 1.1b

Counts
75 → 3
Compiler

Compiled 2400 to 800 computations (66.7% 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)))))

rewrite48.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
33×associate-*r/_binary64_11816
27×frac-sub_binary64_11881
19×tanh-def-c_binary64_12058 tanh-def-b_binary64_12057 tanh-def-a_binary64_12056
13×add-sqr-sqrt_binary64_11893
11×add-exp-log_binary64_11907 add-cbrt-cube_binary64_11905 pow1_binary64_11930 *-un-lft-identity_binary64_11872
sub-neg_binary64_11865 add-cube-cbrt_binary64_11904
associate-*l*_binary64_11815 associate-*r*_binary64_11814 add-log-exp_binary64_11908
distribute-lft-in_binary64_11823 distribute-rgt-in_binary64_11824
prod-exp_binary64_11918 pow-prod-down_binary64_11940 cbrt-unprod_binary64_11902
flip--_binary64_11847 flip3--_binary64_11876
distribute-lft-out--_binary64_11826 difference-of-squares_binary64_11841 *-commutative_binary64_11805
diff-log_binary64_11961 unswap-sqr_binary64_11840
Counts
4 → 98
Calls

4 calls:

14.0ms
(*.f64 y (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
12.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:

527.0ms
(*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
440.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
409.0ms
(*.f64 y (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
155.0ms
(tanh.f64 (/.f64 x y))

simplify73.0ms (0.3%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049813522
149813522

prune141.0ms (0.7%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1064110
Fresh022
Picked101
Done000
Total1076113

Merged error: 1.0b

Counts
113 → 6
Compiler

Compiled 3622 to 1242 computations (65.7% saved)

localize16.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×add-exp-log_binary64_11907 add-cbrt-cube_binary64_11905 associate-*r/_binary64_11816 pow1_binary64_11930
16×add-sqr-sqrt_binary64_11893
15×associate-*r*_binary64_11814
12×associate-*l*_binary64_11815 add-cube-cbrt_binary64_11904 *-un-lft-identity_binary64_11872
prod-exp_binary64_11918 pow-prod-down_binary64_11940 cbrt-unprod_binary64_11902
distribute-neg-frac_binary64_11838
tanh-def-c_binary64_12058 tanh-def-b_binary64_12057 tanh-def-a_binary64_12056 add-log-exp_binary64_11908 *-commutative_binary64_11805
distribute-lft-neg-in_binary64_11831 distribute-rgt-neg-in_binary64_11832 distribute-rgt-neg-out_binary64_11834
unswap-sqr_binary64_11840
neg-mul-1_binary64_11868
Counts
4 → 93
Calls

4 calls:

8.0ms
(*.f64 y (*.f64 z (neg.f64 (tanh.f64 (/.f64 x y)))))
8.0ms
(*.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)))

series724.0ms (3.4%)

Counts
4 → 12
Calls

4 calls:

193.0ms
(*.f64 z (neg.f64 (tanh.f64 (/.f64 x y))))
183.0ms
(*.f64 z (tanh.f64 (/.f64 t y)))
177.0ms
(*.f64 y (*.f64 z (neg.f64 (tanh.f64 (/.f64 x y)))))
172.0ms
(*.f64 y (*.f64 z (tanh.f64 (/.f64 t y))))

simplify40.0ms (0.2%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
050701346

prune96.0ms (0.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1032105
Fresh415
Picked011
Done000
Total1074111

Merged error: 0b

Counts
111 → 4
Compiler

Compiled 2646 to 589 computations (77.7% 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))))

rewrite662.0ms (3.1%)

Algorithm
rewrite-expression-head
Rules
1495×associate-*r/_binary64_11816
1080×frac-times_binary64_11882
966×tanh-def-c_binary64_12058 tanh-def-b_binary64_12057 tanh-def-a_binary64_12056
900×frac-sub_binary64_11881
360×associate-*l/_binary64_11817
227×associate-/l/_binary64_11821
20×add-exp-log_binary64_11907 add-cbrt-cube_binary64_11905
13×*-un-lft-identity_binary64_11872
11×associate-/r/_binary64_11820 add-sqr-sqrt_binary64_11893 pow1_binary64_11930
add-cube-cbrt_binary64_11904 frac-add_binary64_11880
sub-neg_binary64_11865 prod-exp_binary64_11918 cbrt-unprod_binary64_11902
associate-*l*_binary64_11815 add-log-exp_binary64_11908
distribute-lft-in_binary64_11823 distribute-rgt-in_binary64_11824 associate-*r*_binary64_11814
times-frac_binary64_11878 associate-/r*_binary64_11818 flip--_binary64_11847 pow-prod-down_binary64_11940 flip3--_binary64_11876
cbrt-undiv_binary64_11903 div-exp_binary64_11920
difference-of-squares_binary64_11841 distribute-lft-out_binary64_11825 *-commutative_binary64_11805
div-inv_binary64_11869 diff-log_binary64_11961 flip-+_binary64_11846 unswap-sqr_binary64_11840 clear-num_binary64_11871 associate-/l*_binary64_11819 frac-2neg_binary64_11883 flip3-+_binary64_11875
Counts
4 → 997
Calls

4 calls:

93.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))))
75.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))))))
57.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)))))
26.0ms
(-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y))))

series7.1s (33.3%)

Counts
4 → 12
Calls

4 calls:

3.4s
(/.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.7s
(*.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.1s
(-.f64 (*.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 t y))) (*.f64 (tanh.f64 (/.f64 x y)) (tanh.f64 (/.f64 x y))))
932.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))))))

simplify713.0ms (3.4%)

Algorithm
egg-herbie
Counts
1009 → 1009
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
05096100768

prune6.8s (32.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New100901009
Fresh022
Picked011
Done011
Total100941013

Merged error: 0b

Counts
1013 → 4
Compiler

Compiled 105593 to 40858 computations (61.3% 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%)

Algorithm
intervals
Results
415.0ms7773×body128valid
28.0ms536×body128invalid
18.0ms90×body1024valid
12.0ms85×body512valid
5.0ms51×body256valid
0.0msbody2048valid
Compiler

Compiled 135 to 98 computations (27.4% saved)

Profiling

Loading profile data...