Details

Time bar (total: 5.1s)

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

sample99.0ms

Algorithm
intervals
Results
49.0ms113×body1280valid
16.0ms18×body2560valid
14.0ms59×body640valid
6.0ms31×body80valid
4.0ms24×body320valid
1.0ms11×body160valid

simplify5.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: 39.4b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.5b
(- (tan (+ x eps)) (tan x))
3.6b
(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 → 24
Calls
2 calls:
6.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series39.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(- (tan (+ x eps)) (tan x))
15.0ms
(tan (+ x eps))

simplify49.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04924332
14924332

prune65.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New21930
Fresh000
Picked101
Done000
Total22931

Merged error: 14.5b

Counts
31 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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))
11.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series193.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
051091560

prune176.0ms

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

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New811697
Fresh628
Picked101
Done000
Total8818106

Merged error: 14.3b

Counts
106 → 18

localize20.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))
9.1b
(+ (* (+ (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))
11.0ms
(+ (* (+ (tan x) (tan eps)) (cos x)) (* (sin x) (+ (* (tan x) (tan eps)) -1)))

series120.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))
52.0ms
(+ (* (+ (tan x) (tan eps)) (cos x)) (* (sin x) (+ (* (tan x) (tan eps)) -1)))

simplify40.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
050151412

prune167.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New90595
Fresh12517
Picked101
Done000
Total10310113

Merged error: 0.2b

Counts
113 → 10

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
33×add-exp-log
32×add-cbrt-cube
23×add-sqr-sqrt
18×*-un-lft-identity
16×add-cube-cbrt associate-*l*
11×times-frac
10×prod-exp cbrt-unprod
pow1 cbrt-undiv div-exp
associate-*r*
frac-times associate-*r/ associate-*l/ associate-/l/
tan-quot flip3-+ flip-+ add-log-exp
unpow-prod-down pow-unpow unswap-sqr
pow-prod-down associate-/r/ *-commutative div-inv
distribute-rgt-in pow-to-exp flip3-- pow-pow frac-2neg distribute-lft-in pow-exp clear-num associate-/r* flip-- distribute-lft-out associate-/l* unpow2 sqr-pow
Counts
4 → 110
Calls
4 calls:
20.0ms
(/ (* (/ (sin eps) (cos eps)) (+ (cos x) (/ (pow (sin x) 2) (cos x)))) (* (- 1 (* (tan x) (tan eps))) (cos x)))
16.0ms
(* (/ (sin eps) (cos eps)) (+ (cos x) (/ (pow (sin x) 2) (cos x))))
5.0ms
(* (tan x) (tan eps))
3.0ms
(pow (sin x) 2)

series136.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(/ (* (/ (sin eps) (cos eps)) (+ (cos x) (/ (pow (sin x) 2) (cos x)))) (* (- 1 (* (tan x) (tan eps))) (cos x)))
34.0ms
(* (/ (sin eps) (cos eps)) (+ (cos x) (/ (pow (sin x) 2) (cos x))))
21.0ms
(* (tan x) (tan eps))
4.0ms
(pow (sin x) 2)

simplify39.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
053692052

prune164.0ms

Filtered
83 candidates to 122 candidates (-47.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New11210122
Fresh639
Picked101
Done000
Total11913132

Merged error: 0.0b

Counts
132 → 13

regimes187.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05133
15133

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s3297×body1280valid
550.0ms647×body2560valid
390.0ms1828×body640valid
105.0ms749×body320valid
51.0ms1096×body80valid
35.0ms383×body160valid

Profiling

Loading profile data...