Details

Time bar (total: 9.7s)

analyze2.4s

Algorithm
search
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 24.993896%

sample87.0ms

Algorithm
intervals
Results
42.0ms111×body1280valid
16.0ms19×body2560valid
13.0ms61×body640valid
3.0ms20×body320valid
1.0ms31×body80valid
1.0ms14×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.5b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.8b
(- (tan (+ x eps)) (tan x))
3.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))
4.0ms
(tan (+ x eps))

series43.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune77.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: 15.5b

Counts
32 → 9

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))
3.2b
(- (/ (+ (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 → 86
Calls
4 calls:
7.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
4.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
14.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series202.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03971050
114321005
25001994

prune176.0ms

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

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New831598
Fresh448
Picked101
Done000
Total8819107

Merged error: 15.4b

Counts
107 → 19

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
45×tan-quot
21×frac-times
20×add-exp-log add-cbrt-cube
19×pow-prod-down
15×associate-*r/
14×associate-*l/
12×add-sqr-sqrt
10×prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
add-log-exp
frac-sub
pow-sqr pow-prod-up
*-commutative
flip3-+ pow-plus associate--l+ flip-+ unswap-sqr
pow2 distribute-rgt-in sub-neg flip3-- distribute-lft-in diff-log swap-sqr flip--
Counts
4 → 110
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
10.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
11.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

series403.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (tan x) (tan eps))
22.0ms
(* (tan x) (tan eps))
34.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
324.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify80.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05991352
130211220
250011220

prune183.0ms

Filtered
76 candidates to 122 candidates (-60.5%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New1184122
Fresh31518
Picked011
Done000
Total12120141

Merged error: 15.4b

Counts
141 → 20

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
87×pow1
86×associate-*l/
82×tan-quot
52×frac-times
37×pow-prod-down
33×add-exp-log add-cbrt-cube
28×associate-*r/
22×frac-sub
21×flip3-+ flip-+
19×prod-exp cbrt-unprod
12×flip3-- flip--
frac-add
pow-sqr pow-prod-up
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r*
pow-plus
associate-*l* *-commutative
pow2 swap-sqr
sub-neg diff-log
Counts
4 → 161
Calls
4 calls:
11.0ms
(* (* (+ (tan x) (tan eps)) (+ 1 (* (tan x) (tan eps)))) (cos x))
10.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
10.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
13.0ms
(- (* (* (+ (tan x) (tan eps)) (+ 1 (* (tan x) (tan eps)))) (cos x)) (* (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))) (sin x)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (* (+ (tan x) (tan eps)) (+ 1 (* (tan x) (tan eps)))) (cos x))
30.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
31.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
126.0ms
(- (* (* (+ (tan x) (tan eps)) (+ 1 (* (tan x) (tan eps)))) (cos x)) (* (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps)))) (sin x)))

simplify55.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
013323359
150013192

prune231.0ms

Filtered
102 candidates to 173 candidates (-69.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1685173
Fresh15318
Picked101
Done011
Total1849193

Merged error: 0.2b

Counts
193 → 9

regimes165.0ms

Accuracy

0% (0.3b remaining)

Error of 0.5b against oracle of 0.2b and baseline of 0.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04745
14745

end0.0ms

analyze2.4s

Algorithm
search
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 24.993896%

sample2.6s

Algorithm
intervals
Results
1.3s3241×body1280valid
564.0ms659×body2560valid
400.0ms1840×body640valid
106.0ms768×body320valid
50.0ms1150×body80valid
32.0ms342×body160valid

Profiling

Loading profile data...