Details

Time bar (total: 6.4s)

analyze531.0ms (8.3%)

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.9s (45%)

Results
1.5s2123×body1024valid
765.0ms4604×body128valid
418.0ms1012×body512valid
153.0ms512×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.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(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.0b
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
0.2b
(*.f64 z (sin.f64 y))

series22.0ms (0.3%)

Counts
2 → 60
Calls

2 calls:

14.0ms
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
8.0ms
(*.f64 z (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
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)))

simplify84.0ms (1.3%)

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

prune45.0ms (0.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New59665
Fresh000
Picked011
Done000
Total59766
Error
0.1b
Counts
66 → 7
Alt Table
StatusErrorProgram
0.1b
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.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)))))
30.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))))
15.3b
(fma.f64 x (cos.f64 y) (cbrt.f64 (*.f64 (*.f64 (*.f64 z (sin.f64 y)) (*.f64 z (sin.f64 y))) (*.f64 z (sin.f64 y)))))
30.9b
(fma.f64 (*.f64 x (*.f64 y y)) -1/2 (fma.f64 y z x))
Compiler

Compiled 1113 to 378 computations (66% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series255.0ms (4%)

Counts
4 → 72
Calls

4 calls:

160.0ms
(*.f64 (cbrt.f64 z) (sin.f64 y))
38.0ms
(cbrt.f64 z)
35.0ms
(*.f64 (cbrt.f64 z) (cbrt.f64 z))
21.0ms
(*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y)))

rewrite20.0ms (0.3%)

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

4 calls:

7.0ms
(*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y)))
4.0ms
(*.f64 (cbrt.f64 z) (cbrt.f64 z))
4.0ms
(*.f64 (cbrt.f64 z) (sin.f64 y))
1.0ms
(cbrt.f64 z)

simplify117.0ms (1.8%)

Algorithm
egg-herbie
Rules
849×fma-def_binary64
720×fma-neg_binary64
501×cancel-sign-sub-inv_binary64
496×*-commutative_binary64
395×unswap-sqr_binary64
Counts
175 → 158
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01411734
13111507
211811430
323851407
445661395
549731395
649431395

prune195.0ms (3.1%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1897196
Fresh145
Picked101
Done011
Total19112203
Error
0.0b
Counts
203 → 12
Alt Table
StatusErrorProgram
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)))))
35.3b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (*.f64 (sqrt.f64 (cbrt.f64 z)) (sqrt.f64 (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
30.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.1b
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
0.8b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 z)) (cbrt.f64 (cbrt.f64 z))) (*.f64 (cbrt.f64 (cbrt.f64 z)) (cbrt.f64 (cbrt.f64 z)))) (*.f64 (cbrt.f64 (cbrt.f64 z)) (cbrt.f64 (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
30.9b
(fma.f64 (*.f64 x (*.f64 y y)) -1/2 (fma.f64 y z x))
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (cbrt.f64 (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (sin.f64 y)))))
1.9b
(fma.f64 x (cos.f64 y) (*.f64 (exp.f64 (log.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
21.0b
(fma.f64 x (cos.f64 y) (cbrt.f64 (*.f64 (*.f64 z z) (*.f64 (*.f64 (*.f64 (cbrt.f64 z) (sin.f64 y)) (*.f64 (cbrt.f64 z) (sin.f64 y))) (*.f64 (cbrt.f64 z) (sin.f64 y))))))
15.3b
(fma.f64 x (cos.f64 y) (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)))
Compiler

Compiled 4345 to 1267 computations (70.8% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series251.0ms (3.9%)

Counts
2 → 48
Calls

2 calls:

230.0ms
(*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (sin.f64 y)))
20.0ms
(*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (sin.f64 y))))

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
16×add-exp-log_binary64
16×pow1_binary64
12×associate-*l*_binary64
cbrt-unprod_binary64
prod-exp_binary64
Counts
2 → 49
Calls

2 calls:

7.0ms
(*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (sin.f64 y))))
5.0ms
(*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (sin.f64 y)))

simplify107.0ms (1.7%)

Algorithm
egg-herbie
Rules
835×fma-neg_binary64
591×fma-def_binary64
428×unswap-sqr_binary64
386×distribute-rgt-neg-in_binary64
376×*-commutative_binary64
Counts
97 → 92
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01001586
12571321
27991081
315781073
432221045
546911045
648921045
749161045

