Details

Time bar (total: 5.5s)

analyze489.0ms (8.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
0%99.9%0.1%6
37.4%62.4%0.1%7
43.7%56.2%0.1%8
43.7%56.2%0.1%9
65.5%34.3%0.1%10
70.2%29.6%0.1%11
70.2%29.6%0.1%12
81.9%17.9%0.1%13
84.6%15.2%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample2.8s (51.4%)

Results
1.4s2064×body1024valid
783.0ms4718×body128valid
413.0ms977×body512valid
137.0ms486×body256valid
14.0ms11×body2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify8.0ms (0.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11312
21612
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 x (sin.f64 y) (*.f64 z (cos.f64 y)))
Compiler

Compiled 42 to 23 computations (45.2% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series22.0ms (0.4%)

Counts
3 → 64
Calls

3 calls:

14.0ms
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
7.0ms
(*.f64 z (cos.f64 y))
1.0ms
(cos.f64 y)

rewrite40.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
689×log1p-expm1-u_binary64
689×expm1-log1p-u_binary64
201×prod-diff_binary64
147×log1p-udef_binary64
81×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0821
115621
2186921
Stop Event
node limit
Counts
3 → 56
Calls

3 calls:

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

simplify42.0ms (0.8%)

Algorithm
egg-herbie
Rules
474×fma-neg_binary64
354×sub-neg_binary64
257×*-commutative_binary64
244×distribute-rgt-neg-in_binary64
241×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
048644
1133637
2397620
31542619
44110619
Stop Event
node limit
Counts
120 → 80

prune65.0ms (1.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New74680
Fresh000
Picked011
Done000
Total74781
Error
0.1b
Counts
81 → 7
Alt Table
StatusErrorProgram
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (exp.f64 (cos.f64 y)))))
0.3b
(fma.f64 x (sin.f64 y) (*.f64 z (pow.f64 (cbrt.f64 (cos.f64 y)) 3)))
31.0b
(pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)
Compiler

Compiled 1210 to 526 computations (56.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series27.0ms (0.5%)

Counts
4 → 76
Calls

4 calls:

15.0ms
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (exp.f64 (cos.f64 y)))))
7.0ms
(*.f64 z (log.f64 (exp.f64 (cos.f64 y))))
3.0ms
(log.f64 (exp.f64 (cos.f64 y)))
2.0ms
(exp.f64 (cos.f64 y))

rewrite46.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
751×log1p-expm1-u_binary64
751×expm1-log1p-u_binary64
201×prod-diff_binary64
89×add-sqr-sqrt_binary64
81×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
117826
2205526
Stop Event
node limit
Counts
4 → 77
Calls

4 calls:

44.0ms
(exp.f64 (cos.f64 y))
44.0ms
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (exp.f64 (cos.f64 y)))))
44.0ms
(*.f64 z (log.f64 (exp.f64 (cos.f64 y))))
44.0ms
(log.f64 (exp.f64 (cos.f64 y)))

simplify39.0ms (0.7%)

Algorithm
egg-herbie
Rules
725×fma-neg_binary64
355×distribute-rgt-neg-in_binary64
340×distribute-lft-neg-in_binary64
224×cancel-sign-sub-inv_binary64
216×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
061752
1176741
2547716
32205708
Stop Event
node limit
Counts
153 → 109

prune97.0ms (1.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1063109
Fresh145
Picked101
Done011
Total1088116
Error
0.1b
Counts
116 → 8
Alt Table
StatusErrorProgram
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3))))
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))
0.3b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3)))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (log.f64 (exp.f64 (exp.f64 (cos.f64 y)))))))
31.0b
(pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)
Compiler

Compiled 1707 to 783 computations (54.1% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3)
0.1b
(*.f64 z (log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3)))
0.3b
(log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3))
0.8b
(pow.f64 (exp.f64 (cos.f64 y)) 3)

series582.0ms (10.6%)

Counts
4 → 52
Calls

4 calls:

387.0ms
(*.f64 z (log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3)))
163.0ms
(log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3))
23.0ms
(pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3)
8.0ms
(pow.f64 (exp.f64 (cos.f64 y)) 3)

rewrite47.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
736×log1p-expm1-u_binary64
736×expm1-log1p-u_binary64
150×log1p-udef_binary64
87×add-sqr-sqrt_binary64
82×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
121822
2210522
Stop Event
node limit
Counts
4 → 75
Calls

4 calls:

46.0ms
(pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3)
46.0ms
(*.f64 z (log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3)))
46.0ms
(log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3))
46.0ms
(pow.f64 (exp.f64 (cos.f64 y)) 3)

simplify37.0ms (0.7%)

Algorithm
egg-herbie
Rules
350×cancel-sign-sub-inv_binary64
214×times-frac_binary64
193×fma-def_binary64
192×associate-*r*_binary64
183×associate-/l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01791426
1615840
22302624
Stop Event
node limit
Counts
127 → 108

prune123.0ms (2.2%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1080108
Fresh066
Picked011
Done011
Total1088116
Error
0.1b
Counts
116 → 8
Alt Table
StatusErrorProgram
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3))))
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))
0.3b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3)))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (log.f64 (exp.f64 (exp.f64 (cos.f64 y)))))))
31.0b
(pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)
Compiler

Compiled 2675 to 1676 computations (37.3% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))))
0.3b
(log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))
0.6b
(+.f64 1 (expm1.f64 (cos.f64 y)))
0.6b
(expm1.f64 (cos.f64 y))

series494.0ms (9%)

Counts
4 → 60
Calls

4 calls:

353.0ms
(*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))))
135.0ms
(log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))
4.0ms
(expm1.f64 (cos.f64 y))
2.0ms
(+.f64 1 (expm1.f64 (cos.f64 y)))

rewrite48.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
701×log1p-expm1-u_binary64
701×expm1-log1p-u_binary64
163×prod-diff_binary64
135×log1p-udef_binary64
99×egg-rr
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
116419
2189619
Stop Event
node limit
Counts
4 → 99
Calls

4 calls:

47.0ms
(*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))))
47.0ms
(log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))
47.0ms
(+.f64 1 (expm1.f64 (cos.f64 y)))
47.0ms
(expm1.f64 (cos.f64 y))

simplify40.0ms (0.7%)

Algorithm
egg-herbie
Rules
759×fma-neg_binary64
276×*-commutative_binary64
243×fma-def_binary64
227×associate-+l-_binary64
212×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
065518
1201503
2574467
32022459
44830459
Stop Event
node limit
Counts
159 → 131

prune121.0ms (2.2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1310131
Fresh055
Picked011
Done022
Total1318139
Error
0.1b
Counts
139 → 8
Alt Table
StatusErrorProgram
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3))))
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))
0.3b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3)))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (log.f64 (exp.f64 (exp.f64 (cos.f64 y)))))))
31.0b
(pow.f64 (sqrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2)
Compiler

Compiled 2210 to 1112 computations (49.7% saved)

regimes136.0ms (2.5%)

Accuracy

Total 0.1b remaining (41.8%)

Threshold costs 0.1b (41.8%)

Counts
27 → 1
Compiler

Compiled 1680 to 1074 computations (36.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
1912
Stop Event
saturated

end123.0ms (2.2%)

Compiler

Compiled 138 to 98 computations (29% saved)

Profiling

Loading profile data...