Details

Time bar (total: 5.3s)

analyze1.7s (31.5%)

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 (27.6%)

Results
1.2s8028×body128valid
78.0ms545×body128invalid
49.0ms84×body1024valid
30.0ms91×body512valid
13.0ms53×body256valid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify40.0ms (0.8%)

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.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
8.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
8.0b
(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.2%)

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

series573.0ms (10.9%)

Counts
4 → 132
Calls

4 calls:

277.0ms
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
162.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
73.0ms
(tanh.f64 (/.f64 t y))
61.0ms
(tanh.f64 (/.f64 x y))

rewrite13.0ms (0.2%)

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:

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

simplify188.0ms (3.6%)

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

prune142.0ms (2.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1712173
Fresh000
Picked011
Done000
Total1713174
Error
0b
Counts
174 → 3
Alt Table
StatusErrorProgram
26.0b
(-.f64 (fma.f64 z t x) (*.f64 x z))
8.0b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (expm1.f64 (log1p.f64 (tanh.f64 (/.f64 x y))))) x)
8.0b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
Compiler

Compiled 6645 to 2124 computations (68% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series459.0ms (8.7%)

Counts
2 → 84
Calls

2 calls:

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

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
12×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
prod-diff_binary64
add-log-exp_binary64
Counts
2 → 41
Calls

2 calls:

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

simplify144.0ms (2.7%)

Algorithm
egg-herbie
Rules
765×fma-def_binary64
646×times-frac_binary64
348×cancel-sign-sub-inv_binary64
315×sub-neg_binary64
161×fma-neg_binary64
Counts
125 → 124
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02539021
17206981
225346217
351096217

prune115.0ms (2.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1690169
Fresh011
Picked011
Done011
Total1693172
Error
0b
Counts
172 → 3
Alt Table
StatusErrorProgram
26.0b
(-.f64 (fma.f64 z t x) (*.f64 x z))
8.0b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (expm1.f64 (log1p.f64 (tanh.f64 (/.f64 x y))))) x)
8.0b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
Compiler

Compiled 5986 to 1838 computations (69.3% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.5b
(-.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))

rewrite5.0ms (0.1%)

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:

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

simplify78.0ms (1.5%)

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

prune20.0ms (0.4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New42042
Fresh000
Picked011
Done022
Total42345
Error
0b
Counts
45 → 3
Alt Table
StatusErrorProgram
26.0b
(-.f64 (fma.f64 z t x) (*.f64 x z))
8.0b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (expm1.f64 (log1p.f64 (tanh.f64 (/.f64 x y))))) x)
8.0b
(fma.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))) x)
Compiler

Compiled 603 to 156 computations (74.1% saved)

regimes243.0ms (4.6%)

Accuracy

Total 0.7b remaining (74.7%)

Threshold costs 0.7b (74.7%)

Counts
27 → 3
Compiler

Compiled 2848 to 1556 computations (45.4% saved)

bsearch1.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
02794
14394
25994
36994
47594
57694
67694

end73.0ms (1.4%)

Compiler

Compiled 180 to 83 computations (53.9% saved)

Profiling

Loading profile data...