Details

Time bar (total: 14.9s)

sample403.0ms

Algorithm
intervals
Results
226.0ms91×body10240exit
106.0ms59×body1280valid
37.0ms57×body640valid
10.0ms29×body320valid
9.0ms92×body80valid
4.0ms19×body160valid

simplify2.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

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.1b

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.0b
(expm1 (sin (expm1 a)))
38.0b
(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-log1p expm1-udef
Counts
3 → 29
Calls
3 calls:
0.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
2.0ms
(expm1 (sin (expm1 a)))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series100.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
90.0ms
(expm1 (sin (expm1 a)))
8.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify52.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
073248
1147216
2421216
31258216
45001216

prune157.0ms

Filtered
38 candidates to 28 candidates (73.7%)
Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 31.9b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (sin (expm1 a)))
0.3b
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
38.0b
(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 log1p-expm1-u add-log-exp
add-exp-log expm1-log1p-u log-pow add-cbrt-cube
log-prod
expm1-log1p rem-log-exp rem-exp-log expm1-udef
Counts
4 → 50
Calls
4 calls:
0.0ms
(expm1 (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)

series123.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0104472
1205410
2516410
31518410
45002410

prune256.0ms

Filtered
62 candidates to 42 candidates (67.7%)
Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 31.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)))
38.0b
(fmod (+ (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))) (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)

rewrite5.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:
2.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)

series175.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))
32.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)

simplify101.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 7 (95.0ms)

IterNodesCost
076773
1100678
2127678
3187678
4358678
5884678
63890678
75001666

prune366.0ms

Filtered
69 candidates to 53 candidates (76.8%)
Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 31.6b

localize29.0ms

Local error

Found 4 expressions with local error:

0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
38.0b
(fmod (+ (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))) (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)
38.0b
(fmod (+ (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))) (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)
38.0b
(fmod (+ (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))) (log (sqrt (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 (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))) (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) 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)
0.0ms
(fmod (+ (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))) (log (sqrt (exp (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)))
4.0ms
(fmod (+ (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))) (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) 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)
3.0ms
(fmod (+ (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))) (log (sqrt (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))))) a)

simplify79.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
048894
168747
287747
3128747
4228747
5550747
62633747
75001747

prune267.0ms

Filtered
52 candidates to 41 candidates (78.8%)
Pruning

22 alts after pruning (21 fresh and 1 done)

Merged error: 31.5b

regimes305.0ms

Accuracy

0% (1.6b remaining)

Error of 33.5b against oracle of 31.9b and baseline of 33.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01219

end0.0ms

sample12.3s

Algorithm
intervals
Results
6.4s2570×body10240exit
3.9s2295×body1280valid
1.1s1656×body640valid
272.0ms823×body320valid
266.0ms2802×body80valid
85.0ms418×body160valid
18.0msbody5120valid
4.0msbody2560valid