Details

Time bar (total: 25.7s)

sample468.0ms

Algorithm
intervals
Results
168.0ms46×body2560valid
111.0ms92×body1280valid
56.0ms29×body320valid
39.0ms63×body640valid
3.0ms11×body160valid
2.0ms15×body80valid

simplify30.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.6b

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

rewrite84.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:
50.0ms
(/ (- x (sin x)) (- x (tan x)))
12.0ms
(- x (tan x))
18.0ms
(- x (sin x))

series265.0ms

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

simplify1.5s

Counts
89 → 89
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01571237
13661200
29151147
323391147
done50001133

prune332.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

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

rewrite154.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:
23.0ms
(/ (sin x) (- x (tan x)))
100.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
6.0ms
(- x (tan x))
21.0ms
(- x (tan x))

series595.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(/ (sin x) (- x (tan x)))
316.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
96.0ms
(- x (tan x))
62.0ms
(- x (tan x))

simplify2.3s

Counts
106 → 106
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
01771565
13771511
29381449
328241445
done50011445

prune342.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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

rewrite106.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:
51.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
33.0ms
(/ (- x (sin x)) (- x (tan x)))
6.0ms
(- x (tan x))
11.0ms
(- x (sin x))

series348.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
93.0ms
(/ (- x (sin x)) (- x (tan x)))
100.0ms
(- x (tan x))
40.0ms
(- x (sin x))

simplify1.8s

Counts
136 → 136
Iterations

Useful iterations: done (1.8s)

IterNodesCost
02191941
14321793
210011712
324701712
done50011684

prune454.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

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

series157.0ms

Counts
3 → 9
Calls
3 calls:
62.0ms
(* 27/2800 (pow x 4))
39.0ms
(* 9/40 (pow x 2))
56.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify2.5s

Counts
75 → 75
Iterations

Useful iterations: done (2.5s)

IterNodesCost
0121788
1277703
2674643
32581637
done5000634

prune210.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes67.0ms

Accuracy

100% (0.0b remaining)

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

bsearch119.0ms

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

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02846
13146
done3146

end0.0ms

sample13.7s

Algorithm
intervals
Results
6.2s1601×body2560valid
4.5s2779×body1280valid
1.8s1836×body640valid
605.0ms963×body320valid
195.0ms474×body160valid
58.0ms347×body80valid