Details

Time bar (total: 9.6s)

sample158.0ms

Algorithm
intervals
Results
66.0ms97×body1280valid
40.0ms24×body2560valid
25.0ms64×body640valid
11.0ms28×body320valid
3.0ms31×body80valid
2.0ms12×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: 39.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.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))

series148.0ms

Counts
2 → 6
Calls
2 calls:
92.0ms
(- (tan (+ x eps)) (tan x))
56.0ms
(tan (+ x eps))

simplify79.0ms

Counts
31 → 31
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199
done5001199

prune83.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 14.9b

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

rewrite149.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:
34.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
15.0ms
(+ (tan x) (tan eps))
18.0ms
(* (tan x) (tan eps))
79.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series787.0ms

Counts
4 → 12
Calls
4 calls:
226.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
108.0ms
(+ (tan x) (tan eps))
93.0ms
(* (tan x) (tan eps))
361.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify47.0ms

Counts
98 → 98
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03971050
114321005
25001995
done5001995

prune268.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 14.8b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite177.0ms

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

series674.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(+ (tan x) (tan eps))
77.0ms
(* (sin x) (tan eps))
108.0ms
(/ (* (sin x) (tan eps)) (cos x))
390.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x)))) (tan x))

simplify49.0ms

Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0389785
11406711
25001699
done5001699

prune270.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 14.8b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite362.0ms

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

series623.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ (sin x) (cos x))
83.0ms
(* (sin x) (tan eps))
106.0ms
(/ (* (sin x) (tan eps)) (cos x))
414.0ms
(- (/ (+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x))) (- 1 (/ (* (sin x) (tan eps)) (cos x)))) (tan x))

simplify46.0ms

Counts
97 → 97
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0392974
11457879
25001864
done5001864

prune356.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 13.3b

regimes161.0ms

Accuracy

95.3% (0.4b remaining)

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

bsearch131.0ms

Steps
ItersRangePoint
10
7.501151066748407e-20
1.7355052557369657e-07
1.349170156454841e-17
4
-3.4474604111501658e-22
-2.2519064934139983e-22
-3.3353772313624003e-22

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05046
15046
done5046

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.4s3238×body1280valid
1.1s685×body2560valid
774.0ms1899×body640valid
202.0ms755×body320valid
100.0ms1088×body80valid
57.0ms335×body160valid