Details

Time bar (total: 13.7s)

sample481.0ms

Algorithm
intervals
Results
125.0ms54×body2560valid
53.0ms86×body1280valid
23.0ms67×body640valid
6.0ms28×body320valid
2.0ms14×body160valid
1.0msbody80valid

simplify14.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.9b

localize23.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.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:
12.0ms
(/ (- x (sin x)) (- x (tan x)))
4.0ms
(- x (sin x))
5.0ms
(- x (tan x))

series174.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(/ (- x (sin x)) (- x (tan x)))
36.0ms
(- x (sin x))
63.0ms
(- x (tan x))

simplify571.0ms

Counts
119 → 119
Iterations

Useful iterations: 2 (183.0ms)

IterNodesCost
02091823
14681563
214761384
done50001384

prune235.0ms

Pruning

3 alts after pruning (2 fresh and 1 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.1b
(* 9/40 (pow x 2))
16.6b
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

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

series157.0ms

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

simplify2.6s

Counts
67 → 67
Iterations

Useful iterations: 3 (667.0ms)

IterNodesCost
0106845
1219700
2762642
34198594
done5001594

prune147.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (tan x))
0.3b
(- (sqrt x) (sqrt (tan x)))
0.8b
(- x (sin x))
0.8b
(- x (sin x))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
54×prod-diff
53×*-un-lft-identity
48×sqrt-prod
45×add-cube-cbrt
12×fma-neg
10×add-log-exp
difference-of-squares
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u distribute-lft-out--
sub-neg flip3-- diff-log flip--
tan-quot rem-sqrt-square sqrt-pow1 pow1/2 sqrt-div
Counts
4 → 134
Calls
4 calls:
1.0ms
(sqrt (tan x))
7.0ms
(- (sqrt x) (sqrt (tan x)))
3.0ms
(- x (sin x))
3.0ms
(- x (sin x))

series146.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (tan x))
50.0ms
(- (sqrt x) (sqrt (tan x)))
35.0ms
(- x (sin x))
31.0ms
(- x (sin x))

simplify2.1s

Counts
146 → 146
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01812613
13661807
29471410
343741174
done50001166

prune339.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes48.0ms

Accuracy

100% (0.0b remaining)

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

bsearch79.0ms

Steps
ItersRangePoint
10
3.2824798326487284e-15
0.08347146558812443
0.02869830051678616
9
-5.7596417613087905
-6.7357437175194845e-09
-0.026775790768781334

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02238
12630
done2630

end0.0ms

sample6.5s

Algorithm
intervals
Results
3.5s1574×body2560valid
1.9s2759×body1280valid
643.0ms1927×body640valid
209.0ms930×body320valid
80.0ms457×body160valid
34.0ms353×body80valid