Details

Time bar (total: 25.4s)

sample606.0ms

Algorithm
intervals
Results
227.0ms50×body2560valid
193.0ms80×body1280valid
64.0ms69×body640valid
18.0ms33×body320valid
6.0ms15×body160valid
2.0msbody80valid

simplify31.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.6b

localize30.0ms

Local error

Found 3 expressions with local error:

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

rewrite133.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:
49.0ms
(/ (- x (sin x)) (- x (tan x)))
18.0ms
(- x (sin x))
58.0ms
(- x (tan x))

series336.0ms

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

simplify1.1s

Counts
89 → 89
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01571237
13711200
213601149
done50001147

prune530.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.3b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
0.6b
(- x (tan x))
0.6b
(- x (tan x))

rewrite232.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:
32.0ms
(/ (sin x) (- x (tan x)))
171.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
10.0ms
(- x (tan x))
10.0ms
(- x (tan x))

series726.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(/ (sin x) (- x (tan x)))
372.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
112.0ms
(- x (tan x))
109.0ms
(- x (tan x))

simplify1.2s

Counts
106 → 106
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01771565
13881511
214241450
done50001449

prune658.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

rewrite96.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:
23.0ms
(* 27/2800 (pow x 4))
25.0ms
(* 9/40 (pow x 2))
44.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series217.0ms

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

simplify1.3s

Counts
75 → 75
Iterations

Useful iterations: done (1.3s)

IterNodesCost
0121788
1291703
21116645
done5000643

prune398.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes152.0ms

Accuracy

100% (0.0b remaining)

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

bsearch197.0ms

Steps
ItersRangePoint
10
2.8868360106527892e-08
453261925.93168354
0.035008502692176
9
-4.26929226401081
-3.26160511802404e-08
-0.02767094041582889

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02644
12944
done2944

end0.0ms

sample17.4s

Algorithm
intervals
Results
7.7s1572×body2560valid
5.7s2765×body1280valid
2.3s1944×body640valid
863.0ms927×body320valid
177.0ms446×body160valid
81.0ms346×body80valid