Details

Time bar (total: 14.0s)

sample466.0ms

Algorithm
intervals
Results
112.0ms50×body2560valid
61.0ms93×body1280valid
19.0ms57×body640valid
6.0ms24×body320valid
3.0ms20×body160valid
1.0ms12×body80valid

simplify14.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: 31.6b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite35.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))
18.0ms
(- x (sin x))

series177.0ms

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

simplify995.0ms

Counts
89 → 89
Iterations

Useful iterations: done (992.0ms)

IterNodesCost
01571237
13661200
29591147
326701147
done50001145

prune214.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series112.0ms

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

simplify1.3s

Counts
75 → 75
Iterations

Useful iterations: 3 (419.0ms)

IterNodesCost
0121788
1279703
2796643
32530637
done5000637

prune148.0ms

Pruning

4 alts after pruning (3 fresh and 1 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))))
3.1b
(- x (tan x))
3.1b
(- 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)))
17.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
2.0ms
(- x (tan x))
3.0ms
(- x (sin x))

series244.0ms

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

simplify712.0ms

Counts
240 → 240
Iterations

Useful iterations: done (705.0ms)

IterNodesCost
03204580
17494054
218263747
done50003735

prune359.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

3.1b
(- x (tan x))
3.1b
(- x (sin x))
3.1b
(- x (sin x))
3.1b
(- x (sin x))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 56
Calls
4 calls:
2.0ms
(- x (tan x))
3.0ms
(- x (sin x))
3.0ms
(- x (sin x))
3.0ms
(- x (sin x))

series151.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(- x (tan x))
31.0ms
(- x (sin x))
35.0ms
(- x (sin x))
31.0ms
(- x (sin x))

simplify2.0s

Counts
68 → 68
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
076559
1153543
2344510
3660510
41501510
54262510
done5001510

prune196.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes29.0ms

Accuracy

100% (0.0b remaining)

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

bsearch85.0ms

Steps
ItersRangePoint
9
6.379368274952145e-05
25.411711264148785
0.029125046562482146
10
-155084744.97222546
-0.0009113054925467739
-0.02756549793614824

simplify4.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02543
13333
done3333

end0.0ms

sample6.6s

Algorithm
intervals
Results
3.7s1658×body2560valid
1.8s2659×body1280valid
658.0ms1836×body640valid
219.0ms945×body320valid
88.0ms508×body160valid
37.0ms394×body80valid