Details

Time bar (total: 6.3s)

sample88.0ms

Algorithm
intervals
Results
34.0ms92×body1280valid
19.0ms22×body2560valid
13.0ms61×body640valid
7.0ms27×body320valid
2.0ms42×body80valid
1.0ms12×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: 35.9b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

series41.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (21.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune94.0ms

Filtered
31 candidates to 25 candidates (19.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New24731
Fresh000
Picked101
Done000
Total25732

Merged error: 12.9b

Counts
32 → 7

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

rewrite32.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:
10.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))

series188.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
19.0ms
(+ (tan x) (tan eps))
20.0ms
(* (tan x) (tan eps))
94.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

prune532.0ms

Filtered
98 candidates to 74 candidates (24.5%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New861298
Fresh246
Picked101
Done000
Total8916105

Merged error: 12.8b

Counts
105 → 16

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.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))
6.0ms
(pow (* (tan x) (tan eps)) 3)
22.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (cbrt (pow (* (tan x) (tan eps)) 3)))) (tan x))
4.0ms
(cbrt (pow (* (tan x) (tan eps)) 3))

series170.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (tan x) (tan eps))
33.0ms
(pow (* (tan x) (tan eps)) 3)
94.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (cbrt (pow (* (tan x) (tan eps)) 3)))) (tan x))
23.0ms
(cbrt (pow (* (tan x) (tan eps)) 3))

simplify57.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0384787
11733744
25002743

prune616.0ms

Filtered
94 candidates to 67 candidates (28.7%)
Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New93194
Fresh01515
Picked011
Done000
Total9317110

Merged error: 12.8b

Counts
110 → 17

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))
0.2b
(* (tan x) (tan eps))
0.3b
(/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps))))
4.0b
(- (/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))) (tan x))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
123×times-frac
104×*-un-lft-identity
83×add-sqr-sqrt
67×add-cube-cbrt
23×associate-/r*
19×add-exp-log
16×associate-/r/ distribute-lft-out
15×tan-quot
13×add-cbrt-cube
div-exp
pow1 div-inv
associate-/l* add-log-exp
flip3-+ frac-add flip-+ difference-of-squares
cbrt-undiv
associate-*r* associate-*l*
rec-exp flip3-- frac-2neg 1-exp clear-num flip-- associate-/l/ distribute-lft-out--
frac-times sub-neg pow-flip diff-log div-sub associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative frac-sub cbrt-unprod inv-pow unswap-sqr
Counts
4 → 178
Calls
4 calls:
8.0ms
(/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))
5.0ms
(* (tan x) (tan eps))
10.0ms
(/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps))))
25.0ms
(- (/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))) (tan x))

series229.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))
20.0ms
(* (tan x) (tan eps))
54.0ms
(/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps))))
96.0ms
(- (/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))) (tan x))

simplify79.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
07032791
132902506
250012503

prune893.0ms

Filtered
190 candidates to 105 candidates (44.7%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New1846190
Fresh41115
Picked101
Done101
Total19017207

Merged error: 12.7b

Counts
207 → 17

regimes257.0ms

Accuracy

88.1% (0.9b remaining)

Error of 15.3b against oracle of 14.4b and baseline of 21.6b

bsearch132.0ms

Steps
ItersRangePoint
8
1.2611993664769552e-51
8.184221022877953e-47
2.1810641200666502e-48
9
-3.5765709940581744e-43
-3.2744036193920184e-48
-3.8779512210660823e-44

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04547
15347
25347

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.3s3400×body1280valid
520.0ms596×body2560valid
387.0ms1817×body640valid
95.0ms701×body320valid
47.0ms1136×body80valid
35.0ms350×body160valid

Profiling

Loading profile data...