Details

Time bar (total: 2.0m)

sample662.0ms

Algorithm
intervals
Results
370.0ms75×body640valid
182.0ms105×body1280valid
52.0ms16×body2560valid
11.0ms15×body320valid
8.0ms32×body80valid
7.0ms13×body160valid

simplify27.0ms

Counts
1 → 1
Iterations
IterNodes
done10
210
19
06

prune18.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.0b

localize58.0ms

Local error

Found 2 expressions with local error:

1.4b
(- (tan (+ x eps)) (tan x))
4.6b
(tan (+ x eps))

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

series734.0ms

Counts
2 → 6
Calls
2 calls:
615.0ms
(- (tan (+ x eps)) (tan x))
112.0ms
(tan (+ x eps))

simplify10.3s

Counts
31 → 31
Iterations
IterNodes
done5001
41771
3705
2297
1135
068

prune742.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 13.0b

localize121.0ms

Local error

Found 4 expressions with local error:

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

rewrite749.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:
108.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
145.0ms
(+ (tan x) (tan eps))
34.0ms
(* (tan x) (tan eps))
438.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series4.5s

Counts
4 → 12
Calls
4 calls:
1.2s
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
537.0ms
(+ (tan x) (tan eps))
423.0ms
(* (tan x) (tan eps))
2.3s
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify14.3s

Counts
98 → 98
Iterations
IterNodes
done5005
34395
21155
1411
0172

prune3.7s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 12.9b

localize162.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.1s

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

series2.7s

Counts
4 → 12
Calls
4 calls:
484.0ms
(+ (tan x) (tan eps))
178.0ms
(* (sin x) (sin eps))
374.0ms
(/ (* (sin x) (sin eps)) (* (cos eps) (cos x)))
1.7s
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))))) (tan x))

simplify4.7s

Counts
83 → 83
Iterations
IterNodes
done5024
21588
1434
0173

prune3.7s

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 12.8b

localize186.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin eps) (cos eps))
0.2b
(+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x)))
0.3b
(* (tan x) (tan eps))
6.7b
(- (/ (+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x))) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
21×add-sqr-sqrt
14×add-cube-cbrt
12×times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1
tan-quot
associate-*r* associate-*l* associate-/r* associate-/l*
distribute-lft-out difference-of-squares
cbrt-undiv +-commutative frac-times sub-neg quot-tan flip3-- frac-2neg flip3-+ diff-log associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num sum-log *-commutative frac-sub flip-- cbrt-unprod flip-+ div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 79
Calls
4 calls:
21.0ms
(/ (sin eps) (cos eps))
72.0ms
(+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x)))
36.0ms
(* (tan x) (tan eps))
880.0ms
(- (/ (+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x))) (- 1 (* (tan x) (tan eps)))) (tan x))

series4.0s

Counts
4 → 12
Calls
4 calls:
107.0ms
(/ (sin eps) (cos eps))
544.0ms
(+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x)))
378.0ms
(* (tan x) (tan eps))
3.0s
(- (/ (+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x))) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify11.1s

Counts
91 → 91
Iterations
IterNodes
done5000
33855
21181
1414
0177

prune1.9s

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 11.6b

regimes984.0ms

Accuracy

90.8% (0.8b remaining)

Error of 14.2b against oracle of 13.4b and baseline of 22.1b

bsearch3.2s

Steps
ItersRangePoint
9
1.9019117058808816e-98
1.1854250517603695e-92
1.1710088927834064e-92
10
-9.843551556642301e-53
-9.050756944828755e-64
-9.693921329330396e-53

simplify21.0ms

Iterations
IterNodes
done52
152
039

end0.0ms

sample47.4s

Algorithm
intervals
Results
22.0s3298×body1280valid
8.9s1846×body640valid
7.0s646×body2560valid
5.4s742×body320valid
1.7s333×body160valid
1.6s1135×body80valid