Details

Time bar (total: 10.5s)

sample2.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 24.993896%

Results
39.0ms104×body1280valid
16.0ms73×body640valid
14.0ms17×body2560valid
2.0ms15×body320valid
1.0ms32×body80valid
1.0ms15×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.1b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

1.4b
(- (tan (+ x eps)) (tan x))
4.2b
(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 → 25
Calls
2 calls:
7.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series44.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune65.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New23831
Fresh000
Picked101
Done000
Total24832

Merged error: 17.9b

Counts
32 → 8

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

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

series219.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
23.0ms
(+ (tan x) (tan eps))
24.0ms
(* (tan x) (tan eps))
109.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03971050
114321005
25001994

prune176.0ms

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

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New851398
Fresh347
Picked101
Done000
Total8917106

Merged error: 17.8b

Counts
106 → 17

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

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

series433.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (tan x) (tan eps))
23.0ms
(* (tan x) (tan eps))
35.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
351.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify85.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
05991352
130211220
250011220

prune186.0ms

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

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New1157122
Fresh51116
Picked101
Done000
Total12118139

Merged error: 17.8b

Counts
139 → 18

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.4b
(pow (* (tan x) (tan eps)) 6)
2.4b
(- (* (/ (+ (tan x) (tan eps)) (- 1 (cbrt (pow (* (tan x) (tan eps)) 6)))) (+ 1 (* (tan x) (tan eps)))) (tan x))
15.2b
(cbrt (pow (* (tan x) (tan eps)) 6))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
tan-quot pow1 add-exp-log
add-cube-cbrt *-un-lft-identity
add-cbrt-cube add-log-exp
cbrt-prod frac-sub
frac-times pow-unpow associate-*r/ associate-*r* associate-*l*
unpow-prod-down pow-pow flip3-+ pow-prod-down associate-*l/ pow-exp prod-exp associate--l+ flip-+ sqr-pow
distribute-rgt-in pow-to-exp sub-neg flip3-- distribute-lft-in pow1/3 diff-log *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 70
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
5.0ms
(pow (* (tan x) (tan eps)) 6)
16.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (cbrt (pow (* (tan x) (tan eps)) 6)))) (+ 1 (* (tan x) (tan eps)))) (tan x))
4.0ms
(cbrt (pow (* (tan x) (tan eps)) 6))

series451.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (tan x) (tan eps))
46.0ms
(pow (* (tan x) (tan eps)) 6)
346.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (cbrt (pow (* (tan x) (tan eps)) 6)))) (+ 1 (* (tan x) (tan eps)))) (tan x))
33.0ms
(cbrt (pow (* (tan x) (tan eps)) 6))

simplify75.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05861120
126421019
250011011

prune361.0ms

Filtered
62 candidates to 82 candidates (-32.3%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New79382
Fresh31417
Picked101
Done000
Total8317100

Merged error: 17.8b

Counts
100 → 17

regimes225.0ms

Accuracy

87.1% (0.9b remaining)

Error of 16.0b against oracle of 15.1b and baseline of 22.1b

bsearch112.0ms

Steps
ItersRangePoint
9
2.1593211035053825e-38
2.900356889188494e-31
1.6626953811672289e-37
9
-4.378614731320926e-61
-2.3207283139322119e-66
-1.5973706195668936e-61

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
073100
177100
284100
388100
494100
5100100
6100100

end0.0ms

sample5.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 24.993896%

Results
1.3s3271×body1280valid
600.0ms694×body2560valid
387.0ms1782×body640valid
114.0ms788×body320valid
49.0ms1099×body80valid
35.0ms366×body160valid

Profiling

Loading profile data...