Details

Time bar (total: 8.2s)

sample347.0ms

Algorithm
intervals
Results
252.0ms55×body1280valid
24.0ms38×body640valid
24.0ms163×body80valid
10.0ms23×body320valid
6.0ms13×body160valid
5.0ms49×body80nan

simplify473.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0514926

prune33.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.4b

Counts
2 → 2

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

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

series246.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(* F (/ (pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0)) (sin B)))
24.0ms
(* x (/ 1.0 (tan B)))
89.0ms
(/ (pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0)) (sin B))
40.0ms
(pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
051563695

prune541.0ms

Filtered
150 candidates to 190 candidates (-26.7%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New17317190
Fresh011
Picked101
Done000
Total17418192

Merged error: 11.0b

Counts
192 → 18

localize23.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)))
0.3b
(* x (/ 1.0 (tan B)))
0.6b
(/ (* F (pow (+ (* F F) (+ 2.0 (* 2.0 x))) (/ (neg 1.0) 2.0))) (sin B))
16.5b
(pow (+ (* F F) (+ 2.0 (* 2.0 x))) (/ (neg 1.0) 2.0))

rewrite41.0ms

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

series205.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
049992373
149992373

prune346.0ms

Filtered
111 candidates to 149 candidates (-34.2%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1463149
Fresh61117
Picked011
Done000
Total15215167

Merged error: 1.2b

Counts
167 → 15

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
25×add-exp-log add-cube-cbrt *-un-lft-identity
22×times-frac
17×associate-*r*
16×add-cbrt-cube
13×pow-unpow
10×associate-*l*
prod-exp
pow1 unpow-prod-down
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:
7.0ms
(* x (/ 1.0 (tan B)))
9.0ms
(/ F (* (pow (+ (* F F) (+ 2.0 (* 2.0 x))) (/ 1.0 2.0)) (sin B)))
9.0ms
(* (pow (+ (* F F) (+ 2.0 (* 2.0 x))) (/ 1.0 2.0)) (sin B))
7.0ms
(pow (+ (* F F) (+ 2.0 (* 2.0 x))) (/ 1.0 2.0))

series199.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
053101951

prune290.0ms

Filtered
92 candidates to 120 candidates (-30.4%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1128120
Fresh8513
Picked101
Done011
Total12114135

Merged error: 1.0b

Counts
135 → 14

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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-*l* prod-exp
div-exp
pow1
cbrt-undiv associate-/r* associate-/l* add-log-exp
pow-to-exp associate-*r* 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:
4.0ms
(/ (* x 1.0) (tan B))
9.0ms
(/ F (* (pow (+ (* F F) (+ 2.0 (* 2.0 x))) (/ 1.0 2.0)) (sin B)))
9.0ms
(* (pow (+ (* F F) (+ 2.0 (* 2.0 x))) (/ 1.0 2.0)) (sin B))
7.0ms
(pow (+ (* F F) (+ 2.0 (* 2.0 x))) (/ 1.0 2.0))

series196.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ (* x 1.0) (tan B))
90.0ms
(/ F (* (pow (+ (* F F) (+ 2.0 (* 2.0 x))) (/ 1.0 2.0)) (sin B)))
63.0ms
(* (pow (+ (* F F) (+ 2.0 (* 2.0 x))) (/ 1.0 2.0)) (sin B))
21.0ms
(pow (+ (* F F) (+ 2.0 (* 2.0 x))) (/ 1.0 2.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049671853
149671853

prune185.0ms

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

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1081109
Fresh3912
Picked101
Done011
Total11211123

Merged error: 1.0b

Counts
123 → 11

regimes457.0ms

Accuracy

95.7% (0.4b remaining)

Error of 1.4b against oracle of 1.0b and baseline of 10.6b

bsearch171.0ms

Steps
ItersRangePoint
8
2.635807861600005e+143
2.0536164315686213e+146
2.015855220819964e+146
9
-5.131065402717253e+158
-1.6251532931763321e+153
-1.329634943152444e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
075118
175118

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.5s1634×body1280valid
863.0ms1421×body640valid
678.0ms4845×body80valid
285.0ms672×body320valid
164.0ms1617×body80nan
100.0ms355×body160valid

Profiling

Loading profile data...