Details

Time bar (total: 16.6s)

sample425.0ms

Algorithm
intervals
Results
200.0ms71×body5120exit
150.0ms88×body1280valid
39.0ms53×body640valid
9.0ms82×body80valid
8.0ms22×body320valid
5.0msbody5120valid
2.0ms10×body160valid

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: 35.4b

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.2b
(sin (expm1 a))
40.6b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite8.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
(atan2 (expm1 (sin (expm1 a))) (atan a))
1.0ms
(expm1 (sin (expm1 a)))
3.0ms
(sin (expm1 a))
1.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series164.0ms

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

simplify129.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0108302
1242264
2720264
32933264
45001264

prune198.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: 34.2b

Counts
52 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(sin (expm1 a))
0.6b
(cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3))
1.0b
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
40.6b
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow
cube-mult unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp sin-diff rem-cbrt-cube expm1-udef rem-cube-cbrt
Counts
4 → 67
Calls
4 calls:
2.0ms
(sin (expm1 a))
2.0ms
(cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3))
2.0ms
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
1.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

series97.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(sin (expm1 a))
2.0ms
(cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3))
33.0ms
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
2.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

simplify150.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0156650
1538592
23301586
35002586

prune265.0ms

Filtered
79 candidates to 46 candidates (58.2%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New71879
Fresh01212
Picked101
Done000
Total722092

Merged error: 33.8b

Counts
92 → 20

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
0.6b
(cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3))
1.0b
(pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)
40.5b
(fmod (cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)) a)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod
26×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity
12×pow1
add-exp-log pow1/3
unpow-prod-down cube-prod swap-sqr associate-*r* associate-*l*
add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-unpow
cube-mult unpow3 pow-prod-down pow-sqr pow-prod-up sqr-pow
pow2 pow-to-exp pow-pow pow-plus pow-exp prod-exp *-commutative rem-cbrt-cube cbrt-unprod rem-cube-cbrt
Counts
4 → 99
Calls
4 calls:
7.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
2.0ms
(cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3))
2.0ms
(pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)
1.0ms
(fmod (cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)) a)

series190.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
2.0ms
(cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3))
37.0ms
(pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)
3.0ms
(fmod (cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)) a)

simplify48.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02351703
18421547
250011346

prune434.0ms

Filtered
111 candidates to 67 candidates (60.4%)
Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New10011111
Fresh31619
Picked101
Done000
Total10427131

Merged error: 33.5b

Counts
131 → 27

localize26.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
0.7b
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
1.0b
(pow (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)) 3)
40.6b
(fmod (cbrt (pow (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)) 3)) a)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow cube-prod
cbrt-prod pow1/3
cube-mult pow-to-exp pow-pow unpow3 pow-exp rem-cube-cbrt sqr-pow
Counts
4 → 56
Calls
4 calls:
5.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
5.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
2.0ms
(pow (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)) 3)
1.0ms
(fmod (cbrt (pow (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)) 3)) a)

series333.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
145.0ms
(cbrt (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))))
36.0ms
(pow (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)) 3)
4.0ms
(fmod (cbrt (pow (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)) 3)) a)

simplify145.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
01671914
15191602
233011594
350011594

prune264.0ms

Filtered
68 candidates to 49 candidates (72.1%)
Pruning

32 alts after pruning (31 fresh and 1 done)

PrunedKeptTotal
New61768
Fresh22426
Picked011
Done000
Total633295

Merged error: 33.3b

Counts
95 → 32

regimes394.0ms

Accuracy

0% (2.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02139
12139

end0.0ms

sample13.2s

Algorithm
intervals
Results
7.2s2639×body5120exit
3.9s2311×body1280valid
1.2s1679×body640valid
315.0ms2816×body80valid
288.0ms802×body320valid
88.0ms383×body160valid
19.0msbody5120valid
10.0msbody2560valid