Details

Time bar (total: 5.1s)

analyze611.0ms (11.9%)

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

Results
1.5s2117×body1024valid
744.0ms4606×body128valid
443.0ms1046×body512valid
147.0ms483×body256valid
6.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.1%)

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 (sin.f64 y) (*.f64 z (cos.f64 y)))
Compiler

Compiled 42 to 23 computations (45.2% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series24.0ms (0.5%)

Counts
3 → 64
Calls

3 calls:

14.0ms
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
8.0ms
(*.f64 z (cos.f64 y))
2.0ms
(cos.f64 y)

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

simplify95.0ms (1.9%)

Algorithm
egg-herbie
Rules
738×distribute-rgt-neg-in_binary64
593×fma-neg_binary64
367×*-commutative_binary64
354×sub-neg_binary64
331×neg-mul-1_binary64
Counts
103 → 81
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0911076
12001011
2592993
31661993
43588993
54917993
65070993

prune58.0ms (1.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New72981
Fresh000
Picked101
Done000
Total73982
Error
0.0b
Counts
82 → 9
Alt Table
StatusErrorProgram
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.2b
(fma.f64 (cos.f64 y) z (*.f64 (sin.f64 y) x))
35.7b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y))))
0.9b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (cos.f64 y))))
26.8b
(fma.f64 x (sin.f64 y) (cbrt.f64 (*.f64 (*.f64 (*.f64 z z) z) (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
33.8b
(fma.f64 y x (fma.f64 z (fma.f64 (*.f64 y y) -1/2 1) (*.f64 x (*.f64 (pow.f64 y 3) -1/6))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log1p.f64 (expm1.f64 (cos.f64 y)))))
33.3b
(*.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))))
Compiler

Compiled 1415 to 541 computations (61.8% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series21.0ms (0.4%)

Counts
2 → 40
Calls

2 calls:

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

rewrite6.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:

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

simplify76.0ms (1.5%)

Algorithm
egg-herbie
Rules
410×fma-neg_binary64
405×distribute-rgt-neg-in_binary64
347×distribute-lft-neg-in_binary64
293×distribute-rgt-in_binary64
279×distribute-lft-in_binary64
Counts
70 → 66
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
078852
1184793
2507781
31282780
42630780
54874780
64926780

prune85.0ms (1.7%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New77683
Fresh358
Picked101
Done000
Total811192
Error
0.0b
Counts
92 → 11
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (log1p.f64 (expm1.f64 (cos.f64 y))) z (*.f64 (sin.f64 y) x))
35.7b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y))))
0.6b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))) (*.f64 (cbrt.f64 (sin.f64 y)) x)))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.6b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (cbrt.f64 (*.f64 (sin.f64 y) x)) (cbrt.f64 (*.f64 (sin.f64 y) x))) (cbrt.f64 (*.f64 (sin.f64 y) x))))
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.9b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (cos.f64 y))))
31.9b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
26.8b
(fma.f64 x (sin.f64 y) (cbrt.f64 (*.f64 (*.f64 (*.f64 z z) z) (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))))
31.2b
(fma.f64 (cos.f64 y) z (*.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (sqrt.f64 (*.f64 (sin.f64 y) x))))
24.6b
(fma.f64 (cos.f64 y) z (cbrt.f64 (*.f64 (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (sin.f64 y)) (*.f64 (*.f64 x x) x))))
Compiler

Compiled 1515 to 573 computations (62.2% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (log1p.f64 (expm1.f64 (cos.f64 y))) z (*.f64 (sin.f64 y) x))
0.1b
(*.f64 (sin.f64 y) x)
0.2b
(log1p.f64 (expm1.f64 (cos.f64 y)))
0.6b
(expm1.f64 (cos.f64 y))

series20.0ms (0.4%)

Counts
3 → 60
Calls

3 calls:

15.0ms
(fma.f64 (log1p.f64 (expm1.f64 (cos.f64 y))) z (*.f64 (sin.f64 y) x))
3.0ms
(expm1.f64 (cos.f64 y))
2.0ms
(log1p.f64 (expm1.f64 (cos.f64 y)))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
3 → 32
Calls

3 calls:

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

simplify106.0ms (2.1%)

Algorithm
egg-herbie
Rules
565×fma-neg_binary64
550×sub-neg_binary64
408×*-commutative_binary64
281×distribute-rgt-neg-in_binary64
275×distribute-lft-neg-in_binary64
Counts
92 → 75
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
088930
1191879
2524865
31655858
44186858
54727858
64998858
74899858

