Details

Time bar (total: 5.8s)

analyze434.0ms (7.5%)

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.8s (48.7%)

Results
1.5s1999×body1024valid
716.0ms4628×body128valid
432.0ms1055×body512valid
158.0ms570×body256valid
6.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify7.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.1b
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
0.1b
(*.f64 z (sin.f64 y))

series23.0ms (0.4%)

Counts
2 → 60
Calls

2 calls:

16.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)))

simplify89.0ms (1.5%)

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.8%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New58765
Fresh000
Picked101
Done000
Total59766
Error
0.1b
Counts
66 → 7
Alt Table
StatusErrorProgram
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 (sin.f64 y) z (*.f64 (cos.f64 y) x))
31.4b
(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 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
32.3b
(*.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.4b
(*.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.9b
(cbrt.f64 (pow.f64 (fma.f64 (sin.f64 y) z (*.f64 (cos.f64 y) x)) 3))
Compiler

Compiled 1124 to 387 computations (65.6% saved)

localize9.0ms (0.2%)

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)

series20.0ms (0.3%)

Counts
2 → 40
Calls

2 calls:

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

simplify64.0ms (1.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

prune51.0ms (0.9%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New60565
Fresh246
Picked101
Done000
Total63972
Error
0.0b
Counts
72 → 9
Alt Table
StatusErrorProgram
0.4b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
31.4b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
33.2b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x))))
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.9b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (cbrt.f64 x)))
16.4b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x)))
24.4b
(fma.f64 (sin.f64 y) z (cbrt.f64 (*.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)) (*.f64 (*.f64 x x) x))))
0.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
1.4b
(*.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)))))
Compiler

Compiled 1205 to 432 computations (64.1% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series865.0ms (14.9%)

Counts
4 → 72
Calls

4 calls:

468.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) x)
228.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
161.0ms
(cbrt.f64 (cos.f64 y))
7.0ms
(*.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (*.f64 (cbrt.f64 (cos.f64 y)) x))

rewrite20.0ms (0.4%)

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 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (*.f64 (cbrt.f64 (cos.f64 y)) x))
5.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
3.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) x)
1.0ms
(cbrt.f64 (cos.f64 y))

simplify176.0ms (3%)

Algorithm
egg-herbie
Rules
465×fma-neg_binary64
389×cancel-sign-sub-inv_binary64
381×*-commutative_binary64
267×fma-def_binary64
221×associate-+l+_binary64
Counts
175 → 158
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01501804
13391606
211401555
322861535
447981409
549411409
649471409

prune217.0ms (3.7%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2004204
Fresh268
Picked101
Done000
Total20310213
Error
0.0b
Counts
213 → 10
Alt Table
StatusErrorProgram
33.2b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x))))
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.3b
(fma.f64 (sin.f64 y) z (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
0.2b
(fma.f64 (sin.f64 y) z (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
24.4b
(fma.f64 (sin.f64 y) z (cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3)))
0.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
0.5b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 4)) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
16.4b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x)))
31.4b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
1.4b
(*.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)))))
Compiler

Compiled 4875 to 1360 computations (72.1% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series10.0ms (0.2%)

Counts
2 → 28
Calls

2 calls:

7.0ms
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (cos.f64 y)) x))
3.0ms
(pow.f64 (cos.f64 y) 2)

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
24×add-exp-log_binary64
15×prod-exp_binary64
14×unpow-prod-down_binary64
12×associate-*l*_binary64
pow-exp_binary64
Counts
2 → 57
Calls

2 calls:

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

simplify115.0ms (2%)

Algorithm
egg-herbie
Rules
611×fma-neg_binary64
490×sqr-pow_binary64
456×fma-def_binary64
433×*-commutative_binary64
298×cancel-sign-sub-inv_binary64
Counts
85 → 90
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01191237
1278951
2831813
31736809
43579674
54060674
64764674
74980674
84885674

prune189.0ms (3.3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1473150
Fresh189
Picked011
Done000
Total14812160
Error
0.0b
Counts
160 → 12
Alt Table
StatusErrorProgram
0.3b
(fma.f64 (sin.f64 y) z (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 y)))) x)))
31.4b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
16.4b
(fma.f64 (sin.f64 y) z (*.f64 (pow.f64 (cos.f64 y) 1/3) (*.f64 x (pow.f64 (cos.f64 y) 2/3))))
0.2b
(fma.f64 (sin.f64 y) z (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
0.3b
(fma.f64 (sin.f64 y) z (*.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
24.4b
(fma.f64 (sin.f64 y) z (cbrt.f64 (pow.f64 (*.f64 (cos.f64 y) x) 3)))
0.6b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
16.4b
(fma.f64 (sin.f64 y) z (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (sqrt.f64 (cos.f64 y))) (*.f64 x (pow.f64 (cos.f64 y) 1/6)))))
0.5b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))) (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 4)) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
16.4b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x)))
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))))
1.4b
(*.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)))))
Compiler

Compiled 3416 to 1608 computations (52.9% saved)

regimes412.0ms (7.1%)

Accuracy

Total 0.1b remaining (65%)

Threshold costs 0.1b (65%)

Counts
89 → 1
Compiler

Compiled 5736 to 3530 computations (38.5% saved)

simplify8.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11312
21212

end169.0ms (2.9%)

Compiler

Compiled 267 to 156 computations (41.6% saved)

Profiling

Loading profile data...