Details

Time bar (total: 8.6s)

analyze443.0ms (5.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)

sample3.6s (41.6%)

Results
1.9s2090×body1024valid
920.0ms4642×body128valid
533.0ms1009×body512valid
190.0ms506×body256valid
12.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify14.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11714
22814
34514
46714
510114
615314
721414
825814
928014
1030014
1130614
1227514
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)

localize29.0ms (0.3%)

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

series29.0ms (0.3%)

Counts
3 → 84
Calls

3 calls:

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

rewrite69.0ms (0.8%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
119426
2247526
3498426
Stop Event
node limit
Counts
3 → 208
Calls

3 calls:

62.0ms
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
62.0ms
(*.f64 x (cos.f64 y))
62.0ms
(*.f64 z (sin.f64 y))

simplify83.0ms (1%)

Algorithm
egg-herbie
Rules
728×distribute-rgt-neg-in_binary64
651×fma-neg_binary64
403×sub-neg_binary64
381×*-commutative_binary64
370×neg-mul-1_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
057850
1171841
2481822
31534819
43510819
54870819
65013819
Stop Event
node limit
Counts
292 → 232

prune169.0ms (2%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2266232
Fresh000
Picked101
Done000
Total2276233
Error
0.0b
Counts
233 → 6
Alt Table
StatusErrorProgram
37.6b
(/.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (fma.f64 (*.f64 z (sin.f64 y)) (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)))
16.8b
(fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (neg.f64 (*.f64 z (sin.f64 y))))
27.7b
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (neg.f64 (*.f64 z (sin.f64 y))))
30.9b
(-.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y)))
0.9b
(-.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y)))
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)))))
Compiler

Compiled 5106 to 1122 computations (78% saved)

localize15.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))))
54.0b
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))

series73.0ms (0.9%)

Counts
3 → 84
Calls

3 calls:

28.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y))))
27.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)))))
18.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))

rewrite55.0ms (0.6%)

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
2234651
3519151
Stop Event
node limit
Counts
3 → 68
Calls

3 calls:

53.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)))))
53.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y))))
53.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))

simplify71.0ms (0.8%)

Algorithm
egg-herbie
Rules
760×fma-def_binary64
658×distribute-rgt-neg-in_binary64
566×distribute-lft-neg-in_binary64
436×cancel-sign-sub-inv_binary64
408×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
044726
1126720
2335708
3890704
43065704
54465704
64937704
Stop Event
node limit
Counts
152 → 87

prune85.0ms (1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1110111
Fresh055
Picked011
Done000
Total1116117
Error
0.0b
Counts
117 → 6
Alt Table
StatusErrorProgram
37.6b
(/.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (fma.f64 (*.f64 z (sin.f64 y)) (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)))
16.8b
(fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (neg.f64 (*.f64 z (sin.f64 y))))
27.7b
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (neg.f64 (*.f64 z (sin.f64 y))))
30.9b
(-.f64 (pow.f64 (sqrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 z (sin.f64 y)))
0.9b
(-.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y)))
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)))))
Compiler

Compiled 2531 to 722 computations (71.5% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 x (cos.f64 y))
0.1b
(*.f64 z (sin.f64 y))
0.6b
(cbrt.f64 (*.f64 x (cos.f64 y)))
0.7b
(pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3)

series876.0ms (10.2%)

Counts
2 → 48
Calls

2 calls:

440.0ms
(cbrt.f64 (*.f64 x (cos.f64 y)))
436.0ms
(pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3)

rewrite75.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
596×log1p-expm1-u_binary64
596×expm1-log1p-u_binary64
319×log-prod_binary64
308×fma-def_binary64
121×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
114614
2157614
3491514
4513614
Stop Event
node limit
Counts
2 → 60
Calls

2 calls:

74.0ms
(cbrt.f64 (*.f64 x (cos.f64 y)))
74.0ms
(pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3)

