Details

Time bar (total: 18.1s)

sample475.0ms

Algorithm
intervals
Results
261.0ms95×body5120exit
131.0ms75×body1280valid
50.0ms61×body640valid
10.0ms86×body80valid
8.0ms24×body320valid
2.0ms10×body160valid

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.0b

Counts
2 → 1

localize12.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.0b
(sin (expm1 a))
39.2b
(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
(atan2 (expm1 (sin (expm1 a))) (atan a))
1.0ms
(expm1 (sin (expm1 a)))
2.0ms
(sin (expm1 a))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series63.0ms

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

prune157.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: 32.7b

Counts
41 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (sin (expm1 a)))
0.4b
(cbrt (sin (expm1 a)))
0.6b
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
39.3b
(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
22×cbrt-prod add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log 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 → 69
Calls
4 calls:
2.0ms
(cbrt (sin (expm1 a)))
1.0ms
(cbrt (sin (expm1 a)))
7.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)

series504.0ms

Counts
4 → 12
Calls
4 calls:
161.0ms
(cbrt (sin (expm1 a)))
161.0ms
(cbrt (sin (expm1 a)))
180.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)

simplify79.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
099673
1366578
22587543
35002526

prune351.0ms

Filtered
81 candidates to 54 candidates (66.7%)
Pruning

25 alts after pruning (24 fresh and 1 done)

PrunedKeptTotal
New651681
Fresh3811
Picked011
Done000
Total682593

Merged error: 32.1b

Counts
93 → 25

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
33×cbrt-prod
20×add-cube-cbrt *-un-lft-identity
18×pow1
13×pow1/3
12×swap-sqr associate-*r* associate-*l*
add-exp-log unswap-sqr
pow-prod-down pow-sqr pow-prod-up add-cbrt-cube add-log-exp
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 96
Calls
4 calls:
7.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
7.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
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 (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (cbrt (sin (expm1 a))))))) (atan a)) a)

series547.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
179.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
184.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
3.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (* (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))) (cbrt (cbrt (sin (expm1 a))))))) (atan a)) a)

simplify66.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
01161086
1365958
21762884
35001863

prune504.0ms

Filtered
108 candidates to 66 candidates (61.1%)
Pruning

35 alts after pruning (34 fresh and 1 done)

PrunedKeptTotal
New9513108
Fresh22123
Picked101
Done011
Total9835133

Merged error: 32.0b

Counts
133 → 35

localize27.0ms

Local error

Found 4 expressions with local error:

0.7b
(log (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))))
0.8b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
2.5b
(exp (log (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))))
39.2b
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (* (exp (log (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))))) (cbrt (cbrt (sin (expm1 a))))))) (atan a)) a)

rewrite14.0ms

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

series614.0ms

Counts
4 → 12
Calls
4 calls:
247.0ms
(log (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))))
182.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
181.0ms
(exp (log (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))))
3.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (* (exp (log (cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))))) (cbrt (cbrt (sin (expm1 a))))))) (atan a)) a)

simplify183.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 4 (39.0ms)

IterNodesCost
095806
1168685
2312657
3839649
44069645
55002645

prune249.0ms

Filtered
59 candidates to 42 candidates (71.2%)
Pruning

43 alts after pruning (43 fresh and 0 done)

PrunedKeptTotal
New461359
Fresh33033
Picked101
Done101
Total514394

Merged error: 31.7b

Counts
94 → 43

regimes533.0ms

Accuracy

0% (2.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02340
12340

end0.0ms

sample13.5s

Algorithm
intervals
Results
7.4s2697×body5120exit
4.0s2313×body1280valid
1.2s1693×body640valid
314.0ms2804×body80valid
289.0ms796×body320valid
93.0ms390×body160valid
10.0msbody5120valid
6.0msbody2560valid

Profiling

Loading profile data...