Details

Time bar (total: 16.4s)

sample417.0ms

Algorithm
intervals
Results
212.0ms78×body10240exit
123.0ms80×body1280valid
43.0ms59×body640valid
15.0ms84×body80valid
9.0ms27×body320valid
2.0msbody2560valid
1.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
087

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.9b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (sin (expm1 a)))
0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.5b
(sin (expm1 a))
39.7b
(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:
1.0ms
(expm1 (sin (expm1 a)))
1.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
2.0ms
(sin (expm1 a))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series152.0ms

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

simplify124.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0108302
1242264
2720264
32933264
45001264

prune197.0ms

Filtered
51 candidates to 39 candidates (76.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New381351
Fresh000
Picked101
Done000
Total391352

Merged error: 33.6b

Counts
52 → 13

localize19.0ms

Local error

Found 4 expressions with local error:

0.5b
(sin (expm1 a))
0.5b
(sin (expm1 a))
0.7b
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
39.8b
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite12.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 sin-diff pow-prod-up expm1-udef
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 71
Calls
4 calls:
2.0ms
(sin (expm1 a))
2.0ms
(sin (expm1 a))
6.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
1.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)

series274.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(sin (expm1 a))
58.0ms
(sin (expm1 a))
153.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)

simplify88.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0177692
1561615
22431575
35002554

prune355.0ms

Filtered
83 candidates to 59 candidates (71.1%)
Pruning

25 alts after pruning (24 fresh and 1 done)

PrunedKeptTotal
New701383
Fresh11112
Picked011
Done000
Total712596

Merged error: 33.1b

Counts
96 → 25

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.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:
6.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
1.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
1.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
1.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)

series153.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
01411004
1436877
21887841
35001804

prune501.0ms

Filtered
81 candidates to 58 candidates (71.6%)
Pruning

34 alts after pruning (33 fresh and 1 done)

PrunedKeptTotal
New701181
Fresh12223
Picked101
Done011
Total7234106

Merged error: 32.8b

Counts
106 → 34

localize40.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
39.8b
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
39.8b
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
39.8b
(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 (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite7.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
cbrt-prod pow1/3
Counts
4 → 38
Calls
4 calls:
5.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
1.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
1.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
1.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 (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) a)

series160.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (18.0ms)

IterNodesCost
0106993
1199842
2487650
31638623
45001623

prune284.0ms

Filtered
50 candidates to 39 candidates (78.0%)
Pruning

40 alts after pruning (38 fresh and 2 done)

PrunedKeptTotal
New42850
Fresh23032
Picked011
Done011
Total444084

Merged error: 32.6b

Counts
84 → 40

regimes546.0ms

Accuracy

0% (2.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02670
12670

end0.0ms

sample12.8s

Algorithm
intervals
Results
7.0s2594×body10240exit
3.8s2256×body1280valid
1.2s1758×body640valid
282.0ms2768×body80valid
256.0ms778×body320valid
104.0ms436×body160valid
6.0msbody2560valid
4.0msbody5120valid