Details

Time bar (total: 15.4s)

sample408.0ms

Algorithm
intervals
Results
215.0ms87×body10240exit
120.0ms70×body1280valid
41.0ms58×body640valid
9.0ms93×body80valid
8.0ms25×body320valid
2.0ms10×body160valid

simplify3.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: 32.9b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(expm1 (sin (expm1 a)))
0.1b
(sin (expm1 a))
37.9b
(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
3 → 30
Calls
3 calls:
0.0ms
(expm1 (sin (expm1 a)))
1.0ms
(sin (expm1 a))
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series155.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
098215
1231188
2706188
32915188
45001188

prune165.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 32.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(sin (expm1 a))
37.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
37.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
37.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite2.0ms

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

series68.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(sin (expm1 a))
2.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)

simplify65.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
067360
1138315
2360315
31390315
45001315

prune288.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 31.8b

localize33.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
37.8b
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
37.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
37.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
16×cbrt-prod
12×add-cube-cbrt *-un-lft-identity
11×pow1
add-exp-log pow1/3 swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 69
Calls
4 calls:
7.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
0.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series162.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
3.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (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)

simplify68.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0151788
1447697
21900571
35001561

prune525.0ms

Pruning

27 alts after pruning (27 fresh and 0 done)

Merged error: 31.5b

localize38.0ms

Local error

Found 4 expressions with local error:

0.8b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
37.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
37.9b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
37.9b
(fmod (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite5.0ms

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

series160.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
4.0ms
(fmod (atan2 (expm1 (* (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))) (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) a)

simplify73.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0110789
1229672
2570670
31672670
45001670

prune329.0ms

Pruning

31 alts after pruning (31 fresh and 0 done)

Merged error: 31.4b

regimes506.0ms

Accuracy

0% (1.5b remaining)

Error of 33.2b against oracle of 31.7b and baseline of 33.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02953
12953

end0.0ms

sample12.2s

Algorithm
intervals
Results
6.3s2524×body10240exit
3.8s2232×body1280valid
1.2s1659×body640valid
288.0ms2842×body80valid
277.0ms838×body320valid
92.0ms423×body160valid
23.0msbody5120valid
2.0msbody2560valid