Details

Time bar (total: 9.5s)

sample559.0ms

Algorithm
intervals
Results
156.0ms60×body2560valid
67.0ms103×body1280valid
15.0ms47×body640valid
6.0ms26×body320valid
1.0msbody160valid
1.0ms11×body80valid

simplify10.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0135
1175
2195
3195
done195

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite56.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:
34.0ms
(/ (- x (sin x)) (- x (tan x)))
7.0ms
(- x (tan x))
10.0ms
(- x (sin x))

series185.0ms

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

simplify54.0ms

Counts
119 → 119
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04721059
11737854
25001854
done5001854

prune247.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(- x (tan x))
0.6b
(- x (tan x))
0.6b
(- x (sin x))
0.6b
(- x (sin x))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt *-un-lft-identity
36×prod-diff
32×add-cube-cbrt
12×fma-neg add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
Counts
4 → 112
Calls
4 calls:
7.0ms
(- x (tan x))
6.0ms
(- x (tan x))
7.0ms
(- x (sin x))
8.0ms
(- x (sin x))

series175.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(- x (tan x))
54.0ms
(- x (tan x))
32.0ms
(- x (sin x))
36.0ms
(- x (sin x))

simplify93.0ms

Counts
124 → 124
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0258974
1749610
23295574
35001406
done5001406

prune277.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma 27/2800 (pow x 4) 1/2)
0.0ms
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

series133.0ms

Counts
2 → 6
Calls
2 calls:
86.0ms
(fma 27/2800 (pow x 4) 1/2)
47.0ms
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

simplify144.0ms

Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
051133
1162117
2626117
33552117
45001117
done5001117

prune72.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (fma 27/2800 (pow x 4) 1/2) 3)
0.0b
(fma 27/2800 (pow x 4) 1/2)
5.4b
(cbrt (pow (fma 27/2800 (pow x 4) 1/2) 3))
18.8b
(fma 9/40 (pow x 2) (- (cbrt (pow (fma 27/2800 (pow x 4) 1/2) 3))))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow
cube-mult unpow3 fma-udef sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 68
Calls
4 calls:
3.0ms
(pow (fma 27/2800 (pow x 4) 1/2) 3)
0.0ms
(fma 27/2800 (pow x 4) 1/2)
3.0ms
(cbrt (pow (fma 27/2800 (pow x 4) 1/2) 3))
0.0ms
(fma 9/40 (pow x 2) (- (cbrt (pow (fma 27/2800 (pow x 4) 1/2) 3))))

series328.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(pow (fma 27/2800 (pow x 4) 1/2) 3)
86.0ms
(fma 27/2800 (pow x 4) 1/2)
86.0ms
(cbrt (pow (fma 27/2800 (pow x 4) 1/2) 3))
46.0ms
(fma 9/40 (pow x 2) (- (cbrt (pow (fma 27/2800 (pow x 4) 1/2) 3))))

simplify189.0ms

Counts
80 → 80
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0170394
1637363
24312356
35001356
done5001356

prune183.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

regimes64.0ms

Accuracy

99.8% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 31.8b

bsearch78.0ms

Steps
ItersRangePoint
8
0.02319676823116778
7.055123656280252
1.5807919572689517
10
-1.8070707071506563e+17
-0.15939393977811658
-1.5845262208940065

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02718
12718
done2718

end0.0ms

sample6.6s

Algorithm
intervals
Results
3.5s1575×body2560valid
1.9s2776×body1280valid
681.0ms1962×body640valid
207.0ms904×body320valid
68.0ms439×body160valid
31.0ms344×body80valid