Details

Time bar (total: 26.7s)

sample456.0ms

Algorithm
intervals
Results
161.0ms82×body1280valid
136.0ms43×body2560valid
49.0ms66×body640valid
23.0ms37×body320valid
6.0ms17×body160valid
2.0ms11×body80valid

simplify15.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.9b

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.2b
(- x (tan x))
1.2b
(- x (sin x))

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
50.0ms
(/ (- x (sin x)) (- x (tan x)))
6.0ms
(- x (tan x))
47.0ms
(- x (sin x))

series236.0ms

Counts
3 → 9
Calls
3 calls:
112.0ms
(/ (- x (sin x)) (- x (tan x)))
70.0ms
(- x (tan x))
54.0ms
(- x (sin x))

simplify1.7s

Counts
89 → 89
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01571237
13661200
29151147
323391147
done50001133

prune349.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (cos x))
0.2b
(/ (sin x) (* x (cos x)))
2.0b
(- (/ (sin x) (cos x)) (sin x))
13.7b
(/ (sin x) (* (pow x 2) (cos x)))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
21×add-exp-log add-sqr-sqrt
18×*-un-lft-identity
16×add-cube-cbrt times-frac add-cbrt-cube
associate-/l*
div-exp
add-log-exp
cbrt-undiv associate-/r*
pow1 prod-exp
frac-2neg clear-num div-inv
cbrt-unprod difference-of-squares
pow-to-exp sub-neg quot-tan flip3-- diff-log pow-exp flip-- distribute-lft-out--
Counts
4 → 87
Calls
4 calls:
17.0ms
(/ (sin x) (cos x))
26.0ms
(/ (sin x) (* x (cos x)))
35.0ms
(- (/ (sin x) (cos x)) (sin x))
22.0ms
(/ (sin x) (* (pow x 2) (cos x)))

series248.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ (sin x) (cos x))
61.0ms
(/ (sin x) (* x (cos x)))
71.0ms
(- (/ (sin x) (cos x)) (sin x))
88.0ms
(/ (sin x) (* (pow x 2) (cos x)))

simplify3.7s

Counts
99 → 99
Iterations

Useful iterations: 3 (2.4s)

IterNodesCost
01671135
13731072
21164980
34961977
done5001977

prune496.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.2b
(* 9/40 (pow x 2))
14.3b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- sum-log flip-- associate--r+
Counts
3 → 66
Calls
3 calls:
26.0ms
(* 27/2800 (pow x 4))
23.0ms
(* 9/40 (pow x 2))
23.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series163.0ms

Counts
3 → 9
Calls
3 calls:
67.0ms
(* 27/2800 (pow x 4))
31.0ms
(* 9/40 (pow x 2))
65.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify2.5s

Counts
75 → 75
Iterations

Useful iterations: done (2.5s)

IterNodesCost
0121788
1277703
2674643
32581637
done5000634

prune200.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.2b
(* 9/40 (pow x 2))
14.3b
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
add-log-exp
sqr-pow
pow1
pow-to-exp pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- diff-log flip--
Counts
3 → 64
Calls
3 calls:
12.0ms
(* 27/2800 (pow x 4))
30.0ms
(* 9/40 (pow x 2))
21.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

series237.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(* 27/2800 (pow x 4))
49.0ms
(* 9/40 (pow x 2))
138.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

simplify2.1s

Counts
73 → 73
Iterations

Useful iterations: done (2.1s)

IterNodesCost
0113715
1254624
2574570
32285560
done5000555

prune172.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes93.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 31.6b

bsearch165.0ms

Steps
ItersRangePoint
10
8.937283511995443e-05
28405617999702.24
2.401275434249347
9
-7465.585501010854
-0.008005822963963436
-0.030293763080502873

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03865
14765
done4765

end0.0ms

sample13.5s

Algorithm
intervals
Results
6.1s1659×body2560valid
4.4s2670×body1280valid
2.0s1927×body640valid
509.0ms942×body320valid
168.0ms380×body80valid
122.0ms422×body160valid