Details

Time bar (total: 9.0s)

sample176.0ms

Algorithm
intervals
Results
82.0ms105×body1280valid
38.0ms68×body640valid
33.0ms19×body2560valid
7.0ms21×body320valid
4.0ms32×body80valid
3.0ms11×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.8b

localize9.0ms

Local error

Found 2 expressions with local error:

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

series142.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune85.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 14.9b

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

rewrite64.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:
11.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
3.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
43.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series738.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
90.0ms
(+ (tan x) (tan eps))
93.0ms
(* (tan x) (tan eps))
347.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
25001995

prune488.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 14.8b

localize24.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))
9.6b
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

rewrite36.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:
12.0ms
(* (+ (tan x) (tan eps)) (cos x))
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
11.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

series501.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (+ (tan x) (tan eps)) (cos x))
91.0ms
(* (tan x) (tan eps))
92.0ms
(* (tan x) (tan eps))
205.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

simplify77.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0527961
12405913
25002913

prune367.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

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

series266.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (pow (sin x) 2) (sin eps))
18.0ms
(pow (sin x) 2)
101.0ms
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
93.0ms
(* (tan x) (tan eps))

simplify58.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0443718
12026593
25001593

prune356.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

regimes182.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03122
13122

end0.0ms

sample5.3s

Algorithm
intervals
Results
2.6s3246×body1280valid
1.1s648×body2560valid
864.0ms1806×body640valid
253.0ms802×body320valid
145.0ms1125×body80valid
91.0ms373×body160valid