Details

Time bar (total: 5.9s)

analyze806.0ms

Algorithm
search

sample86.0ms

Algorithm
intervals
Results
36.0ms92×body1280valid
18.0ms20×body2560valid
16.0ms70×body640valid
4.0ms26×body320valid
2.0ms37×body80valid
1.0ms11×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.0b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

1.1b
(- (tan (+ x eps)) (tan x))
2.9b
(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))

series44.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune65.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New22931
Fresh000
Picked101
Done000
Total23932

Merged error: 14.4b

Counts
32 → 9

localize12.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.3b
(* (tan x) (tan eps))
2.2b
(- (/ (+ (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:
4.0ms
(+ (tan x) (tan eps))
7.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))

series193.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (tan x) (tan eps))
54.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
24.0ms
(* (tan x) (tan eps))
96.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03971050
114321005
25001994

prune158.0ms

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

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New881098
Fresh448
Picked101
Done000
Total9314107

Merged error: 14.3b

Counts
107 → 14

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series118.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0527955
12405907
25002907

prune149.0ms

Filtered
72 candidates to 94 candidates (-30.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New90494
Fresh10313
Picked101
Done000
Total1017108

Merged error: 0.1b

Counts
108 → 7

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
36×add-exp-log
23×add-cbrt-cube
12×add-sqr-sqrt prod-exp
10×add-cube-cbrt *-un-lft-identity div-exp
pow1
cbrt-undiv cbrt-unprod
tan-quot times-frac associate-/r* add-log-exp
pow-to-exp unpow-prod-down pow-unpow associate-*r* associate-*l* pow-exp
frac-2neg clear-num div-inv associate-/l*
frac-times pow-pow associate-*r/ pow-prod-down associate-*l/ associate-/r/ cos-mult *-commutative sin-cos-mult associate-/l/ unpow2 unswap-sqr sqr-pow
Counts
4 → 87
Calls
4 calls:
5.0ms
(/ (* (sin eps) (cos x)) (cos eps))
8.0ms
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
5.0ms
(* (tan x) (tan eps))
3.0ms
(pow (sin x) 2)

series62.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(/ (* (sin eps) (cos x)) (cos eps))
24.0ms
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
21.0ms
(* (tan x) (tan eps))
4.0ms
(pow (sin x) 2)

simplify62.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0499716
12434579
25001579

prune127.0ms

Filtered
64 candidates to 99 candidates (-54.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New891099
Fresh156
Picked101
Done000
Total9115106

Merged error: 0.0b

Counts
106 → 15

regimes209.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02923
12923

end0.0ms

analyze799.0ms

Algorithm
search

sample2.7s

Algorithm
intervals
Results
1.3s3217×body1280valid
575.0ms648×body2560valid
415.0ms1834×body640valid
115.0ms774×body320valid
59.0ms1168×body80valid
38.0ms359×body160valid

Profiling

Loading profile data...