Details

Time bar (total: 6.6s)

analyze873.0ms

Algorithm
search

sample97.0ms

Algorithm
intervals
Results
46.0ms105×body1280valid
20.0ms24×body2560valid
11.0ms53×body640valid
3.0ms24×body320valid
2.0ms36×body80valid
1.0ms14×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.7b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

3.1b
(- (tan (+ x eps)) (tan x))
3.4b
(tan (+ x eps))

rewrite10.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:
6.0ms
(- (tan (+ x eps)) (tan x))
3.0ms
(tan (+ x eps))

series40.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(- (tan (+ x eps)) (tan x))
16.0ms
(tan (+ x eps))

simplify75.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (21.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune61.0ms

Filtered
25 candidates to 31 candidates (-24.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New23831
Fresh000
Picked101
Done000
Total24832

Merged error: 13.3b

Counts
32 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series199.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(- 1 (* (tan x) (tan eps)))
56.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
21.0ms
(* (tan x) (tan eps))
98.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify46.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04011066
115321014
250011003

prune157.0ms

Filtered
72 candidates to 97 candidates (-34.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New861197
Fresh437
Picked101
Done000
Total9114105

Merged error: 13.1b

Counts
105 → 14

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps))))))
0.2b
(exp (- 1 (* (tan x) (tan eps))))
0.2b
(* (tan x) (tan eps))
4.0b
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
32×add-sqr-sqrt
29×times-frac
25×add-cube-cbrt
20×log-pow
18×exp-prod
11×pow1
add-log-exp
add-exp-log add-cbrt-cube distribute-lft-out
tan-quot associate-/r*
associate-/l*
associate-*r* associate-*l* associate-/l/
sub-neg diff-log exp-sum rem-exp-log difference-of-squares
cbrt-undiv frac-times flip3-- frac-2neg flip3-+ exp-diff associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub flip-- cbrt-unprod flip-+ div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 106
Calls
4 calls:
9.0ms
(/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps))))))
3.0ms
(exp (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
17.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

series214.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps))))))
33.0ms
(exp (- 1 (* (tan x) (tan eps))))
22.0ms
(* (tan x) (tan eps))
102.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04281466
114201343
250021315

prune175.0ms

Filtered
79 candidates to 118 candidates (-49.4%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1162118
Fresh11213
Picked011
Done000
Total11715132

Merged error: 13.1b

Counts
132 → 15

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

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

series199.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x))))
25.0ms
(/ (* (sin x) (tan eps)) (cos x))
16.0ms
(* (sin x) (tan eps))
101.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x)))) (tan x))

simplify56.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
05001555
119451463
250011462

prune105.0ms

Filtered
83 candidates to 120 candidates (-44.6%)
Pruning

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New1182120
Fresh11213
Picked011
Done011
Total11916135

Merged error: 13.1b

Counts
135 → 16

regimes398.0ms

Accuracy

89.1% (0.8b remaining)

Error of 15.5b against oracle of 14.7b and baseline of 21.9b

bsearch263.0ms

Steps
ItersRangePoint
11
1.0708920349319885e-67
2.1983141014525456e-42
1.0303244886229992e-49
9
-8.594436925852833e-18
-3.1199035123669896e-24
-7.576183345293225e-22

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03828
13828

end0.0ms

analyze740.0ms

Algorithm
search

sample2.7s

Algorithm
intervals
Results
1.3s3357×body1280valid
568.0ms649×body2560valid
382.0ms1776×body640valid
107.0ms750×body320valid
50.0ms1111×body80valid
36.0ms357×body160valid

Profiling

Loading profile data...