Details

Time bar (total: 31.0s)

sample502.0ms

Algorithm
intervals
Results
190.0ms47×body2560valid
126.0ms90×body1280valid
85.0ms56×body640valid
18.0ms33×body320valid
6.0ms18×body160valid
2.0ms12×body80valid

simplify545.0ms

Counts
1 → 1
Iterations
IterNodes
done19
319
217
113
06

prune14.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.5b

localize34.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.2b
(- x (tan x))
1.3b
(- x (sin x))

rewrite92.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:
42.0ms
(/ (- x (sin x)) (- x (tan x)))
13.0ms
(- x (tan x))
20.0ms
(- x (sin x))

series281.0ms

Counts
3 → 9
Calls
3 calls:
134.0ms
(/ (- x (sin x)) (- x (tan x)))
91.0ms
(- x (tan x))
56.0ms
(- x (sin x))

simplify2.9s

Counts
122 → 122
Iterations
IterNodes
done5000
34741
21279
1504
0212

prune399.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
0.0b
(log (exp (/ (- x (sin x)) (- x (tan x)))))
1.2b
(- x (tan x))
1.3b
(- x (sin x))

rewrite168.0ms

Algorithm
rewrite-expression-head
Rules
90×add-sqr-sqrt *-un-lft-identity
50×times-frac
42×add-cube-cbrt
32×log-pow
31×exp-prod
24×distribute-lft-out-- difference-of-squares
18×prod-diff
add-log-exp
add-cbrt-cube fma-neg add-exp-log
pow1 associate-/r* flip3-- flip-- associate-/l*
expm1-log1p-u associate-/r/ insert-posit16 log1p-expm1-u
log-prod
sub-neg diff-log div-sub div-inv associate-/l/
cbrt-undiv log-div clear-num frac-2neg exp-diff div-exp rem-log-exp
Counts
4 → 160
Calls
4 calls:
51.0ms
(/ (- x (sin x)) (- x (tan x)))
77.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
13.0ms
(- x (tan x))
17.0ms
(- x (sin x))

series370.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(/ (- x (sin x)) (- x (tan x)))
124.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
70.0ms
(- x (tan x))
54.0ms
(- x (sin x))

simplify2.6s

Counts
172 → 172
Iterations
IterNodes
done5000
34804
21382
1577
0277

prune694.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (- x (tan x)))
1.0b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.2b
(- x (tan x))
1.2b
(- x (tan x))

rewrite216.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:
17.0ms
(/ (sin x) (- x (tan x)))
118.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
7.0ms
(- x (tan x))
8.0ms
(- x (tan x))

series514.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(/ (sin x) (- x (tan x)))
286.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
82.0ms
(- x (tan x))
64.0ms
(- x (tan x))

simplify2.3s

Counts
604 → 604
Iterations
IterNodes
done5000
23356
11405
0620

prune2.4s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize76.0ms

Local error

Found 4 expressions with local error:

1.2b
(- x (tan x))
1.2b
(- x (tan x))
1.3b
(fma x (/ 1 (- x (tan x))) (- (* (/ (cbrt (sin x)) (- x (tan x))) (/ (* (cbrt (sin x)) (cbrt (sin x))) 1))))
31.7b
(fma (- (/ (cbrt (sin x)) (- x (tan x)))) (/ (* (cbrt (sin x)) (cbrt (sin x))) 1) (* (/ (cbrt (sin x)) (- x (tan x))) (/ (* (cbrt (sin x)) (cbrt (sin x))) 1)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
18×prod-diff add-cube-cbrt
add-log-exp
fma-neg
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u
sub-neg flip3-- diff-log fma-udef flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 80
Calls
4 calls:
7.0ms
(- x (tan x))
7.0ms
(- x (tan x))
0.0ms
(fma x (/ 1 (- x (tan x))) (- (* (/ (cbrt (sin x)) (- x (tan x))) (/ (* (cbrt (sin x)) (cbrt (sin x))) 1))))
0.0ms
(fma (- (/ (cbrt (sin x)) (- x (tan x)))) (/ (* (cbrt (sin x)) (cbrt (sin x))) 1) (* (/ (cbrt (sin x)) (- x (tan x))) (/ (* (cbrt (sin x)) (cbrt (sin x))) 1)))

series804.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(- x (tan x))
74.0ms
(- x (tan x))
277.0ms
(fma x (/ 1 (- x (tan x))) (- (* (/ (cbrt (sin x)) (- x (tan x))) (/ (* (cbrt (sin x)) (cbrt (sin x))) 1))))
370.0ms
(fma (- (/ (cbrt (sin x)) (- x (tan x)))) (/ (* (cbrt (sin x)) (cbrt (sin x))) 1) (* (/ (cbrt (sin x)) (- x (tan x))) (/ (* (cbrt (sin x)) (cbrt (sin x))) 1)))

simplify2.0s

Counts
92 → 92
Iterations
IterNodes
done5001
32099
2660
1281
0133

prune562.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes157.0ms

Accuracy

100% (0.0b remaining)

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

bsearch96.0ms

Steps
ItersRangePoint
9
1.7877411926250683e-07
0.113095154289168
0.06477336993094537
7
-1.1375194732999505
-0.018988436667384805
-0.029470951698575748

simplify5.0ms

Iterations
IterNodes
done28
128
027

end0.0ms

sample13.3s

Algorithm
intervals
Results
6.6s1631×body2560valid
3.8s2720×body1280valid
1.3s1836×body640valid
1.1s953×body320valid
205.0ms515×body160valid
61.0ms345×body80valid