Details

Time bar (total: 5.2s)

analyze806.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
18.7%81.2%0.1%6
21.9%78%0.1%7
23.4%76.5%0.1%8
24.2%75.7%0.1%9
24.6%75.3%0.1%10
24.8%75.1%0.1%11
24.9%75%0.1%12
24.9%75%0.1%13
25%75%0.1%14

sample86.0ms

Algorithm
intervals
Results
38.0ms103×body1280valid
21.0ms24×body2560valid
11.0ms52×body640valid
4.0ms27×body320valid
2.0ms38×body80valid
1.0ms12×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0717
1717

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.6b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.3b
(- (tan (+ x eps)) (tan x))
3.7b
(tan (+ x eps))

rewrite15.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 → 24
Calls
2 calls:
11.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series41.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
04924332
14924332

prune65.0ms

Filtered
25 candidates to 30 candidates (-20.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New22830
Fresh000
Picked101
Done000
Total23831

Merged error: 15.3b

Counts
31 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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 → 85
Calls
4 calls:
6.0ms
(+ (tan x) (tan eps))
8.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
11.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series203.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (tan x) (tan eps))
58.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
22.0ms
(* (tan x) (tan eps))
102.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify49.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
051091560

prune173.0ms

Filtered
74 candidates to 97 candidates (-31.1%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New841397
Fresh437
Picked101
Done000
Total8916105

Merged error: 15.2b

Counts
105 → 16

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

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

series197.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))))
9.0ms
(* (sin x) (sin eps))
23.0ms
(/ (* (sin x) (sin eps)) (* (cos x) (cos eps)))
104.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (sin eps)) (* (cos x) (cos eps))))) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049912589
149912589

prune146.0ms

Filtered
82 candidates to 120 candidates (-46.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1182120
Fresh9615
Picked101
Done000
Total1288136

Merged error: 13.1b

Counts
136 → 8

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (cos x))
0.2b
(* (/ (sin x) (cos x)) (/ (sin eps) (cos eps)))
0.2b
(* (/ (sin x) (cos x)) (/ (sin eps) (cos eps)))
3.8b
(+ (/ 1 (- 1 (* (/ (sin x) (cos x)) (/ (sin eps) (cos eps))))) -1)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
68×add-sqr-sqrt
55×times-frac
44×*-un-lft-identity
40×add-cube-cbrt
30×add-exp-log add-cbrt-cube
26×associate-*r* associate-*l*
cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod unswap-sqr
div-inv add-log-exp
difference-of-sqr--1 associate-/r* associate-/l*
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative distribute-lft-out
+-commutative quot-tan frac-2neg flip3-+ clear-num sum-log flip-+
Counts
4 → 144
Calls
4 calls:
4.0ms
(/ (sin x) (cos x))
11.0ms
(* (/ (sin x) (cos x)) (/ (sin eps) (cos eps)))
10.0ms
(* (/ (sin x) (cos x)) (/ (sin eps) (cos eps)))
9.0ms
(+ (/ 1 (- 1 (* (/ (sin x) (cos x)) (/ (sin eps) (cos eps))))) -1)

series88.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ (sin x) (cos x))
24.0ms
(* (/ (sin x) (cos x)) (/ (sin eps) (cos eps)))
22.0ms
(* (/ (sin x) (cos x)) (/ (sin eps) (cos eps)))
36.0ms
(+ (/ 1 (- 1 (* (/ (sin x) (cos x)) (/ (sin eps) (cos eps))))) -1)

simplify52.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
051292115

prune166.0ms

Filtered
115 candidates to 156 candidates (-35.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1542156
Fresh077
Picked011
Done000
Total15410164

Merged error: 13.1b

Counts
164 → 10

regimes144.0ms

Accuracy

0% (0.2b remaining)

Error of 12.9b against oracle of 12.7b and baseline of 12.9b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06243
16243

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s3218×body1280valid
578.0ms663×body2560valid
407.0ms1841×body640valid
114.0ms771×body320valid
52.0ms1132×body80valid
37.0ms375×body160valid

Profiling

Loading profile data...