Details

Time bar (total: 6.7s)

analyze523.0ms (7.8%)

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 (41.5%)

Results
1.5s2064×body1024valid
764.0ms4718×body128valid
389.0ms977×body512valid
140.0ms486×body256valid
16.0ms11×body2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify6.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

prune5.0ms (0.1%)

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)

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

series23.0ms (0.3%)

Counts
3 → 64
Calls

3 calls:

15.0ms
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
6.0ms
(*.f64 z (cos.f64 y))
2.0ms
(cos.f64 y)

rewrite44.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:

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

simplify44.0ms (0.6%)

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

prune56.0ms (0.8%)

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.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))
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 (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.1%)

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

series25.0ms (0.4%)

Counts
4 → 76
Calls

4 calls:

13.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))))
2.0ms
(exp.f64 (cos.f64 y))
2.0ms
(log.f64 (exp.f64 (cos.f64 y)))

rewrite48.0ms (0.7%)

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:

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

simplify34.0ms (0.5%)

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

prune128.0ms (1.9%)

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 (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (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)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)
Compiler

Compiled 1707 to 783 computations (54.1% saved)

localize15.0ms (0.2%)

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)

series1.8s (26.2%)

Counts
4 → 44
Calls

4 calls:

1.1s
(*.f64 z (log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3)))
456.0ms
(log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3))
195.0ms
(pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3)
10.0ms
(pow.f64 (exp.f64 (cos.f64 y)) 3)

rewrite44.0ms (0.7%)

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:

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

simplify39.0ms (0.6%)

Algorithm
egg-herbie
Rules
579×unswap-sqr_binary64
380×associate-*r*_binary64
380×associate-*l*_binary64
291×cancel-sign-sub-inv_binary64
287×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
081890
1243663
2788425
33610422
Stop Event
node limit
Counts
119 → 109

prune127.0ms (1.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1090109
Fresh066
Picked011
Done011
Total1098117
Error
0.1b
Counts
117 → 8
Alt Table
StatusErrorProgram
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 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (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)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)
Compiler

Compiled 2080 to 1170 computations (43.8% 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))

series500.0ms (7.4%)

Counts
4 → 60
Calls

4 calls:

360.0ms
(*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y)))))
134.0ms
(log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))
3.0ms
(expm1.f64 (cos.f64 y))
2.0ms
(+.f64 1 (expm1.f64 (cos.f64 y)))

rewrite49.0ms (0.7%)

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

simplify57.0ms (0.8%)

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

prune136.0ms (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 (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (pow.f64 (pow.f64 (exp.f64 (cos.f64 y)) 3) 1/3))))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 z (log.f64 (+.f64 1 (expm1.f64 (cos.f64 y))))))
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (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)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 3)
Compiler

Compiled 2210 to 1112 computations (49.7% saved)

regimes120.0ms (1.8%)

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

end129.0ms (1.9%)

Compiler

Compiled 138 to 98 computations (29% saved)

Profiling

Loading profile data...