Details

Time bar (total: 12.7s)

sample452.0ms

Algorithm
intervals
Results
92.0ms41×body2560valid
68.0ms98×body1280valid
19.0ms59×body640valid
6.0ms28×body320valid
3.0ms21×body160valid
1.0msbody80valid

simplify16.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.1b

localize23.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.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:
11.0ms
(/ (- x (sin x)) (- x (tan x)))
2.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series175.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(/ (- x (sin x)) (- x (tan x)))
58.0ms
(- x (tan x))
40.0ms
(- x (sin x))

simplify1.2s

Counts
89 → 89
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01571237
13661200
29521147
326241147
done50011145

prune209.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x (tan x)) (- x (sin x)))
0.0b
(/ 1 (/ (- x (tan x)) (- x (sin x))))
1.7b
(- x (tan x))
1.7b
(- x (sin x))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
218×times-frac
200×add-sqr-sqrt *-un-lft-identity
92×add-cube-cbrt
54×distribute-lft-out-- difference-of-squares
36×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
flip3-- div-exp flip-- associate-/l* add-log-exp
div-inv
pow1
cbrt-undiv
sub-neg rec-exp frac-2neg diff-log 1-exp clear-num associate-/l/
pow-flip div-sub inv-pow
Counts
4 → 228
Calls
4 calls:
11.0ms
(/ (- x (tan x)) (- x (sin x)))
15.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
2.0ms
(- x (tan x))
5.0ms
(- x (sin x))

series240.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(/ (- x (tan x)) (- x (sin x)))
78.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
49.0ms
(- x (tan x))
36.0ms
(- x (sin x))

simplify1.2s

Counts
240 → 240
Iterations

Useful iterations: done (1.2s)

IterNodesCost
03204580
17494150
220983747
done50003735

prune375.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.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:
9.0ms
(* 27/2800 (pow x 4))
5.0ms
(* 9/40 (pow x 2))
8.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series110.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(* 27/2800 (pow x 4))
24.0ms
(* 9/40 (pow x 2))
45.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify1.7s

Counts
75 → 75
Iterations

Useful iterations: 3 (518.0ms)

IterNodesCost
0121788
1279703
2721643
32833637
done5001637

prune148.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes30.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 30.9b

bsearch81.0ms

Steps
ItersRangePoint
9
0.00016167321766412214
1766.3470775505596
0.028078975194333212
10
-3752817.331716861
-5.670122129476186e-07
-0.02894118494710049

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02543
13333
done3333

end0.0ms

sample6.5s

Algorithm
intervals
Results
3.5s1564×body2560valid
1.9s2744×body1280valid
661.0ms1876×body640valid
209.0ms925×body320valid
86.0ms494×body160valid
37.0ms397×body80valid