Details

Time bar (total: 26.4s)

sample647.0ms

Algorithm
intervals
Results
172.0ms46×body2560valid
95.0ms92×body1280valid
44.0ms11×body160valid
40.0ms63×body640valid
13.0ms29×body320valid
2.0ms15×body80valid

simplify32.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.6b

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

rewrite173.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:
46.0ms
(/ (- x (sin x)) (- x (tan x)))
16.0ms
(- x (tan x))
105.0ms
(- x (sin x))

series269.0ms

Counts
3 → 9
Calls
3 calls:
134.0ms
(/ (- x (sin x)) (- x (tan x)))
63.0ms
(- x (tan x))
71.0ms
(- x (sin x))

simplify1.7s

Counts
89 → 89
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01571237
13661200
29151147
323391147
done50001133

prune238.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

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

rewrite124.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:
19.0ms
(/ (sin x) (- x (tan x)))
90.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
6.0ms
(- x (tan x))
6.0ms
(- x (tan x))

series468.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(/ (sin x) (- x (tan x)))
260.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
67.0ms
(- x (tan x))
58.0ms
(- x (tan x))

simplify2.4s

Counts
106 → 106
Iterations

Useful iterations: 3 (871.0ms)

IterNodesCost
01771565
13771511
29381449
328241445
done50011445

prune370.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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

rewrite139.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:
79.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
34.0ms
(/ (- x (sin x)) (- x (tan x)))
6.0ms
(- x (tan x))
7.0ms
(- x (sin x))

series370.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
115.0ms
(/ (- x (sin x)) (- x (tan x)))
84.0ms
(- x (tan x))
60.0ms
(- x (sin x))

simplify2.0s

Counts
136 → 136
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02191941
14321793
210011712
324701712
done50011684

prune437.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

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

series150.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(* 27/2800 (pow x 4))
29.0ms
(* 9/40 (pow x 2))
70.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify2.6s

Counts
75 → 75
Iterations

Useful iterations: done (2.6s)

IterNodesCost
0121788
1277703
2674643
32581637
done5000634

prune211.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes81.0ms

Accuracy

100% (0.0b remaining)

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

bsearch129.0ms

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

simplify7.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02846
13146
done3146

end0.0ms

sample13.8s

Algorithm
intervals
Results
5.9s1601×body2560valid
4.6s2779×body1280valid
1.7s1836×body640valid
575.0ms963×body320valid
540.0ms347×body80valid
146.0ms474×body160valid