Details

Time bar (total: 16.5s)

sample456.0ms

Algorithm
intervals
Results
113.0ms50×body2560valid
61.0ms93×body1280valid
19.0ms57×body640valid
6.0ms24×body320valid
3.0ms20×body160valid
1.0ms12×body80valid

simplify14.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.6b

localize23.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.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:
13.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
7.0ms
(- x (sin x))

series180.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(/ (- x (sin x)) (- x (tan x)))
60.0ms
(- x (tan x))
42.0ms
(- x (sin x))

simplify644.0ms

Counts
119 → 119
Iterations

Useful iterations: 2 (146.0ms)

IterNodesCost
02091823
14891563
216801384
done50011384

prune245.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 27/2800 (pow x 4) 1/2)
0.2b
(* 9/40 (pow x 2))
15.8b
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

rewrite15.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:
0.0ms
(fma 27/2800 (pow x 4) 1/2)
9.0ms
(* 9/40 (pow x 2))
5.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

series162.0ms

Counts
3 → 9
Calls
3 calls:
91.0ms
(fma 27/2800 (pow x 4) 1/2)
25.0ms
(* 9/40 (pow x 2))
46.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

simplify4.1s

Counts
67 → 67
Iterations

Useful iterations: 3 (565.0ms)

IterNodesCost
0106845
1234700
2885624
34737573
done5000573

prune149.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x (tan x)) (- x (sin x)))
0.0b
(/ 1 (/ (- x (tan x)) (- x (sin x))))
3.1b
(- x (tan x))
3.1b
(- x (sin x))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
218×times-frac
214×add-sqr-sqrt *-un-lft-identity
106×add-cube-cbrt
54×distribute-lft-out-- difference-of-squares
36×associate-/r*
18×prod-diff
17×add-exp-log
11×associate-/r/ add-cbrt-cube
flip3-- div-exp flip-- associate-/l* add-log-exp
fma-neg div-inv
pow1
cbrt-undiv expm1-log1p-u log1p-expm1-u
sub-neg rec-exp frac-2neg diff-log 1-exp clear-num associate-/l/
pow-flip div-sub inv-pow
Counts
4 → 260
Calls
4 calls:
13.0ms
(/ (- x (tan x)) (- x (sin x)))
16.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
3.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series244.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(/ (- x (tan x)) (- x (sin x)))
80.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
50.0ms
(- x (tan x))
37.0ms
(- x (sin x))

simplify1.6s

Counts
272 → 272
Iterations

Useful iterations: 2 (329.0ms)

IterNodesCost
03745190
18834532
233884000
done50014000

prune389.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
0.5b
(expm1 (/ (- x (sin x)) (- x (tan x))))
3.1b
(- x (tan x))
3.1b
(- x (sin x))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt *-un-lft-identity
30×add-cube-cbrt
25×times-frac
18×prod-diff
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log fma-neg add-cbrt-cube
associate-/r* log1p-expm1-u associate-/l*
pow1 expm1-log1p-u flip3-- flip--
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv expm1-log1p frac-2neg div-sub div-exp clear-num div-inv expm1-udef
Counts
4 → 121
Calls
4 calls:
13.0ms
(/ (- x (sin x)) (- x (tan x)))
0.0ms
(expm1 (/ (- x (sin x)) (- x (tan x))))
3.0ms
(- x (tan x))
4.0ms
(- x (sin x))

series274.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(/ (- x (sin x)) (- x (tan x)))
108.0ms
(expm1 (/ (- x (sin x)) (- x (tan x))))
55.0ms
(- x (tan x))
32.0ms
(- x (sin x))

simplify754.0ms

Counts
133 → 133
Iterations

Useful iterations: 2 (186.0ms)

IterNodesCost
02462121
15951852
221661650
done50011650

prune309.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes47.0ms

Accuracy

100% (0.0b remaining)

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

bsearch82.0ms

Steps
ItersRangePoint
9
6.379368274952145e-05
25.411711264148785
0.029125046562482146
10
-155084744.97222546
-0.0009113054925467739
-0.02756549793614824

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02442
13032
done3032

end0.0ms

sample6.7s

Algorithm
intervals
Results
3.6s1658×body2560valid
2.0s2659×body1280valid
638.0ms1836×body640valid
218.0ms945×body320valid
86.0ms508×body160valid
38.0ms394×body80valid