Details

Time bar (total: 14.8s)

sample420.0ms

Algorithm
intervals
Results
205.0ms80×body10240exit
144.0ms77×body1280valid
33.0ms48×body640valid
16.0ms99×body80valid
8.0ms24×body320valid
2.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
087

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.9b

localize13.0ms

Local error

Found 4 expressions with local error:

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

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

series66.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039248
144212
254212
368212
4114212
5228212
6919212
73184212
85001212

prune177.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 30.8b

localize17.0ms

Local error

Found 4 expressions with local error:

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

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

series93.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 7 (93.0ms)

IterNodesCost
063401
192342
2121342
3180342
4339342
5863342
63913342
75001338

prune246.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 30.5b

localize25.0ms

Local error

Found 4 expressions with local error:

0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
36.8b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
36.8b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
36.8b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

rewrite2.0ms

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

series38.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039430
160361
278361
3118361
4218361
5534361
62589361
75001361

prune316.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 30.3b

localize24.0ms

Local error

Found 4 expressions with local error:

0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
36.8b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
36.8b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
36.9b
(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 add-log-exp
pow1 add-exp-log add-cbrt-cube
exp-prod
rem-exp-log
Counts
4 → 32
Calls
4 calls:
1.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series39.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
047370
163319
281319
3121319
4221319
5537319
62592319
75001319

prune234.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 30.2b

regimes345.0ms

Accuracy

0% (1.8b remaining)

Error of 33.4b against oracle of 31.6b and baseline of 33.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02330
12330

end0.0ms

sample12.3s

Algorithm
intervals
Results
6.6s2624×body10240exit
3.8s2299×body1280valid
1.1s1616×body640valid
275.0ms2813×body80valid
274.0ms848×body320valid
86.0ms416×body160valid
14.0msbody5120valid
9.0msbody2560valid