Details

Time bar (total: 16.2s)

sample414.0ms

Algorithm
intervals
Results
191.0ms71×body10240exit
153.0ms88×body1280valid
36.0ms53×body640valid
8.0ms82×body80valid
7.0ms22×body320valid
5.0msbody5120valid
2.0ms10×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
087

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.4b

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.2b
(sin (expm1 a))
40.6b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

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

series72.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039248
144212
254212
368212
4114212
5228212
6919212
73184212
85001212

prune156.0ms

Filtered
40 candidates to 28 candidates (70.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New281240
Fresh000
Picked101
Done000
Total291241

Merged error: 34.2b

Counts
41 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(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)
40.6b
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

rewrite10.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))
4.0ms
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
1.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

series95.0ms

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

simplify128.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0112584
1390527
22787521
35001521

prune217.0ms

Filtered
70 candidates to 35 candidates (50.0%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New63770
Fresh01111
Picked101
Done000
Total641882

Merged error: 33.9b

Counts
82 → 18

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
0.6b
(cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3))
1.0b
(pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)
40.5b
(fmod (cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)) a)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod
26×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity
12×pow1
add-exp-log pow1/3
unpow-prod-down cube-prod swap-sqr associate-*r* associate-*l*
add-cbrt-cube
add-log-exp unswap-sqr
pow-unpow
cube-mult unpow3 pow-prod-down pow-sqr pow-prod-up sqr-pow
pow2 pow-to-exp pow-pow pow-plus pow-exp prod-exp *-commutative rem-cbrt-cube cbrt-unprod rem-cube-cbrt
Counts
4 → 91
Calls
4 calls:
7.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
2.0ms
(cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3))
2.0ms
(pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)
1.0ms
(fmod (cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)) a)

series219.0ms

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

simplify179.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
01861576
16941424
245751224
350021224

prune396.0ms

Filtered
103 candidates to 58 candidates (56.3%)
Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New9211103
Fresh21517
Picked101
Done000
Total9526121

Merged error: 33.6b

Counts
121 → 26

localize27.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
0.7b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
1.0b
(pow (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) 3)
40.6b
(fmod (cbrt (pow (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) 3)) a)

rewrite14.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
cbrt-prod pow1/3
cube-mult pow-to-exp pow-pow unpow3 pow-exp rem-cube-cbrt sqr-pow
Counts
4 → 48
Calls
4 calls:
5.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
5.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
2.0ms
(pow (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) 3)
1.0ms
(fmod (cbrt (pow (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) 3)) a)

series402.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
180.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
37.0ms
(pow (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) 3)
4.0ms
(fmod (cbrt (pow (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) 3)) a)

simplify136.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
01221720
14001414
229041406
350021406

prune217.0ms

Filtered
60 candidates to 39 candidates (65.0%)
Pruning

31 alts after pruning (30 fresh and 1 done)

PrunedKeptTotal
New53760
Fresh22325
Picked011
Done000
Total553186

Merged error: 33.4b

Counts
86 → 31

regimes400.0ms

Accuracy

0% (2.0b remaining)

Error of 33.5b against oracle of 31.5b and baseline of 33.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02139
12139

end0.0ms

sample12.9s

Algorithm
intervals
Results
7.1s2639×body10240exit
3.8s2311×body1280valid
1.1s1679×body640valid
287.0ms2816×body80valid
270.0ms802×body320valid
86.0ms383×body160valid
19.0msbody5120valid
10.0msbody2560valid

Profiling

Loading profile data...