Details

Time bar (total: 26.3s)

analyze640.0ms (2.4%)

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
0%99.9%0.1%6
25%74.9%0.1%7
37.4%62.4%0.1%8
37.4%62.4%0.1%9
56.2%43.7%0.1%10
65.5%34.3%0.1%11
65.5%34.3%0.1%12
76.5%23.4%0.1%13
81.9%17.9%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample2.4s (9%)

Results
1.0s1397×body1024valid
907.0ms5855×body128valid
280.0ms649×body512valid
107.0ms353×body256valid
4.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify6.0ms (0%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
*-commutative_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0914
11412
22212
32612
42612
Stop Event
saturated
Counts
1 → 2

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 z (cos.f64 y) (+.f64 x (sin.f64 y)))
Compiler

Compiled 42 to 23 computations (45.2% saved)

localize9.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))

series11.0ms (0%)

Counts
1 → 36
Calls

1 calls:

11.0ms
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))

rewrite46.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
838×log1p-expm1-u_binary64
838×expm1-log1p-u_binary64
564×prod-diff_binary64
88×add-sqr-sqrt_binary64
81×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
116712
2209712
3617912
Stop Event
node limit
Counts
1 → 25
Calls

1 calls:

44.0ms
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))

simplify79.0ms (0.3%)

Algorithm
egg-herbie
Rules
584×unsub-neg_binary64
359×fma-def_binary64
340×sub-neg_binary64
339×distribute-rgt-neg-in_binary64
305×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
025399
168397
2184394
3525392
41693392
53059392
64486392
75042392
Stop Event
node limit
Counts
61 → 40

prune26.0ms (0.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New38240
Fresh000
Picked011
Done000
Total38341
Error
0.0b
Counts
41 → 3
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))
32.3b
(pow.f64 (sqrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 2)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 3)
Compiler

Compiled 521 to 169 computations (67.6% saved)

localize10.0ms (0%)

Local error

Found 3 expressions with local error:

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

series19.5s (74%)

Counts
2 → 72
Calls

2 calls:

19.2s
(pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 3)
285.0ms
(cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))))

rewrite53.0ms (0.2%)

Algorithm
batch-egg-rewrite
Rules
564×prod-diff_binary64
466×log-prod_binary64
225×fma-def_binary64
189×expm1-udef_binary64
189×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01126
121426
2252026
3533126
Stop Event
node limit
Counts
2 → 77
Calls

2 calls:

52.0ms
(cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))))
52.0ms
(pow.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) 3)

simplify76.0ms (0.3%)

Algorithm
egg-herbie
Rules
466×times-frac_binary64
438×associate-*r*_binary64
360×fma-def_binary64
347×associate-/l*_binary64
310×associate-/r*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04094648
113984340
251964340
Stop Event
node limit
Counts
149 → 157

