Details

Time bar (total: 15.0s)

sample409.0ms

Algorithm
intervals
Results
220.0ms87×body10240exit
116.0ms70×body1280valid
42.0ms58×body640valid
9.0ms93×body80valid
8.0ms25×body320valid
2.0ms10×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: 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
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
3 → 21
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)

series62.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
031173
135148
243148
354148
491148
5185148
6781148
72680148
85001148

prune117.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 32.1b

localize19.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 add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
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)

series61.0ms

Counts
4 → 12
Calls
4 calls:
55.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)

simplify102.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
023300
126256
232256
340256
468256
5142256
6643256
72176256
85001256

prune224.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 31.8b

localize29.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)

rewrite9.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*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 61
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)

series186.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0104703
1308616
21499509
35001499

prune451.0ms

Pruning

27 alts after pruning (27 fresh and 0 done)

Merged error: 31.5b

localize37.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)

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
cbrt-prod pow1/3
Counts
4 → 30
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)

series189.0ms

Counts
4 → 12
Calls
4 calls:
181.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)

simplify92.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
062664
1115550
2243548
3453548
41335548
55001548

prune254.0ms

Pruning

30 alts after pruning (30 fresh and 0 done)

Merged error: 31.4b

regimes476.0ms

Accuracy

0% (1.4b 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.1s

Algorithm
intervals
Results
6.4s2524×body10240exit
3.8s2232×body1280valid
1.1s1659×body640valid
280.0ms838×body320valid
276.0ms2842×body80valid
88.0ms423×body160valid
23.0msbody5120valid
2.0msbody2560valid