Details

Time bar (total: 15.9s)

sample457.0ms

Algorithm
intervals
Results
232.0ms81×body5120exit
137.0ms81×body1280valid
46.0ms57×body640valid
9.0ms76×body80valid
9.0ms25×body320valid
4.0ms17×body160valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
087

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.0b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.0b
(expm1 (sin (expm1 a)))
0.3b
(sin (expm1 a))
41.3b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
1.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
1.0ms
(expm1 (sin (expm1 a)))
2.0ms
(sin (expm1 a))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series16.0ms

Counts
4 → 12
Calls
4 calls:
1.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
1.0ms
(expm1 (sin (expm1 a)))
11.0ms
(sin (expm1 a))
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify120.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
039248
144212
254212
368212
4114212
5228212
6919212
73184212
85001212

prune180.0ms

Filtered
40 candidates to 28 candidates (30.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New281240
Fresh000
Picked101
Done000
Total291241

Merged error: 34.6b

Counts
41 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(sin (expm1 a))
0.6b
(cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3))
1.0b
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
41.3b
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube
add-log-exp
pow-unpow
cube-mult unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 58
Calls
4 calls:
2.0ms
(sin (expm1 a))
2.0ms
(cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3))
2.0ms
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
1.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

series23.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(sin (expm1 a))
1.0ms
(cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3))
9.0ms
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
2.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

simplify129.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0112584
1390527
22787521
35001521

prune268.0ms

Filtered
70 candidates to 35 candidates (50.0%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New63770
Fresh01111
Picked011
Done000
Total631982

Merged error: 34.4b

Counts
82 → 19

localize25.0ms

Local error

Found 4 expressions with local error:

1.0b
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
41.3b
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)
41.3b
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)
41.3b
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
add-log-exp
unpow-prod-down pow-unpow cube-prod
cube-mult pow-to-exp pow-pow unpow3 pow-exp rem-cube-cbrt sqr-pow
Counts
4 → 44
Calls
4 calls:
2.0ms
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
1.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)
1.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)
1.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

series14.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
2.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)
2.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)
2.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

simplify124.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
088540
1337452
22685448
35002448

prune333.0ms

Filtered
56 candidates to 36 candidates (35.7%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New51556
Fresh11617
Picked101
Done101
Total542175

Merged error: 34.2b

Counts
75 → 21

localize34.0ms

Local error

Found 4 expressions with local error:

1.0b
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
41.3b
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)
41.3b
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)
41.3b
(fmod (cbrt (cbrt (pow (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3) 3))) a)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
add-log-exp
unpow-prod-down pow-unpow cube-prod
cube-mult pow-to-exp pow-pow unpow3 pow-exp rem-cube-cbrt sqr-pow
Counts
4 → 44
Calls
4 calls:
2.0ms
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
1.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)
1.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)
1.0ms
(fmod (cbrt (cbrt (pow (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3) 3))) a)

series14.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
2.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)
2.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)
2.0ms
(fmod (cbrt (cbrt (pow (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3) 3))) a)

simplify125.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0102534
1361452
22849448
35003448

prune204.0ms

Filtered
56 candidates to 34 candidates (39.3%)
Pruning

23 alts after pruning (22 fresh and 1 done)

PrunedKeptTotal
New54256
Fresh02020
Picked011
Done000
Total542377

Merged error: 34.2b

Counts
77 → 23

regimes401.0ms

Accuracy

0% (1.6b remaining)

Error of 33.6b against oracle of 31.9b and baseline of 33.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02032
12032

end0.0ms

sample13.4s

Algorithm
intervals
Results
7.3s2626×body5120exit
3.9s2301×body1280valid
1.2s1639×body640valid
317.0ms2791×body80valid
296.0ms820×body320valid
111.0ms444×body160valid
15.0msbody5120valid
4.0msbody2560valid

Profiling

Loading profile data...