Details

Time bar (total: 7.2s)

analyze562.0ms (7.8%)

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
0%99.9%0.1%6
37.4%62.4%0.1%7
43.7%56.2%0.1%8
43.7%56.2%0.1%9
65.5%34.3%0.1%10
70.2%29.6%0.1%11
70.2%29.6%0.1%12
81.9%17.9%0.1%13
84.6%15.2%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample2.9s (40.4%)

Results
1.5s2099×body1024valid
742.0ms4586×body128valid
411.0ms1001×body512valid
176.0ms566×body256valid
5.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.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
Compiler

Compiled 42 to 23 computations (45.2% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series22.0ms (0.3%)

Counts
3 → 64
Calls

3 calls:

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

rewrite5.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
3 → 39
Calls

3 calls:

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

simplify116.0ms (1.6%)

Algorithm
egg-herbie
Rules
591×fma-neg_binary64
413×sub-neg_binary64
295×associate-*l*_binary64
259×unswap-sqr_binary64
258×associate-*r*_binary64
Counts
103 → 81
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01031076
12251013
2651994
31798994
43982994
54885994
65000994
74925994

prune62.0ms (0.9%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New76581
Fresh000
Picked101
Done000
Total77582
Error
0.0b
Counts
82 → 5
Alt Table
StatusErrorProgram
4.2b
(fma.f64 x (cbrt.f64 (pow.f64 (sin.f64 y) 3)) (*.f64 z (cos.f64 y)))
0.4b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))
0.6b
(fma.f64 x (*.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))) (cbrt.f64 (sin.f64 y))) (*.f64 z (cos.f64 y)))
29.4b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y))))
Compiler

Compiled 1281 to 448 computations (65% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))))
0.2b
(*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y)))
0.2b
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
0.3b
(cbrt.f64 (cos.f64 y))

series798.0ms (11.1%)

Counts
4 → 72
Calls

4 calls:

479.0ms
(*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))))
185.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
127.0ms
(cbrt.f64 (cos.f64 y))
7.0ms
(*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y)))

rewrite25.0ms (0.3%)

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:

8.0ms
(*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y)))
6.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
5.0ms
(*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))))
1.0ms
(cbrt.f64 (cos.f64 y))

simplify156.0ms (2.2%)

Algorithm
egg-herbie
Rules
610×fma-neg_binary64
609×unswap-sqr_binary64
446×*-commutative_binary64
370×cancel-sign-sub-inv_binary64
351×log-prod_binary64
Counts
174 → 172
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01512118
13521918
212181772
323451734
444841716
549001716
649621716

prune218.0ms (3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2182220
Fresh044
Picked011
Done000
Total2187225
Error
0.0b
Counts
225 → 7
Alt Table
StatusErrorProgram
4.2b
(fma.f64 x (cbrt.f64 (pow.f64 (sin.f64 y) 3)) (*.f64 z (cos.f64 y)))
0.4b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))
0.5b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cbrt.f64 (cos.f64 y))))) (cbrt.f64 (cbrt.f64 (cos.f64 y)))))
0.6b
(fma.f64 x (*.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))) (cbrt.f64 (sin.f64 y))) (*.f64 z (cos.f64 y)))
29.4b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (cbrt.f64 (cos.f64 y))))
Compiler

Compiled 5082 to 1517 computations (70.1% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3))
0.2b
(*.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (cbrt.f64 (cos.f64 y)))
0.3b
(pow.f64 (cos.f64 y) 2)
0.3b
(cbrt.f64 (cos.f64 y))

series507.0ms (7.1%)

Counts
3 → 52
Calls

3 calls:

495.0ms
(*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3))
9.0ms
(*.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (cbrt.f64 (cos.f64 y)))
3.0ms
(pow.f64 (cos.f64 y) 2)

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
27×add-exp-log_binary64
20×add-sqr-sqrt_binary64
19×unpow-prod-down_binary64
18×associate-*r*_binary64
16×prod-exp_binary64
Counts
3 → 85
Calls

