Details

Time bar (total: 30.9s)

sample555.0ms

Algorithm
intervals
Results
197.0ms54×body2560valid
113.0ms67×body640valid
111.0ms82×body1280valid
18.0ms29×body320valid
6.0ms13×body160valid
2.0ms11×body80valid

simplify19.0ms

Counts
1 → 1
Iterations
IterNodes
419
319
217
113
06

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.0b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite45.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
associate-/r* add-cbrt-cube add-exp-log associate-/l*
flip3-- flip--
expm1-log1p-u pow1 insert-posit16 log1p-expm1-u
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv clear-num frac-2neg div-sub div-exp div-inv
Counts
3 → 113
Calls
3 calls:
18.0ms
(/ (- x (sin x)) (- x (tan x)))
5.0ms
(- x (tan x))
7.0ms
(- x (sin x))

series202.0ms

Counts
3 → 9
Calls
3 calls:
83.0ms
(/ (- x (sin x)) (- x (tan x)))
67.0ms
(- x (tan x))
52.0ms
(- x (sin x))

simplify1.8s

Counts
122 → 122
Iterations
IterNodes
34455
21297
1502
0212

prune456.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (- x (tan x)))
1.8b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.9b
(- x (tan x))
1.9b
(- x (tan x))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
713×*-un-lft-identity
703×add-sqr-sqrt
678×times-frac
459×prod-diff
417×add-cube-cbrt
147×distribute-lft-out--
141×difference-of-squares
92×associate-/r/
49×flip3-- flip--
46×div-inv
27×fma-neg
10×add-log-exp
add-cbrt-cube add-exp-log
associate-/r*
expm1-log1p-u pow1 insert-posit16 log1p-expm1-u
sub-neg distribute-rgt-out-- diff-log associate-/l*
cbrt-undiv clear-num frac-2neg div-exp frac-sub sub-div
Counts
4 → 592
Calls
4 calls:
14.0ms
(/ (sin x) (- x (tan x)))
85.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
10.0ms
(- x (tan x))
8.0ms
(- x (tan x))

series419.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(/ (sin x) (- x (tan x)))
205.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
58.0ms
(- x (tan x))
67.0ms
(- x (tan x))

simplify2.0s

Counts
604 → 604
Iterations
IterNodes
23382
11401
0620

prune2.5s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (* x x) (- 9/40 (* 27/2800 (* x x)))) 1/2)
0.0b
(- 9/40 (* 27/2800 (* x x)))
0.1b
(* (* x x) (- 9/40 (* 27/2800 (* x x))))
0.4b
(* 27/2800 (* x x))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
18×prod-diff
15×add-sqr-sqrt
14×pow1 add-cbrt-cube add-exp-log
13×*-un-lft-identity add-cube-cbrt
10×distribute-rgt-in distribute-lft-in associate--l+
add-log-exp
sub-neg pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u fma-neg associate-*r* associate-*l* insert-posit16 log1p-expm1-u
flip3-- flip--
diff-log associate-*r/ *-commutative unswap-sqr
Counts
4 → 106
Calls
4 calls:
28.0ms
(- (* (* x x) (- 9/40 (* 27/2800 (* x x)))) 1/2)
5.0ms
(- 9/40 (* 27/2800 (* x x)))
33.0ms
(* (* x x) (- 9/40 (* 27/2800 (* x x))))
19.0ms
(* 27/2800 (* x x))

series336.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(- (* (* x x) (- 9/40 (* 27/2800 (* x x)))) 1/2)
76.0ms
(- 9/40 (* 27/2800 (* x x)))
151.0ms
(* (* x x) (- 9/40 (* 27/2800 (* x x))))
49.0ms
(* 27/2800 (* x x))

simplify2.7s

Counts
118 → 118
Iterations
IterNodes
33837
21292
1453
0160

prune411.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize59.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 1/6 (* x (* x x)))
1.9b
(- x (tan x))
19.1b
(/ (fma (pow x 5) -1/120 (fma (pow x 7) 1/5040 (* 1/6 (* x (* x x))))) (- x (tan x)))
24.7b
(fma (pow x 5) -1/120 (fma (pow x 7) 1/5040 (* 1/6 (* x (* x x)))))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
15×times-frac add-cbrt-cube add-exp-log
13×pow1
prod-diff
pow-prod-down prod-exp cbrt-unprod add-log-exp
associate-/r* distribute-lft-out-- difference-of-squares
expm1-log1p-u insert-posit16 log1p-expm1-u
fma-neg associate-*l* associate-/l*
flip3-- associate-/r/ flip--
cbrt-undiv clear-num sub-neg frac-2neg diff-log div-exp associate-*r* *-commutative fma-udef div-inv
Counts
4 → 104
Calls
4 calls:
60.0ms
(* 1/6 (* x (* x x)))
9.0ms
(- x (tan x))
14.0ms
(/ (fma (pow x 5) -1/120 (fma (pow x 7) 1/5040 (* 1/6 (* x (* x x))))) (- x (tan x)))
0.0ms
(fma (pow x 5) -1/120 (fma (pow x 7) 1/5040 (* 1/6 (* x (* x x)))))

series413.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(* 1/6 (* x (* x x)))
103.0ms
(- x (tan x))
141.0ms
(/ (fma (pow x 5) -1/120 (fma (pow x 7) 1/5040 (* 1/6 (* x (* x x))))) (- x (tan x)))
114.0ms
(fma (pow x 5) -1/120 (fma (pow x 7) 1/5040 (* 1/6 (* x (* x x)))))

simplify2.7s

Counts
116 → 116
Iterations
IterNodes
35125
21274
1452
0208

prune618.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes40.0ms

Accuracy

100% (0.0b remaining)

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

bsearch198.0ms

Steps
ItersRangePoint
10
1.8230705747381016e-09
4364471.442644652
0.03210649578243009
9
-0.030639508246526274
-1.9696345359431407e-07
-0.025621427997812182

simplify8.0ms

Iterations
IterNodes
226
126
021

end0.0ms

sample15.1s

Algorithm
intervals
Results
6.6s1537×body2560valid
5.0s2771×body1280valid
2.3s1907×body640valid
722.0ms955×body320valid
253.0ms447×body160valid
119.0ms383×body80valid