Details

Time bar (total: 6.5s)

analyze377.0ms (5.8%)

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
31.2%68.6%0.1%6
43.7%56.2%0.1%7
59.3%40.6%0.1%8
59.3%40.6%0.1%9
68.6%31.2%0.1%10
78%21.8%0.1%11
78%21.8%0.1%12
83.5%16.4%0.1%13
88.5%11.3%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample113.0ms (1.7%)

Algorithm
intervals
Results
18.0ms38×body1024valid
15.0ms191×body128valid
5.0ms21×body512valid
1.0msbody256valid
Compiler

Compiled 28 to 20 computations (28.6% saved)

simplify23.0ms (0.4%)

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

Local error

Found 2 expressions with local error:

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

series21.0ms (0.3%)

Counts
2 → 60
Calls

2 calls:

14.0ms
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
8.0ms
(*.f64 z (sin.f64 y))

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-log-exp_binary64
add-cube-cbrt_binary64
fma-neg_binary64
Counts
2 → 44
Calls

2 calls:

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

simplify81.0ms (1.2%)

Algorithm
egg-herbie
Rules
655×fma-neg_binary64
410×fma-def_binary64
366×associate-*l*_binary64
322×associate-*r*_binary64
269×distribute-rgt-neg-in_binary64
Counts
104 → 89
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01131326
12761263
28791219
331141209
447891209
550151209

prune66.0ms (1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New84589
Fresh000
Picked101
Done000
Total85590
Error
0.0b
Counts
90 → 5
Alt Table
StatusErrorProgram
31.2b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
35.9b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
22.2b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))))
0.8b
(fma.f64 (*.f64 (cbrt.f64 (+.f64 x (cos.f64 y))) (cbrt.f64 (+.f64 x (cos.f64 y)))) (cbrt.f64 (+.f64 x (cos.f64 y))) (neg.f64 (*.f64 z (sin.f64 y))))
25.1b
(*.f64 (sqrt.f64 (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))) (sqrt.f64 (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))
Compiler

Compiled 1523 to 446 computations (70.7% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 z (sin.f64 y))
0.2b
(fma.f64 (*.f64 (cbrt.f64 (+.f64 x (cos.f64 y))) (cbrt.f64 (+.f64 x (cos.f64 y)))) (cbrt.f64 (+.f64 x (cos.f64 y))) (neg.f64 (*.f64 z (sin.f64 y))))
0.4b
(cbrt.f64 (+.f64 x (cos.f64 y)))
0.4b
(*.f64 (cbrt.f64 (+.f64 x (cos.f64 y))) (cbrt.f64 (+.f64 x (cos.f64 y))))

series1.9s (29.8%)

Counts
3 → 84
Calls

3 calls:

1.4s
(fma.f64 (*.f64 (cbrt.f64 (+.f64 x (cos.f64 y))) (cbrt.f64 (+.f64 x (cos.f64 y)))) (cbrt.f64 (+.f64 x (cos.f64 y))) (neg.f64 (*.f64 z (sin.f64 y))))
291.0ms
(*.f64 (cbrt.f64 (+.f64 x (cos.f64 y))) (cbrt.f64 (+.f64 x (cos.f64 y))))
222.0ms
(cbrt.f64 (+.f64 x (cos.f64 y)))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod_binary64
28×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
14×cbrt-div_binary64
12×add-cube-cbrt_binary64
Counts
3 → 81
Calls

3 calls:

8.0ms
(*.f64 (cbrt.f64 (+.f64 x (cos.f64 y))) (cbrt.f64 (+.f64 x (cos.f64 y))))
5.0ms
(cbrt.f64 (+.f64 x (cos.f64 y)))
0.0ms
(fma.f64 (*.f64 (cbrt.f64 (+.f64 x (cos.f64 y))) (cbrt.f64 (+.f64 x (cos.f64 y)))) (cbrt.f64 (+.f64 x (cos.f64 y))) (neg.f64 (*.f64 z (sin.f64 y))))

simplify147.0ms (2.3%)

Algorithm
egg-herbie
Rules
453×cancel-sign-sub-inv_binary64
446×unswap-sqr_binary64
289×fma-neg_binary64
266×associate-*r*_binary64
204×log-prod_binary64
Counts
165 → 196
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03093824
18393595
226253423
346463332
449203332
550623332

