Details

Time bar (total: 14.9s)

sample337.0ms

Algorithm
intervals
Results
160.0ms65×body10240exit
111.0ms65×body1280valid
30.0ms46×body640valid
14.0ms106×body80valid
8.0ms24×body320valid
3.0ms15×body160valid

simplify2.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: 29.9b

localize13.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.3b
(sin (expm1 a))
34.2b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

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

series152.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0108302
1242264
2720264
32933264
45001264

prune207.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 28.9b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(sin (expm1 a))
0.3b
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
34.1b
(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 expm1-log1p-u log-pow add-cbrt-cube log1p-expm1-u
log-prod
rem-log-exp sin-diff rem-exp-log expm1-udef
Counts
4 → 49
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)

series94.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0108467
1208407
2487407
31838407
45001407

prune256.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 28.6b

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))
0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
34.2b
(fmod (+ (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))) (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)

rewrite7.0ms

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

series170.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))
28.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
29.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
3.0ms
(fmod (+ (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))) (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)

simplify100.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 7 (93.0ms)

IterNodesCost
076773
1100678
2127678
3187678
4358678
5884678
63890678
75001666

prune369.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 28.6b

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
34.1b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
34.1b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
34.1b
(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 expm1-log1p-u add-cbrt-cube log1p-expm1-u
exp-prod
rem-exp-log
Counts
4 → 40
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)

series39.0ms

Counts
4 → 12
Calls
4 calls:
32.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
52 → 52
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
043498
164429
283429
3124429
4224429
5546429
62617429
75001429

prune244.0ms

Pruning

25 alts after pruning (24 fresh and 1 done)

Merged error: 28.4b

regimes332.0ms

Accuracy

0% (1.7b remaining)

Error of 33.0b against oracle of 31.2b and baseline of 33.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02145
12145

end0.0ms

sample12.2s

Algorithm
intervals
Results
6.5s2598×body10240exit
3.7s2217×body1280valid
1.1s1609×body640valid
291.0ms2887×body80valid
280.0ms855×body320valid
87.0ms422×body160valid
18.0msbody5120valid
11.0msbody2560valid