Details

Time bar (total: 6.6s)

analyze746.0ms

Algorithm
search

sample94.0ms

Algorithm
intervals
Results
23.0ms53×body1280valid
15.0ms36×body1280invalid
12.0ms143×body80valid
9.0ms31×body640valid
7.0ms24×body640invalid
5.0ms21×body320invalid
4.0ms17×body320valid
2.0ms12×body160valid
1.0ms18×body80invalid
1.0msbody160invalid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.4b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
0.3b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.7b
(/ (cos th) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
76×times-frac
70×add-sqr-sqrt
60×add-cube-cbrt *-un-lft-identity
44×associate-*l* sqrt-prod
32×add-exp-log add-cbrt-cube
14×pow1
12×prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down associate-/l* unswap-sqr
div-inv add-log-exp
frac-2neg associate-*r* associate-*l/ clear-num *-commutative
Counts
4 → 168
Calls
4 calls:
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
8.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
4.0ms
(/ (cos th) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series40.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
14.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
5.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05041284
120091156
250011136

prune332.0ms

Filtered
116 candidates to 180 candidates (-55.2%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New16713180
Fresh000
Picked101
Done000
Total16813181

Merged error: 0b

Counts
181 → 13

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos th) (/ (pow a1 2) (sqrt 2.0)))
0.3b
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
0.3b
(/ (pow a1 2) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
142×times-frac
121×add-sqr-sqrt
94×add-cube-cbrt *-un-lft-identity
77×sqrt-prod
53×associate-*r*
41×unpow-prod-down
33×add-exp-log
25×associate-*l* add-cbrt-cube
15×unpow2 sqr-pow
12×associate-/r* unswap-sqr
11×pow1 associate-/l*
10×prod-exp
div-exp
cbrt-unprod
cbrt-undiv
pow-prod-down div-inv add-log-exp
pow-to-exp frac-2neg pow-exp clear-num *-commutative
associate-*r/ associate-*l/
Counts
4 → 240
Calls
4 calls:
15.0ms
(* (cos th) (/ (pow a1 2) (sqrt 2.0)))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
7.0ms
(/ (pow a1 2) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series44.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (cos th) (/ (pow a1 2) (sqrt 2.0)))
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
6.0ms
(/ (pow a1 2) (sqrt 2.0))
6.0ms
(/ (cos th) (sqrt 2.0))

simplify77.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06941786
130241552
250011540

prune387.0ms

Filtered
142 candidates to 252 candidates (-77.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2484252
Fresh5712
Picked101
Done000
Total25411265

Merged error: 0b

Counts
265 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos th) (* a2 a2))
0.3b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.3b
(/ (* (cos th) (* a2 a2)) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
44×times-frac
43×add-sqr-sqrt
37×add-cube-cbrt *-un-lft-identity
32×add-exp-log add-cbrt-cube
28×sqrt-prod
25×associate-*l*
14×pow1
12×prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down
associate-/l* add-log-exp unswap-sqr
div-inv
frac-2neg associate-*r* clear-num *-commutative
associate-*l/
Counts
4 → 132
Calls
4 calls:
5.0ms
(* (cos th) (* a2 a2))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
7.0ms
(/ (* (cos th) (* a2 a2)) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series46.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (cos th) (* a2 a2))
17.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
15.0ms
(/ (* (cos th) (* a2 a2)) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0501987
12125864
25002850

prune211.0ms

Filtered
91 candidates to 144 candidates (-58.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1422144
Fresh3710
Picked101
Done000
Total1469155

Merged error: 0b

Counts
155 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cos th) a2)
0.3b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.3b
(/ (* (* (cos th) a2) a2) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
44×times-frac
38×add-cube-cbrt *-un-lft-identity
29×add-exp-log add-cbrt-cube
28×sqrt-prod
25×associate-*l*
12×associate-/r*
11×pow1
10×prod-exp cbrt-unprod
cbrt-undiv div-exp
associate-*r* pow-prod-down associate-/l* add-log-exp unswap-sqr
div-inv
frac-2neg clear-num *-commutative
associate-*l/
Counts
4 → 131
Calls
4 calls:
4.0ms
(* (cos th) a2)
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
7.0ms
(/ (* (* (cos th) a2) a2) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series44.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (cos th) a2)
17.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
15.0ms
(/ (* (* (cos th) a2) a2) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0517953
12494843
25003830

prune175.0ms

Filtered
92 candidates to 143 candidates (-55.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1430143
Fresh088
Picked011
Done000
Total1439152

Merged error: 0b

Counts
152 → 9

regimes559.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01711
11711

end0.0ms

analyze736.0ms

Algorithm
search

sample2.7s

Algorithm
intervals
Results
617.0ms1412×body1280valid
518.0ms1152×body1280invalid
337.0ms4697×body80valid
316.0ms1044×body640valid
292.0ms960×body640invalid
130.0ms569×body320valid
113.0ms515×body320invalid
41.0ms278×body160valid
38.0ms497×body80invalid
37.0ms249×body160invalid

Profiling

Loading profile data...