Details

Time bar (total: 5.7s)

analyze751.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

sample135.0ms

Algorithm
intervals
Results
61.0ms103×body1280valid
28.0ms24×body2560valid
21.0ms61×body640valid
6.0ms22×body320valid
3.0ms37×body80valid
2.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
0777
1777

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.2b

Counts
2 → 1

localize14.0ms

Local error

Found 2 expressions with local error:

0.9b
(- (tan (+ x eps)) (tan x))
5.3b
(tan (+ x eps))

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

series52.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
04905332
14905332

prune65.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New23730
Fresh000
Picked101
Done000
Total24731

Merged error: 11.9b

Counts
31 → 7

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

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

series197.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
055161532

prune178.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New871097
Fresh426
Picked101
Done000
Total9212104

Merged error: 11.8b

Counts
104 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

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

series161.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (tan x) (tan eps))
22.0ms
(/ (* (tan x) (sin eps)) (cos eps))
15.0ms
(* (tan x) (sin eps))
103.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

simplify62.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049431069
149431069

prune149.0ms

Filtered
64 candidates to 81 candidates (-26.6%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New79281
Fresh11011
Picked101
Done000
Total811293

Merged error: 11.8b

Counts
93 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
53×tan-quot
25×pow1 frac-times associate-*r/
20×add-exp-log add-cbrt-cube
13×add-sqr-sqrt
12×associate-*l/
10×add-cube-cbrt *-un-lft-identity pow-prod-down prod-exp cbrt-unprod
associate-*l*
add-log-exp
associate-*r* frac-sub
swap-sqr *-commutative
flip3-+ associate--l+ flip-+ unswap-sqr
pow2 distribute-rgt-in sub-neg flip3-- distribute-lft-in pow-plus diff-log pow-sqr pow-prod-up flip--
Counts
4 → 108
Calls
4 calls:
8.0ms
(* (tan x) (* (tan eps) (tan eps)))
13.0ms
(* (tan x) (* (tan x) (* (tan eps) (tan eps))))
5.0ms
(* (tan eps) (tan eps))
12.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (* (tan x) (* (tan eps) (tan eps)))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

series411.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (tan x) (* (tan eps) (tan eps)))
54.0ms
(* (tan x) (* (tan x) (* (tan eps) (tan eps))))
12.0ms
(* (tan eps) (tan eps))
317.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (* (tan x) (* (tan eps) (tan eps)))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify36.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
051601988

prune136.0ms

Filtered
76 candidates to 120 candidates (-57.9%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1155120
Fresh2911
Picked101
Done000
Total11814132

Merged error: 11.7b

Counts
132 → 14

regimes221.0ms

Accuracy

85.8% (1.0b remaining)

Error of 15.3b against oracle of 14.2b and baseline of 21.5b

bsearch88.0ms

Steps
ItersRangePoint
11
3.168576286413647e-95
1.26152579152076e-72
1.240783246872505e-72
10
-0.00015952590304140683
-2.3349431189946093e-18
-1.3369941042866534e-17

simplify14.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (13.0ms)

IterNodesCost
0543108
1543108

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.4s3349×body1280valid
579.0ms648×body2560valid
410.0ms1803×body640valid
116.0ms786×body320valid
53.0ms1086×body80valid
35.0ms328×body160valid

Profiling

Loading profile data...