Details

Time bar (total: 39.4s)

sample836.0ms

Algorithm
intervals
Results
442.0ms90×body10240exit
183.0ms62×body1280valid
83.0ms67×body640valid
23.0ms86×body80valid
15.0ms25×body320valid
6.0ms16×body160valid

simplify11.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0810
done810

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.2b

localize36.0ms

Local error

Found 3 expressions with local error:

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

rewrite66.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
3 → 30
Calls
3 calls:
1.0ms
(expm1 (sin (expm1 a)))
8.0ms
(sin (expm1 a))
49.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

series237.0ms

Counts
3 → 9
Calls
3 calls:
129.0ms
(expm1 (sin (expm1 a)))
90.0ms
(sin (expm1 a))
17.0ms
(fmod (atan2 (expm1 (sin (expm1 a))) (atan a)) a)

simplify3.4s

Counts
39 → 39
Iterations

Useful iterations: 3 (151.0ms)

IterNodesCost
061321
1100305
2190272
3403271
4936271
52429271
done5001271

prune214.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 33.4b

localize29.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (sin (expm1 a)))
0.4b
(cbrt (sin (expm1 a)))
0.7b
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
39.2b
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite23.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*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 77
Calls
4 calls:
2.0ms
(cbrt (sin (expm1 a)))
2.0ms
(cbrt (sin (expm1 a)))
16.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)

series643.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(cbrt (sin (expm1 a)))
236.0ms
(cbrt (sin (expm1 a)))
195.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
16.0ms
(fmod (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) a)

simplify2.8s

Counts
89 → 89
Iterations

Useful iterations: done (2.8s)

IterNodesCost
0971079
1181979
2450738
31338682
done5001676

prune583.0ms

Pruning

29 alts after pruning (27 fresh and 2 done)

Merged error: 32.4b

localize29.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (sin (expm1 a)))
0.6b
(* (pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1)) (cbrt (cbrt (sin (expm1 a)))))
0.7b
(pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1))
39.3b
(fmod (atan2 (expm1 (* (* (pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1)) (cbrt (cbrt (sin (expm1 a))))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
54×cbrt-prod
43×add-sqr-sqrt
27×unpow-prod-down
18×*-un-lft-identity
16×add-cube-cbrt
15×unswap-sqr
14×associate-*l*
10×add-exp-log
associate-*r*
pow1
add-cbrt-cube sqr-pow
expm1-log1p-u pow-unpow log1p-expm1-u add-log-exp
prod-exp
unpow-prod-up pow-to-exp pow-pow pow1/3 pow-exp
pow-plus *-commutative pow-prod-up cbrt-unprod distribute-lft-out
Counts
4 → 104
Calls
4 calls:
3.0ms
(cbrt (sin (expm1 a)))
76.0ms
(* (pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1)) (cbrt (cbrt (sin (expm1 a)))))
9.0ms
(pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1))
0.0ms
(fmod (atan2 (expm1 (* (* (pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1)) (cbrt (cbrt (sin (expm1 a))))) (cbrt (sin (expm1 a))))) (atan a)) a)

series734.0ms

Counts
4 → 12
Calls
4 calls:
221.0ms
(cbrt (sin (expm1 a)))
270.0ms
(* (pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1)) (cbrt (cbrt (sin (expm1 a)))))
234.0ms
(pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1))
9.0ms
(fmod (atan2 (expm1 (* (* (pow (cbrt (cbrt (sin (expm1 a)))) (+ 4 1)) (cbrt (cbrt (sin (expm1 a))))) (cbrt (sin (expm1 a))))) (atan a)) a)

simplify2.7s

Counts
116 → 116
Iterations

Useful iterations: done (2.7s)

IterNodesCost
01722130
13881541
29681456
329611299
done50011289

prune1.1s

Pruning

40 alts after pruning (39 fresh and 1 done)

Merged error: 32.0b

localize59.0ms

Local error

Found 4 expressions with local error:

0.7b
(pow (cbrt (cbrt (sin (expm1 a)))) 5)
0.8b
(cbrt (cbrt (cbrt (sin (expm1 a)))))
0.8b
(cbrt (pow (cbrt (cbrt (sin (expm1 a)))) 2))
39.3b
(fmod (atan2 (expm1 (* (* (* (cbrt (pow (cbrt (cbrt (sin (expm1 a)))) 2)) (pow (cbrt (cbrt (sin (expm1 a)))) 5)) (cbrt (cbrt (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) a)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
50×cbrt-prod
18×unpow-prod-down
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-unpow pow1/3
pow-pow sqr-pow
pow-to-exp pow-exp unpow2
Counts
4 → 78
Calls
4 calls:
11.0ms
(pow (cbrt (cbrt (sin (expm1 a)))) 5)
5.0ms
(cbrt (cbrt (cbrt (sin (expm1 a)))))
9.0ms
(cbrt (pow (cbrt (cbrt (sin (expm1 a)))) 2))
1.0ms
(fmod (atan2 (expm1 (* (* (* (cbrt (pow (cbrt (cbrt (sin (expm1 a)))) 2)) (pow (cbrt (cbrt (sin (expm1 a)))) 5)) (cbrt (cbrt (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) a)

series751.0ms

Counts
4 → 12
Calls
4 calls:
281.0ms
(pow (cbrt (cbrt (sin (expm1 a)))) 5)
231.0ms
(cbrt (cbrt (cbrt (sin (expm1 a)))))
231.0ms
(cbrt (pow (cbrt (cbrt (sin (expm1 a)))) 2))
7.0ms
(fmod (atan2 (expm1 (* (* (* (cbrt (pow (cbrt (cbrt (sin (expm1 a)))) 2)) (pow (cbrt (cbrt (sin (expm1 a)))) 5)) (cbrt (cbrt (cbrt (sin (expm1 a)))))) (cbrt (sin (expm1 a))))) (atan a)) a)

simplify1.4s

Counts
90 → 90
Iterations

Useful iterations: 3 (579.0ms)

IterNodesCost
01771438
13461323
26641221
315141212
done50011212

prune608.0ms

Pruning

48 alts after pruning (48 fresh and 0 done)

Merged error: 31.7b

regimes983.0ms

Accuracy

0% (2.4b remaining)

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

bsearch0.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
022108
126108
done26108

end0.0ms

sample22.0s

Algorithm
intervals
Results
10.8s2518×body10240exit
7.4s2220×body1280valid
2.1s1694×body640valid
532.0ms2815×body80valid
513.0ms846×body320valid
152.0ms422×body160valid
21.0msbody5120valid