Details

Time bar (total: 10.0s)

sample374.0ms

Algorithm
intervals
Results
43.0ms48×body1280valid
24.0ms40×body640valid
22.0ms149×body80valid
11.0ms26×body320valid
6.0ms62×body80nan
5.0ms17×body160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04215
18314
215114
335614
4106314
5500214

prune26.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 15.2b

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)))
6.5b
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
19.0b
(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)))
14.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)))

series587.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ 1.0 (tan B))
108.0ms
(* x (/ 1.0 (tan B)))
284.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))
158.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 (68.0ms)

IterNodesCost
07671426
131761335
250011334

prune585.0ms

Filtered
167 candidates to 128 candidates (76.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15710167
Fresh000
Picked101
Done000
Total15810168

Merged error: 0.0b

Counts
168 → 10

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

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

series897.0ms

Counts
4 → 12
Calls
4 calls:
338.0ms
(* F (/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B)))
108.0ms
(* x (/ 1.0 (tan B)))
308.0ms
(/ (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))) (sin B))
144.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0)))

simplify97.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08482076
137331956
250011956

prune561.0ms

Filtered
186 candidates to 142 candidates (76.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1851186
Fresh189
Picked011
Done000
Total18610196

Merged error: 0.0b

Counts
196 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.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:
9.0ms
(* x (/ 1.0 (tan B)))
10.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
11.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
9.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series760.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(* x (/ 1.0 (tan B)))
289.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
238.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
127.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06541088
12850976
25002976

prune359.0ms

Filtered
120 candidates to 89 candidates (74.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1164120
Fresh358
Picked101
Done011
Total12010130

Merged error: 0.0b

Counts
130 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.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
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
11.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
13.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series782.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(/ (* x 1.0) (tan B))
294.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
245.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
131.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06081033
12584921
25001921

prune296.0ms

Filtered
109 candidates to 82 candidates (75.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1063109
Fresh358
Picked101
Done011
Total1109119

Merged error: 0.0b

Counts
119 → 9

regimes156.0ms

Accuracy

97.7% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 10.3b

bsearch222.0ms

Steps
ItersRangePoint
7
8.116114861165607e+119
7.6726974215521e+121
8.282545419881673e+119
7
-2937711.48537497
-21118.07047201454
-544970.3659517951

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05537
15537

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.5s1747×body1280valid
811.0ms1383×body640valid
618.0ms4715×body80valid
279.0ms687×body320valid
158.0ms1677×body80nan
96.0ms356×body160valid

Profiling

Loading profile data...