Details

Time bar (total: 25.5s)

sample974.0ms

Algorithm
intervals
Results
338.0ms92×body1280valid
284.0ms46×body2560valid
119.0ms63×body640valid
53.0ms29×body320valid
35.0ms11×body160valid
4.0ms15×body80valid

simplify72.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.6b

localize29.0ms

Local error

Found 3 expressions with local error:

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

rewrite140.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:
94.0ms
(/ (- x (sin x)) (- x (tan x)))
14.0ms
(- x (tan x))
23.0ms
(- x (sin x))

series215.0ms

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

simplify1.5s

Counts
89 → 89
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01571237
13661200
29151147
323391147
done50001133

prune293.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (- x (tan x)))
0.4b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
0.7b
(- x (tan x))
0.7b
(- x (tan x))

rewrite171.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:
31.0ms
(/ (sin x) (- x (tan x)))
115.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
6.0ms
(- x (tan x))
12.0ms
(- x (tan x))

series474.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(/ (sin x) (- x (tan x)))
240.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
91.0ms
(- x (tan x))
66.0ms
(- x (tan x))

simplify1.9s

Counts
106 → 106
Iterations

Useful iterations: 3 (877.0ms)

IterNodesCost
01771565
13771511
29381449
328241445
done50011445

prune347.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (exp (/ (- x (sin x)) (- x (tan x)))))
0.0b
(/ (- x (sin x)) (- x (tan x)))
0.7b
(- x (tan x))
0.7b
(- x (sin x))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt *-un-lft-identity
50×times-frac
32×log-pow
31×exp-prod
28×add-cube-cbrt
24×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
associate-/r/
log-prod
sub-neg diff-log div-sub div-inv associate-/l/
cbrt-undiv log-div frac-2neg exp-diff div-exp rem-log-exp clear-num
Counts
4 → 124
Calls
4 calls:
59.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
35.0ms
(/ (- x (sin x)) (- x (tan x)))
11.0ms
(- x (tan x))
16.0ms
(- x (sin x))

series336.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
95.0ms
(/ (- x (sin x)) (- x (tan x)))
86.0ms
(- x (tan x))
60.0ms
(- x (sin x))

simplify1.7s

Counts
136 → 136
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02191941
14321793
210011712
324701712
done50011684

prune454.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize18.0ms

Local error

Found 3 expressions with local error:

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

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

series158.0ms

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

simplify2.4s

Counts
75 → 75
Iterations

Useful iterations: done (2.4s)

IterNodesCost
0121788
1277703
2674643
32581637
done5000634

prune265.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes90.0ms

Accuracy

100% (0.0b remaining)

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

bsearch143.0ms

Steps
ItersRangePoint
9
0.0033303272193615503
311302.39110615524
0.028662423939317287
9
-7.35943201301068
-4.403108084983288e-07
-0.029638169034640425

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02846
13146
done3146

end0.0ms

sample13.5s

Algorithm
intervals
Results
6.0s1601×body2560valid
4.1s2779×body1280valid
2.0s1836×body640valid
565.0ms347×body80valid
521.0ms963×body320valid
139.0ms474×body160valid