Details

Time bar (total: 23.3s)

sample389.0ms

Algorithm
intervals
Results
217.0ms88×body10240exit
103.0ms67×body1280valid
31.0ms48×body640valid
14.0ms102×body80valid
9.0ms27×body320valid
3.0ms12×body160valid

simplify2.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0810
done810

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.1b

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

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

series67.0ms

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

simplify3.3s

Counts
40 → 40
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
035339
139339
244293
355293
470293
5101293
6176293
7397293
81211293
94879293
done5000293

prune316.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 29.9b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(sin (expm1 a))
0.7b
(cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3))
1.0b
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
35.6b
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

rewrite5.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
add-log-exp
pow-unpow
cube-mult unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 58
Calls
4 calls:
1.0ms
(sin (expm1 a))
1.0ms
(cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3))
1.0ms
(pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)
0.0ms
(fmod (cbrt (pow (atan2 (expm1 (sin (expm1 a))) (atan a)) 3)) a)

series99.0ms

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

simplify1.6s

Counts
70 → 70
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
067966
1113791
2289693
31675693
done5000693

prune215.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 29.6b

localize22.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3))
0.7b
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
1.0b
(pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)
35.5b
(fmod (cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)) a)

rewrite15.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
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 → 91
Calls
4 calls:
1.0ms
(cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3))
7.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
1.0ms
(pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)
0.0ms
(fmod (cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3)) a)

series219.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(cbrt (pow (atan2 (expm1 (* (* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a)))) (cbrt (sin (expm1 a))))) (atan a)) 3))
180.0ms
(* (cbrt (sin (expm1 a))) (cbrt (sin (expm1 a))))
33.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)

simplify1.6s

Counts
103 → 103
Iterations

Useful iterations: 3 (373.0ms)

IterNodesCost
01042302
11822021
24691245
321471014
done50011014

prune379.0ms

Pruning

27 alts after pruning (26 fresh and 1 done)

Merged error: 29.5b

localize27.0ms

Local error

Found 4 expressions with local error:

0.6b
(pow (cbrt (cbrt (sin (expm1 a)))) 4)
0.7b
(cbrt (pow (atan2 (expm1 (* (* (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a))))) (pow (cbrt (cbrt (sin (expm1 a)))) 4)) (cbrt (sin (expm1 a))))) (atan a)) 3))
1.0b
(pow (atan2 (expm1 (* (* (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a))))) (pow (cbrt (cbrt (sin (expm1 a)))) 4)) (cbrt (sin (expm1 a))))) (atan a)) 3)
35.5b
(fmod (cbrt (pow (atan2 (expm1 (* (* (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a))))) (pow (cbrt (cbrt (sin (expm1 a)))) 4)) (cbrt (sin (expm1 a))))) (atan a)) 3)) a)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
15×unpow-prod-down
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log pow-unpow cube-prod
add-cbrt-cube
add-log-exp
pow-pow sqr-pow
cube-mult pow-to-exp pow1/3 unpow3 pow-exp
rem-cbrt-cube rem-cube-cbrt
Counts
4 → 75
Calls
4 calls:
3.0ms
(pow (cbrt (cbrt (sin (expm1 a)))) 4)
2.0ms
(cbrt (pow (atan2 (expm1 (* (* (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a))))) (pow (cbrt (cbrt (sin (expm1 a)))) 4)) (cbrt (sin (expm1 a))))) (atan a)) 3))
1.0ms
(pow (atan2 (expm1 (* (* (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a))))) (pow (cbrt (cbrt (sin (expm1 a)))) 4)) (cbrt (sin (expm1 a))))) (atan a)) 3)
0.0ms
(fmod (cbrt (pow (atan2 (expm1 (* (* (* (cbrt (cbrt (sin (expm1 a)))) (cbrt (cbrt (sin (expm1 a))))) (pow (cbrt (cbrt (sin (expm1 a)))) 4)) (cbrt (sin (expm1 a))))) (atan a)) 3)) a)

series235.0ms

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

simplify1.7s

Counts
87 → 87
Iterations

Useful iterations: 3 (357.0ms)

IterNodesCost
01162890
12172316
24971973
323781599
done50001599

prune332.0ms

Pruning

34 alts after pruning (33 fresh and 1 done)

Merged error: 29.2b

regimes436.0ms

Accuracy

0% (2.0b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02153
12453
done2453

end0.0ms

sample12.3s

Algorithm
intervals
Results
6.5s2556×body10240exit
3.8s2256×body1280valid
1.1s1639×body640valid
283.0ms839×body320valid
273.0ms2820×body80valid
92.0ms440×body160valid
13.0msbody5120valid
6.0msbody2560valid