Details

Time bar (total: 7.4s)

analyze4.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample4.6s (62.4%)

Results
2.4s2040×body1024valid
1.1s4603×body128valid
722.0ms1097×body512valid
251.0ms512×body256valid
9.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify43.0ms (0.6%)

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

prune6.0ms (0.1%)

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)

localize15.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series56.0ms (0.8%)

Counts
3 → 64
Calls

3 calls:

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

rewrite11.0ms (0.2%)

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:

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

simplify190.0ms (2.6%)

Algorithm
egg-herbie
Rules
650×fma-neg_binary64
495×sub-neg_binary64
289×associate-*l*_binary64
258×unswap-sqr_binary64
256×distribute-rgt-neg-in_binary64
Counts
103 → 82
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01031088
12291018
26531001
31805999
43991999
54797999
64959999

prune120.0ms (1.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New74882
Fresh000
Picked101
Done000
Total75883
Error
0.0b
Counts
83 → 8
Alt Table
StatusErrorProgram
0.3b
(fma.f64 x (log.f64 (exp.f64 (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)))))
37.0b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
31.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
29.4b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.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))))
27.6b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))))
0.2b
(fma.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 1401 to 508 computations (63.7% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3)) (*.f64 z (sin.f64 y)))
0.1b
(*.f64 z (sin.f64 y))
0.4b
(cbrt.f64 (pow.f64 (cos.f64 y) 3))
0.4b
(pow.f64 (cos.f64 y) 3)

series46.0ms (0.6%)

Counts
3 → 52
Calls

3 calls:

30.0ms
(fma.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3)) (*.f64 z (sin.f64 y)))
12.0ms
(pow.f64 (cos.f64 y) 3)
3.0ms
(cbrt.f64 (pow.f64 (cos.f64 y) 3))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
cube-prod_binary64
Counts
3 → 58
Calls

3 calls:

4.0ms
(pow.f64 (cos.f64 y) 3)
3.0ms
(cbrt.f64 (pow.f64 (cos.f64 y) 3))
1.0ms
(fma.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3)) (*.f64 z (sin.f64 y)))

simplify138.0ms (1.9%)

Algorithm
egg-herbie
Rules
769×cancel-sign-sub-inv_binary64
455×fma-neg_binary64
447×associate-*l*_binary64
398×associate-*r*_binary64
328×log-prod_binary64
Counts
110 → 97
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01071100
12141040
26321014
324031012
448241012
550161012

prune230.0ms (3.1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1331134
Fresh077
Picked011
Done000
Total1339142
Error
0.0b
Counts
142 → 9
Alt Table
StatusErrorProgram
15.6b
(fma.f64 x (cbrt.f64 (exp.f64 (*.f64 (log.f64 (cos.f64 y)) 3))) (*.f64 z (sin.f64 y)))
27.6b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))))
0.3b
(fma.f64 x (log.f64 (exp.f64 (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)))))
37.0b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
31.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
29.4b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.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))))
0.2b
(fma.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 2421 to 1095 computations (54.8% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series24.0ms (0.3%)

Counts
3 → 52
Calls

3 calls:

19.0ms
(fma.f64 x (log.f64 (exp.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
3.0ms
(exp.f64 (cos.f64 y))
2.0ms
(log.f64 (exp.f64 (cos.f64 y)))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
exp-prod_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
Counts
3 → 40
Calls

3 calls:

2.0ms
(log.f64 (exp.f64 (cos.f64 y)))
2.0ms
(exp.f64 (cos.f64 y))
0.0ms
(fma.f64 x (log.f64 (exp.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))

simplify152.0ms (2.1%)

Algorithm
egg-herbie
Rules
723×distribute-rgt-neg-in_binary64
508×fma-neg_binary64
420×*-commutative_binary64
342×sub-neg_binary64
319×neg-mul-1_binary64
Counts
92 → 87
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
096967
1191912
2491898
31533889
43489889
54707889
65019889

prune204.0ms (2.8%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1231124
Fresh077
Picked011
Done011
Total12310133
Error
0.0b
Counts
133 → 10
Alt Table
StatusErrorProgram
0.5b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
0.4b
(fma.f64 x (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3))) (*.f64 z (sin.f64 y)))
15.6b
(fma.f64 x (cbrt.f64 (exp.f64 (*.f64 (log.f64 (cos.f64 y)) 3))) (*.f64 z (sin.f64 y)))
27.6b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))))
0.3b
(fma.f64 x (log.f64 (exp.f64 (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)))))
37.0b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))))
31.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
29.4b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
0.2b
(fma.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 2186 to 747 computations (65.8% saved)

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 z (sin.f64 y))
0.3b
(cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3))
0.4b
(log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3)))
0.9b
(pow.f64 (exp.f64 (cos.f64 y)) 3)

series27.0ms (0.4%)

Counts
3 → 28
Calls

3 calls:

17.0ms
(pow.f64 (exp.f64 (cos.f64 y)) 3)
6.0ms
(cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3))
3.0ms
(log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3)))

rewrite26.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
24×cbrt-prod_binary64
15×log-prod_binary64
14×*-un-lft-identity_binary64
14×add-sqr-sqrt_binary64
14×add-cube-cbrt_binary64
Counts
3 → 78
Calls

3 calls:

13.0ms
(pow.f64 (exp.f64 (cos.f64 y)) 3)
4.0ms
(log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3)))
3.0ms
(cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3))

simplify175.0ms (2.4%)

Algorithm
egg-herbie
Rules
813×fma-neg_binary64
545×associate-*l*_binary64
485×associate-*r*_binary64
379×log-prod_binary64
219×exp-prod_binary64
Counts
106 → 119
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01291183
12491087
27181005
329351001
446671001
549331001

prune289.0ms (3.9%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1542156
Fresh257
Picked101
Done022
Total1579166
Error
0.0b
Counts
166 → 9
Alt Table
StatusErrorProgram
0.3b
(fma.f64 x (log.f64 (exp.f64 (cos.f64 y))) (*.f64 z (sin.f64 y)))
0.4b
(fma.f64 x (log1p.f64 (expm1.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3))))) (*.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)))))
0.4b
(fma.f64 x (expm1.f64 (log1p.f64 (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3))))) (*.f64 z (sin.f64 y)))
31.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
29.4b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.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))))
27.6b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))))
0.2b
(fma.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 3080 to 1468 computations (52.3% saved)

regimes706.0ms (9.6%)

Accuracy

Total 0.1b remaining (53%)

Threshold costs 0.1b (53%)

Counts
84 → 1
Compiler

Compiled 5836 to 3674 computations (37% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
exp-1-e_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01218
11718
21618

end238.0ms (3.2%)

Compiler

Compiled 190 to 114 computations (40% saved)

Profiling

Loading profile data...