Details

Time bar (total: 5.4s)

analyze799.0ms (14.7%)

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

sample99.0ms (1.8%)

Algorithm
intervals
Results
45.0ms112×body1280valid
25.0ms29×body2560valid
15.0ms55×body640valid
3.0ms20×body320valid
2.0ms36×body80valid
0.0msbody160valid

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0717
1717

prune6.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.2b

Counts
2 → 1

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.3b
(- (tan (+ x eps)) (tan x))
5.9b
(tan (+ x eps))

rewrite11.0ms (0.2%)

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:

6.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series42.0ms (0.8%)

Counts
2 → 6
Calls

2 calls:

26.0ms
(- (tan (+ x eps)) (tan x))
16.0ms
(tan (+ x eps))

simplify46.0ms (0.9%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
04924332
14924332

prune65.0ms (1.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New22830
Fresh000
Picked101
Done000
Total23831

Merged error: 17.3b

Counts
31 → 8

localize11.0ms (0.2%)

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

rewrite31.0ms (0.6%)

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:

12.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))
8.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
4.0ms
(+ (tan x) (tan eps))

series192.0ms (3.5%)

Counts
4 → 12
Calls

4 calls:

96.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))
53.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
22.0ms
(* (tan x) (tan eps))
20.0ms
(+ (tan x) (tan eps))

simplify50.0ms (0.9%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
051091560

prune189.0ms (3.5%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New851297
Fresh437
Picked101
Done000
Total9015105

Merged error: 17.2b

Counts
105 → 15

localize24.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite47.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
23×add-exp-log add-cbrt-cube
16×*-un-lft-identity
13×add-sqr-sqrt
11×add-cube-cbrt
times-frac add-log-exp
associate-*r*
pow1 cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l*
associate-*l* frac-add associate-/r/ cos-mult div-inv
frac-2neg clear-num associate-/r* sum-log distribute-lft-out
+-commutative associate-+r- sub-neg associate-+r+ flip3-- flip3-+ diff-log associate-*r/ pow-prod-down *-commutative frac-sub flip-- flip-+ distribute-lft-out-- unswap-sqr
Counts
4 → 91
Calls

4 calls:

25.0ms
(+ (/ (sin x) (* (cos x) (- 1 (* (sin eps) (/ (sin x) (* (cos x) (cos eps))))))) (- (/ (sin eps) (* (cos eps) (- 1 (* (sin eps) (/ (sin x) (* (cos x) (cos eps))))))) (/ (sin x) (cos x))))
9.0ms
(* (sin eps) (/ (sin x) (* (cos x) (cos eps))))
5.0ms
(/ (sin x) (* (cos x) (cos eps)))
5.0ms
(/ (sin x) (* (cos x) (cos eps)))

series151.0ms (2.8%)

Counts
4 → 12
Calls

4 calls:

99.0ms
(+ (/ (sin x) (* (cos x) (- 1 (* (sin eps) (/ (sin x) (* (cos x) (cos eps))))))) (- (/ (sin eps) (* (cos eps) (- 1 (* (sin eps) (/ (sin x) (* (cos x) (cos eps))))))) (/ (sin x) (cos x))))
22.0ms
(* (sin eps) (/ (sin x) (* (cos x) (cos eps))))
16.0ms
(/ (sin x) (* (cos x) (cos eps)))
14.0ms
(/ (sin x) (* (cos x) (cos eps)))

simplify54.0ms (1%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049902269
149902269

prune207.0ms (3.8%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New985103
Fresh21214
Picked101
Done000
Total10117118

Merged error: 17.1b

Counts
118 → 17

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.6b
(cbrt (tan eps))
0.6b
(cbrt (tan eps))
0.6b
(cbrt (tan eps))
1.6b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (* (cbrt (tan eps)) (cbrt (tan eps)))) (cbrt (tan eps))))) (tan x))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
cbrt-prod *-un-lft-identity
add-cube-cbrt
add-log-exp
tan-quot pow1 add-exp-log add-cbrt-cube
cbrt-div pow1/3
difference-of-squares
sub-neg flip3-- times-frac diff-log frac-sub flip-- distribute-lft-out--
Counts
4 → 51
Calls

4 calls:

13.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (* (cbrt (tan eps)) (cbrt (tan eps)))) (cbrt (tan eps))))) (tan x))
2.0ms
(cbrt (tan eps))
2.0ms
(cbrt (tan eps))
2.0ms
(cbrt (tan eps))

series175.0ms (3.2%)

Counts
4 → 12
Calls

4 calls:

101.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (* (cbrt (tan eps)) (cbrt (tan eps)))) (cbrt (tan eps))))) (tan x))
25.0ms
(cbrt (tan eps))
24.0ms
(cbrt (tan eps))
24.0ms
(cbrt (tan eps))

simplify44.0ms (0.8%)

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
04868730
14868730

prune74.0ms (1.4%)

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New63063
Fresh01616
Picked011
Done000
Total631780

Merged error: 17.1b

Counts
80 → 17

regimes253.0ms (4.7%)

Accuracy

Total 1.1b remaining (7.1%)

Threshold costs 0b (0%)

bsearch74.0ms (1.4%)

Steps
ItersRangePoint
8
5.2770683470140184e-73
3.334381069793267e-68
3.2766669081460135e-68
6
-5.131411321846519e-113
-4.639803412087382e-114
-5.059410338124564e-113

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06648
16648

end0.0ms (0%)

sample2.7s (50.4%)

Algorithm
intervals
Results
1.3s3328×body1280valid
563.0ms640×body2560valid
432.0ms1848×body640valid
115.0ms749×body320valid
54.0ms1114×body80valid
32.0ms321×body160valid

Profiling

Loading profile data...