Details

Time bar (total: 17.1s)

sample387.0ms

Algorithm
intervals
Results
212.0ms78×body10240exit
109.0ms65×body1280valid
33.0ms49×body640valid
11.0ms105×body80valid
8.0ms25×body320valid
3.0ms12×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: 30.8b

Counts
2 → 1

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)

rewrite4.0ms

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

series162.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0108302
1242264
2720264
32934264
45001264

prune204.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New391251
Fresh000
Picked101
Done000
Total401252

Merged error: 29.9b

Counts
52 → 12

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

rewrite5.0ms

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

series548.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(cbrt (expm1 (sin (expm1 a))))
181.0ms
(cbrt (expm1 (sin (expm1 a))))
180.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)

simplify73.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 4 (67.0ms)

IterNodesCost
088549
1181487
2472481
31562470
45001467

prune283.0ms

Filtered
60 candidates to 45 candidates (75.0%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New491160
Fresh2911
Picked011
Done000
Total512172

Merged error: 29.7b

Counts
72 → 21

localize27.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 (expm1 (sin (expm1 a)))) (* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

rewrite12.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
expm1-log1p-u pow1/3 associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down
pow3 prod-exp *-commutative cbrt-unprod
Counts
4 → 72
Calls
4 calls:
1.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))))))
2.0ms
(cbrt (cbrt (expm1 (sin (expm1 a)))))
1.0ms
(fmod (atan2 (* (* (cbrt (expm1 (sin (expm1 a)))) (* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

series558.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(cbrt (expm1 (sin (expm1 a))))
186.0ms
(* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))
185.0ms
(cbrt (cbrt (expm1 (sin (expm1 a)))))
3.0ms
(fmod (atan2 (* (* (cbrt (expm1 (sin (expm1 a)))) (* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

simplify61.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
02061323
15661188
217871180
350011157

prune454.0ms

Filtered
84 candidates to 63 candidates (75.0%)
Pruning

30 alts after pruning (28 fresh and 2 done)

PrunedKeptTotal
New701484
Fresh51419
Picked011
Done011
Total7530105

Merged error: 29.4b

Counts
105 → 30

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)

rewrite4.0ms

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

series133.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a))
5.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)

simplify252.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
038471
167393
2144391
3589391
44672391
55001391

prune177.0ms

Filtered
52 candidates to 39 candidates (75.0%)
Pruning

33 alts after pruning (31 fresh and 2 done)

PrunedKeptTotal
New47552
Fresh12627
Picked101
Done022
Total493382

Merged error: 29.4b

Counts
82 → 33

regimes417.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.2s

Algorithm
intervals
Results
7.2s2646×body10240exit
3.9s2349×body1280valid
1.2s1669×body640valid
286.0ms2749×body80valid
274.0ms824×body320valid
91.0ms404×body160valid
9.0msbody5120valid
6.0msbody2560valid