Details

Time bar (total: 10.3s)

sample165.0ms

Algorithm
intervals
Results
85.0ms117×body1280valid
39.0ms24×body2560valid
21.0ms52×body640valid
6.0ms27×body320valid
2.0ms29×body80valid
1.0msbody160valid

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.8b

localize9.0ms

Local error

Found 2 expressions with local error:

1.2b
(- (tan (+ x eps)) (tan x))
2.2b
(tan (+ x eps))

rewrite22.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:
16.0ms
(- (tan (+ x eps)) (tan x))
6.0ms
(tan (+ x eps))

series150.0ms

Counts
2 → 6
Calls
2 calls:
93.0ms
(- (tan (+ x eps)) (tan x))
57.0ms
(tan (+ x eps))

simplify75.0ms

Counts
31 → 31
Iterations

Useful iterations: 3 (21.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199
done5001199

prune83.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 16.8b

localize15.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))
3.5b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite130.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:
29.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
8.0ms
(+ (tan x) (tan eps))
15.0ms
(* (tan x) (tan eps))
76.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series784.0ms

Counts
4 → 12
Calls
4 calls:
222.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
92.0ms
(+ (tan x) (tan eps))
94.0ms
(* (tan x) (tan eps))
376.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify45.0ms

Counts
98 → 98
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03971050
114321005
25001995
done5001995

prune262.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 16.7b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite200.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:
14.0ms
(* (tan x) (tan eps))
22.0ms
(/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))
25.0ms
(/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps))))
131.0ms
(- (/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))) (tan x))

series956.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(* (tan x) (tan eps))
270.0ms
(/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))
217.0ms
(/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps))))
375.0ms
(- (/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))) (tan x))

simplify77.0ms

Counts
190 → 190
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
07032793
132942509
250012506
done50012506

prune386.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 16.7b

localize23.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)))
3.5b
(- (+ (/ (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)))

rewrite657.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:
12.0ms
(* (sin x) (sin eps))
17.0ms
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
17.0ms
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
609.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)))

series650.0ms

Counts
4 → 12
Calls
4 calls:
50.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)))
392.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)))

simplify60.0ms

Counts
98 → 98
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04641846
122151611
250011611
done50011611

prune294.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 16.6b

regimes178.0ms

Accuracy

78.6% (1.6b remaining)

Error of 16.6b against oracle of 15.0b and baseline of 22.6b

bsearch180.0ms

Steps
ItersRangePoint
8
1.5609731741021842e-142
7.971820636382968e-140
7.898055614722725e-140
9
-7.799787465191151e-50
-5.8975419655003234e-58
-6.844251912285021e-54

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04355
14355
done4355

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.5s3399×body1280valid
1.1s627×body2560valid
748.0ms1812×body640valid
210.0ms789×body320valid
94.0ms1048×body80valid
56.0ms325×body160valid