Details

Time bar (total: 16.8s)

sample423.0ms

Algorithm
intervals
Results
208.0ms73×body5120exit
136.0ms82×body1280valid
38.0ms53×body640valid
11.0ms30×body320valid
9.0ms76×body80valid
5.0msbody5120valid
3.0ms14×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
087

prune4.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: 36.1b

Counts
2 → 1

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(expm1 (sin (expm1 a)))
0.3b
(sin (expm1 a))
41.6b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite5.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
3 → 21
Calls
3 calls:
1.0ms
(expm1 (sin (expm1 a)))
2.0ms
(sin (expm1 a))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series71.0ms

Counts
3 → 9
Calls
3 calls:
1.0ms
(expm1 (sin (expm1 a)))
61.0ms
(sin (expm1 a))
9.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify117.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
031173
135148
243148
354148
491148
5185148
6781148
72680148
85001148

prune120.0ms

Filtered
30 candidates to 21 candidates (70.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New201030
Fresh000
Picked011
Done000
Total201131

Merged error: 35.2b

Counts
31 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

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

series61.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
023300
126256
232256
340256
468256
5142256
6643256
72176256
85001256

prune211.0ms

Filtered
40 candidates to 28 candidates (70.0%)
Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New32840
Fresh099
Picked101
Done011
Total331851

Merged error: 34.9b

Counts
51 → 18

localize32.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
41.6b
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)
41.6b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
41.6b
(fmod (atan2 (expm1 (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:
9.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 (sin (expm1 a))) (atan a)) a)
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series187.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0104703
1308616
21499509
35001499

prune443.0ms

Filtered
73 candidates to 45 candidates (61.6%)
Pruning

30 alts after pruning (29 fresh and 1 done)

PrunedKeptTotal
New591473
Fresh11516
Picked101
Done011
Total613091

Merged error: 34.5b

Counts
91 → 30

localize37.0ms

Local error

Found 4 expressions with local error:

0.8b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
41.6b
(fmod (atan2 (expm1 (* (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (pow (cbrt (cbrt (sin (expm1 a)))) 4)) (cbrt (sin (expm1 a))))) (atan a)) a)
41.6b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)
41.6b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

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

series186.0ms

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

simplify222.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 5 (217.0ms)

IterNodesCost
060534
1111446
2283444
3796444
43917444
55001443

prune250.0ms

Filtered
42 candidates to 32 candidates (76.2%)
Pruning

36 alts after pruning (35 fresh and 1 done)

PrunedKeptTotal
New321042
Fresh32528
Picked101
Done011
Total363672

Merged error: 34.3b

Counts
72 → 36

regimes826.0ms

Accuracy

0% (1.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02842
12842

end0.0ms

sample13.4s

Algorithm
intervals
Results
7.3s2641×body5120exit
4.0s2310×body1280valid
1.2s1675×body640valid
318.0ms2770×body80valid
296.0ms816×body320valid
102.0ms425×body160valid
6.0msbody2560valid
5.0msbody5120valid

Profiling

Loading profile data...