Details

Time bar (total: 22.7s)

sample144.0ms

Algorithm
intervals
Results
47.0ms24×body2560valid
35.0ms36×body1280valid
18.0ms139×body80valid
16.0ms26×body640valid
9.0ms20×body320valid
4.0ms11×body160valid

simplify6.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11113
21313
done1313

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.2b

localize12.0ms

Local error

Found 3 expressions with local error:

7.7b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
26.3b
(sin (/ x (* y 2.0)))
27.0b
(tan (/ x (* y 2.0)))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l* add-log-exp
tan-quot
cbrt-undiv frac-2neg div-exp clear-num div-inv associate-/l/
Counts
3 → 43
Calls
3 calls:
48.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
7.0ms
(sin (/ x (* y 2.0)))
4.0ms
(tan (/ x (* y 2.0)))

series157.0ms

Counts
3 → 9
Calls
3 calls:
81.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
16.0ms
(sin (/ x (* y 2.0)))
59.0ms
(tan (/ x (* y 2.0)))

simplify1.7s

Counts
52 → 52
Iterations

Useful iterations: 3 (150.0ms)

IterNodesCost
077822
1139813
2323737
3803733
42504733
done5000733

prune224.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 24.3b

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify0.0ms

Counts
0 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
done00

prune50.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 24.3b

localize20.0ms

Local error

Found 4 expressions with local error:

7.7b
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
26.3b
(sin (/ x (* y 2.0)))
26.3b
(sin (/ x (* y 2.0)))
26.6b
(cos (/ x (* y 2.0)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-log-exp
times-frac associate-/l*
cbrt-undiv div-exp
frac-2neg prod-exp clear-num associate-/r* associate-/r/ sin-cos-mult cbrt-unprod div-inv
Counts
4 → 43
Calls
4 calls:
51.0ms
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
7.0ms
(sin (/ x (* y 2.0)))
8.0ms
(sin (/ x (* y 2.0)))
8.0ms
(cos (/ x (* y 2.0)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
15.0ms
(sin (/ x (* y 2.0)))
14.0ms
(sin (/ x (* y 2.0)))
19.0ms
(cos (/ x (* y 2.0)))

simplify8.0s

Counts
55 → 55
Iterations

Useful iterations: 3 (463.0ms)

IterNodesCost
071905
1145719
2409546
31223542
44877542
done5000542

prune235.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 24.3b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (cos (/ x (* y 2.0))))
0.1b
(* (sqrt (/ 1 (cos (/ x (* y 2.0))))) (sqrt (/ 1 (cos (/ x (* y 2.0))))))
26.6b
(cos (/ x (* y 2.0)))
26.6b
(cos (/ x (* y 2.0)))

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
88×add-sqr-sqrt
82×sqrt-prod
61×times-frac
54×*-un-lft-identity
44×add-cube-cbrt
28×pow1
24×sqrt-pow1
20×swap-sqr
16×associate-*r* associate-*l* unswap-sqr
10×add-exp-log
pow-flip pow-prod-up inv-pow
pow1/2 add-cbrt-cube
div-inv
pow-prod-down pow-sqr
sqrt-div add-log-exp
associate-/r* associate-/l*
div-exp
cbrt-undiv pow2 frac-times rec-exp frac-2neg pow-plus sqrt-unprod 1-exp associate-*r/ associate-*l/ prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 149
Calls
4 calls:
13.0ms
(/ 1 (cos (/ x (* y 2.0))))
77.0ms
(* (sqrt (/ 1 (cos (/ x (* y 2.0))))) (sqrt (/ 1 (cos (/ x (* y 2.0))))))
10.0ms
(cos (/ x (* y 2.0)))
10.0ms
(cos (/ x (* y 2.0)))

series108.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ 1 (cos (/ x (* y 2.0))))
24.0ms
(* (sqrt (/ 1 (cos (/ x (* y 2.0))))) (sqrt (/ 1 (cos (/ x (* y 2.0))))))
21.0ms
(cos (/ x (* y 2.0)))
24.0ms
(cos (/ x (* y 2.0)))

simplify3.6s

Counts
161 → 161
Iterations

Useful iterations: done (3.6s)

IterNodesCost
01653326
12552227
24842061
310662022
431911947
done50001938

prune558.0ms

Pruning

22 alts after pruning (21 fresh and 1 done)

Merged error: 24.3b

regimes695.0ms

Accuracy

38.7% (1.5b remaining)

Error of 27.6b against oracle of 26.1b and baseline of 28.5b

bsearch2.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01739
11939
done1939

end0.0ms

sample6.8s

Algorithm
intervals
Results
2.2s1363×body1280valid
1.5s648×body2560valid
1.3s972×body640valid
840.0ms4103×body80valid
398.0ms595×body320valid
115.0ms319×body160valid