Details

Time bar (total: 6.0s)

analyze434.0ms (7.2%)

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

Results
1.5s2034×body1024valid
868.0ms4720×body128valid
412.0ms1024×body512valid
136.0ms476×body256valid
2.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.1b
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
0.1b
(*.f64 z (sin.f64 y))

series28.0ms (0.5%)

Counts
2 → 60
Calls

2 calls:

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

simplify82.0ms (1.4%)

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

prune48.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
30.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)))))
24.4b
(fma.f64 x (cos.f64 y) (cbrt.f64 (*.f64 (*.f64 (*.f64 z z) z) (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (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 (sin.f64 y) z (*.f64 (cos.f64 y) 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)))))
31.1b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
28.2b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
Compiler

Compiled 1134 to 389 computations (65.7% saved)

localize7.0ms (0.1%)

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)

series22.0ms (0.4%)

Counts
2 → 40
Calls

2 calls:

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

simplify68.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

prune55.0ms (0.9%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New59665
Fresh246
Picked101
Done000
Total621072
Error
0.0b
Counts
72 → 10
Alt Table
StatusErrorProgram
16.8b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x)))
31.1b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
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)))
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))))
24.4b
(fma.f64 x (cos.f64 y) (cbrt.f64 (*.f64 (*.f64 (*.f64 z z) z) (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (sin.f64 y)))))
27.2b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
0.8b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (cbrt.f64 x)))
28.2b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
29.9b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (*.f64 (cos.f64 y) x)) (sqrt.f64 (*.f64 (cos.f64 y) x))))
25.2b
(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))))
Compiler

Compiled 1209 to 452 computations (62.6% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (cbrt.f64 (cos.f64 y)) x)
0.2b
(*.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))

series856.0ms (14.2%)

Counts
4 → 72
Calls

4 calls:

458.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) x)
222.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y)))
167.0ms
(cbrt.f64 (cos.f64 y))
8.0ms
(*.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (*.f64 (cbrt.f64 (cos.f64 y)) x))

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

simplify114.0ms (1.9%)

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

prune189.0ms (3.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2013204
Fresh279
Picked101
Done000
Total20410214
Error
0.0b
Counts
214 → 10
Alt Table
StatusErrorProgram
16.8b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x)))
31.1b
(fma.f64 x (cos.f64 y) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
24.4b
(fma.f64 x (cos.f64 y) (cbrt.f64 (*.f64 (*.f64 (*.f64 z z) z) (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (sin.f64 y)))))
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.4b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (*.f64 (cbrt.f64 (cos.f64 y)) (cbrt.f64 (cos.f64 y))) (cbrt.f64 (cos.f64 y))) x))
27.2b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
0.8b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (*.f64 (cbrt.f64 x) (cbrt.f64 x))) (cbrt.f64 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))))
28.2b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
16.9b
(fma.f64 (sin.f64 y) z (*.f64 (log.f64 (exp.f64 (pow.f64 (cos.f64 y) 2/3))) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
Compiler

Compiled 4837 to 1354 computations (72% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series230.0ms (3.8%)

Counts
3 → 32
Calls

3 calls:

218.0ms
(pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)
8.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)

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
27×add-exp-log_binary64
25×unpow-prod-down_binary64
15×prod-exp_binary64
13×pow-exp_binary64
12×associate-*l*_binary64
Counts
3 → 84
Calls

3 calls:

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

simplify86.0ms (1.4%)

Algorithm
egg-herbie
Rules
710×fma-neg_binary64
666×fma-def_binary64
363×*-commutative_binary64
224×cancel-sign-sub-inv_binary64
216×unswap-sqr_binary64
Counts
116 → 135
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01461654
13431348
210321202
321291194
445291192
549421192

prune213.0ms (3.5%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1553158
Fresh459
Picked101
Done000
Total1608168
Error
0.0b
Counts
168 → 8
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (sin.f64 y) z (*.f64 (sqrt.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3)) (*.f64 (*.f64 x (cbrt.f64 (cos.f64 y))) (pow.f64 (pow.f64 (cos.f64 y) 2) 1/6))))
24.4b
(fma.f64 x (cos.f64 y) (cbrt.f64 (*.f64 (*.f64 (*.f64 z z) z) (*.f64 (*.f64 (sin.f64 y) (sin.f64 y)) (sin.f64 y)))))
16.8b
(fma.f64 (sin.f64 y) z (*.f64 (pow.f64 (cos.f64 y) 1/3) (*.f64 x (pow.f64 (cos.f64 y) 2/3))))
27.2b
(fma.f64 (sin.f64 y) z (*.f64 (*.f64 (cos.f64 y) (sqrt.f64 x)) (sqrt.f64 x)))
31.1b
(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))))
28.2b
(fma.f64 x (cos.f64 y) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
0.2b
(fma.f64 (sin.f64 y) z (*.f64 (log.f64 (exp.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3))) (*.f64 (cbrt.f64 (cos.f64 y)) x)))
Compiler

Compiled 3537 to 1703 computations (51.9% saved)

regimes460.0ms (7.6%)

Accuracy

Total 0.1b remaining (58.3%)

Threshold costs 0.1b (58.3%)

Counts
104 → 1
Compiler

Compiled 6960 to 4498 computations (35.4% 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 (2.1%)

Compiler

Compiled 176 to 109 computations (38.1% saved)

Profiling

Loading profile data...