Details

Time bar (total: 14.7s)

sample333.0ms

Algorithm
intervals
Results
160.0ms65×body10240exit
111.0ms65×body1280valid
30.0ms46×body640valid
10.0ms106×body80valid
8.0ms24×body320valid
3.0ms15×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: 29.9b

localize19.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))
34.2b
(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
(atan2 (expm1 (sin (expm1 a))) (atan a))
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
4 → 12
Calls
4 calls:
2.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
1.0ms
(expm1 (sin (expm1 a)))
56.0ms
(sin (expm1 a))
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify119.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039248
144212
254212
368212
4114212
5228212
6919212
73184212
85001212

prune164.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 28.9b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(sin (expm1 a))
0.3b
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
34.1b
(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 add-log-exp
add-exp-log log-pow add-cbrt-cube
log-prod
rem-log-exp rem-exp-log
Counts
4 → 40
Calls
4 calls:
1.0ms
(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)

series92.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 7 (95.0ms)

IterNodesCost
063401
192342
2121342
3180342
4339342
5863342
63913342
75001338

prune206.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 28.6b

localize26.0ms

Local error

Found 4 expressions with local error:

0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.6b
(* (pow (exp (atan2 (expm1 (sin (expm1 a))) (atan a))) 1/2) (pow (exp (atan2 (expm1 (sin (expm1 a))) (atan a))) 1/2))
34.1b
(fmod (log (* (pow (exp (atan2 (expm1 (sin (expm1 a))) (atan a))) 1/2) (pow (exp (atan2 (expm1 (sin (expm1 a))) (atan a))) 1/2))) a)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
18×unpow-prod-down
14×add-cube-cbrt *-un-lft-identity
10×add-exp-log sqr-pow
prod-exp unswap-sqr
swap-sqr associate-*r* associate-*l*
pow-to-exp exp-prod pow-exp add-cbrt-cube add-log-exp
pow1 unpow1/2
rem-exp-log
pow2 sqrt-unprod pow-prod-down rem-square-sqrt pow-sqr *-commutative pow-prod-up cbrt-unprod
Counts
4 → 83
Calls
4 calls:
1.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
1.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
11.0ms
(* (pow (exp (atan2 (expm1 (sin (expm1 a))) (atan a))) 1/2) (pow (exp (atan2 (expm1 (sin (expm1 a))) (atan a))) 1/2))
0.0ms
(fmod (log (* (pow (exp (atan2 (expm1 (sin (expm1 a))) (atan a))) 1/2) (pow (exp (atan2 (expm1 (sin (expm1 a))) (atan a))) 1/2))) a)

series95.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
29.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
29.0ms
(* (pow (exp (atan2 (expm1 (sin (expm1 a))) (atan a))) 1/2) (pow (exp (atan2 (expm1 (sin (expm1 a))) (atan a))) 1/2))
3.0ms
(fmod (log (* (pow (exp (atan2 (expm1 (sin (expm1 a))) (atan a))) 1/2) (pow (exp (atan2 (expm1 (sin (expm1 a))) (atan a))) 1/2))) a)

simplify227.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
01611188
1553947
24758884
35001884

prune329.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 28.6b

localize23.0ms

Local error

Found 4 expressions with local error:

0.4b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
34.1b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
34.1b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
34.1b
(fmod (log (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 add-cbrt-cube
exp-prod
rem-exp-log
Counts
4 → 32
Calls
4 calls:
1.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

series39.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039430
160361
278361
3118361
4218361
5534361
62589361
75001361

prune191.0ms

Pruning

25 alts after pruning (24 fresh and 1 done)

Merged error: 28.4b

regimes324.0ms

Accuracy

0% (1.7b remaining)

Error of 33.0b against oracle of 31.2b and baseline of 33.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02145
12145

end0.0ms

sample12.2s

Algorithm
intervals
Results
6.5s2598×body10240exit
3.7s2217×body1280valid
1.1s1609×body640valid
286.0ms855×body320valid
275.0ms2887×body80valid
91.0ms422×body160valid
18.0msbody5120valid
11.0msbody2560valid