Details

Time bar (total: 4.9s)

sample84.0ms

Algorithm
intervals
Results
34.0ms95×body1280valid
16.0ms19×body2560valid
13.0ms61×body640valid
5.0ms39×body80valid
4.0ms30×body320valid
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: 36.2b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

2.3b
(- (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))
4.0ms
(tan (+ x eps))

series42.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (21.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune57.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

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

rewrite31.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:
8.0ms
(/ (+ (tan x) (tan eps)) (- 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))

series196.0ms

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

prune161.0ms

Filtered
98 candidates to 74 candidates (24.5%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New861298
Fresh426
Picked101
Done000
Total9114105

Merged error: 12.8b

Counts
105 → 14

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

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

series158.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (tan x) (tan eps))
22.0ms
(/ (* (tan x) (sin eps)) (cos eps))
16.0ms
(* (tan x) (sin eps))
99.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

simplify40.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0385785
11424711
25001699

prune118.0ms

Filtered
82 candidates to 60 candidates (26.8%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New81182
Fresh01313
Picked101
Done000
Total821496

Merged error: 12.8b

Counts
96 → 14

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.3b
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
0.3b
(pow (* (tan x) (tan eps)) 3)
4.2b
(- (* (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan x) (tan eps)) 3))) (+ (* 1 1) (+ (* (* (tan x) (tan eps)) (* (tan x) (tan eps))) (* 1 (* (tan x) (tan eps)))))) (tan x))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
48×pow1
45×tan-quot
21×add-exp-log frac-times add-cbrt-cube
19×pow-prod-down
15×associate-*r/
14×associate-*l/
10×prod-exp cbrt-unprod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
add-log-exp
frac-sub
associate-*r* associate-*l* pow-sqr pow-prod-up
cube-div pow-unpow
pow-pow flip3-+ pow-plus pow-exp associate--l+ *-commutative flip-+ rem-cube-cbrt
pow2 distribute-rgt-in cube-mult pow-to-exp sub-neg unpow-prod-down flip3-- distribute-lft-in diff-log unpow3 cube-prod swap-sqr flip-- unswap-sqr sqr-pow
Counts
4 → 114
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
10.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
5.0ms
(pow (* (tan x) (tan eps)) 3)
21.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan x) (tan eps)) 3))) (+ (* 1 1) (+ (* (* (tan x) (tan eps)) (* (tan x) (tan eps))) (* 1 (* (tan x) (tan eps)))))) (tan x))

series664.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (tan x) (tan eps))
32.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
40.0ms
(pow (* (tan x) (tan eps)) 3)
570.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan x) (tan eps)) 3))) (+ (* 1 1) (+ (* (* (tan x) (tan eps)) (* (tan x) (tan eps))) (* 1 (* (tan x) (tan eps)))))) (tan x))

simplify132.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
08481703
147861486
250011486

prune173.0ms

Filtered
126 candidates to 77 candidates (38.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1224126
Fresh7613
Picked101
Done000
Total13010140

Merged error: 0.3b

Counts
140 → 10

regimes172.0ms

Accuracy

0% (0.3b remaining)

Error of 0.6b against oracle of 0.3b and baseline of 0.6b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063114
163114

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s3370×body1280valid
502.0ms594×body2560valid
392.0ms1875×body640valid
106.0ms784×body320valid
42.0ms1035×body80valid
33.0ms342×body160valid

Profiling

Loading profile data...