prune303.0ms (4.8%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1873190
Fresh2810
Picked011
Done011
Total18913202
Error
0.0b
Counts
202 → 13
Alt Table
StatusErrorProgram
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (cbrt.f64 (cbrt.f64 z))) (sin.f64 y)))))
30.9b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (cbrt.f64 z) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (sin.f64 y))))
0.8b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 z)) (cbrt.f64 (cbrt.f64 z))) (*.f64 (cbrt.f64 (cbrt.f64 z)) (cbrt.f64 (cbrt.f64 z)))) (*.f64 (cbrt.f64 (cbrt.f64 z)) (cbrt.f64 (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
17.3b
(fma.f64 x (cos.f64 y) (*.f64 (cbrt.f64 z) (*.f64 (sin.f64 y) (cbrt.f64 (*.f64 z z)))))
30.9b
(fma.f64 (*.f64 x (*.f64 y y)) -1/2 (fma.f64 y z x))
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)))))
35.3b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (*.f64 (sqrt.f64 (cbrt.f64 z)) (sqrt.f64 (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)))) (cbrt.f64 (sin.f64 y))))
0.1b
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (sin.f64 y)))))
1.9b
(fma.f64 x (cos.f64 y) (*.f64 (exp.f64 (log.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
15.3b
(fma.f64 x (cos.f64 y) (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)))
Compiler

Compiled 4287 to 1326 computations (69.1% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 z) (cbrt.f64 z))
0.5b
(cbrt.f64 z)
0.6b
(cbrt.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)))
0.6b
(cbrt.f64 (cbrt.f64 z))

series561.0ms (8.8%)

Counts
2 → 24
Calls

2 calls:

303.0ms
(cbrt.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)))
258.0ms
(cbrt.f64 (cbrt.f64 z))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×cbrt-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 27
Calls

2 calls:

2.0ms
(cbrt.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)))
1.0ms
(cbrt.f64 (cbrt.f64 z))

simplify105.0ms (1.6%)

Algorithm
egg-herbie
Rules
693×sqr-pow_binary64
622×fma-def_binary64
548×unswap-sqr_binary64
376×distribute-rgt-in_binary64
318×*-commutative_binary64
Counts
51 → 42
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
047474
178474
2138474
3283468
4779450
51271450
61449450
71730450
82156450
92689450
103638450
114799450
124840450

prune244.0ms (3.8%)

Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New1960196
Fresh01010
Picked011
Done022
Total19613209
Error
0.0b
Counts
209 → 13
Alt Table
StatusErrorProgram
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z))) (cbrt.f64 (cbrt.f64 z))) (sin.f64 y)))))
30.9b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (cbrt.f64 z) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (sin.f64 y))))
0.8b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 z)) (cbrt.f64 (cbrt.f64 z))) (*.f64 (cbrt.f64 (cbrt.f64 z)) (cbrt.f64 (cbrt.f64 z)))) (*.f64 (cbrt.f64 (cbrt.f64 z)) (cbrt.f64 (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
17.3b
(fma.f64 x (cos.f64 y) (*.f64 (cbrt.f64 z) (*.f64 (sin.f64 y) (cbrt.f64 (*.f64 z z)))))
30.9b
(fma.f64 (*.f64 x (*.f64 y y)) -1/2 (fma.f64 y z x))
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)))))
35.3b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (*.f64 (sqrt.f64 (cbrt.f64 z)) (sqrt.f64 (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)))) (cbrt.f64 (sin.f64 y))))
0.1b
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (*.f64 (cbrt.f64 z) (sin.f64 y)))))
1.9b
(fma.f64 x (cos.f64 y) (*.f64 (exp.f64 (log.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
15.3b
(fma.f64 x (cos.f64 y) (cbrt.f64 (pow.f64 (*.f64 z (sin.f64 y)) 3)))
Compiler

Compiled 5616 to 1623 computations (71.1% saved)

regimes415.0ms (6.5%)

Accuracy

Total 0.1b remaining (45.9%)

Threshold costs 0.1b (45.9%)

Counts
90 → 1
Compiler

Compiled 7500 to 4210 computations (43.9% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
1912
2912

end167.0ms (2.6%)

Compiler

Compiled 287 to 150 computations (47.7% saved)

Profiling

Loading profile data...