Details

Time bar (total: 4.8s)

analyze434.0ms (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
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.3s (48%)

Results
953.0ms5909×body128valid
904.0ms1260×body1024valid
285.0ms714×body512valid
101.0ms371×body256valid
3.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify22.0ms (0.5%)

Algorithm
egg-herbie
Rules
230×fma-def_binary64
171×fma-neg_binary64
66×cancel-sign-sub-inv_binary64
44×associate--r+_binary64
44×distribute-rgt-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11814
23414
35914
49914
515514
624714
729214
837814
941014
1044414
1145414
1243114

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 36 to 24 computations (33.3% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series24.0ms (0.5%)

Counts
3 → 84
Calls

3 calls:

12.0ms
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
7.0ms
(*.f64 z (sin.f64 y))
6.0ms
(+.f64 x (cos.f64 y))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-log-exp_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
3 → 61
Calls

3 calls:

5.0ms
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
5.0ms
(*.f64 z (sin.f64 y))
2.0ms
(+.f64 x (cos.f64 y))

simplify97.0ms (2%)

Algorithm
egg-herbie
Rules
883×fma-neg_binary64
503×fma-def_binary64
418×associate-*l*_binary64
386×associate-*r*_binary64
239×cancel-sign-sub-inv_binary64
Counts
145 → 119
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01411641
13691578
210841530
337951520
446871520
548661520

prune78.0ms (1.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1145119
Fresh000
Picked011
Done000
Total1146120
Error
0.0b
Counts
120 → 6
Alt Table
StatusErrorProgram
0.0b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
19.4b
(-.f64 (/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3)) (fma.f64 (cos.f64 y) (-.f64 (cos.f64 y) x) (*.f64 x x))) (*.f64 z (sin.f64 y)))
34.4b
(-.f64 (fma.f64 (sqrt.f64 x) (sqrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y)))
29.6b
(-.f64 (log1p.f64 (expm1.f64 (+.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y)))
31.3b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
0.4b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y))))
Compiler

Compiled 1999 to 623 computations (68.8% saved)

localize12.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.6b
(cbrt.f64 z)

series252.0ms (5.2%)

Counts
4 → 72
Calls

4 calls:

157.0ms
(*.f64 (cbrt.f64 z) (sin.f64 y))
37.0ms
(*.f64 (cbrt.f64 z) (cbrt.f64 z))
35.0ms
(cbrt.f64 z)
23.0ms
(*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (*.f64 (cbrt.f64 z) (sin.f64 y)))

rewrite25.0ms (0.5%)

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:

8.0ms
(*.f64 (cbrt.f64 z) (sin.f64 y))
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))
1.0ms
(cbrt.f64 z)

simplify119.0ms (2.5%)

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

prune157.0ms (3.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1951196
Fresh044
Picked101
Done011
Total1966202
Error
0b
Counts
202 → 6
Alt Table
StatusErrorProgram
0.0b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
19.4b
(-.f64 (/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3)) (fma.f64 (cos.f64 y) (-.f64 (cos.f64 y) x) (*.f64 x x))) (*.f64 z (sin.f64 y)))
0.4b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
34.4b
(-.f64 (fma.f64 (sqrt.f64 x) (sqrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y)))
29.6b
(-.f64 (log1p.f64 (expm1.f64 (+.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y)))
31.3b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
Compiler

Compiled 4244 to 1145 computations (73% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series75.0ms (1.6%)

Counts
2 → 24
Calls

2 calls:

38.0ms
(cbrt.f64 (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (cbrt.f64 z)))
37.0ms
(*.f64 (cbrt.f64 z) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (cbrt.f64 z))))

rewrite12.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
cbrt-prod_binary64
associate-*l*_binary64
add-cube-cbrt_binary64
*-un-lft-identity_binary64
Counts
2 → 39
Calls

2 calls:

6.0ms
(cbrt.f64 (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (cbrt.f64 z)))
4.0ms
(*.f64 (cbrt.f64 z) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (cbrt.f64 z))))

