Details

Time bar (total: 16.1s)

sample445.0ms

Algorithm
intervals
Results
241.0ms87×body10240exit
140.0ms87×body1280valid
34.0ms50×body640valid
9.0ms85×body80valid
8.0ms25×body320valid
2.0msbody160valid

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: 34.6b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

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

series64.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039248
144212
254212
368212
4114212
5228212
6919212
73184212
85001212

prune159.0ms

Filtered
40 candidates to 28 candidates (70.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New271340
Fresh000
Picked101
Done000
Total281341

Merged error: 33.4b

Counts
41 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.3b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.3b
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
40.0b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

rewrite8.0ms

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

series34.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
28.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
2.0ms
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
2.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

simplify96.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 7 (92.0ms)

IterNodesCost
059434
189373
2116373
3169373
4318373
5822373
63775373
75001369

prune203.0ms

Filtered
52 candidates to 33 candidates (63.5%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New46652
Fresh3912
Picked101
Done000
Total501565

Merged error: 33.1b

Counts
65 → 15

localize19.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.7b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.7b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
40.0b
(fmod (log (exp (* (* (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (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 add-cbrt-cube add-log-exp
pow1/3
Counts
4 → 40
Calls
4 calls:
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(fmod (log (exp (* (* (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)

series335.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
109.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
113.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
3.0ms
(fmod (log (exp (* (* (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)

simplify110.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
042648
181562
2190556
3656539
43491539
55001539

prune261.0ms

Filtered
52 candidates to 37 candidates (71.2%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New47552
Fresh01414
Picked101
Done000
Total481967

Merged error: 33.1b

Counts
67 → 19

localize30.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
40.0b
(fmod (log (exp (* (* (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)
40.0b
(fmod (log (exp (* (* (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)
40.0b
(fmod (log (exp (* (* (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (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 add-cbrt-cube add-log-exp
cbrt-prod
pow1/3
Counts
4 → 32
Calls
4 calls:
1.0ms
(cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(fmod (log (exp (* (* (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)
1.0ms
(fmod (log (exp (* (* (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)
1.0ms
(fmod (log (exp (* (* (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))) (cbrt (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)

series117.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
042904
181750
2190748
3656697
43491697
55001697

prune218.0ms

Filtered
44 candidates to 34 candidates (77.3%)
Pruning

25 alts after pruning (24 fresh and 1 done)

PrunedKeptTotal
New38644
Fresh01818
Picked011
Done000
Total382563

Merged error: 32.9b

Counts
63 → 25

regimes339.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02158
12158

end0.0ms

sample13.4s

Algorithm
intervals
Results
7.4s2710×body10240exit
3.9s2336×body1280valid
1.1s1636×body640valid
298.0ms2792×body80valid
281.0ms783×body320valid
98.0ms444×body160valid
24.0msbody5120valid
8.0msbody2560valid