prune143.0ms (0.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1916197
Fresh101
Picked101
Done011
Total1937200
Error
0.0b
Counts
200 → 7
Alt Table
StatusErrorProgram
2.6b
(pow.f64 (*.f64 (cbrt.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))))) (pow.f64 (cbrt.f64 (cbrt.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))))) 2)) 3)
0.1b
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))
15.6b
(fma.f64 (*.f64 z (sqrt.f64 (cos.f64 y))) (sqrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
0.3b
(fma.f64 (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
30.6b
(fma.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 (*.f64 z (cos.f64 y))) (+.f64 x (sin.f64 y)))
32.1b
(fma.f64 (sqrt.f64 z) (*.f64 (sqrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y)))
15.2b
(fma.f64 (cbrt.f64 (*.f64 z z)) (*.f64 (cbrt.f64 z) (cos.f64 y)) (+.f64 x (sin.f64 y)))
Compiler

Compiled 7050 to 3679 computations (47.8% saved)

localize10.0ms (0%)

Local error

Found 4 expressions with local error:

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

series1.7s (6.6%)

Counts
4 → 84
Calls

4 calls:

867.0ms
(fma.f64 (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
616.0ms
(*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 2))
122.0ms
(pow.f64 (cbrt.f64 (cos.f64 y)) 2)
118.0ms
(cbrt.f64 (cos.f64 y))

rewrite111.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
578×prod-diff_binary64
414×fma-udef_binary64
266×fma-def_binary64
216×expm1-udef_binary64
216×log1p-udef_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01248
124738
2284636
3475836
4480536
5492136
Stop Event
node limit
Counts
4 → 81
Calls

4 calls:

110.0ms
(fma.f64 (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 2)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
110.0ms
(*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 2))
110.0ms
(pow.f64 (cbrt.f64 (cos.f64 y)) 2)
110.0ms
(cbrt.f64 (cos.f64 y))

simplify65.0ms (0.2%)

Algorithm
egg-herbie
Rules
571×fma-neg_binary64
351×distribute-rgt-neg-in_binary64
342×distribute-lft-neg-in_binary64
243×associate-+l-_binary64
242×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
068897
1198889
2570877
31889877
44809877
54948877
Stop Event
node limit
Counts
165 → 118

prune115.0ms (0.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1463149
Fresh415
Picked101
Done011
Total1515156
Error
0.0b
Counts
156 → 5
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
15.6b
(fma.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 1/3) 2)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
0.1b
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))
30.6b
(fma.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 (*.f64 z (cos.f64 y))) (+.f64 x (sin.f64 y)))
0.3b
(fma.f64 (*.f64 z (pow.f64 (*.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))) 2)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
Compiler

Compiled 2782 to 1095 computations (60.6% saved)

localize11.0ms (0%)

Local error

Found 4 expressions with local error:

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

series626.0ms (2.4%)

Counts
3 → 40
Calls

3 calls:

443.0ms
(*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2)))
179.0ms
(cbrt.f64 (pow.f64 (cos.f64 y) 2))
4.0ms
(pow.f64 (cos.f64 y) 2)

rewrite78.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
606×log1p-expm1-u_binary64
606×expm1-log1p-u_binary64
325×log-prod_binary64
129×expm1-udef_binary64
129×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0825
115725
2160825
3495625
4495425
Stop Event
node limit
Counts
3 → 67
Calls

3 calls:

77.0ms
(*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2)))
77.0ms
(pow.f64 (cos.f64 y) 2)
77.0ms
(cbrt.f64 (pow.f64 (cos.f64 y) 2))

simplify67.0ms (0.3%)

Algorithm
egg-herbie
Rules
654×cancel-sign-sub-inv_binary64
591×distribute-rgt-neg-in_binary64
508×sub-neg_binary64
458×distribute-lft-neg-in_binary64
432×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
046455
1131443
2386436
31201436
42666436
54515436
64917436
Stop Event
node limit
Counts
107 → 90

prune130.0ms (0.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1201121
Fresh033
Picked011
Done011
Total1206126
Error
0b
Counts
126 → 6
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 2))) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
15.6b
(fma.f64 (*.f64 z (pow.f64 (pow.f64 (cos.f64 y) 1/3) 2)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
0.1b
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))
0.3b
(fma.f64 (*.f64 z (cbrt.f64 (log.f64 (exp.f64 (pow.f64 (cos.f64 y) 2))))) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
30.6b
(fma.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) (sqrt.f64 (*.f64 z (cos.f64 y))) (+.f64 x (sin.f64 y)))
0.3b
(fma.f64 (*.f64 z (pow.f64 (*.f64 (sqrt.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 4))) (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cos.f64 y))) 2))) 2)) (cbrt.f64 (cos.f64 y)) (+.f64 x (sin.f64 y)))
Compiler

Compiled 2515 to 1158 computations (54% saved)

regimes305.0ms (1.2%)

Accuracy

Total 0.0b remaining (46.6%)

Threshold costs 0.0b (46.6%)

Counts
71 → 1
Compiler

Compiled 4671 to 3185 computations (31.8% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
1912
2912
Stop Event
saturated

end103.0ms (0.4%)

Compiler

Compiled 138 to 89 computations (35.5% saved)

Profiling

Loading profile data...