Details

Time bar (total: 6.0s)

analyze608.0ms (10.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
25%74.9%0.1%6
37.4%62.4%0.1%7
56.2%43.7%0.1%8
56.2%43.7%0.1%9
65.5%34.3%0.1%10
76.5%23.4%0.1%11
76.5%23.4%0.1%12
81.9%17.9%0.1%13
87.8%12.1%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample2.7s (45.8%)

Results
1.4s2094×body1024valid
705.0ms4578×body128valid
451.0ms1082×body512valid
143.0ms497×body256valid
7.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11312
21612
31612

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.2b
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
Compiler

Compiled 42 to 23 computations (45.2% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
0.1b
(*.f64 z (sin.f64 y))

series21.0ms (0.4%)

Counts
2 → 60
Calls

2 calls:

15.0ms
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
7.0ms
(*.f64 z (sin.f64 y))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 30
Calls

2 calls:

3.0ms
(*.f64 z (sin.f64 y))
0.0ms
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))

simplify82.0ms (1.4%)

Algorithm
egg-herbie
Rules
519×fma-neg_binary64
465×distribute-rgt-neg-in_binary64
379×distribute-lft-neg-in_binary64
307×distribute-rgt-in_binary64
280×*-commutative_binary64
Counts
90 → 65
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
080972
1183913
2538901
31443900
42915900
54952900
65012900

prune44.0ms (0.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New58765
Fresh000
Picked011
Done000
Total58866
Error
0.1b
Counts
66 → 8
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
32.8b
(*.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
1.3b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
29.9b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y))))
0.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
18.0b
(fma.f64 x (cos.f64 y) (cbrt.f64 (pow.f64 (*.f64 (sin.f64 y) z) 3)))
0.2b
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
Compiler

Compiled 1135 to 394 computations (65.3% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
0.1b
(*.f64 (cos.f64 y) x)

series22.0ms (0.4%)

Counts
2 → 40
Calls

2 calls:

15.0ms
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))
6.0ms
(*.f64 (cos.f64 y) x)

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 30
Calls

2 calls:

3.0ms
(*.f64 (cos.f64 y) x)
0.0ms
(fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x))

simplify59.0ms (1%)

Algorithm
egg-herbie
Rules
803×distribute-rgt-neg-in_binary64
796×fma-def_binary64
741×cancel-sign-sub-inv_binary64
379×fma-neg_binary64
324×*-commutative_binary64
Counts
70 → 65
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
078840
1173788
2484778
31314771
43692771
54945771

prune52.0ms (0.9%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New62365
Fresh066
Picked101
Done011
Total631073
Error
0.0b
Counts
73 → 10
Alt Table
StatusErrorProgram
0.9b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (cbrt.f64 x)))
0.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
32.8b
(*.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
1.3b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
29.9b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y))))
34.9b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
16.9b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x)))
18.0b
(fma.f64 x (cos.f64 y) (cbrt.f64 (pow.f64 (*.f64 (sin.f64 y) z) 3)))
0.2b
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
Compiler

Compiled 1198 to 433 computations (63.9% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))))
0.3b
(*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y)))
0.5b
(*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))
0.6b
(cbrt.f64 (sin.f64 y))

series1.1s (18.1%)

Counts
4 → 72
Calls

4 calls:

657.0ms
(*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))))
224.0ms
(*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))
195.0ms
(cbrt.f64 (sin.f64 y))
7.0ms
(*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y)))

rewrite27.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64
25×pow1_binary64
22×cbrt-prod_binary64
20×add-exp-log_binary64
16×*-un-lft-identity_binary64
Counts
4 → 102
Calls

4 calls:

9.0ms
(*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (sin.f64 y)))
5.0ms
(*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))
5.0ms
(*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))))
1.0ms
(cbrt.f64 (sin.f64 y))

simplify122.0ms (2%)

Algorithm
egg-herbie
Rules
601×unswap-sqr_binary64
518×fma-neg_binary64
478×*-commutative_binary64
394×cancel-sign-sub-inv_binary64
368×log-prod_binary64
Counts
174 → 177
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01732226
14291857
213671728
325481694
444531676
549531676
650331676

prune221.0ms (3.7%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2234227
Fresh178
Picked101
Done101
Total22611237
Error
0.0b
Counts
237 → 11
Alt Table
StatusErrorProgram
32.8b
(*.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
0.7b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))))) (cbrt.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))))) (cbrt.f64 (sin.f64 y))))
1.3b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
3.2b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y))))
29.9b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
19.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 y)))
0.9b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (cbrt.f64 x)))
0.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
0.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (log1p.f64 (expm1.f64 (cbrt.f64 (sin.f64 y))))))
34.9b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
16.9b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x)))
Compiler

Compiled 5521 to 1784 computations (67.7% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))))
0.3b
(*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (log1p.f64 (expm1.f64 (cbrt.f64 (sin.f64 y)))))
0.5b
(*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))
0.6b
(cbrt.f64 (sin.f64 y))

series8.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

8.0ms
(*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (log1p.f64 (expm1.f64 (cbrt.f64 (sin.f64 y)))))

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×add-exp-log_binary64
10×pow1_binary64
add-cbrt-cube_binary64
cbrt-unprod_binary64
prod-exp_binary64
Counts
1 → 23
Calls

1 calls:

8.0ms
(*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (log1p.f64 (expm1.f64 (cbrt.f64 (sin.f64 y)))))

simplify78.0ms (1.3%)

Algorithm
egg-herbie
Rules
835×fma-def_binary64
367×fma-neg_binary64
334×unswap-sqr_binary64
301×*-commutative_binary64
300×unsub-neg_binary64
Counts
47 → 40
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
074881
1194421
2607411
31056407
41918393
53246393
64534393
74961393

prune214.0ms (3.6%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2220222
Fresh01010
Picked011
Done000
Total22211233
Error
0.0b
Counts
233 → 11
Alt Table
StatusErrorProgram
32.8b
(*.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
0.7b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))))) (cbrt.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))))) (cbrt.f64 (sin.f64 y))))
1.3b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))) (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
3.2b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 2))) (cbrt.f64 (sin.f64 y))))
29.9b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
19.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (cbrt.f64 y)))
0.9b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (cbrt.f64 x)))
0.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
0.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y)))) (log1p.f64 (expm1.f64 (cbrt.f64 (sin.f64 y))))))
34.9b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
16.9b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x)))
Compiler

Compiled 5651 to 1696 computations (70% saved)

regimes398.0ms (6.6%)

Accuracy

Total 0.1b remaining (65.5%)

Threshold costs 0.1b (65.5%)

Counts
96 → 1
Compiler

Compiled 6868 to 4182 computations (39.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
1912
2912

end144.0ms (2.4%)

Compiler

Compiled 257 to 128 computations (50.2% saved)

Profiling

Loading profile data...