Details

Time bar (total: 5.6s)

analyze445.0ms (7.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.9s (52.1%)

Results
1.6s2175×body1024valid
729.0ms4538×body128valid
436.0ms1020×body512valid
160.0ms521×body256valid
3.0msbody2048valid
Compiler

Compiled 26 to 18 computations (30.8% saved)

preprocess36.0ms (0.6%)

Algorithm
egg-herbie
Rules
516×fma-def_binary64
380×fma-neg_binary64
130×cancel-sign-sub-inv_binary64
69×sub-neg_binary64
64×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02256
15356
210456
316756
426356
543556
674356
7113456
8166356
9190456
10193056
033
Stop Event
saturated
saturated
Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify13.0ms (0.2%)

Algorithm
egg-herbie
Rules
171×fma-def_binary64
87×fma-neg_binary64
37×cancel-sign-sub-inv_binary64
23×distribute-rgt-neg-in_binary64
20×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11714
23214
34914
47614
512414
620514
730614
840814
952414
1058214
1158814
Stop Event
saturated
Counts
1 → 1

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.1b
(-.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 3 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))
0.1b
(*.f64 x (cos.f64 y))

series29.0ms (0.5%)

Counts
3 → 84
Calls

21 calls:

2.0ms
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
x
-inf
2.0ms
(*.f64 x (cos.f64 y))
y
inf
2.0ms
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
x
inf
2.0ms
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
x
0
2.0ms
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
z
inf

rewrite73.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
518×log-prod_binary64
391×fma-def_binary64
206×egg-rr
190×fma-neg_binary64
184×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
119826
2264826
Stop Event
node limit
Counts
3 → 206

simplify58.0ms (1%)

Algorithm
egg-herbie
Rules
651×fma-neg_binary64
345×*-commutative_binary64
249×distribute-lft-neg-in_binary64
243×distribute-rgt-neg-in_binary64
229×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
057850
1172841
2525822
31952819
44821819
Stop Event
node limit
Counts
290 → 231

prune167.0ms (3%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2229231
Fresh000
Picked101
Done000
Total2239232
Error
0.0b
Counts
232 → 9
Alt Table
StatusErrorProgram
31.6b
(fma.f64 (*.f64 (neg.f64 z) (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))
36.2b
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 (sin.f64 y) (neg.f64 z)))
0.2b
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
48.1b
(fma.f64 (+.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))) (-.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))) (+.f64 (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y))) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
29.1b
(/.f64 1 (/.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2))))
0.9b
(-.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y)))
0.4b
(fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.9b
(fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (sin.f64 y) (neg.f64 z)))
40.8b
(/.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))))
Compiler

Compiled 5248 to 1213 computations (76.9% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series61.0ms (1.1%)

Counts
3 → 84
Calls

21 calls:

6.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))
z
inf
5.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y))))
z
inf
4.0ms
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
x
inf
4.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y))))
z
-inf
4.0ms
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
z
-inf

rewrite53.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
897×expm1-log1p-u_binary64
708×prod-diff_binary64
114×add-sqr-sqrt_binary64
104×log1p-expm1-u_binary64
103×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01164
122051
2274551
Stop Event
node limit
Counts
3 → 68

simplify43.0ms (0.8%)

Algorithm
egg-herbie
Rules
760×fma-def_binary64
433×cancel-sign-sub-inv_binary64
408×fma-neg_binary64
399×associate-*l*_binary64
325×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
044726
1127720
2359708
31157704
44458704
Stop Event
node limit
Counts
152 → 89

prune101.0ms (1.8%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1130113
Fresh088
Picked011
Done000
Total1139122
Error
0.0b
Counts
122 → 9
Alt Table
StatusErrorProgram
31.6b
(fma.f64 (*.f64 (neg.f64 z) (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))
36.2b
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 (sin.f64 y) (neg.f64 z)))
0.2b
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
48.1b
(fma.f64 (+.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))) (-.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))) (+.f64 (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y))) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
29.1b
(/.f64 1 (/.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2))))
0.9b
(-.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y)))
0.4b
(fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.9b
(fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (sin.f64 y) (neg.f64 z)))
40.8b
(/.f64 1 (/.f64 (fma.f64 (*.f64 z (sin.f64 y)) (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3))))
Compiler

