Details

Time bar (total: 17.1s)

sample380.0ms

Algorithm
intervals
Results
174.0ms69×body10240exit
139.0ms75×body1280valid
36.0ms50×body640valid
9.0ms99×body80valid
6.0ms20×body320valid
2.0ms12×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: 31.8b

localize13.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.1b
(sin (expm1 a))
36.2b
(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)

series145.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
80.0ms
(expm1 (sin (expm1 a)))
61.0ms
(sin (expm1 a))
2.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify123.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0108302
1242264
2720264
32933264
45001264

prune201.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 30.8b

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (expm1 (sin (expm1 a))))
0.4b
(cbrt (expm1 (sin (expm1 a))))
0.4b
(cbrt (expm1 (sin (expm1 a))))
36.3b
(fmod (atan2 (* (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

rewrite4.0ms

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

series482.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(cbrt (expm1 (sin (expm1 a))))
159.0ms
(cbrt (expm1 (sin (expm1 a))))
158.0ms
(cbrt (expm1 (sin (expm1 a))))
3.0ms
(fmod (atan2 (* (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

simplify71.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 4 (66.0ms)

IterNodesCost
088549
1181487
2472481
31562470
45001467

prune309.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 30.5b

localize24.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a))))))
0.6b
(* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))
0.8b
(cbrt (cbrt (expm1 (sin (expm1 a)))))
36.3b
(fmod (atan2 (* (* (cbrt (expm1 (sin (expm1 a)))) (* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
30×cbrt-prod
19×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
associate-*r*
pow1 add-exp-log unswap-sqr
expm1-log1p-u pow1/3 associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down
pow3 prod-exp *-commutative cbrt-unprod
Counts
4 → 70
Calls
4 calls:
5.0ms
(cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a))))))
16.0ms
(* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))
1.0ms
(cbrt (cbrt (expm1 (sin (expm1 a)))))
0.0ms
(fmod (atan2 (* (* (cbrt (expm1 (sin (expm1 a)))) (* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

series500.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a))))))
160.0ms
(* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))
162.0ms
(cbrt (cbrt (expm1 (sin (expm1 a)))))
4.0ms
(fmod (atan2 (* (* (cbrt (expm1 (sin (expm1 a)))) (* (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

simplify83.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
02491381
17231230
226761203
350011111

prune477.0ms

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 30.1b

localize29.0ms

Local error

Found 4 expressions with local error:

0.6b
(log (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))))
0.8b
(cbrt (cbrt (expm1 (sin (expm1 a)))))
2.4b
(exp (log (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a))))))))
36.2b
(fmod (atan2 (* (* (cbrt (expm1 (sin (expm1 a)))) (* (exp (log (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
11×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
log-prod
pow1
add-exp-log exp-prod
expm1-log1p-u exp-sum log-pow add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
rem-log-exp rem-exp-log
Counts
4 → 60
Calls
4 calls:
5.0ms
(log (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))))
1.0ms
(cbrt (cbrt (expm1 (sin (expm1 a)))))
10.0ms
(exp (log (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a))))))))
0.0ms
(fmod (atan2 (* (* (cbrt (expm1 (sin (expm1 a)))) (* (exp (log (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

series563.0ms

Counts
4 → 12
Calls
4 calls:
218.0ms
(log (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))))
163.0ms
(cbrt (cbrt (expm1 (sin (expm1 a)))))
178.0ms
(exp (log (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a))))))))
4.0ms
(fmod (atan2 (* (* (cbrt (expm1 (sin (expm1 a)))) (* (exp (log (cbrt (* (cbrt (expm1 (sin (expm1 a)))) (cbrt (expm1 (sin (expm1 a)))))))) (cbrt (cbrt (expm1 (sin (expm1 a))))))) (cbrt (expm1 (sin (expm1 a))))) (atan a)) a)

simplify129.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 4 (121.0ms)

IterNodesCost
02101113
1446962
21138938
33969931
45001930

prune363.0ms

Pruning

37 alts after pruning (37 fresh and 0 done)

Merged error: 29.6b

regimes506.0ms

Accuracy

0% (2.2b remaining)

Error of 33.3b against oracle of 31.0b and baseline of 33.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02332
12532
22532

end0.0ms

sample12.6s

Algorithm
intervals
Results
6.7s2693×body10240exit
3.8s2262×body1280valid
1.1s1664×body640valid
274.0ms2844×body80valid
270.0ms801×body320valid
85.0ms417×body160valid
32.0msbody5120valid
9.0msbody2560valid