Details

Time bar (total: 25.7s)

sample274.0ms

Algorithm
intervals
Results
114.0ms99×body1280valid
66.0ms17×body2560valid
47.0ms65×body640valid
16.0ms29×body320valid
5.0ms33×body80valid
5.0ms13×body160valid

simplify5.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.6b

localize14.0ms

Local error

Found 2 expressions with local error:

2.0b
(- (tan (+ x eps)) (tan x))
4.0b
(tan (+ x eps))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt prod-diff
tan-quot add-log-exp
fma-neg
pow1 add-exp-log expm1-log1p-u tan-sum frac-sub add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
21.0ms
(- (tan (+ x eps)) (tan x))
13.0ms
(tan (+ x eps))

series257.0ms

Counts
2 → 6
Calls
2 calls:
148.0ms
(- (tan (+ x eps)) (tan x))
109.0ms
(tan (+ x eps))

simplify2.6s

Counts
47 → 47
Iterations

Useful iterations: done (2.6s)

IterNodesCost
094720
1194597
2457510
31461450
done5000438

prune212.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 12.3b

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan x) (tan eps))
0.1b
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
0.2b
(* (tan x) (tan eps))
3.0b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite262.0ms

Algorithm
rewrite-expression-head
Rules
102×*-un-lft-identity
73×add-sqr-sqrt
66×add-cube-cbrt
61×times-frac
54×prod-diff
18×fma-neg
17×distribute-lft-out
10×associate-/r/
tan-quot
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-- flip--
div-inv
expm1-log1p-u log1p-expm1-u associate-/l*
fma-def associate-*r* associate-*l* associate-/r* associate-/l/
flip3-+ frac-add flip-+ difference-of-squares
cbrt-undiv +-commutative frac-times sub-neg frac-2neg diff-log associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num sum-log *-commutative frac-sub cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 169
Calls
4 calls:
17.0ms
(+ (tan x) (tan eps))
62.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
31.0ms
(* (tan x) (tan eps))
145.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series1.1s

Counts
4 → 12
Calls
4 calls:
137.0ms
(+ (tan x) (tan eps))
306.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
125.0ms
(* (tan x) (tan eps))
516.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify1.7s

Counts
181 → 181
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02404762
15603970
215563555
done50003149

prune614.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 12.2b

localize51.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (cos x))
0.2b
(/ (sin eps) (cos eps))
0.2b
(* (tan x) (tan eps))
6.6b
(- (/ (+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x))) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite489.0ms

Algorithm
rewrite-expression-head
Rules
153×*-un-lft-identity
103×times-frac
86×add-sqr-sqrt
79×add-cube-cbrt
63×prod-diff
24×distribute-lft-out
21×fma-neg
10×add-exp-log add-cbrt-cube
associate-/r/
pow1 associate-/r* div-inv associate-/l* add-log-exp
tan-quot flip3-- flip--
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l*
cbrt-undiv quot-tan frac-2neg div-exp clear-num difference-of-squares
frac-times sub-neg diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative frac-sub cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 185
Calls
4 calls:
15.0ms
(/ (sin x) (cos x))
9.0ms
(/ (sin eps) (cos eps))
15.0ms
(* (tan x) (tan eps))
429.0ms
(- (/ (+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x))) (- 1 (* (tan x) (tan eps)))) (tan x))

series802.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ (sin x) (cos x))
39.0ms
(/ (sin eps) (cos eps))
145.0ms
(* (tan x) (tan eps))
577.0ms
(- (/ (+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x))) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify1.7s

Counts
197 → 197
Iterations

Useful iterations: done (1.7s)

IterNodesCost
03135561
16564674
215884169
done50003547

prune987.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 11.2b

localize63.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (cos x))
0.2b
(/ (sin eps) (cos eps))
0.2b
(* (tan x) (tan eps))
6.6b
(fma (+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x))) (/ 1 (- 1 (* (tan x) (tan eps)))) (- (tan x)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
18×times-frac
10×add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l*
tan-quot expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r* associate-*l*
cbrt-undiv quot-tan frac-2neg div-exp clear-num div-inv
frac-times associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 93
Calls
4 calls:
9.0ms
(/ (sin x) (cos x))
9.0ms
(/ (sin eps) (cos eps))
18.0ms
(* (tan x) (tan eps))
1.0ms
(fma (+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x))) (/ 1 (- 1 (* (tan x) (tan eps)))) (- (tan x)))

series764.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ (sin x) (cos x))
42.0ms
(/ (sin eps) (cos eps))
186.0ms
(* (tan x) (tan eps))
508.0ms
(fma (+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x))) (/ 1 (- 1 (* (tan x) (tan eps)))) (- (tan x)))

simplify2.1s

Counts
105 → 105
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01901243
13711215
29111084
321121082
done50001080

prune645.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 11.2b

regimes230.0ms

Accuracy

93.5% (0.6b remaining)

Error of 13.5b against oracle of 12.9b and baseline of 22.2b

bsearch220.0ms

Steps
ItersRangePoint
6
1.5323993806286105e-20
9.893396450191569e-20
4.975666270883717e-20
7
-0.006495210018506858
-9.497075983896804e-05
-9.642672794131258e-05

simplify4.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02775
13747
done3747

end0.0ms

sample10.5s

Algorithm
intervals
Results
4.9s3301×body1280valid
2.3s598×body2560valid
1.7s1873×body640valid
865.0ms797×body320valid
157.0ms1085×body80valid
105.0ms346×body160valid