Details

Time bar (total: 13.3s)

sample458.0ms

Algorithm
intervals
Results
112.0ms50×body2560valid
61.0ms93×body1280valid
18.0ms57×body640valid
5.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

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

rewrite40.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)))
4.0ms
(- x (tan x))
18.0ms
(- x (sin x))

series178.0ms

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

simplify624.0ms

Counts
119 → 119
Iterations

Useful iterations: 2 (296.0ms)

IterNodesCost
02091823
14681563
214101384
done50001384

prune245.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

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

rewrite12.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)
6.0ms
(* 9/40 (pow x 2))
4.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

series159.0ms

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

simplify1.5s

Counts
67 → 67
Iterations

Useful iterations: 3 (475.0ms)

IterNodesCost
0106845
1219700
2644642
32835594
done5000594

prune158.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.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)))
15.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
3.0ms
(- x (tan x))
4.0ms
(- x (sin x))

series241.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(/ (- x (tan x)) (- x (sin x)))
77.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
53.0ms
(- x (tan x))
32.0ms
(- x (sin x))

simplify1.1s

Counts
272 → 272
Iterations

Useful iterations: done (1.1s)

IterNodesCost
03745190
18534436
222624000
done50003992

prune400.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

series270.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(/ (- x (sin x)) (- x (tan x)))
106.0ms
(expm1 (/ (- x (sin x)) (- x (tan x))))
54.0ms
(- x (tan x))
32.0ms
(- x (sin x))

simplify739.0ms

Counts
133 → 133
Iterations

Useful iterations: 2 (350.0ms)

IterNodesCost
02462121
15731852
218481650
done50011650

prune318.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes49.0ms

Accuracy

100% (0.0b remaining)

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

bsearch85.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.6s

Algorithm
intervals
Results
3.7s1658×body2560valid
1.8s2659×body1280valid
633.0ms1836×body640valid
215.0ms945×body320valid
79.0ms508×body160valid
36.0ms394×body80valid