Details

Time bar (total: 10.8s)

sample161.0ms

Algorithm
intervals
Results
74.0ms98×body1280valid
39.0ms24×body2560valid
24.0ms62×body640valid
7.0ms25×body320valid
3.0ms33×body80valid
2.0ms14×body160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104
done104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.2b

localize9.0ms

Local error

Found 2 expressions with local error:

2.1b
(- (tan (+ x eps)) (tan x))
5.2b
(tan (+ x eps))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
tan-quot add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt tan-sum frac-sub add-cbrt-cube
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 25
Calls
2 calls:
18.0ms
(- (tan (+ x eps)) (tan x))
7.0ms
(tan (+ x eps))

series155.0ms

Counts
2 → 6
Calls
2 calls:
96.0ms
(- (tan (+ x eps)) (tan x))
59.0ms
(tan (+ x eps))

simplify77.0ms

Counts
31 → 31
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199
done5001199

prune94.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 16.8b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite146.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
tan-quot
add-exp-log add-cbrt-cube add-log-exp
pow1
distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
flip3-- flip3-+ frac-add associate-/r/ flip-- 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 div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 86
Calls
4 calls:
31.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
9.0ms
(+ (tan x) (tan eps))
18.0ms
(* (tan x) (tan eps))
86.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series794.0ms

Counts
4 → 12
Calls
4 calls:
220.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
97.0ms
(+ (tan x) (tan eps))
97.0ms
(* (tan x) (tan eps))
381.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify43.0ms

Counts
98 → 98
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03971052
114321007
25001996
done5001996

prune303.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 16.6b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin x) (sin eps))
0.3b
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
0.3b
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
4.7b
(- (+ (/ (sin x) (* (- 1 (/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))) (cos x))) (/ (sin eps) (* (- 1 (/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))) (cos eps)))) (/ (sin x) (cos x)))

rewrite724.0ms

Algorithm
rewrite-expression-head
Rules
30×add-exp-log add-cbrt-cube
13×add-sqr-sqrt
11×*-un-lft-identity
prod-exp cbrt-unprod add-log-exp
cbrt-undiv div-exp
pow1 add-cube-cbrt
times-frac associate-*r* associate-*l* frac-sub sin-mult
frac-2neg diff-log clear-num associate-/r* associate-/r/ cos-mult div-inv associate-/l/ associate-/l* distribute-lft-out-- difference-of-squares
sub-neg flip3-- flip3-+ pow-prod-down frac-add associate--l+ sum-log *-commutative flip-- flip-+ distribute-lft-out unswap-sqr
Counts
4 → 86
Calls
4 calls:
14.0ms
(* (sin x) (sin eps))
19.0ms
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
19.0ms
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
669.0ms
(- (+ (/ (sin x) (* (- 1 (/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))) (cos x))) (/ (sin eps) (* (- 1 (/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))) (cos eps)))) (/ (sin x) (cos x)))

series651.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (sin x) (sin eps))
104.0ms
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
104.0ms
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
396.0ms
(- (+ (/ (sin x) (* (- 1 (/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))) (cos x))) (/ (sin eps) (* (- 1 (/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))) (cos eps)))) (/ (sin x) (cos x)))

simplify61.0ms

Counts
98 → 98
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04641846
122151611
250011611
done50011611

prune396.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 16.6b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite225.0ms

Algorithm
rewrite-expression-head
Rules
123×times-frac
104×*-un-lft-identity
83×add-sqr-sqrt
67×add-cube-cbrt
23×associate-/r*
19×add-exp-log
16×associate-/r/ distribute-lft-out
15×tan-quot
13×add-cbrt-cube
div-exp
pow1 div-inv
associate-/l* add-log-exp
flip3-+ frac-add flip-+ difference-of-squares
cbrt-undiv
associate-*r* associate-*l*
rec-exp flip3-- frac-2neg 1-exp clear-num flip-- associate-/l/ distribute-lft-out--
frac-times sub-neg pow-flip diff-log div-sub associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative frac-sub cbrt-unprod inv-pow unswap-sqr
Counts
4 → 178
Calls
4 calls:
25.0ms
(/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))
16.0ms
(* (tan x) (tan eps))
28.0ms
(/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps))))
148.0ms
(- (/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))) (tan x))

series1.0s

Counts
4 → 12
Calls
4 calls:
286.0ms
(/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))
100.0ms
(* (tan x) (tan eps))
234.0ms
(/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps))))
389.0ms
(- (/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))) (tan x))

simplify79.0ms

Counts
190 → 190
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07032793
132902509
250012506
done50012506

prune403.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 16.6b

regimes241.0ms

Accuracy

84.5% (1.2b remaining)

Error of 16.0b against oracle of 14.8b and baseline of 22.4b

bsearch179.0ms

Steps
ItersRangePoint
9
1.1913964172771682e-31
1.0234318601461633e-26
6.4364749232124024e-27
9
-1.5455237205817756e-98
-2.323654281091449e-103
-1.5226418109876482e-98

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05452
15852
25852
done5852

end0.0ms

sample5.0s

Algorithm
intervals
Results
2.4s3282×body1280valid
1.1s646×body2560valid
803.0ms1854×body640valid
207.0ms761×body320valid
104.0ms1086×body80valid
66.0ms371×body160valid