Details

Time bar (total: 24.7s)

sample338.0ms

Algorithm
intervals
Results
176.0ms106×body1280valid
80.0ms28×body2560valid
45.0ms58×body640valid
14.0ms23×body320valid
5.0ms31×body80valid
4.0ms10×body160valid

simplify3.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.4b

localize20.0ms

Local error

Found 2 expressions with local error:

1.9b
(- (tan (+ x eps)) (tan x))
4.5b
(tan (+ x eps))

rewrite104.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:
43.0ms
(- (tan (+ x eps)) (tan x))
58.0ms
(tan (+ x eps))

series243.0ms

Counts
2 → 6
Calls
2 calls:
142.0ms
(- (tan (+ x eps)) (tan x))
101.0ms
(tan (+ x eps))

simplify2.5s

Counts
31 → 31
Iterations

Useful iterations: 4 (396.0ms)

IterNodesCost
068367
1135355
2278341
3528337
41109335
52471335
done5000335

prune147.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 15.4b

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

rewrite175.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:
30.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
8.0ms
(+ (tan x) (tan eps))
15.0ms
(* (tan x) (tan eps))
120.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series1.1s

Counts
4 → 12
Calls
4 calls:
322.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
156.0ms
(+ (tan x) (tan eps))
146.0ms
(* (tan x) (tan eps))
523.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify2.4s

Counts
98 → 98
Iterations

Useful iterations: 3 (792.0ms)

IterNodesCost
01721724
13971649
210951579
329391563
done50001563

prune370.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 15.3b

localize49.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (* (- 1 (/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))) (cos x)))
0.3b
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
0.3b
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
2.8b
(- (+ (/ (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)))

rewrite1.1s

Algorithm
rewrite-expression-head
Rules
33×add-exp-log add-cbrt-cube
11×add-sqr-sqrt *-un-lft-identity
10×cbrt-undiv div-exp
prod-exp cbrt-unprod add-log-exp
add-cube-cbrt times-frac
associate-/l*
pow1 associate-/r/
frac-2neg clear-num associate-/r* frac-sub div-inv
flip3-- diff-log associate-*l/ cos-mult flip-- associate-/l/ sin-mult distribute-lft-out-- difference-of-squares
sub-neg flip3-+ frac-add associate--l+ sum-log flip-+ distribute-lft-out
Counts
4 → 90
Calls
4 calls:
65.0ms
(/ (sin x) (* (- 1 (/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))) (cos x)))
30.0ms
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
20.0ms
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
972.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)))

series1.0s

Counts
4 → 12
Calls
4 calls:
234.0ms
(/ (sin x) (* (- 1 (/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))) (cos x)))
125.0ms
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
136.0ms
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
517.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)))

simplify1.3s

Counts
102 → 102
Iterations

Useful iterations: 2 (401.0ms)

IterNodesCost
01933410
15373256
221392909
done50002909

prune585.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 15.3b

localize48.0ms

Local error

Found 4 expressions with local error:

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

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
17×associate-*l/
16×add-sqr-sqrt
14×tan-quot
12×*-un-lft-identity
10×pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube
associate-*r*
frac-sub add-log-exp
flip3-- flip--
flip3-+ pow-prod-down frac-add prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
frac-times associate-*r/
sub-neg diff-log distribute-lft-out
Counts
4 → 82
Calls
4 calls:
24.0ms
(* (tan x) (tan eps))
15.0ms
(* (tan x) (tan eps))
35.0ms
(* (+ (tan x) (tan eps)) (cos x))
33.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

series777.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(* (tan x) (tan eps))
168.0ms
(* (tan x) (tan eps))
161.0ms
(* (+ (tan x) (tan eps)) (cos x))
299.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

simplify1.4s

Counts
94 → 94
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01731626
15151476
219171418
done50021416

prune454.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

regimes178.0ms

Accuracy

0% (0.2b remaining)

Error of 0.4b against oracle of 0.2b and baseline of 0.4b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02133
12933
done2933

end0.0ms

sample10.3s

Algorithm
intervals
Results
5.4s3328×body1280valid
2.0s625×body2560valid
1.8s1824×body640valid
425.0ms817×body320valid
189.0ms1052×body80valid
147.0ms354×body160valid