Details

Time bar (total: 9.5s)

sample565.0ms

Algorithm
intervals
Results
132.0ms60×body2560valid
70.0ms103×body1280valid
38.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))

rewrite54.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:
32.0ms
(/ (- x (sin x)) (- x (tan x)))
6.0ms
(- x (tan x))
10.0ms
(- x (sin x))

series181.0ms

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

simplify55.0ms

Counts
119 → 119
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04721059
11737854
25001854
done5001854

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

rewrite31.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:
6.0ms
(- x (tan x))
6.0ms
(- x (tan x))
8.0ms
(- x (sin x))
7.0ms
(- x (sin x))

series173.0ms

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

simplify91.0ms

Counts
124 → 124
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0258974
1749610
23295574
35001406
done5001406

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

series130.0ms

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

simplify142.0ms

Counts
26 → 26
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
051133
1162117
2626117
33552117
45001117
done5001117

prune69.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)
2.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))))

series325.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(pow (fma 27/2800 (pow x 4) 1/2) 3)
83.0ms
(fma 27/2800 (pow x 4) 1/2)
85.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))))

simplify187.0ms

Counts
80 → 80
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0170394
1637363
24312356
35001356
done5001356

prune176.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

regimes60.0ms

Accuracy

99.8% (0.1b remaining)

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

bsearch76.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
684.0ms1962×body640valid
215.0ms904×body320valid
70.0ms439×body160valid
32.0ms344×body80valid