Details

Time bar (total: 9.5s)

sample533.0ms

Algorithm
intervals
Results
127.0ms52×body2560valid
57.0ms92×body1280valid
19.0ms57×body640valid
8.0ms34×body320valid
2.0ms14×body160valid
1.0msbody80valid

simplify10.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195
done195

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.4b

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

rewrite45.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:
25.0ms
(/ (- x (sin x)) (- x (tan x)))
6.0ms
(- x (tan x))
10.0ms
(- x (sin x))

series188.0ms

Counts
3 → 9
Calls
3 calls:
83.0ms
(/ (- x (sin x)) (- x (tan x)))
55.0ms
(- x (tan x))
49.0ms
(- x (sin x))

simplify150.0ms

Counts
89 → 89
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0363718
11148685
24795685
35001685
done5001685

prune214.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
1.6b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.7b
(- x (tan x))
1.7b
(- x (tan x))

rewrite118.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:
17.0ms
(/ (sin x) (- x (tan x)))
86.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
6.0ms
(- x (tan x))
6.0ms
(- x (tan x))

series349.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(/ (sin x) (- x (tan x)))
176.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
53.0ms
(- x (tan x))
56.0ms
(- x (tan x))

simplify39.0ms

Counts
106 → 106
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0376909
11205872
25001872
done5001872

prune254.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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

rewrite45.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:
26.0ms
(/ (- x (sin x)) (- x (tan x)))
9.0ms
(- x (tan x))
7.0ms
(- x (sin x))

series172.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(/ (- x (sin x)) (- x (tan x)))
57.0ms
(- x (tan x))
32.0ms
(- x (sin x))

simplify148.0ms

Counts
89 → 89
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0363718
11148685
24795685
35001685
done5001685

prune183.0ms

Pruning

3 alts after pruning (1 fresh and 2 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))
17.6b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite50.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:
15.0ms
(* 27/2800 (pow x 4))
13.0ms
(* 9/40 (pow x 2))
20.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series113.0ms

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

simplify39.0ms

Counts
75 → 75
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0273349
11123318
25001315
done5001315

prune145.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes49.0ms

Accuracy

100% (0.0b remaining)

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

bsearch80.0ms

Steps
ItersRangePoint
10
0.00012253353073063669
15794870057.515802
0.02672696280496189
9
-2.7342232818785663
-5.599255928070541e-06
-0.029514586132827595

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02919
12919
done2919

end0.0ms

sample6.6s

Algorithm
intervals
Results
3.5s1634×body2560valid
1.9s2798×body1280valid
605.0ms1811×body640valid
216.0ms914×body320valid
83.0ms490×body160valid
42.0ms353×body80valid