Details

Time bar (total: 15.3s)

sample376.0ms

Algorithm
intervals
Results
172.0ms68×body10240exit
135.0ms80×body1280valid
34.0ms54×body640valid
9.0ms95×body80valid
5.0msbody5120valid
4.0ms14×body320valid
3.0ms12×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.4b

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

series150.0ms

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

prune196.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 31.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(sin (expm1 a))
37.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
37.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
37.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

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

series65.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
067360
1138315
2360315
31390315
45001315

prune267.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 30.9b

localize30.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
36.9b
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
37.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
37.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite19.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:
16.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)

series152.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0151788
1447697
21900571
35001561

prune494.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 30.7b

localize38.0ms

Local error

Found 4 expressions with local error:

37.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
37.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
37.0b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
37.0b
(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
Counts
4 → 36
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)

simplify95.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
017408
119356
223356
328356
447356
5101356
6507356
71681356
85001356

prune269.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 30.7b

regimes369.0ms

Accuracy

0% (1.6b remaining)

Error of 33.8b against oracle of 32.2b and baseline of 33.8b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02467
12467

end0.0ms

sample12.5s

Algorithm
intervals
Results
6.6s2602×body10240exit
3.9s2305×body1280valid
1.1s1709×body640valid
270.0ms2757×body80valid
266.0ms815×body320valid
89.0ms407×body160valid
27.0msbody5120valid
2.0msbody2560valid