Details

Time bar (total: 22.6s)

sample404.0ms

Algorithm
intervals
Results
196.0ms77×body10240exit
130.0ms71×body1280valid
43.0ms57×body640valid
11.0ms34×body320valid
8.0ms84×body80valid
2.0ms10×body160valid

simplify1.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
done810

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sin (expm1 a))
0.0b
(expm1 (sin (expm1 a)))
0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
40.5b
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

rewrite3.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))
0.0ms
(expm1 (sin (expm1 a)))
0.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series68.0ms

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

simplify973.0ms

Counts
40 → 40
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
035339
139339
244293
355293
470293
5101293
6176293
7436293
81564293
done5001293

prune156.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 33.9b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(atan2 (expm1 (sin (expm1 a))) (atan a))
0.3b
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
0.3b
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
40.5b
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
exp-prod
pow1 add-log-exp
add-exp-log log-pow add-cbrt-cube
log-prod
rem-log-exp rem-exp-log
Counts
4 → 40
Calls
4 calls:
0.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
2.0ms
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
2.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
0.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

series38.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(atan2 (expm1 (sin (expm1 a))) (atan a))
3.0ms
(log (exp (atan2 (expm1 (sin (expm1 a))) (atan a))))
30.0ms
(exp (atan2 (expm1 (sin (expm1 a))) (atan a)))
3.0ms
(fmod (log (exp (atan2 (expm1 (sin (expm1 a))) (atan a)))) a)

simplify1.3s

Counts
52 → 52
Iterations

Useful iterations: done (1.3s)

IterNodesCost
047614
158559
274490
396490
4140490
5259490
6562490
71737490
done5000488

prune177.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 33.6b

localize17.0ms

Local error

Found 4 expressions with local error:

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

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

series496.0ms

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

simplify3.5s

Counts
81 → 81
Iterations

Useful iterations: done (3.5s)

IterNodesCost
063945
199864
2272648
3957601
44373592
done5000576

prune313.0ms

Pruning

25 alts after pruning (24 fresh and 1 done)

Merged error: 33.2b

localize23.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (sin (expm1 a)))
0.5b
(* (pow (cbrt (cbrt (sin (expm1 a)))) 5) (cbrt (cbrt (sin (expm1 a)))))
0.8b
(pow (cbrt (cbrt (sin (expm1 a)))) 5)
40.5b
(fmod (atan2 (expm1 (* (* (pow (cbrt (cbrt (sin (expm1 a)))) 5) (cbrt (cbrt (sin (expm1 a))))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
54×cbrt-prod
43×add-sqr-sqrt
27×unpow-prod-down
16×add-cube-cbrt *-un-lft-identity
15×unswap-sqr
13×associate-*l*
10×add-exp-log
associate-*r*
pow1
add-cbrt-cube sqr-pow
add-log-exp
pow-unpow prod-exp
pow-to-exp pow-pow pow1/3 pow-exp
pow-plus *-commutative pow-prod-up cbrt-unprod
Counts
4 → 93
Calls
4 calls:
1.0ms
(cbrt (sin (expm1 a)))
29.0ms
(* (pow (cbrt (cbrt (sin (expm1 a)))) 5) (cbrt (cbrt (sin (expm1 a)))))
5.0ms
(pow (cbrt (cbrt (sin (expm1 a)))) 5)
0.0ms
(fmod (atan2 (expm1 (* (* (pow (cbrt (cbrt (sin (expm1 a)))) 5) (cbrt (cbrt (sin (expm1 a))))) (cbrt (sin (expm1 a))))) (atan a)) a)

series545.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(cbrt (sin (expm1 a)))
177.0ms
(* (pow (cbrt (cbrt (sin (expm1 a)))) 5) (cbrt (cbrt (sin (expm1 a)))))
203.0ms
(pow (cbrt (cbrt (sin (expm1 a)))) 5)
3.0ms
(fmod (atan2 (expm1 (* (* (pow (cbrt (cbrt (sin (expm1 a)))) 5) (cbrt (cbrt (sin (expm1 a))))) (cbrt (sin (expm1 a))))) (atan a)) a)

simplify1.4s

Counts
105 → 105
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01211694
12451414
26731318
323681186
done50001175

prune381.0ms

Pruning

36 alts after pruning (36 fresh and 0 done)

Merged error: 32.8b

regimes451.0ms

Accuracy

0% (2.2b remaining)

Error of 34.0b against oracle of 31.8b and baseline of 34.0b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01734
12034
done2034

end0.0ms

sample12.2s

Algorithm
intervals
Results
6.2s2484×body10240exit
4.0s2365×body1280valid
1.1s1664×body640valid
270.0ms2737×body80valid
259.0ms813×body320valid
90.0ms418×body160valid
9.0msbody5120valid
2.0msbody2560valid