Compiled 2737 to 821 computations (70% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (sin.f64 y) (neg.f64 z))
0.1b
(*.f64 (cbrt.f64 (cos.f64 y)) x)
0.3b
(pow.f64 (cbrt.f64 (cos.f64 y)) 2)
0.3b
(cbrt.f64 (cos.f64 y))

series189.0ms (3.3%)

Counts
4 → 72
Calls

18 calls:

23.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) x)
y
inf
22.0ms
(cbrt.f64 (cos.f64 y))
y
-inf
20.0ms
(pow.f64 (cbrt.f64 (cos.f64 y)) 2)
y
inf
20.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) x)
x
0
19.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) x)
x
inf

rewrite49.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
889×log1p-expm1-u_binary64
889×expm1-log1p-u_binary64
118×add-sqr-sqrt_binary64
109×add-cbrt-cube_binary64
108×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01229
124127
2284227
Stop Event
node limit
Counts
4 → 73

simplify36.0ms (0.6%)

Algorithm
egg-herbie
Rules
770×fma-neg_binary64
347×distribute-rgt-neg-in_binary64
337×distribute-lft-neg-in_binary64
277×fma-def_binary64
216×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
077682
1225670
2671649
32587649
Stop Event
node limit
Counts
145 → 107

prune156.0ms (2.8%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1362138
Fresh167
Picked101
Done011
Total1389147
Error
0.0b
Counts
147 → 9
Alt Table
StatusErrorProgram
31.6b
(fma.f64 (*.f64 (neg.f64 z) (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))
36.2b
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 (sin.f64 y) (neg.f64 z)))
0.2b
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
48.1b
(fma.f64 (+.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))) (-.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))) (+.f64 (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y))) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
29.1b
(/.f64 1 (/.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 2) (pow.f64 (*.f64 z (sin.f64 y)) 2))))
0.9b
(-.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y)))
0.5b
(fma.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 3) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.9b
(fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.3b
(fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
Compiler

Compiled 3201 to 1235 computations (61.4% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series66.0ms (1.2%)

Counts
2 → 16
Calls

6 calls:

33.0ms
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
y
inf
28.0ms
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
y
-inf
1.0ms
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
y
0
1.0ms
(pow.f64 (cos.f64 y) 2)
y
-inf
1.0ms
(pow.f64 (cos.f64 y) 2)
y
inf

rewrite34.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
434×log1p-expm1-u_binary64
434×expm1-log1p-u_binary64
281×unpow-prod-down_binary64
215×log-prod_binary64
132×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0614
111914
2126914
Stop Event
node limit
Counts
2 → 65

simplify33.0ms (0.6%)

Algorithm
egg-herbie
Rules
568×associate-*l*_binary64
465×associate-*r*_binary64
460×fma-def_binary64
437×unswap-sqr_binary64
305×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
033165
191159
2251157
3854153
44371153
Stop Event
node limit
Counts
81 → 79

prune150.0ms (2.7%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1331134
Fresh257
Picked011
Done011
Total1358143
Error
0.0b
Counts
143 → 8
Alt Table
StatusErrorProgram
0.2b
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
48.1b
(fma.f64 (+.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))) (-.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) (sqrt.f64 (*.f64 z (sin.f64 y)))) (+.f64 (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y))) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
0.3b
(fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 y)))) x) (*.f64 (sin.f64 y) (neg.f64 z)))
31.6b
(fma.f64 (*.f64 (neg.f64 z) (sqrt.f64 (sin.f64 y))) (sqrt.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))
0.5b
(fma.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 3) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.9b
(fma.f64 (*.f64 (cos.f64 y) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.3b
(fma.f64 (cbrt.f64 (pow.f64 (cos.f64 y) 2)) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.9b
(-.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y)))
Compiler

Compiled 2941 to 1160 computations (60.6% saved)

regimes733.0ms (13%)

Accuracy

Total 0.1b remaining (71.5%)

Threshold costs 0.1b (71.5%)

Counts
169 → 1
Compiler

Compiled 13472 to 8216 computations (39% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
distribute-lft-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
11314
22114
32614
43114
53314
Stop Event
saturated

end127.0ms (2.3%)

Stop Event
fuel
Compiler

Compiled 202 to 117 computations (42.1% saved)

Profiling

Loading profile data...