Details

Time bar (total: 16.2s)

sample407.0ms

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

simplify2.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

localize18.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
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:
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)

series62.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
039248
144212
254212
368212
4114212
5228212
6919212
73184212
85001212

prune174.0ms

Filtered
40 candidates to 28 candidates (70.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New281240
Fresh000
Picked101
Done000
Total291241

Merged error: 33.7b

Counts
41 → 12

localize18.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*
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:
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)

series301.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(sin (expm1 a))
60.0ms
(sin (expm1 a))
182.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)

simplify60.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0101595
1312528
21529489
35001468

prune301.0ms

Filtered
73 candidates to 46 candidates (63.0%)
Pruning

24 alts after pruning (23 fresh and 1 done)

PrunedKeptTotal
New601373
Fresh11011
Picked011
Done000
Total612485

Merged error: 33.2b

Counts
85 → 24

localize23.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*
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:
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)

series191.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
096883
1299760
21488725
35001688

prune454.0ms

Filtered
73 candidates to 49 candidates (67.1%)
Pruning

33 alts after pruning (32 fresh and 1 done)

PrunedKeptTotal
New621173
Fresh12122
Picked101
Done011
Total643397

Merged error: 32.9b

Counts
97 → 33

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 add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
cbrt-prod pow1/3
Counts
4 → 30
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)

series197.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
058834
185686
2161532
3428505
41891505
55001505

prune220.0ms

Filtered
42 candidates to 30 candidates (71.4%)
Pruning

39 alts after pruning (37 fresh and 2 done)

PrunedKeptTotal
New34842
Fresh22931
Picked011
Done011
Total363975

Merged error: 32.8b

Counts
75 → 39

regimes531.0ms

Accuracy

0% (2.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02670
12670

end0.0ms

sample12.9s

Algorithm
intervals
Results
7.1s2594×body10240exit
3.8s2256×body1280valid
1.2s1758×body640valid
289.0ms2768×body80valid
259.0ms778×body320valid
95.0ms436×body160valid
6.0msbody2560valid
5.0msbody5120valid