Details

Time bar (total: 12.0s)

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

sample5.1s (42.3%)

Results
2.6s2033×body1024valid
1.3s4649×body128valid
770.0ms1053×body512valid
270.0ms518×body256valid
7.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify13.0ms (0.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11312
21612
31612

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

Compiled 42 to 23 computations (45.2% saved)

localize15.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series48.0ms (0.4%)

Counts
3 → 64
Calls

3 calls:

30.0ms
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
14.0ms
(*.f64 z (sin.f64 y))
3.0ms
(sin.f64 y)

rewrite123.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
689×log1p-expm1-u_binary64
689×expm1-log1p-u_binary64
201×prod-diff_binary64
147×expm1-udef_binary64
147×log1p-udef_binary64
Counts
3 → 56
Calls

3 calls:

121.0ms
(sin.f64 y)
121.0ms
(fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))
121.0ms
(*.f64 z (sin.f64 y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0821
115621
2180121
3510521
000
100

simplify157.0ms (1.3%)

Algorithm
egg-herbie
Rules
538×fma-neg_binary64
535×sub-neg_binary64
425×distribute-rgt-neg-in_binary64
364×*-commutative_binary64
358×distribute-lft-neg-in_binary64
Counts
120 → 81
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
047656
1140640
2398623
31170621
42470621
54497621
65000621
75000621
84908621

prune128.0ms (1.1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New73881
Fresh000
Picked101
Done000
Total74882
Error
0.0b
Counts
82 → 8
Alt Table
StatusErrorProgram
5.8b
(fma.f64 x (cos.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 3))))
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 3)
11.0b
(fma.f64 x (cos.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (sin.f64 y))))))
31.0b
(fma.f64 (*.f64 x (*.f64 y y)) -1/2 (fma.f64 y z x))
0.1b
(fma.f64 x (cos.f64 y) (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))))
43.7b
(cbrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 3))
31.3b
(pow.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2)
25.7b
(fma.f64 x (cos.f64 y) (*.f64 z (pow.f64 (pow.f64 (sin.f64 y) 3) 1/3)))
Compiler

Compiled 1265 to 559 computations (55.8% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 x (cos.f64 y) (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))))
0.1b
(*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y))))
0.1b
(expm1.f64 (log1p.f64 (sin.f64 y)))
0.2b
(log1p.f64 (sin.f64 y))

series355.0ms (3%)

Counts
4 → 84
Calls

4 calls:

305.0ms
(log1p.f64 (sin.f64 y))
30.0ms
(fma.f64 x (cos.f64 y) (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))))
16.0ms
(*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y))))
3.0ms
(expm1.f64 (log1p.f64 (sin.f64 y)))

rewrite93.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
764×expm1-log1p-u_binary64
763×log1p-expm1-u_binary64
236×prod-diff_binary64
89×add-sqr-sqrt_binary64
81×add-log-exp_binary64
Counts
4 → 75
Calls

4 calls:

90.0ms
(fma.f64 x (cos.f64 y) (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))))
90.0ms
(*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y))))
90.0ms
(expm1.f64 (log1p.f64 (sin.f64 y)))
90.0ms
(log1p.f64 (sin.f64 y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
117526
2199426
3514726
000
100

simplify124.0ms (1%)

Algorithm
egg-herbie
Rules
663×fma-neg_binary64
509×distribute-rgt-neg-in_binary64
436×sub-neg_binary64
426×distribute-lft-neg-in_binary64
307×distribute-lft-out--_binary64
Counts
159 → 108
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
062772
1175756
2485735
31451729
43155729
54725729
64993729

prune208.0ms (1.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1080108
Fresh077
Picked011
Done000
Total1088116
Error
0.0b
Counts
116 → 8
Alt Table
StatusErrorProgram
5.8b
(fma.f64 x (cos.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 3))))
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 3)
11.0b
(fma.f64 x (cos.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (sin.f64 y))))))
31.0b
(fma.f64 (*.f64 x (*.f64 y y)) -1/2 (fma.f64 y z x))
0.1b
(fma.f64 x (cos.f64 y) (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))))
43.7b
(cbrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 3))
31.3b
(pow.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2)
25.7b
(fma.f64 x (cos.f64 y) (*.f64 z (pow.f64 (pow.f64 (sin.f64 y) 3) 1/3)))
Compiler