prune100.0ms (1.9%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1100110
Fresh01010
Picked011
Done000
Total11011121
Error
0.0b
Counts
121 → 11
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (log1p.f64 (expm1.f64 (cos.f64 y))) z (*.f64 (sin.f64 y) x))
35.7b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y))))
0.6b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))) (*.f64 (cbrt.f64 (sin.f64 y)) x)))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.6b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (cbrt.f64 (*.f64 (sin.f64 y) x)) (cbrt.f64 (*.f64 (sin.f64 y) x))) (cbrt.f64 (*.f64 (sin.f64 y) x))))
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.9b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (cos.f64 y))))
31.9b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
26.8b
(fma.f64 x (sin.f64 y) (cbrt.f64 (*.f64 (*.f64 (*.f64 z z) z) (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))))
31.2b
(fma.f64 (cos.f64 y) z (*.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (sqrt.f64 (*.f64 (sin.f64 y) x))))
24.6b
(fma.f64 (cos.f64 y) z (cbrt.f64 (*.f64 (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (sin.f64 y)) (*.f64 (*.f64 x x) x))))
Compiler

Compiled 2043 to 726 computations (64.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series31.0ms (0.6%)

Counts
4 → 76
Calls

4 calls:

15.0ms
(fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
7.0ms
(*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))
7.0ms
(pow.f64 (cos.f64 y) 3)
2.0ms
(cbrt.f64 (pow.f64 (cos.f64 y) 3))

rewrite13.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod_binary64
24×add-sqr-sqrt_binary64
15×associate-*r*_binary64
15×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
Counts
4 → 94
Calls

4 calls:

6.0ms
(*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3)))
2.0ms
(pow.f64 (cos.f64 y) 3)
2.0ms
(cbrt.f64 (pow.f64 (cos.f64 y) 3))
0.0ms
(fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))

simplify113.0ms (2.2%)

Algorithm
egg-herbie
Rules
366×fma-neg_binary64
350×sub-neg_binary64
344×sqr-pow_binary64
343×*-commutative_binary64
336×cancel-sign-sub-inv_binary64
Counts
170 → 153
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01481661
12981562
29901524
320951524
439781521
548181521
648981521

prune195.0ms (3.8%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1503153
Fresh279
Picked011
Done011
Total15212164
Error
0.0b
Counts
164 → 12
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (log1p.f64 (expm1.f64 (cos.f64 y))) z (*.f64 (sin.f64 y) x))
35.7b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y))))
0.6b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (cbrt.f64 (sin.f64 y)) (cbrt.f64 (sin.f64 y))) (*.f64 (cbrt.f64 (sin.f64 y)) x)))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.9b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (cos.f64 y))))
31.9b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (sin.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
0.9b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (cbrt.f64 (pow.f64 (cos.f64 y) 3)))))
26.8b
(fma.f64 x (sin.f64 y) (cbrt.f64 (*.f64 (*.f64 (*.f64 z z) z) (pow.f64 (cos.f64 y) 3))))
0.9b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cbrt.f64 (*.f64 (cos.f64 y) z)) (cbrt.f64 (*.f64 (cos.f64 y) z))) (cbrt.f64 (*.f64 (cos.f64 y) z))))
31.2b
(fma.f64 (cos.f64 y) z (*.f64 (sqrt.f64 (*.f64 (sin.f64 y) x)) (sqrt.f64 (*.f64 (sin.f64 y) x))))
24.6b
(fma.f64 (cos.f64 y) z (cbrt.f64 (*.f64 (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (sin.f64 y)) (*.f64 (*.f64 x x) x))))
0.6b
(fma.f64 (cos.f64 y) z (*.f64 (*.f64 (cbrt.f64 (*.f64 (sin.f64 y) x)) (cbrt.f64 (*.f64 (sin.f64 y) x))) (cbrt.f64 (*.f64 (sin.f64 y) x))))
Compiler

Compiled 2646 to 1294 computations (51.1% saved)

regimes473.0ms (9.2%)

Accuracy

Total 0.1b remaining (61.8%)

Threshold costs 0.1b (61.8%)

Counts
104 → 1
Compiler

Compiled 6296 to 3906 computations (38% 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

end158.0ms (3.1%)

Compiler

Compiled 244 to 137 computations (43.9% saved)

Profiling

Loading profile data...