Details

Time bar (total: 12.6s)

analyze1.9s

Algorithm
search

sample120.0ms

Algorithm
intervals
Results
37.0ms40×body1280valid
26.0ms147×body80valid
23.0ms36×body640valid
10.0ms23×body320valid
4.0ms26×body80invalid
3.0ms10×body160valid
0.0msbody80nan

simplify411.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune14.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 15.1b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (tan B))
0.3b
(* x (/ 1.0 (tan B)))
8.8b
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
15.2b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
49×times-frac
45×add-cube-cbrt *-un-lft-identity
30×pow-unpow
25×add-exp-log
21×associate-*r*
16×associate-*l* add-cbrt-cube
13×distribute-lft-neg-in distribute-rgt-neg-in
unpow-prod-down prod-exp unswap-sqr
pow1
div-exp div-inv
pow-neg cbrt-unprod add-log-exp sqr-pow
cbrt-undiv neg-sub0 pow-to-exp associate-*r/ pow-exp associate-/r* associate-/l* pow-sub
tan-quot frac-times associate-/r/ *-commutative
neg-mul-1 pow-pow frac-2neg pow-prod-down associate-*l/ clear-num un-div-inv
Counts
4 → 155
Calls
4 calls:
4.0ms
(/ 1.0 (tan B))
7.0ms
(* x (/ 1.0 (tan B)))
13.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
12.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

series141.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ 1.0 (tan B))
28.0ms
(* x (/ 1.0 (tan B)))
59.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
42.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify83.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
08171482
133411390
250021389

prune383.0ms

Filtered
128 candidates to 167 candidates (-30.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New15512167
Fresh000
Picked101
Done000
Total15612168

Merged error: 1.2b

Counts
168 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
0.2b
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
0.3b
(* x (/ 1.0 (tan B)))
15.2b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
25×add-exp-log add-cube-cbrt *-un-lft-identity
22×times-frac
21×associate-*r*
16×add-cbrt-cube
13×pow-unpow
prod-exp
pow1 unpow-prod-down
associate-*l*
div-exp unswap-sqr
cbrt-unprod add-log-exp
cbrt-undiv pow-to-exp pow-exp div-inv associate-/l* sqr-pow
*-commutative
tan-quot pow-pow frac-2neg associate-*r/ pow-prod-down clear-num associate-/r* associate-/r/
Counts
4 → 108
Calls
4 calls:
10.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
10.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
7.0ms
(* x (/ 1.0 (tan B)))
8.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series206.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
99.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
23.0ms
(* x (/ 1.0 (tan B)))
24.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify78.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
07031170
130861048
250021048

prune283.0ms

Filtered
90 candidates to 120 candidates (-33.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1137120
Fresh5611
Picked101
Done000
Total11913132

Merged error: 1.2b

Counts
132 → 13

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* x 1.0) (tan B))
0.2b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
0.2b
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
15.2b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
24×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
16×add-cbrt-cube
15×times-frac
13×pow-unpow
unpow-prod-down associate-*r* prod-exp
div-exp
pow1
cbrt-undiv associate-/r* associate-/l* add-log-exp
pow-to-exp associate-*l* pow-exp cbrt-unprod div-inv unswap-sqr sqr-pow
frac-2neg clear-num
tan-quot pow-pow associate-/r/ *-commutative
Counts
4 → 97
Calls
4 calls:
5.0ms
(/ (* x 1.0) (tan B))
10.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
10.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
8.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series205.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (* x 1.0) (tan B))
61.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
99.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
22.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify66.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06571115
12821993
25001993

prune243.0ms

Filtered
81 candidates to 109 candidates (-34.6%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1072109
Fresh21012
Picked101
Done000
Total11012122

Merged error: 1.2b

Counts
122 → 12

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (tan B))
0.3b
(* x (/ 1.0 (tan B)))
0.4b
(* (/ 1 (sin B)) (/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
15.2b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
88×add-sqr-sqrt
75×times-frac
56×add-exp-log
53×*-un-lft-identity
49×add-cube-cbrt
39×associate-*r*
23×add-cbrt-cube
22×div-exp
18×prod-exp
16×associate-*l*
15×unpow-prod-down
14×unswap-sqr
13×pow-unpow
pow1
sqr-pow
cbrt-undiv cbrt-unprod
pow-to-exp pow-exp div-inv
rec-exp 1-exp add-log-exp
associate-/r* associate-/l*
tan-quot associate-*r/ pow-prod-down associate-/r/ *-commutative
frac-times pow-pow frac-2neg associate-*l/ clear-num
Counts
4 → 170
Calls
4 calls:
3.0ms
(/ 1.0 (tan B))
7.0ms
(* x (/ 1.0 (tan B)))
19.0ms
(* (/ 1 (sin B)) (/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
8.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series164.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ 1.0 (tan B))
23.0ms
(* x (/ 1.0 (tan B)))
108.0ms
(* (/ 1 (sin B)) (/ F (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
22.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify107.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
09861851
146441682
250011682

prune323.0ms

Filtered
130 candidates to 182 candidates (-40.0%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1802182
Fresh11011
Picked011
Done000
Total18113194

Merged error: 1.2b

Counts
194 → 13

regimes338.0ms

Accuracy

96.7% (0.3b remaining)

Error of 1.4b against oracle of 1.1b and baseline of 10.7b

bsearch2.0s

Steps
ItersRangePoint
10
8.351670587972746e+148
1.2703133248204668e+162
1.356758820112869e+154
6
-1.8577766019447153e+139
-2.8848989608440314e+138
-1.8333827337343462e+139

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07765
17765

end0.0ms

analyze1.7s

Algorithm
search

sample3.6s

Algorithm
intervals
Results
1.5s1611×body1280valid
827.0ms1388×body640valid
564.0ms3933×body80valid
303.0ms723×body320valid
103.0ms345×body160valid
98.0ms684×body80invalid
14.0ms142×body80nan
1.0msbody640invalid

Profiling

Loading profile data...