Details

Time bar (total: 6.7s)

sample91.0ms

Algorithm
intervals
Results
48.0ms121×body1280valid
16.0ms18×body2560valid
11.0ms49×body640valid
4.0ms31×body320valid
1.0ms28×body80valid
1.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.2b

Counts
2 → 1

localize12.0ms

Local error

Found 2 expressions with local error:

0.5b
(- (tan (+ x eps)) (tan x))
3.5b
(tan (+ x eps))

rewrite11.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:
7.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series139.0ms

Counts
2 → 6
Calls
2 calls:
90.0ms
(- (tan (+ x eps)) (tan x))
49.0ms
(tan (+ x eps))

simplify79.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune92.0ms

Filtered
31 candidates to 25 candidates (80.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New23831
Fresh000
Picked101
Done000
Total24832

Merged error: 15.1b

Counts
32 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.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:
3.0ms
(- 1 (* (tan x) (tan eps)))
5.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
12.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series644.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(- 1 (* (tan x) (tan eps)))
90.0ms
(+ (tan x) (tan eps))
91.0ms
(* (tan x) (tan eps))
359.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify120.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0343662
11170624
24756614
35001614

prune227.0ms

Filtered
74 candidates to 56 candidates (75.7%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New571774
Fresh347
Picked101
Done000
Total612182

Merged error: 15.0b

Counts
82 → 21

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

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

series768.0ms

Counts
4 → 12
Calls
4 calls:
268.0ms
(+ (tan x) (tan eps))
43.0ms
(* (sin x) (sin eps))
100.0ms
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
357.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (sin eps)) (* (cos x) (cos eps))))) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0427917
11787792
25001792

prune295.0ms

Filtered
83 candidates to 60 candidates (72.3%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New79483
Fresh21820
Picked101
Done000
Total8222104

Merged error: 15.0b

Counts
104 → 22

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (tan x) (tan eps))
0.2b
(pow (- 1 (* (tan x) (tan eps))) 3)
0.2b
(* (tan x) (tan eps))
3.3b
(- (/ (+ (tan x) (tan eps)) (cbrt (pow (- 1 (* (tan x) (tan eps))) 3))) (tan x))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
13×*-un-lft-identity
add-cube-cbrt
add-log-exp
tan-quot pow1 add-exp-log add-cbrt-cube
difference-of-squares
times-frac
cbrt-prod unpow-prod-down cube-prod
pow-unpow associate-*r* associate-*l*
cube-div flip3-- flip-- sqr-pow
+-commutative cube-mult frac-times pow-to-exp sub-neg pow-pow flip3-+ diff-log unpow3 associate-*r/ pow-prod-down associate-*l/ frac-add pow-exp prod-exp sum-log *-commutative frac-sub cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- rem-cube-cbrt unswap-sqr
Counts
4 → 79
Calls
4 calls:
5.0ms
(+ (tan x) (tan eps))
4.0ms
(pow (- 1 (* (tan x) (tan eps))) 3)
6.0ms
(* (tan x) (tan eps))
28.0ms
(- (/ (+ (tan x) (tan eps)) (cbrt (pow (- 1 (* (tan x) (tan eps))) 3))) (tan x))

series657.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(+ (tan x) (tan eps))
134.0ms
(pow (- 1 (* (tan x) (tan eps))) 3)
88.0ms
(* (tan x) (tan eps))
347.0ms
(- (/ (+ (tan x) (tan eps)) (cbrt (pow (- 1 (* (tan x) (tan eps))) 3))) (tan x))

simplify55.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0445938
11736873
25001863

prune212.0ms

Filtered
91 candidates to 61 candidates (67.0%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New88391
Fresh31821
Picked101
Done000
Total9221113

Merged error: 15.0b

Counts
113 → 21

regimes237.0ms

Accuracy

86.5% (1.0b remaining)

Error of 15.6b against oracle of 14.7b and baseline of 21.8b

bsearch158.0ms

Steps
ItersRangePoint
10
4.9601884090646844e-27
2.767658890006075e-15
6.821703138672794e-19
9
-1.0002863198165765e-75
-3.669787644181221e-84
-7.666889808720746e-78

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05163
15163

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.3s3290×body1280valid
588.0ms677×body2560valid
411.0ms1826×body640valid
109.0ms773×body320valid
47.0ms1063×body80valid
35.0ms371×body160valid

Profiling

Loading profile data...