Details

Time bar (total: 13.5s)

sample530.0ms

Algorithm
intervals
Results
124.0ms47×body2560valid
64.0ms87×body1280valid
20.0ms61×body640valid
11.0ms40×body320valid
2.0ms10×body160valid
1.0ms11×body80valid

simplify15.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.3b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite49.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:
31.0ms
(/ (- x (sin x)) (- x (tan x)))
5.0ms
(- x (tan x))
9.0ms
(- x (sin x))

series182.0ms

Counts
3 → 9
Calls
3 calls:
80.0ms
(/ (- x (sin x)) (- x (tan x)))
59.0ms
(- x (tan x))
43.0ms
(- x (sin x))

simplify1.0s

Counts
89 → 89
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01571237
13661200
29151147
323391147
done50001133

prune201.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite47.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:
12.0ms
(* 27/2800 (pow x 4))
14.0ms
(* 9/40 (pow x 2))
19.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series118.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(* 27/2800 (pow x 4))
30.0ms
(* 9/40 (pow x 2))
48.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify1.5s

Counts
75 → 75
Iterations

Useful iterations: done (1.5s)

IterNodesCost
0121788
1277703
2674643
32581637
done5000634

prune139.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (cos x))
0.3b
(* (pow x 2) (cos x))
2.5b
(- (/ (sin x) (cos x)) (sin x))
13.0b
(/ (sin x) (* (pow x 2) (cos x)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
21×add-exp-log
13×*-un-lft-identity add-cbrt-cube
11×add-cube-cbrt associate-*l*
prod-exp
pow1 associate-*r* add-log-exp
unswap-sqr
unpow-prod-down times-frac div-exp
cbrt-unprod associate-/l*
cbrt-undiv pow-to-exp pow-exp *-commutative unpow2 difference-of-squares sqr-pow
sub-neg flip3-- frac-2neg diff-log pow-prod-down clear-num associate-/r* flip-- div-inv distribute-lft-out--
Counts
4 → 83
Calls
4 calls:
8.0ms
(* x (cos x))
13.0ms
(* (pow x 2) (cos x))
27.0ms
(- (/ (sin x) (cos x)) (sin x))
14.0ms
(/ (sin x) (* (pow x 2) (cos x)))

series174.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* x (cos x))
38.0ms
(* (pow x 2) (cos x))
56.0ms
(- (/ (sin x) (cos x)) (sin x))
47.0ms
(/ (sin x) (* (pow x 2) (cos x)))

simplify2.3s

Counts
95 → 95
Iterations

Useful iterations: 3 (1.2s)

IterNodesCost
01561004
1344953
21003848
34628845
done5000845

prune260.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes50.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 31.7b

bsearch100.0ms

Steps
ItersRangePoint
11
6.1632953816490534e-12
2923699147.8271213
2.4713749402345115
10
-21283307590.397102
-3.152803306627408e-07
-0.02620088919165833

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03663
14663
done4663

end0.0ms

sample6.6s

Algorithm
intervals
Results
3.6s1608×body2560valid
1.9s2725×body1280valid
651.0ms1853×body640valid
228.0ms954×body320valid
94.0ms502×body160valid
35.0ms358×body80valid