Details

Time bar (total: 27.1s)

sample722.0ms

Algorithm
intervals
Results
216.0ms63×body640valid
202.0ms51×body2560valid
178.0ms88×body1280valid
15.0ms27×body320valid
6.0ms18×body160valid
1.0msbody80valid

simplify31.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.7b

localize25.0ms

Local error

Found 3 expressions with local error:

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

rewrite149.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
25×times-frac
18×prod-diff
14×distribute-lft-out-- difference-of-squares
add-log-exp
fma-neg
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 110
Calls
3 calls:
56.0ms
(/ (- x (sin x)) (- x (tan x)))
19.0ms
(- x (tan x))
63.0ms
(- x (sin x))

series320.0ms

Counts
3 → 9
Calls
3 calls:
122.0ms
(/ (- x (sin x)) (- x (tan x)))
107.0ms
(- x (tan x))
91.0ms
(- x (sin x))

simplify1.4s

Counts
119 → 119
Iterations

Useful iterations: done (1.3s)

IterNodesCost
02091823
14761563
213431384
done50001306

prune432.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize32.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)
15.5b
(/ (pow (sin x) 2) (* (pow x 2) (pow (cos x) 2)))
15.5b
(/ (pow (sin x) 2) (* (pow x 2) (cos x)))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
91×add-exp-log
42×div-exp
37×pow-to-exp pow-exp
36×prod-exp
18×unpow-prod-down
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac associate-/l*
14×add-cbrt-cube
pow1 pow-unpow unpow2 sqr-pow
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
pow-pow frac-2neg clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 144
Calls
4 calls:
7.0ms
(pow (sin x) 2)
7.0ms
(pow (sin x) 2)
32.0ms
(/ (pow (sin x) 2) (* (pow x 2) (pow (cos x) 2)))
30.0ms
(/ (pow (sin x) 2) (* (pow x 2) (cos x)))

series251.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(pow (sin x) 2)
21.0ms
(pow (sin x) 2)
104.0ms
(/ (pow (sin x) 2) (* (pow x 2) (pow (cos x) 2)))
100.0ms
(/ (pow (sin x) 2) (* (pow x 2) (cos x)))

simplify993.0ms

Counts
156 → 156
Iterations

Useful iterations: 2 (244.0ms)

IterNodesCost
01672060
13841856
211531661
done50011661

prune629.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
1.0b
(- x (tan x))
1.0b
(- x (tan x))
1.0b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

rewrite369.0ms

Algorithm
rewrite-expression-head
Rules
713×*-un-lft-identity
703×add-sqr-sqrt
678×times-frac
459×prod-diff
417×add-cube-cbrt
147×distribute-lft-out--
141×difference-of-squares
92×associate-/r/
49×flip3-- flip--
46×div-inv
27×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
associate-/r*
pow1 expm1-log1p-u log1p-expm1-u
sub-neg distribute-rgt-out-- diff-log associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 588
Calls
4 calls:
34.0ms
(/ (sin x) (- x (tan x)))
13.0ms
(- x (tan x))
14.0ms
(- x (tan x))
190.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

series671.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(/ (sin x) (- x (tan x)))
110.0ms
(- x (tan x))
104.0ms
(- x (tan x))
326.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

simplify2.1s

Counts
600 → 600
Iterations

Useful iterations: done (2.1s)

IterNodesCost
061735000
1135331424
2302623405
done500020458

prune1.1s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 3 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
add-exp-log associate-*r*
add-cube-cbrt *-un-lft-identity
add-cbrt-cube add-log-exp
unpow-prod-down unswap-sqr
pow1 expm1-log1p-u associate-*l* prod-diff prod-exp log1p-expm1-u
fma-udef unpow2 sqr-pow
pow-to-exp sub-neg flip3-- fma-neg diff-log pow-exp *-commutative flip-- cbrt-unprod associate--r+
Counts
3 → 58
Calls
3 calls:
1.0ms
(fma 27/2800 (pow x 4) 1/2)
23.0ms
(* 9/40 (pow x 2))
23.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

series243.0ms

Counts
3 → 9
Calls
3 calls:
129.0ms
(fma 27/2800 (pow x 4) 1/2)
38.0ms
(* 9/40 (pow x 2))
76.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

simplify2.7s

Counts
67 → 67
Iterations

Useful iterations: done (2.7s)

IterNodesCost
0106845
1219700
2588624
32787573
done5000572

prune227.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes45.0ms

Accuracy

99% (0.3b remaining)

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

bsearch181.0ms

Steps
ItersRangePoint
9
0.21963308938311268
137362616.0762091
2.4305949570220666
11
-2445851338.3862987
-4.2674702477225e-16
-2.421622929505549

simplify5.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
033100
14561
done4561

end0.0ms

sample14.4s

Algorithm
intervals
Results
6.0s1598×body2560valid
5.3s2730×body1280valid
1.9s1873×body640valid
544.0ms943×body320valid
148.0ms479×body160valid
69.0ms377×body80valid