Details

Time bar (total: 4.3s)

sample88.0ms

Algorithm
intervals
Results
42.0ms110×body1280valid
13.0ms16×body2560valid
12.0ms56×body640valid
6.0ms18×body320valid
2.0ms43×body80valid
1.0ms13×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.4b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.7b
(- (tan (+ x eps)) (tan x))
3.0b
(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))

series43.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (21.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune52.0ms

Filtered
31 candidates to 25 candidates (19.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New25631
Fresh000
Picked101
Done000
Total26632

Merged error: 12.9b

Counts
32 → 6

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))
1.7b
(- (/ (+ (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:
7.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))

series190.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03971050
114321005
25001994

prune143.0ms

Filtered
98 candidates to 74 candidates (24.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New89998
Fresh325
Picked101
Done000
Total9311104

Merged error: 12.8b

Counts
104 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(exp (* (tan x) (tan eps)))
0.2b
(* (tan x) (tan eps))
1.7b
(- (/ (+ (tan x) (tan eps)) (- 1 (log (exp (* (tan x) (tan eps)))))) (tan x))
2.7b
(log (exp (* (tan x) (tan eps))))

rewrite35.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:
6.0ms
(exp (* (tan x) (tan eps)))
7.0ms
(* (tan x) (tan eps))
18.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (log (exp (* (tan x) (tan eps)))))) (tan x))
2.0ms
(log (exp (* (tan x) (tan eps))))

series221.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(exp (* (tan x) (tan eps)))
21.0ms
(* (tan x) (tan eps))
133.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (log (exp (* (tan x) (tan eps)))))) (tan x))
37.0ms
(log (exp (* (tan x) (tan eps))))

simplify73.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0271685
1808627
22809613
35001613

prune110.0ms

Filtered
73 candidates to 53 candidates (27.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New73073
Fresh01010
Picked011
Done000
Total731184

Merged error: 12.8b

Counts
84 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (+ (tan x) (tan eps)) (cos x))
0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
8.0b
(- (* (+ (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)))

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

simplify68.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0527955
12405907
25002907

prune120.0ms

Filtered
94 candidates to 72 candidates (23.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New87794
Fresh639
Picked101
Done011
Total9411105

Merged error: 0.1b

Counts
105 → 11

regimes155.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02921
12921

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s3285×body1280valid
537.0ms621×body2560valid
385.0ms1805×body640valid
109.0ms804×body320valid
48.0ms1103×body80valid
35.0ms382×body160valid

Profiling

Loading profile data...