3 calls:

8.0ms
(*.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (cbrt.f64 (cos.f64 y)))
6.0ms
(*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3))
2.0ms
(pow.f64 (cos.f64 y) 2)

simplify95.0ms (1.3%)

Algorithm
egg-herbie
Rules
682×fma-neg_binary64
568×unswap-sqr_binary64
398×*-commutative_binary64
354×cancel-sign-sub-inv_binary64
289×log-prod_binary64
Counts
137 → 141
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01642043
13681709
212111576
323611564
443111562
549561562

prune178.0ms (2.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1650165
Fresh055
Picked011
Done011
Total1657172
Error
0.0b
Counts
172 → 7
Alt Table
StatusErrorProgram
4.2b
(fma.f64 x (cbrt.f64 (pow.f64 (sin.f64 y) 3)) (*.f64 z (cos.f64 y)))
0.4b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))
0.5b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cbrt.f64 (cos.f64 y))))) (cbrt.f64 (cbrt.f64 (cos.f64 y)))))
0.6b
(fma.f64 x (*.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))) (cbrt.f64 (sin.f64 y))) (*.f64 z (cos.f64 y)))
29.4b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (cbrt.f64 (cos.f64 y))))
Compiler

Compiled 3882 to 1916 computations (50.6% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cbrt.f64 (cos.f64 y))))
0.2b
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
0.3b
(cbrt.f64 (cbrt.f64 (cos.f64 y)))
0.3b
(cbrt.f64 (cos.f64 y))

series310.0ms (4.3%)

Counts
2 → 24
Calls

2 calls:

187.0ms
(*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cbrt.f64 (cos.f64 y))))
123.0ms
(cbrt.f64 (cbrt.f64 (cos.f64 y)))

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
63×cbrt-prod_binary64
34×add-sqr-sqrt_binary64
16×*-un-lft-identity_binary64
16×add-cube-cbrt_binary64
associate-*r*_binary64
Counts
2 → 72
Calls

2 calls:

7.0ms
(*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cbrt.f64 (cos.f64 y))))
1.0ms
(cbrt.f64 (cbrt.f64 (cos.f64 y)))

simplify122.0ms (1.7%)

Algorithm
egg-herbie
Rules
637×fma-def_binary64
417×sub-neg_binary64
376×distribute-rgt-neg-in_binary64
360×cancel-sign-sub-inv_binary64
292×distribute-lft-neg-in_binary64
Counts
96 → 106
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0961708
11791708
24461584
311641547
427421197
542261197
647051197
748851197

prune427.0ms (6%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New3440344
Fresh044
Picked011
Done022
Total3447351
Error
0.0b
Counts
351 → 7
Alt Table
StatusErrorProgram
4.2b
(fma.f64 x (cbrt.f64 (pow.f64 (sin.f64 y) 3)) (*.f64 z (cos.f64 y)))
0.4b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (cbrt.f64 (cos.f64 y))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y))))) (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))
0.5b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (*.f64 z (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (*.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cbrt.f64 (cos.f64 y))))) (cbrt.f64 (cbrt.f64 (cos.f64 y)))))
0.6b
(fma.f64 x (*.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))) (cbrt.f64 (sin.f64 y))) (*.f64 z (cos.f64 y)))
29.4b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (cbrt.f64 (cos.f64 y))))
Compiler

Compiled 11686 to 2486 computations (78.7% saved)

regimes446.0ms (6.2%)

Accuracy

Total 0.1b remaining (49.9%)

Threshold costs 0.1b (49.9%)

Counts
89 → 1
Compiler

Compiled 6940 to 3990 computations (42.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
unpow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11312
21212

end124.0ms (1.7%)

Compiler

Compiled 173 to 89 computations (48.6% saved)

Profiling

Loading profile data...