Compiled 1672 to 755 computations (54.8% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series3.9s (32.3%)

Counts
2 → 72
Calls

2 calls:

3.5s
(pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 3)
380.0ms
(cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))

rewrite52.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
857×log1p-expm1-u_binary64
857×expm1-log1p-u_binary64
201×prod-diff_binary64
100×add-sqr-sqrt_binary64
93×add-cbrt-cube_binary64
Counts
2 → 49
Calls

2 calls:

50.0ms
(cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))))
50.0ms
(pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01126
120426
2224726
3557826
000
100

simplify87.0ms (0.7%)

Algorithm
egg-herbie
Rules
816×fma-def_binary64
376×unswap-sqr_binary64
311×associate-*r*_binary64
280×times-frac_binary64
221×associate-*l*_binary64
Counts
121 → 134
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02283163
18223059
235042949
352852949

prune113.0ms (0.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1900190
Fresh066
Picked011
Done011
Total1908198
Error
0.0b
Counts
198 → 8
Alt Table
StatusErrorProgram
5.8b
(fma.f64 x (cos.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 3))))
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 3)
11.0b
(fma.f64 x (cos.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (sin.f64 y))))))
31.0b
(fma.f64 (*.f64 x (*.f64 y y)) -1/2 (fma.f64 y z x))
0.1b
(fma.f64 x (cos.f64 y) (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))))
43.7b
(cbrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 3))
31.3b
(pow.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2)
25.7b
(fma.f64 x (cos.f64 y) (*.f64 z (pow.f64 (pow.f64 (sin.f64 y) 3) 1/3)))
Compiler

Compiled 5032 to 2457 computations (51.2% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series29.0ms (0.2%)

Counts
4 → 76
Calls

4 calls:

15.0ms
(fma.f64 x (cos.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 3))))
7.0ms
(*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 3)))
6.0ms
(pow.f64 (sin.f64 y) 3)
2.0ms
(cbrt.f64 (pow.f64 (sin.f64 y) 3))

rewrite54.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
857×log1p-expm1-u_binary64
857×expm1-log1p-u_binary64
201×prod-diff_binary64
100×add-sqr-sqrt_binary64
93×add-log-exp_binary64
Counts
4 → 82
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01127
120327
2224727
3557827
000
100

simplify117.0ms (1%)

Algorithm
egg-herbie
Rules
647×fma-neg_binary64
539×sub-neg_binary64
494×distribute-rgt-neg-in_binary64
413×distribute-lft-neg-in_binary64
304×neg-mul-1_binary64
Counts
158 → 114
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
059748
1176728
2511707
31461705
42985705
54548705
64972705
74997705
84912705

prune68.0ms (0.6%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1140114
Fresh055
Picked011
Done022
Total1148122
Error
0.0b
Counts
122 → 8
Alt Table
StatusErrorProgram
5.8b
(fma.f64 x (cos.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (sin.f64 y) 3))))
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 3)
11.0b
(fma.f64 x (cos.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (sin.f64 y))))))
31.0b
(fma.f64 (*.f64 x (*.f64 y y)) -1/2 (fma.f64 y z x))
0.1b
(fma.f64 x (cos.f64 y) (*.f64 z (expm1.f64 (log1p.f64 (sin.f64 y)))))
43.7b
(cbrt.f64 (pow.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y))) 3))
31.3b
(pow.f64 (sqrt.f64 (fma.f64 x (cos.f64 y) (*.f64 z (sin.f64 y)))) 2)
25.7b
(fma.f64 x (cos.f64 y) (*.f64 z (pow.f64 (pow.f64 (sin.f64 y) 3) 1/3)))
Compiler

Compiled 1687 to 759 computations (55% saved)

regimes207.0ms (1.7%)

Accuracy

Total 0.1b remaining (42.8%)

Threshold costs 0.1b (42.8%)

Counts
57 → 1
Compiler

Compiled 2944 to 1994 computations (32.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
1912
2912

end115.0ms (1%)

Compiler

Compiled 135 to 93 computations (31.1% saved)

Profiling

Loading profile data...