Details

Time bar (total: 9.8s)

analyze1.9s

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
0%99.9%0.1%5
0%99.9%0.1%6
0%99.9%0.1%7
0%93.6%6.4%8
9.4%84.3%6.4%9
14.8%75.7%9.5%10
16%71.4%12.6%11
20.9%65.7%13.4%12
24.2%60.5%15.3%13
24.8%58.6%16.6%14

sample137.0ms

Algorithm
intervals
Results
54.0ms58×body1280valid
29.0ms46×body640valid
17.0ms113×body80valid
13.0ms29×body320valid
4.0ms27×body80invalid
3.0ms10×body160valid
1.0msbody80nan

simplify454.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
0495126
1495126

prune16.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: 9.9b

Counts
2 → 2

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
70×times-frac
62×add-sqr-sqrt
57×add-cube-cbrt *-un-lft-identity
34×pow-unpow
17×add-exp-log
15×unpow-prod-down
14×associate-*r*
13×add-cbrt-cube
10×associate-/l*
distribute-lft-neg-in distribute-rgt-neg-in
pow1
associate-/r*
div-exp sqr-pow
div-inv add-log-exp
cbrt-undiv neg-mul-1 associate-*l*
tan-quot neg-sub0 pow-to-exp pow-neg frac-2neg div-sub distribute-frac-neg pow-exp prod-exp clear-num associate-/r/ cbrt-unprod associate-/l/ pow-sub unswap-sqr
pow-pow associate-*r/ pow-prod-down *-commutative
Counts
4 → 158
Calls
4 calls:
3.0ms
(/ 1.0 (tan B))
7.0ms
(* x (/ 1.0 (tan B)))
22.0ms
(/ (pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0)) (sin B))
12.0ms
(pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0))

series155.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(/ 1.0 (tan B))
24.0ms
(* x (/ 1.0 (tan B)))
90.0ms
(/ (pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0)) (sin B))
31.0ms
(pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049392748
149392748

prune445.0ms

Filtered
135 candidates to 170 candidates (-25.9%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New15119170
Fresh011
Picked101
Done000
Total15220172

Merged error: 9.6b

Counts
172 → 20

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

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

series220.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049523595
149523595

prune459.0ms

Filtered
140 candidates to 179 candidates (-27.9%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New1763179
Fresh11819
Picked101
Done000
Total17821199

Merged error: 9.6b

Counts
199 → 21

localize25.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 (sin B)) (cos B))
0.4b
(/ (pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0)) (sin B))
17.5b
(pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
85×times-frac
79×add-sqr-sqrt
64×add-cube-cbrt *-un-lft-identity
34×pow-unpow
28×associate-*r*
25×add-exp-log unpow-prod-down
16×associate-*l* add-cbrt-cube
pow1 distribute-lft-neg-in distribute-rgt-neg-in sqr-pow
div-exp 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 distribute-frac-neg pow-prod-down *-commutative associate-/l/ pow-sub
pow-pow frac-2neg associate-*r/ associate-*l/ clear-num
Counts
4 → 177
Calls
4 calls:
15.0ms
(* F (/ (pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0)) (sin B)))
6.0ms
(* (/ x (sin B)) (cos B))
9.0ms
(/ (pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0)) (sin B))
10.0ms
(pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0))

series214.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(* F (/ (pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0)) (sin B)))
17.0ms
(* (/ x (sin B)) (cos B))
85.0ms
(/ (pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0)) (sin B))
21.0ms
(pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0))

simplify71.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049493698
149493698

prune477.0ms

Filtered
149 candidates to 189 candidates (-26.8%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New1854189
Fresh41620
Picked011
Done000
Total18921210

Merged error: 9.6b

Counts
210 → 21

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1.0 (sin B)) (cos B))
0.2b
(* x (* (/ 1.0 (sin B)) (cos B)))
0.4b
(/ (pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0)) (sin B))
17.5b
(pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
61×times-frac
55×add-sqr-sqrt
50×add-cube-cbrt *-un-lft-identity
34×pow-unpow
24×add-exp-log
20×add-cbrt-cube
16×associate-*l*
15×unpow-prod-down
12×pow1
distribute-lft-neg-in distribute-rgt-neg-in
prod-exp cbrt-unprod associate-/l*
div-exp sqr-pow
associate-*r* pow-prod-down add-log-exp
cbrt-undiv neg-mul-1 associate-/r* div-inv
neg-sub0 pow-to-exp pow-neg div-sub distribute-frac-neg associate-*l/ pow-exp *-commutative associate-/l/ pow-sub unswap-sqr
pow-pow frac-2neg associate-*r/ clear-num
Counts
4 → 150
Calls
4 calls:
6.0ms
(* (/ 1.0 (sin B)) (cos B))
6.0ms
(* x (* (/ 1.0 (sin B)) (cos B)))
11.0ms
(/ (pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0)) (sin B))
9.0ms
(pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0))

series132.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (/ 1.0 (sin B)) (cos B))
18.0ms
(* x (* (/ 1.0 (sin B)) (cos B)))
85.0ms
(/ (pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0)) (sin B))
21.0ms
(pow (+ (* F F) (+ 2.0 (* x 2.0))) (/ (neg 1.0) 2.0))

simplify64.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049542798
149542798

prune311.0ms

Filtered
126 candidates to 162 candidates (-28.6%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1602162
Fresh11819
Picked011
Done011
Total17112183

Merged error: 1.0b

Counts
183 → 12

regimes440.0ms

Accuracy

97.4% (0.2b remaining)

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

bsearch166.0ms

Steps
ItersRangePoint
8
1.2993448350525277e+154
3.9645714826741013e+158
1.3747026542039707e+154
10
-3.0820891573076253e+166
-1.0058130669613105e+151
-1.3733114268899944e+154

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0208125
1208125

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.6s1722×body1280valid
836.0ms1397×body640valid
532.0ms3845×body80valid
287.0ms675×body320valid
108.0ms361×body160valid
91.0ms645×body80invalid
13.0ms134×body80nan
1.0msbody640invalid

Profiling

Loading profile data...