Details

Time bar (total: 12.2s)

sample455.0ms

Algorithm
intervals
Results
92.0ms41×body2560valid
68.0ms98×body1280valid
20.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

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.1b

localize22.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))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
25×times-frac
18×prod-diff
14×distribute-lft-out-- difference-of-squares
add-log-exp
fma-neg
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 110
Calls
3 calls:
12.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
7.0ms
(- x (sin x))

series175.0ms

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

simplify754.0ms

Counts
119 → 119
Iterations

Useful iterations: 2 (310.0ms)

IterNodesCost
02091823
14761563
214131384
done50011384

prune254.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))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
218×times-frac
214×add-sqr-sqrt *-un-lft-identity
106×add-cube-cbrt
54×distribute-lft-out-- difference-of-squares
36×associate-/r*
18×prod-diff
17×add-exp-log
11×associate-/r/ add-cbrt-cube
flip3-- div-exp flip-- associate-/l* add-log-exp
fma-neg div-inv
pow1
cbrt-undiv expm1-log1p-u log1p-expm1-u
sub-neg rec-exp frac-2neg diff-log 1-exp clear-num associate-/l/
pow-flip div-sub inv-pow
Counts
4 → 260
Calls
4 calls:
12.0ms
(/ (- x (tan x)) (- x (sin x)))
14.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
3.0ms
(- x (tan x))
3.0ms
(- x (sin x))

series237.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(/ (- x (tan x)) (- x (sin x)))
76.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
53.0ms
(- x (tan x))
31.0ms
(- x (sin x))

simplify1.3s

Counts
272 → 272
Iterations

Useful iterations: done (1.3s)

IterNodesCost
03745190
18614532
225184000
done50003992

prune390.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
add-exp-log associate-*r*
add-cube-cbrt *-un-lft-identity
add-cbrt-cube add-log-exp
unpow-prod-down unswap-sqr
pow1 expm1-log1p-u associate-*l* prod-diff prod-exp log1p-expm1-u
fma-udef unpow2 sqr-pow
pow-to-exp sub-neg flip3-- fma-neg diff-log pow-exp *-commutative flip-- cbrt-unprod associate--r+
Counts
3 → 58
Calls
3 calls:
0.0ms
(fma 27/2800 (pow x 4) 1/2)
5.0ms
(* 9/40 (pow x 2))
4.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

series156.0ms

Counts
3 → 9
Calls
3 calls:
83.0ms
(fma 27/2800 (pow x 4) 1/2)
25.0ms
(* 9/40 (pow x 2))
49.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

simplify1.6s

Counts
67 → 67
Iterations

Useful iterations: 3 (585.0ms)

IterNodesCost
0106845
1223700
2650642
32833594
done5001594

prune150.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes25.0ms

Accuracy

100% (0.0b remaining)

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

bsearch89.0ms

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

simplify3.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02442
13032
done3032

end0.0ms

sample6.5s

Algorithm
intervals
Results
3.4s1564×body2560valid
1.8s2744×body1280valid
677.0ms1876×body640valid
244.0ms925×body320valid
86.0ms494×body160valid
37.0ms397×body80valid