Details

Time bar (total: 24.7s)

sample333.0ms

Algorithm
intervals
Results
157.0ms113×body1280valid
87.0ms20×body2560valid
47.0ms55×body640valid
13.0ms25×body320valid
5.0ms15×body160valid
5.0ms28×body80valid

simplify8.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: 37.0b

localize19.0ms

Local error

Found 2 expressions with local error:

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

rewrite70.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:
22.0ms
(- (tan (+ x eps)) (tan x))
47.0ms
(tan (+ x eps))

series212.0ms

Counts
2 → 6
Calls
2 calls:
147.0ms
(- (tan (+ x eps)) (tan x))
64.0ms
(tan (+ x eps))

simplify750.0ms

Counts
31 → 31
Iterations

Useful iterations: done (748.0ms)

IterNodesCost
068367
1135355
2349341
31136337
done5000335

prune146.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 16.9b

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite207.0ms

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

series999.0ms

Counts
4 → 12
Calls
4 calls:
191.0ms
(- 1 (* (tan x) (tan eps)))
136.0ms
(+ (tan x) (tan eps))
134.0ms
(* (tan x) (tan eps))
538.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify1.2s

Counts
74 → 74
Iterations

Useful iterations: 2 (435.0ms)

IterNodesCost
01461093
13751049
21614989
done5000989

prune399.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 16.7b

localize40.0ms

Local error

Found 4 expressions with local error:

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

rewrite452.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
41×tan-quot
21×add-sqr-sqrt
20×add-exp-log add-cbrt-cube
19×frac-times pow-prod-down
13×associate-*r/ associate-*l/
10×*-un-lft-identity prod-exp cbrt-unprod
add-cube-cbrt
associate-*r* associate-*l*
add-log-exp
pow-sqr pow-prod-up
times-frac *-commutative difference-of-squares
pow-plus unswap-sqr
pow2 sub-neg flip3-- diff-log swap-sqr frac-sub flip-- distribute-lft-out--
Counts
4 → 108
Calls
4 calls:
16.0ms
(* (tan x) (tan eps))
22.0ms
(* (tan x) (tan eps))
113.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
292.0ms
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))) (+ 1 (* (tan x) (tan eps))))) (tan x))

series1.9s

Counts
4 → 12
Calls
4 calls:
133.0ms
(* (tan x) (tan eps))
118.0ms
(* (tan x) (tan eps))
160.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
1.5s
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))) (+ 1 (* (tan x) (tan eps))))) (tan x))

simplify1.5s

Counts
120 → 120
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01812248
15232140
229161898
done50021889

prune551.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 16.7b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite312.0ms

Algorithm
rewrite-expression-head
Rules
29×add-exp-log add-cbrt-cube
23×add-sqr-sqrt
17×tan-quot
13×pow1 associate-*r* prod-exp cbrt-unprod
12×*-un-lft-identity
10×add-cube-cbrt
frac-times associate-*l* associate-*l/
times-frac add-log-exp
associate-*r/ pow-prod-down
cbrt-undiv div-exp
*-commutative difference-of-squares
unswap-sqr
sub-neg flip3-- diff-log frac-sub flip-- div-inv distribute-lft-out--
Counts
4 → 96
Calls
4 calls:
30.0ms
(* (tan x) (tan eps))
31.0ms
(* (tan x) (tan eps))
86.0ms
(* (* (tan x) (tan eps)) (/ (* (tan x) (sin eps)) (cos eps)))
159.0ms
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (* (* (tan x) (tan eps)) (/ (* (tan x) (sin eps)) (cos eps)))) (+ 1 (* (tan x) (tan eps))))) (tan x))

series2.1s

Counts
4 → 12
Calls
4 calls:
125.0ms
(* (tan x) (tan eps))
136.0ms
(* (tan x) (tan eps))
249.0ms
(* (* (tan x) (tan eps)) (/ (* (tan x) (sin eps)) (cos eps)))
1.6s
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (* (* (tan x) (tan eps)) (/ (* (tan x) (sin eps)) (cos eps)))) (+ 1 (* (tan x) (tan eps))))) (tan x))

simplify2.6s

Counts
108 → 108
Iterations

Useful iterations: 2 (534.0ms)

IterNodesCost
02022443
15912369
238932066
done50022066

prune564.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 16.7b

regimes233.0ms

Accuracy

87.5% (0.9b remaining)

Error of 15.1b against oracle of 14.1b and baseline of 21.6b

bsearch237.0ms

Steps
ItersRangePoint
6
5.657564454157724e-27
3.4928798111313496e-26
7.609705691109876e-27
8
-6.739795712749816e-68
-3.8540338292272195e-72
-1.0634119210767955e-69

simplify7.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
039104
150104
251104
done51104

end0.0ms

sample9.8s

Algorithm
intervals
Results
5.1s3304×body1280valid
1.9s1885×body640valid
1.8s609×body2560valid
382.0ms763×body320valid
146.0ms1085×body80valid
101.0ms354×body160valid