Details

Time bar (total: 6.3s)

analyze782.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
18.7%81.2%0.1%6
21.9%78%0.1%7
23.4%76.5%0.1%8
24.2%75.7%0.1%9
24.6%75.3%0.1%10
24.8%75.1%0.1%11
24.9%75%0.1%12
24.9%75%0.1%13
25%75%0.1%14

sample88.0ms

Algorithm
intervals
Results
44.0ms115×body1280valid
17.0ms68×body640valid
12.0ms14×body2560valid
3.0ms21×body320valid
1.0ms31×body80valid
1.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0717
1717

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.2b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

1.0b
(- (tan (+ x eps)) (tan x))
4.2b
(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 → 24
Calls
2 calls:
6.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series41.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
04924332
14924332

prune68.0ms

Filtered
25 candidates to 30 candidates (-20.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New201030
Fresh000
Picked101
Done000
Total211031

Merged error: 12.2b

Counts
31 → 10

localize12.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))
2.4b
(- (/ (+ (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 → 85
Calls
4 calls:
8.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
5.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
12.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series203.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
21.0ms
(+ (tan x) (tan eps))
23.0ms
(* (tan x) (tan eps))
102.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify51.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
051091560

prune182.0ms

Filtered
74 candidates to 97 candidates (-31.1%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New821597
Fresh639
Picked101
Done000
Total8918107

Merged error: 12.0b

Counts
107 → 18

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
25×tan-quot
18×pow1
16×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity
frac-times associate-*r/ associate-*l*
associate-*r*
associate-*l/ add-log-exp
pow-prod-down prod-exp frac-sub cbrt-unprod
swap-sqr *-commutative unswap-sqr
flip3-+ associate--l+ flip-+
pow2 distribute-rgt-in sub-neg flip3-- distribute-lft-in pow-plus diff-log pow-sqr pow-prod-up flip--
Counts
4 → 93
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
8.0ms
(* (tan x) (* (tan eps) (tan eps)))
5.0ms
(* (tan eps) (tan eps))
12.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (* (tan x) (* (tan eps) (tan eps)))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

series388.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (tan x) (tan eps))
27.0ms
(* (tan x) (* (tan eps) (tan eps)))
9.0ms
(* (tan eps) (tan eps))
329.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (* (tan x) (* (tan eps) (tan eps)))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify44.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049831620
149831620

prune380.0ms

Filtered
72 candidates to 105 candidates (-45.8%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New1014105
Fresh21517
Picked101
Done000
Total10419123

Merged error: 12.0b

Counts
123 → 19

localize20.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)
2.4b
(- (* (/ (+ (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))

rewrite48.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 → 113
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
10.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
7.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))

series676.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (tan x) (tan eps))
32.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
36.0ms
(pow (* (tan x) (tan eps)) 3)
586.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))

simplify42.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
050332257

prune173.0ms

Filtered
78 candidates to 125 candidates (-60.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1214125
Fresh9918
Picked101
Done000
Total13113144

Merged error: 10.5b

Counts
144 → 13

regimes203.0ms

Accuracy

63% (2.6b remaining)

Error of 15.1b against oracle of 12.5b and baseline of 19.6b

bsearch72.0ms

Steps
ItersRangePoint
7
1.3583413253800626e-78
1.4284492369682818e-76
5.817203080719242e-77
6
-1.8181891631897414e-61
-1.6988373604368242e-62
-1.7248288871182305e-62

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094175
194175

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.3s3323×body1280valid
541.0ms619×body2560valid
417.0ms1867×body640valid
114.0ms760×body320valid
50.0ms1102×body80valid
32.0ms329×body160valid

Profiling

Loading profile data...