Details

Time bar (total: 6.4s)

sample147.0ms

Algorithm
intervals
Results
69.0ms110×body1280valid
40.0ms28×body2560valid
15.0ms40×body640valid
5.0ms21×body320valid
3.0ms48×body80valid
2.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.5b

Counts
2 → 1

localize12.0ms

Local error

Found 2 expressions with local error:

1.0b
(- (tan (+ x eps)) (tan x))
2.4b
(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))

series136.0ms

Counts
2 → 6
Calls
2 calls:
89.0ms
(- (tan (+ x eps)) (tan x))
47.0ms
(tan (+ x eps))

simplify81.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune79.0ms

Filtered
31 candidates to 25 candidates (80.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New25631
Fresh000
Picked101
Done000
Total26632

Merged error: 15.7b

Counts
32 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1 (* (tan x) (tan eps)))
0.1b
(+ (tan x) (tan eps))
0.3b
(* (tan x) (tan eps))
2.2b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×*-un-lft-identity add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l*
sub-neg flip3-- diff-log flip-- difference-of-squares
+-commutative frac-times flip3-+ times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp sum-log *-commutative frac-sub cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- unswap-sqr
Counts
4 → 62
Calls
4 calls:
3.0ms
(- 1 (* (tan x) (tan eps)))
4.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
12.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series632.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(- 1 (* (tan x) (tan eps)))
90.0ms
(+ (tan x) (tan eps))
89.0ms
(* (tan x) (tan eps))
349.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify125.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0343662
11170624
24756614
35001614

prune205.0ms

Filtered
74 candidates to 56 candidates (75.7%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New641074
Fresh325
Picked101
Done000
Total681280

Merged error: 15.6b

Counts
80 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(exp (* (tan x) (tan eps)))
0.3b
(* (tan x) (tan eps))
2.2b
(- (/ (+ (tan x) (tan eps)) (- 1 (log (exp (* (tan x) (tan eps)))))) (tan x))
2.8b
(log (exp (* (tan x) (tan eps))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
*-un-lft-identity add-log-exp
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube
tan-quot
log-prod associate-*r* associate-*l* log-pow
exp-prod exp-to-pow difference-of-squares
frac-times sub-neg flip3-- times-frac diff-log associate-*r/ rem-log-exp pow-prod-down associate-*l/ prod-exp *-commutative frac-sub flip-- cbrt-unprod rem-exp-log distribute-lft-out-- unswap-sqr
Counts
4 → 61
Calls
4 calls:
4.0ms
(exp (* (tan x) (tan eps)))
5.0ms
(* (tan x) (tan eps))
17.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (log (exp (* (tan x) (tan eps)))))) (tan x))
2.0ms
(log (exp (* (tan x) (tan eps))))

series651.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(exp (* (tan x) (tan eps)))
91.0ms
(* (tan x) (tan eps))
352.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (log (exp (* (tan x) (tan eps)))))) (tan x))
93.0ms
(log (exp (* (tan x) (tan eps))))

simplify77.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0271685
1808627
22809613
35001613

prune200.0ms

Filtered
73 candidates to 55 candidates (75.3%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New73073
Fresh01111
Picked011
Done000
Total731285

Merged error: 15.6b

Counts
85 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan x) (tan eps))
0.2b
(exp (- 1 (* (tan x) (tan eps))))
0.3b
(* (tan x) (tan eps))
2.2b
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×*-un-lft-identity add-log-exp
tan-quot add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
exp-prod associate-*r* associate-*l*
sub-neg diff-log exp-sum rem-exp-log difference-of-squares
+-commutative frac-times flip3-- flip3-+ times-frac exp-diff associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp sum-log *-commutative frac-sub flip-- cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- unswap-sqr
Counts
4 → 65
Calls
4 calls:
6.0ms
(+ (tan x) (tan eps))
7.0ms
(exp (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
16.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

series682.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(+ (tan x) (tan eps))
138.0ms
(exp (- 1 (* (tan x) (tan eps))))
91.0ms
(* (tan x) (tan eps))
361.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

simplify101.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0345719
11088666
23871654
35001654

prune197.0ms

Filtered
77 candidates to 59 candidates (76.6%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New77077
Fresh01010
Picked011
Done011
Total771289

Merged error: 15.6b

Counts
89 → 12

regimes114.0ms

Accuracy

75.1% (1.8b remaining)

Error of 15.9b against oracle of 14.1b and baseline of 21.4b

bsearch128.0ms

Steps
ItersRangePoint
8
9.0699185804222e-63
4.453774208921603e-58
1.203511472582379e-60
8
-4.090212744229217e-170
-1.3798267575409003e-173
-4.01563370897399e-170

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03528
13528

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s3309×body1280valid
560.0ms645×body2560valid
392.0ms1846×body640valid
112.0ms742×body320valid
48.0ms1106×body80valid
34.0ms352×body160valid

Profiling

Loading profile data...