simplify91.0ms (1.9%)

Algorithm
egg-herbie
Rules
411×distribute-rgt-in_binary64
396×associate-+l+_binary64
394×log-prod_binary64
377×distribute-lft-in_binary64
364×unswap-sqr_binary64
Counts
63 → 71
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
057480
194432
2244400
3647400
41316379
53447379
64338379
74970379
84788379

prune158.0ms (3.3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2250225
Fresh044
Picked011
Done011
Total2256231
Error
0b
Counts
231 → 6
Alt Table
StatusErrorProgram
0.0b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
19.4b
(-.f64 (/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3)) (fma.f64 (cos.f64 y) (-.f64 (cos.f64 y) x) (*.f64 x x))) (*.f64 z (sin.f64 y)))
0.4b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
34.4b
(-.f64 (fma.f64 (sqrt.f64 x) (sqrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y)))
29.6b
(-.f64 (log1p.f64 (expm1.f64 (+.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y)))
31.3b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
Compiler

Compiled 6166 to 1516 computations (75.4% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 z (sin.f64 y))
0.1b
(fma.f64 (cos.f64 y) (-.f64 (cos.f64 y) x) (*.f64 x x))
0.4b
(pow.f64 (cos.f64 y) 3)
18.7b
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3)) (fma.f64 (cos.f64 y) (-.f64 (cos.f64 y) x) (*.f64 x x)))

series171.0ms (3.5%)

Counts
3 → 52
Calls

3 calls:

148.0ms
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3)) (fma.f64 (cos.f64 y) (-.f64 (cos.f64 y) x) (*.f64 x x)))
12.0ms
(pow.f64 (cos.f64 y) 3)
11.0ms
(fma.f64 (cos.f64 y) (-.f64 (cos.f64 y) x) (*.f64 x x))

rewrite22.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity_binary64
27×times-frac_binary64
20×distribute-lft-out_binary64
20×add-sqr-sqrt_binary64
20×add-cube-cbrt_binary64
Counts
3 → 90
Calls

3 calls:

13.0ms
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3)) (fma.f64 (cos.f64 y) (-.f64 (cos.f64 y) x) (*.f64 x x)))
2.0ms
(pow.f64 (cos.f64 y) 3)
0.0ms
(fma.f64 (cos.f64 y) (-.f64 (cos.f64 y) x) (*.f64 x x))

simplify113.0ms (2.3%)

Algorithm
egg-herbie
Rules
441×unswap-sqr_binary64
294×associate-+r+_binary64
229×fma-def_binary64
207×+-commutative_binary64
196×fma-neg_binary64
Counts
142 → 123
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03195179
18934864
239054848
351474848

prune169.0ms (3.5%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1600160
Fresh033
Picked011
Done022
Total1606166
Error
0b
Counts
166 → 6
Alt Table
StatusErrorProgram
0.0b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
19.4b
(-.f64 (/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (cos.f64 y) 3)) (fma.f64 (cos.f64 y) (-.f64 (cos.f64 y) x) (*.f64 x x))) (*.f64 z (sin.f64 y)))
0.4b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 z)) (cbrt.f64 z)))) (*.f64 (cbrt.f64 z) (sin.f64 y))))
34.4b
(-.f64 (fma.f64 (sqrt.f64 x) (sqrt.f64 x) (cos.f64 y)) (*.f64 z (sin.f64 y)))
29.6b
(-.f64 (log1p.f64 (expm1.f64 (+.f64 x (cos.f64 y)))) (*.f64 z (sin.f64 y)))
31.3b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
Compiler

Compiled 7139 to 3312 computations (53.6% saved)

regimes334.0ms (6.9%)

Accuracy

Total 0.0b remaining (28.7%)

Threshold costs 0.0b (28.7%)

Counts
80 → 1
Compiler

Compiled 6388 to 3958 computations (38% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11614
22614
33214
43614
53714
63714

end87.0ms (1.8%)

Compiler

Compiled 135 to 83 computations (38.5% saved)

Profiling

Loading profile data...