Details

Time bar (total: 44.4s)

analyze1.6s (3.7%)

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

Results
1.3s8031×body128valid
74.0ms535×body128invalid
40.0ms90×body1024valid
24.0ms77×body512valid
14.0ms57×body256valid
1.0msbody2048valid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify42.0ms (0.1%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
4.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
4.0b
(+.f64 x (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
Compiler

Compiled 71 to 37 computations (47.9% saved)

localize11.0ms (0%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(tanh.f64 (/.f64 x y))
0.0b
(+.f64 x (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
0.0b
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
4.0b
(*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))

series895.0ms (2%)

Counts
4 → 156
Calls

4 calls:

376.0ms
(*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
244.0ms
(+.f64 x (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
210.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
64.0ms
(tanh.f64 (/.f64 x y))

rewrite40.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity_binary64
46×add-sqr-sqrt_binary64
45×prod-diff_binary64
42×add-cube-cbrt_binary64
26×associate-+r+_binary64
Counts
4 → 152
Calls

4 calls:

11.0ms
(*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
5.0ms
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
5.0ms
(+.f64 x (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))
1.0ms
(tanh.f64 (/.f64 x y))

simplify289.0ms (0.7%)

Algorithm
egg-herbie
Rules
311×fma-neg_binary64
299×associate-*l*_binary64
276×associate-*r*_binary64
271×fma-def_binary64
244×distribute-rgt-in_binary64
Counts
308 → 303
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
046218586
1134713797
2494613797
3518013797

prune264.0ms (0.6%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2985303
Fresh000
Picked101
Done000
Total2995304
Error
0b
Counts
304 → 5
Alt Table
StatusErrorProgram
22.5b
x
5.1b
(+.f64 (fma.f64 y (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x) (*.f64 (fma.f64 (neg.f64 (tanh.f64 (/.f64 x y))) 1 (*.f64 (tanh.f64 (/.f64 x y)) 1)) (*.f64 y z)))
40.9b
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) 3)) (fma.f64 x x (*.f64 y (*.f64 (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) (-.f64 (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x)))))
4.0b
(+.f64 x (+.f64 (*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z)) (*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z))))
29.8b
(+.f64 x (*.f64 (-.f64 t x) z))
Compiler

Compiled 12989 to 3613 computations (72.2% saved)

localize14.0ms (0%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 x (+.f64 (*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z)) (*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z))))
0.3b
(+.f64 (*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z)) (*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z)))
4.9b
(*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z))
5.7b
(*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z))

series819.0ms (1.8%)

Counts
4 → 168
Calls

4 calls:

312.0ms
(+.f64 (*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z)) (*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z)))
246.0ms
(+.f64 x (+.f64 (*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z)) (*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z))))
134.0ms
(*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z))
126.0ms
(*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z))

rewrite39.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
24×associate-*l/_binary64
14×add-cbrt-cube_binary64
14×add-exp-log_binary64
14×pow1_binary64
13×associate-*l*_binary64
Counts
4 → 99
Calls

4 calls:

11.0ms
(*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z))
8.0ms
(+.f64 (*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z)) (*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z)))
6.0ms
(*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z))
5.0ms
(+.f64 x (+.f64 (*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z)) (*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z))))

simplify269.0ms (0.6%)

Algorithm
egg-herbie
Rules
376×associate-*r*_binary64
337×associate-*l*_binary64
309×fma-neg_binary64
287×fma-def_binary64
273×*-commutative_binary64
Counts
267 → 246
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
036115536
1121613312
2452113306
3502213306

prune209.0ms (0.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2451246
Fresh134
Picked011
Done000
Total2465251
Error
0b
Counts
251 → 5
Alt Table
StatusErrorProgram
40.9b
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) 3)) (fma.f64 x x (*.f64 y (*.f64 (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) (-.f64 (*.f64 (*.f64 y z) (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x)))))
4.0b
(+.f64 x (+.f64 (*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z)) (*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z))))
1.6b
(+.f64 x (*.f64 (*.f64 (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))) (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))))) (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))))))
5.1b
(+.f64 (fma.f64 y (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x) (*.f64 (fma.f64 (neg.f64 (tanh.f64 (/.f64 x y))) 1 (*.f64 (tanh.f64 (/.f64 x y)) 1)) (*.f64 y z)))
29.8b
(+.f64 x (*.f64 (-.f64 t x) z))
Compiler

Compiled 9848 to 2720 computations (72.4% saved)

localize15.0ms (0%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))) (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))))) (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))))
0.4b
(*.f64 (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))) (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))))
1.7b
(*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
6.5b
(cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))))

series17.1s (38.6%)

Counts
4 → 180
Calls

4 calls:

9.9s
(*.f64 (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))) (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))))
6.7s
(cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))))
336.0ms
(*.f64 (*.f64 (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))) (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))))) (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))))
208.0ms
(*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))

rewrite3.7s (8.3%)

Algorithm
rewrite-expression-head
Rules
10219×associate-*r/_binary64
5027×cbrt-div_binary64
4122×frac-sub_binary64
3146×frac-times_binary64
2748×tanh-def-a_binary64
Counts
4 → 2019
Calls

4 calls:

59.0ms
(*.f64 (*.f64 (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))) (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))))) (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))))
23.0ms
(*.f64 (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))) (cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))))
9.0ms
(*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
8.0ms
(cbrt.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))))

simplify7.4s (16.7%)

Algorithm
egg-herbie
Rules
250×fma-def_binary64
12×fma-udef_binary64
10×fma-neg_binary64
Counts
2199 → 2514
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04885512778
15164512778

prune7.0s (15.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New277712778
Fresh123
Picked101
Done011
Total277942783
Error
0b
Counts
2783 → 4
Alt Table
StatusErrorProgram
4.0b
(+.f64 x (+.f64 (*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z)) (*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z))))
5.1b
(+.f64 (fma.f64 y (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x) (*.f64 (fma.f64 (neg.f64 (tanh.f64 (/.f64 x y))) 1 (*.f64 (tanh.f64 (/.f64 x y)) 1)) (*.f64 y z)))
16.4b
(+.f64 x (cbrt.f64 (*.f64 (*.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))) (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))) (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))))))
29.8b
(+.f64 x (*.f64 (-.f64 t x) z))
Compiler

Compiled 437144 to 170712 computations (60.9% saved)

localize15.0ms (0%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))
0.9b
(*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
1.4b
(fma.f64 y (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x)
3.4b
(*.f64 (fma.f64 (neg.f64 (tanh.f64 (/.f64 x y))) 1 (*.f64 (tanh.f64 (/.f64 x y)) 1)) (*.f64 y z))

series2.0s (4.5%)

Counts
3 → 132
Calls

3 calls:

1.4s
(*.f64 (fma.f64 (neg.f64 (tanh.f64 (/.f64 x y))) 1 (*.f64 (tanh.f64 (/.f64 x y)) 1)) (*.f64 y z))
293.0ms
(*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
280.0ms
(fma.f64 y (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x)

rewrite25.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
22×*-un-lft-identity_binary64
20×add-cube-cbrt_binary64
18×prod-diff_binary64
13×distribute-lft-in_binary64
Counts
3 → 89
Calls

3 calls:

9.0ms
(*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))
4.0ms
(*.f64 (fma.f64 (neg.f64 (tanh.f64 (/.f64 x y))) 1 (*.f64 (tanh.f64 (/.f64 x y)) 1)) (*.f64 y z))
0.0ms
(fma.f64 y (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x)

simplify239.0ms (0.5%)

Algorithm
egg-herbie
Rules
333×sub-neg_binary64
288×fma-neg_binary64
254×associate-*r*_binary64
240×associate-*l*_binary64
192×*-commutative_binary64
Counts
221 → 175
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
040112565
110779256
241169231
349559231
449779231

prune254.0ms (0.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2560256
Fresh022
Picked011
Done011
Total2564260
Error
0b
Counts
260 → 4
Alt Table
StatusErrorProgram
4.0b
(+.f64 x (+.f64 (*.f64 (tanh.f64 (/.f64 t y)) (*.f64 y z)) (*.f64 (neg.f64 (tanh.f64 (/.f64 x y))) (*.f64 y z))))
5.1b
(+.f64 (fma.f64 y (*.f64 z (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))) x) (*.f64 (fma.f64 (neg.f64 (tanh.f64 (/.f64 x y))) 1 (*.f64 (tanh.f64 (/.f64 x y)) 1)) (*.f64 y z)))
16.4b
(+.f64 x (cbrt.f64 (*.f64 (*.f64 (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))) (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y)))))) (*.f64 z (*.f64 y (-.f64 (tanh.f64 (/.f64 t y)) (tanh.f64 (/.f64 x y))))))))
29.8b
(+.f64 x (*.f64 (-.f64 t x) z))
Compiler

Compiled 15087 to 4758 computations (68.5% saved)

regimes631.0ms (1.4%)

Accuracy

Total 1.6b remaining (98.2%)

Threshold costs 0b (0%)

Counts
115 → 1
Compiler

Compiled 17341 to 9376 computations (45.9% saved)

simplify2.0ms (0%)

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
02023
12723
23123
33323
43423
53123

end68.0ms (0.2%)

Compiler

Compiled 157 to 79 computations (49.7% saved)

Profiling

Loading profile data...