simplify63.0ms (0.7%)

Algorithm
egg-herbie
Rules
545×fma-neg_binary64
351×distribute-rgt-neg-in_binary64
345×distribute-lft-neg-in_binary64
226×unswap-sqr_binary64
210×associate-*r*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
067872
1192865
2511808
31791464
44691456
54965456
Stop Event
node limit
Counts
108 → 85

prune116.0ms (1.3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1321133
Fresh134
Picked011
Done011
Total1336139
Error
0.0b
Counts
139 → 6
Alt Table
StatusErrorProgram
37.6b
(/.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (fma.f64 (*.f64 z (sin.f64 y)) (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)))
0.8b
(-.f64 (*.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2))) (*.f64 z (sin.f64 y)))
16.8b
(fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (neg.f64 (*.f64 z (sin.f64 y))))
27.7b
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (neg.f64 (*.f64 z (sin.f64 y))))
0.9b
(-.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y)))
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)))))
Compiler

Compiled 2502 to 1054 computations (57.9% saved)

localize57.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

series612.0ms (7.1%)

Counts
3 → 48
Calls

3 calls:

451.0ms
(pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2)
129.0ms
(cbrt.f64 (cos.f64 y))
32.0ms
(cbrt.f64 x)

rewrite43.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
726×log1p-expm1-u_binary64
726×expm1-log1p-u_binary64
153×expm1-udef_binary64
153×log1p-udef_binary64
89×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
119019
2194619
3491419
Stop Event
node limit
Counts
3 → 63
Calls

3 calls:

42.0ms
(cbrt.f64 (cos.f64 y))
42.0ms
(pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2)
42.0ms
(cbrt.f64 x)

simplify102.0ms (1.2%)

Algorithm
egg-herbie
Rules
490×unswap-sqr_binary64
463×fma-neg_binary64
379×distribute-rgt-neg-in_binary64
368×distribute-lft-neg-in_binary64
237×neg-mul-1_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
071648
1200636
2517567
31900527
44705523
54855523
64991523
74996523
84913523
Stop Event
node limit
Counts
111 → 89

prune111.0ms (1.3%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1252127
Fresh033
Picked011
Done022
Total1258133
Error
0.0b
Counts
133 → 8
Alt Table
StatusErrorProgram
0.8b
(-.f64 (*.f64 (cbrt.f64 x) (*.f64 (log1p.f64 (expm1.f64 (cbrt.f64 (cos.f64 y)))) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2))) (*.f64 z (sin.f64 y)))
0.8b
(-.f64 (*.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 (cos.f64 y)) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2))) (*.f64 z (sin.f64 y)))
0.9b
(-.f64 (*.f64 (cbrt.f64 x) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 3) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2))) (*.f64 z (sin.f64 y)))
16.8b
(fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (neg.f64 (*.f64 z (sin.f64 y))))
37.6b
(/.f64 (-.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3) (pow.f64 (*.f64 z (sin.f64 y)) 3)) (fma.f64 (*.f64 z (sin.f64 y)) (fma.f64 z (sin.f64 y) (*.f64 x (cos.f64 y))) (pow.f64 (*.f64 x (cos.f64 y)) 2)))
27.7b
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (neg.f64 (*.f64 z (sin.f64 y))))
0.9b
(-.f64 (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3) (*.f64 z (sin.f64 y)))
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)))))
Compiler

Compiled 3259 to 1302 computations (60% saved)

regimes1.6s (19%)

Accuracy

Total 0.1b remaining (67.8%)

Threshold costs 0.1b (67.8%)

Counts
108 → 1
Compiler

Compiled 7368 to 4766 computations (35.3% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
*-rgt-identity_binary64
neg-sub0_binary64
neg-mul-1_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
12014
22314
32414
42214
Stop Event
saturated

end167.0ms (1.9%)

Compiler

Compiled 200 to 124 computations (38% saved)

Profiling

Loading profile data...