prune257.0ms (3.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New3530353
Fresh044
Picked011
Done000
Total3535358
Error
0.0b
Counts
358 → 5
Alt Table
StatusErrorProgram
31.2b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
35.9b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
22.2b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))))
0.8b
(fma.f64 (*.f64 (cbrt.f64 (+.f64 x (cos.f64 y))) (cbrt.f64 (+.f64 x (cos.f64 y)))) (cbrt.f64 (+.f64 x (cos.f64 y))) (neg.f64 (*.f64 z (sin.f64 y))))
25.1b
(*.f64 (sqrt.f64 (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))) (sqrt.f64 (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))
Compiler

Compiled 12123 to 4037 computations (66.7% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 z (sin.f64 y))
0.3b
(*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y))))
9.3b
(sqrt.f64 (*.f64 z (sin.f64 y)))

series27.0ms (0.4%)

Counts
2 → 28
Calls

2 calls:

16.0ms
(sqrt.f64 (*.f64 z (sin.f64 y)))
11.0ms
(*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y))))

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
54×pow1_binary64
30×sqrt-pow1_binary64
21×pow-prod-down_binary64
11×pow1/2_binary64
10×pow-prod-up_binary64
Counts
2 → 64
Calls

2 calls:

7.0ms
(*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y))))
3.0ms
(sqrt.f64 (*.f64 z (sin.f64 y)))

simplify96.0ms (1.5%)

Algorithm
egg-herbie
Rules
657×fma-def_binary64
613×cancel-sign-sub-inv_binary64
566×associate-*l*_binary64
554×fma-neg_binary64
446×unswap-sqr_binary64
Counts
92 → 84
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
072822
1147769
2503734
32067708
44316651
54490651
64924649
74898649

prune131.0ms (2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1780178
Fresh033
Picked011
Done011
Total1785183
Error
0.0b
Counts
183 → 5
Alt Table
StatusErrorProgram
31.2b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
35.9b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
22.2b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))))
0.8b
(fma.f64 (*.f64 (cbrt.f64 (+.f64 x (cos.f64 y))) (cbrt.f64 (+.f64 x (cos.f64 y)))) (cbrt.f64 (+.f64 x (cos.f64 y))) (neg.f64 (*.f64 z (sin.f64 y))))
25.1b
(*.f64 (sqrt.f64 (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))) (sqrt.f64 (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))
Compiler

Compiled 3772 to 893 computations (76.3% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series114.0ms (1.7%)

Counts
2 → 56
Calls

2 calls:

99.0ms
(sqrt.f64 (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y))))
14.0ms
(*.f64 (sqrt.f64 (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))) (sqrt.f64 (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))

rewrite27.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
18×pow1_binary64
14×sqrt-div_binary64
11×*-un-lft-identity_binary64
Counts
2 → 78
Calls

2 calls:

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

simplify157.0ms (2.4%)

Algorithm
egg-herbie
Rules
739×fma-def_binary64
390×distribute-rgt-in_binary64
375×distribute-lft-in_binary64
338×cancel-sign-sub-inv_binary64
191×fma-neg_binary64
Counts
134 → 142
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01903358
14813112
216632995
347392974
450502974

prune213.0ms (3.3%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New3710371
Fresh022
Picked011
Done022
Total3715376
Error
0.0b
Counts
376 → 5
Alt Table
StatusErrorProgram
31.2b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (*.f64 z (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y))))
35.9b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (sin.f64 y))))
22.2b
(-.f64 (+.f64 x (cos.f64 y)) (*.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))))
0.8b
(fma.f64 (*.f64 (cbrt.f64 (+.f64 x (cos.f64 y))) (cbrt.f64 (+.f64 x (cos.f64 y)))) (cbrt.f64 (+.f64 x (cos.f64 y))) (neg.f64 (*.f64 z (sin.f64 y))))
25.1b
(*.f64 (sqrt.f64 (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))) (sqrt.f64 (-.f64 (+.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))))
Compiler

Compiled 11252 to 2292 computations (79.6% saved)

regimes852.0ms (13.1%)

Accuracy

Total 0.0b remaining (47.4%)

Threshold costs 0.0b (47.4%)

Counts
180 → 1
Compiler

Compiled 13442 to 8784 computations (34.7% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
distribute-rgt-neg-in_binary64
cancel-sign-sub-inv_binary64
sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
12214
23214
33714
44214
54414
64214

end0.0ms (0%)

Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.8s (27.4%)

Algorithm
intervals
Results
660.0ms1290×body1024valid
473.0ms5703×body128valid
174.0ms664×body512valid
109.0ms336×body256valid
8.0msbody2048valid
Compiler

Compiled 129 to 71 computations (45% saved)

Profiling

Loading profile data...