Details

Time bar (total: 8.3s)

sample91.0ms

Algorithm
intervals
Results
32.0ms88×body1280valid
20.0ms24×body2560valid
18.0ms61×body640valid
4.0ms30×body320valid
2.0ms40×body80valid
1.0ms13×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune4.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: 35.6b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.1b
(- (tan (+ x eps)) (tan x))
4.1b
(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:
6.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series160.0ms

Counts
2 → 6
Calls
2 calls:
100.0ms
(- (tan (+ x eps)) (tan x))
60.0ms
(tan (+ x eps))

simplify78.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune107.0ms

Filtered
31 candidates to 25 candidates (19.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New22931
Fresh000
Picked101
Done000
Total23932

Merged error: 15.6b

Counts
32 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan x) (tan eps))
0.1b
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
0.2b
(* (tan x) (tan eps))
2.4b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

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

series871.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(+ (tan x) (tan eps))
245.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
111.0ms
(* (tan x) (tan eps))
407.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03971050
114321005
25001994

prune529.0ms

Filtered
98 candidates to 74 candidates (24.5%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New871198
Fresh448
Picked101
Done000
Total9215107

Merged error: 15.5b

Counts
107 → 15

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x))))
0.2b
(* (sin x) (tan eps))
0.2b
(/ (* (sin x) (tan eps)) (cos x))
2.4b
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x)))) (tan x))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
42×add-sqr-sqrt
28×times-frac
20×add-cube-cbrt
13×add-exp-log add-cbrt-cube
12×difference-of-squares
associate-/r*
distribute-lft-out
pow1 distribute-lft-out-- add-log-exp
tan-quot associate-/l*
associate-/l/
cbrt-undiv div-exp associate-*r* associate-*l*
flip3-- frac-2neg associate-*r/ prod-exp clear-num associate-/r/ flip-- cbrt-unprod div-inv
sub-neg flip3-+ diff-log pow-prod-down frac-add *-commutative frac-sub flip-+ unswap-sqr
Counts
4 → 108
Calls
4 calls:
10.0ms
(/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x))))
5.0ms
(* (sin x) (tan eps))
6.0ms
(/ (* (sin x) (tan eps)) (cos x))
18.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x)))) (tan x))

series909.0ms

Counts
4 → 12
Calls
4 calls:
258.0ms
(/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x))))
92.0ms
(* (sin x) (tan eps))
124.0ms
(/ (* (sin x) (tan eps)) (cos x))
434.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x)))) (tan x))

simplify57.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05001555
119451463
250011462

prune943.0ms

Filtered
120 candidates to 82 candidates (31.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1155120
Fresh41014
Picked101
Done000
Total12015135

Merged error: 15.5b

Counts
135 → 15

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.3b
(pow (* (tan x) (tan eps)) 3)
2.4b
(- (/ (+ (tan x) (tan eps)) (- 1 (cbrt (pow (* (tan x) (tan eps)) 3)))) (tan x))
25.8b
(cbrt (pow (* (tan x) (tan eps)) 3))

rewrite39.0ms

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

series750.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(* (tan x) (tan eps))
137.0ms
(pow (* (tan x) (tan eps)) 3)
400.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (cbrt (pow (* (tan x) (tan eps)) 3)))) (tan x))
106.0ms
(cbrt (pow (* (tan x) (tan eps)) 3))

simplify53.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0384787
11733744
25002743

prune547.0ms

Filtered
94 candidates to 66 candidates (29.8%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New94094
Fresh01414
Picked011
Done000
Total9415109

Merged error: 15.5b

Counts
109 → 15

regimes220.0ms

Accuracy

87.5% (0.9b remaining)

Error of 15.4b against oracle of 14.4b and baseline of 21.8b

bsearch111.0ms

Steps
ItersRangePoint
7
4.8914605440667675e-73
6.934968998500573e-71
6.6299322689363935e-71
8
-1.3983785225698383e-32
-6.5967515378205915e-37
-9.865923450018125e-33

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04336
14336

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.3s3312×body1280valid
544.0ms630×body2560valid
391.0ms1829×body640valid
101.0ms748×body320valid
48.0ms1136×body80valid
32.0ms345×body160valid

Profiling

Loading profile data...