Details

Time bar (total: 28.3s)

sample409.0ms

Algorithm
intervals
Results
236.0ms101×body1280valid
58.0ms61×body640valid
55.0ms17×body2560valid
21.0ms32×body320valid
7.0ms36×body80valid
4.0msbody160valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.8b

localize23.0ms

Local error

Found 2 expressions with local error:

1.3b
(- (tan (+ x eps)) (tan x))
3.0b
(tan (+ x eps))

rewrite73.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:
32.0ms
(- (tan (+ x eps)) (tan x))
10.0ms
(tan (+ x eps))

series280.0ms

Counts
2 → 6
Calls
2 calls:
185.0ms
(- (tan (+ x eps)) (tan x))
94.0ms
(tan (+ x eps))

simplify1.2s

Counts
31 → 31
Iterations

Useful iterations: done (1.2s)

IterNodesCost
068367
1135355
2349341
31136337
done5000335

prune256.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 12.8b

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

rewrite295.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:
61.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
22.0ms
(+ (tan x) (tan eps))
35.0ms
(* (tan x) (tan eps))
172.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series1.5s

Counts
4 → 12
Calls
4 calls:
440.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
178.0ms
(+ (tan x) (tan eps))
173.0ms
(* (tan x) (tan eps))
709.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify1.6s

Counts
98 → 98
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01721724
14211649
216801579
done50011578

prune819.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 12.6b

localize52.0ms

Local error

Found 4 expressions with local error:

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

rewrite353.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:
16.0ms
(+ (tan x) (tan eps))
29.0ms
(/ (* (sin eps) (tan x)) (cos eps))
24.0ms
(* (sin eps) (tan x))
279.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin eps) (tan x)) (cos eps)))) (tan x))

series1.1s

Counts
4 → 12
Calls
4 calls:
154.0ms
(+ (tan x) (tan eps))
178.0ms
(/ (* (sin eps) (tan x)) (cos eps))
130.0ms
(* (sin eps) (tan x))
655.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin eps) (tan x)) (cos eps)))) (tan x))

simplify1.8s

Counts
82 → 82
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01651252
13971226
216951118
done50011098

prune720.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 12.6b

localize60.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan x) (tan eps))
0.2b
(* (sin eps) (tan x))
2.8b
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (log (exp (* (sin eps) (tan x)))) (cos eps)))) (tan x))
3.0b
(log (exp (* (sin eps) (tan x))))

rewrite502.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×*-un-lft-identity
add-log-exp
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube
tan-quot
log-prod associate-*r* associate-*l* log-pow
difference-of-squares
+-commutative sub-neg exp-prod flip3-- exp-to-pow flip3-+ times-frac diff-log associate-*r/ rem-log-exp pow-prod-down frac-add prod-exp sum-log *-commutative frac-sub flip-- cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- unswap-sqr
Counts
4 → 62
Calls
4 calls:
15.0ms
(+ (tan x) (tan eps))
27.0ms
(* (sin eps) (tan x))
449.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (log (exp (* (sin eps) (tan x)))) (cos eps)))) (tan x))
8.0ms
(log (exp (* (sin eps) (tan x))))

series1.0s

Counts
4 → 12
Calls
4 calls:
156.0ms
(+ (tan x) (tan eps))
129.0ms
(* (sin eps) (tan x))
635.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (log (exp (* (sin eps) (tan x)))) (cos eps)))) (tan x))
129.0ms
(log (exp (* (sin eps) (tan x))))

simplify977.0ms

Counts
74 → 74
Iterations

Useful iterations: done (974.0ms)

IterNodesCost
01461180
13261086
210811004
done5001986

prune690.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 12.6b

regimes464.0ms

Accuracy

88.4% (0.9b remaining)

Error of 15.3b against oracle of 14.4b and baseline of 21.9b

bsearch206.0ms

Steps
ItersRangePoint
9
7.972879948037122e-33
5.461638927932447e-28
1.057153756992666e-28
2
-3.230948283787139e-65
-2.7814928919147504e-65
-2.8376748158987993e-65

simplify9.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03573
14773
done4773

end0.0ms

sample13.8s

Algorithm
intervals
Results
7.1s3321×body1280valid
2.9s633×body2560valid
2.1s1825×body640valid
664.0ms764×body320valid
323.0ms1089×body80valid
154.0ms368×body160valid