Details

Time bar (total: 4.3s)

sample78.0ms

Algorithm
intervals
Results
40.0ms113×body1280valid
11.0ms49×body640valid
10.0ms12×body2560valid
4.0ms30×body320valid
2.0ms43×body80valid
1.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0107
1107

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.3b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

2.2b
(- (tan (+ x eps)) (tan x))
4.1b
(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))

series42.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(- (tan (+ x eps)) (tan x))
19.0ms
(tan (+ x eps))

simplify61.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
04947335
14947335

prune59.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New24731
Fresh000
Picked101
Done000
Total25732

Merged error: 15.8b

Counts
32 → 7

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

rewrite29.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:
7.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
4.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
11.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series192.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
20.0ms
(+ (tan x) (tan eps))
21.0ms
(* (tan x) (tan eps))
97.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
052811555

prune158.0ms

Filtered
74 candidates to 98 candidates (-32.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New881098
Fresh336
Picked101
Done000
Total9213105

Merged error: 15.6b

Counts
105 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(exp (tan x))
0.2b
(pow (exp (tan x)) (tan eps))
3.0b
(log (pow (exp (tan x)) (tan eps)))
3.1b
(- (/ (+ (tan x) (tan eps)) (- 1 (log (pow (exp (tan x)) (tan eps))))) (tan x))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt
log-prod add-log-exp
unpow-prod-down exp-prod
pow1 add-exp-log
pow-pow add-cbrt-cube
pow-unpow rem-log-exp
pow-to-exp pow-exp difference-of-squares sqr-pow
tan-quot sub-neg flip3-- times-frac diff-log log-pow frac-sub flip-- rem-exp-log distribute-lft-out--
Counts
4 → 65
Calls
4 calls:
2.0ms
(exp (tan x))
4.0ms
(pow (exp (tan x)) (tan eps))
2.0ms
(log (pow (exp (tan x)) (tan eps)))
15.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (log (pow (exp (tan x)) (tan eps))))) (tan x))

series200.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(exp (tan x))
32.0ms
(pow (exp (tan x)) (tan eps))
37.0ms
(log (pow (exp (tan x)) (tan eps)))
122.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (log (pow (exp (tan x)) (tan eps))))) (tan x))

simplify52.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
05002923

prune113.0ms

Filtered
56 candidates to 77 candidates (-37.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New76177
Fresh4812
Picked011
Done000
Total801090

Merged error: 13.4b

Counts
90 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×tan-quot
12×*-un-lft-identity
11×associate-*l/
10×pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube
associate-*r* frac-add
associate-*r/
flip3-+ flip-+
add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
frac-times associate-+r+
+-commutative distribute-rgt-in distribute-lft-in sum-log distribute-lft-out
Counts
4 → 83
Calls
4 calls:
7.0ms
(* (+ (tan x) (tan eps)) (cos x))
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
10.0ms
(+ (* (+ (tan x) (tan eps)) (cos x)) (* (sin x) (+ (* (tan x) (tan eps)) -1)))

series119.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* (+ (tan x) (tan eps)) (cos x))
21.0ms
(* (tan x) (tan eps))
21.0ms
(* (tan x) (tan eps))
51.0ms
(+ (* (+ (tan x) (tan eps)) (cos x)) (* (sin x) (+ (* (tan x) (tan eps)) -1)))

simplify41.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
050881412

prune113.0ms

Filtered
74 candidates to 95 candidates (-28.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New91495
Fresh538
Picked101
Done011
Total978105

Merged error: 0.2b

Counts
105 → 8

regimes131.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02427
12427

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.3s3359×body1280valid
543.0ms613×body2560valid
398.0ms1836×body640valid
105.0ms752×body320valid
48.0ms1093×body80valid
33.0ms347×body160valid

Profiling

Loading profile data...