Details

Time bar (total: 14.4s)

sample381.0ms

Algorithm
intervals
Results
172.0ms70×body10240exit
129.0ms79×body1280valid
37.0ms57×body640valid
20.0ms87×body80valid
8.0ms25×body320valid
2.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
087

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.5b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (sin (expm1 a)))
0.0b
(sin (expm1 a))
0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
40.0b
(fmod (atan2 (expm1 (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
Counts
4 → 28
Calls
4 calls:
0.0ms
(expm1 (sin (expm1 a)))
1.0ms
(sin (expm1 a))
0.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series76.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039248
144212
254212
368212
4114212
5228212
6919212
73184212
85001212

prune162.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 33.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)) (cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)))
40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite13.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:
11.0ms
(* (cbrt (fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)) (cbrt (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)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series150.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
090935
1311852
21529755
35001738

prune282.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 33.2b

localize24.0ms

Local error

Found 4 expressions with local error:

40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

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

series9.0ms

Counts
4 → 12
Calls
4 calls:
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)
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify94.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
015352
117300
221300
326300
445300
599300
6505300
71672300
85001300

prune238.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 33.2b

localize30.0ms

Local error

Found 4 expressions with local error:

40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
40.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
40.0b
(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
(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)
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series9.0ms

Counts
4 → 12
Calls
4 calls:
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)
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify91.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
015352
117300
221300
326300
445300
599300
6505300
71672300
85001300

prune173.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 33.2b

regimes217.0ms

Accuracy

0% (1.3b remaining)

Error of 33.7b against oracle of 32.4b and baseline of 33.7b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01224
11224

end0.0ms

sample12.3s

Algorithm
intervals
Results
6.5s2596×body10240exit
3.9s2359×body1280valid
1.1s1645×body640valid
269.0ms2776×body80valid
255.0ms814×body320valid
80.0ms402×body160valid
9.0msbody5120valid
4.0msbody2560valid