Details

Time bar (total: 17.1s)

sample414.0ms

Algorithm
intervals
Results
219.0ms78×body10240exit
120.0ms65×body1280valid
38.0ms49×body640valid
13.0ms105×body80valid
10.0ms25×body320valid
3.0ms12×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
087

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.8b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.0b
(sin (expm1 a))
0.0b
(expm1 (sin (expm1 a)))
35.4b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite3.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:
0.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
1.0ms
(sin (expm1 a))
0.0ms
(expm1 (sin (expm1 a)))
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series65.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039248
144212
254212
368212
4114212
5228212
6919212
73184212
85001212

prune155.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 29.9b

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (expm1 (sin (expm1 a))))
0.4b
(cbrt (expm1 (sin (expm1 a))))
0.4b
(cbrt (expm1 (sin (expm1 a))))
35.4b
(fmod (atan2 (* (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

rewrite2.0ms

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

series324.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(cbrt (expm1 (sin (expm1 a))))
106.0ms
(cbrt (expm1 (sin (expm1 a))))
108.0ms
(cbrt (expm1 (sin (expm1 a))))
3.0ms
(fmod (atan2 (* (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

simplify89.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
039474
169412
2146406
3479395
42429395
55001395

prune246.0ms

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 29.7b

localize24.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (expm1 (sin (expm1 a))))
0.6b
(* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))
0.8b
(cbrt (cbrt (expm1 (sin (expm1 a)))))
35.4b
(fmod (atan2 (* (* (* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a)))))) (cbrt (expm1 (sin (expm1 a))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod
20×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
associate-*r*
pow1 add-exp-log unswap-sqr
pow1/3 associate-*l* add-cbrt-cube add-log-exp
pow-prod-down
pow3 prod-exp *-commutative cbrt-unprod
Counts
4 → 64
Calls
4 calls:
0.0ms
(cbrt (expm1 (sin (expm1 a))))
7.0ms
(* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))
1.0ms
(cbrt (cbrt (expm1 (sin (expm1 a)))))
0.0ms
(fmod (atan2 (* (* (* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a)))))) (cbrt (expm1 (sin (expm1 a))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

series328.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(cbrt (expm1 (sin (expm1 a))))
107.0ms
(* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))
110.0ms
(cbrt (cbrt (expm1 (sin (expm1 a)))))
3.0ms
(fmod (atan2 (* (* (* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a)))))) (cbrt (expm1 (sin (expm1 a))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

simplify80.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 4 (73.0ms)

IterNodesCost
01231193
13641063
29471055
327501032
45002912

prune408.0ms

Pruning

29 alts after pruning (28 fresh and 1 done)

Merged error: 29.3b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a))
35.4b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
35.4b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
35.4b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite2.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
cbrt-prod
pow1/3
Counts
4 → 32
Calls
4 calls:
1.0ms
(cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a))
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series128.0ms

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

simplify248.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
034413
163335
2140333
3584333
44641333
55001333

prune151.0ms

Pruning

32 alts after pruning (31 fresh and 1 done)

Merged error: 29.3b

regimes404.0ms

Accuracy

0% (1.8b remaining)

Error of 33.8b against oracle of 32.1b and baseline of 33.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01218
11218

end0.0ms

sample13.9s

Algorithm
intervals
Results
7.4s2646×body10240exit
4.2s2349×body1280valid
1.3s1669×body640valid
331.0ms2749×body80valid
324.0ms824×body320valid
105.0ms404×body160valid
10.0msbody5120valid
6.0msbody2560valid