Details

Time bar (total: 26.2s)

sample829.0ms

Algorithm
intervals
Results
477.0ms52×body2560valid
212.0ms91×body1280valid
31.0ms46×body640valid
18.0ms38×body320valid
7.0ms20×body160valid
2.0msbody80valid

simplify17.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: 32.9b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.7b
(- x (tan x))
1.8b
(- x (sin x))

rewrite83.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:
29.0ms
(/ (- x (sin x)) (- x (tan x)))
7.0ms
(- x (tan x))
41.0ms
(- x (sin x))

series238.0ms

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

simplify1.1s

Counts
119 → 119
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02091823
14761563
213431384
done50001306

prune378.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 3 expressions with local error:

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

rewrite53.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:
1.0ms
(fma 27/2800 (pow x 4) 1/2)
24.0ms
(* 9/40 (pow x 2))
25.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

series226.0ms

Counts
3 → 9
Calls
3 calls:
113.0ms
(fma 27/2800 (pow x 4) 1/2)
32.0ms
(* 9/40 (pow x 2))
80.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

simplify2.7s

Counts
67 → 67
Iterations

Useful iterations: done (2.7s)

IterNodesCost
0106845
1219700
2588624
32787573
done5000572

prune238.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize19.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (pow x 4) -27/2800)
14.1b
(fma 9/40 (pow x 2) (* (pow x 4) -27/2800))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-exp-log associate-*l*
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
associate-*r* prod-exp unswap-sqr
pow1 expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod fma-udef
Counts
2 → 37
Calls
2 calls:
17.0ms
(* (pow x 4) -27/2800)
1.0ms
(fma 9/40 (pow x 2) (* (pow x 4) -27/2800))

series157.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(* (pow x 4) -27/2800)
112.0ms
(fma 9/40 (pow x 2) (* (pow x 4) -27/2800))

simplify2.4s

Counts
43 → 43
Iterations

Useful iterations: 3 (478.0ms)

IterNodesCost
066400
1126375
2345346
31266343
done5000343

prune162.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize20.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))))
1.7b
(- x (tan x))
1.8b
(- x (sin x))

rewrite115.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:
41.0ms
(/ (- x (tan x)) (- x (sin x)))
47.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
7.0ms
(- x (tan x))
8.0ms
(- x (sin x))

series430.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(/ (- x (tan x)) (- x (sin x)))
129.0ms
(/ 1 (/ (- x (tan x)) (- x (sin x))))
101.0ms
(- x (tan x))
63.0ms
(- x (sin x))

simplify1.8s

Counts
272 → 272
Iterations

Useful iterations: done (1.8s)

IterNodesCost
03745190
18434436
221554000
done50003846

prune647.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes50.0ms

Accuracy

100% (0.0b remaining)

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

bsearch125.0ms

Steps
ItersRangePoint
10
1.0194597579740466e-06
20796729.49276672
0.029468351736831863
8
-11.923248480236845
-0.0008047768791668974
-0.02915706671350092

simplify4.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02442
13032
done3032

end0.0ms

sample14.3s

Algorithm
intervals
Results
7.1s1596×body2560valid
4.4s2769×body1280valid
1.5s1873×body640valid
716.0ms958×body320valid
140.0ms470×body160valid
65.0ms334×body80valid