Details

Time bar (total: 14.5s)

sample525.0ms

Algorithm
intervals
Results
127.0ms52×body2560valid
57.0ms85×body1280valid
24.0ms68×body640valid
5.0ms22×body320valid
3.0ms20×body160valid
1.0msbody80valid

simplify15.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.3b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite47.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:
29.0ms
(/ (- x (sin x)) (- x (tan x)))
6.0ms
(- x (sin x))
7.0ms
(- x (tan x))

series186.0ms

Counts
3 → 9
Calls
3 calls:
81.0ms
(/ (- x (sin x)) (- x (tan x)))
38.0ms
(- x (sin x))
67.0ms
(- x (tan x))

simplify1.0s

Counts
89 → 89
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01571237
13661200
29151147
323321147
done50001133

prune203.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.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))
16.1b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite46.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:
14.0ms
(* 27/2800 (pow x 4))
12.0ms
(* 9/40 (pow x 2))
18.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series121.0ms

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

simplify1.5s

Counts
75 → 75
Iterations

Useful iterations: done (1.5s)

IterNodesCost
0121788
1277703
2674643
32581637
done5000634

prune145.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.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))
11.0ms
(* 9/40 (pow x 2))
10.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

series182.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(* 27/2800 (pow x 4))
27.0ms
(* 9/40 (pow x 2))
116.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

simplify1.5s

Counts
73 → 73
Iterations

Useful iterations: done (1.5s)

IterNodesCost
0113715
1254624
2574570
32285560
done5000555

prune143.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.8b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
0.9b
(- x (tan x))
0.9b
(- x (tan x))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 94
Calls
4 calls:
15.0ms
(/ (sin x) (- x (tan x)))
78.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
5.0ms
(- x (tan x))
5.0ms
(- x (tan x))

series359.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(/ (sin x) (- x (tan x)))
184.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
53.0ms
(- x (tan x))
57.0ms
(- x (tan x))

simplify1.2s

Counts
106 → 106
Iterations

Useful iterations: 3 (531.0ms)

IterNodesCost
01771565
13771511
29381449
328241445
done50011445

prune238.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes21.0ms

Accuracy

100% (0.0b remaining)

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

bsearch83.0ms

Steps
ItersRangePoint
10
0.0001820196720056695
1126179.5725289274
0.026533802681284316
9
-76786.820650899
-0.0002772006047103471
-0.028801687005274378

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02449
12936
done2936

end0.0ms

sample6.7s

Algorithm
intervals
Results
3.7s1719×body2560valid
1.9s2751×body1280valid
601.0ms1804×body640valid
225.0ms911×body320valid
72.0ms468×body160valid
31.0ms347×body80valid