Details

Time bar (total: 7.9s)

sample120.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
42.0ms94×body1280valid
22.0ms71×body640valid
20.0ms259×body80valid
11.0ms34×body320valid
3.0ms20×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune9.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.5b

Counts
2 → 1

localize12.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.6b
(/ (cos th) (sqrt 2.0))
0.6b
(/ (cos th) (sqrt 2.0))

rewrite37.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))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
4.0ms
(/ (cos th) (sqrt 2.0))
7.0ms
(/ (cos th) (sqrt 2.0))

series43.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05041284
120091156
250011136

prune341.0ms

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

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New16614180
Fresh000
Picked101
Done000
Total16714181

Merged error: 0b

Counts
181 → 14

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
1149×sqrt-prod
1137×times-frac
626×add-sqr-sqrt
592×add-cube-cbrt *-un-lft-identity
283×associate-*l*
37×associate-/l*
34×add-exp-log add-cbrt-cube
24×associate-/r*
23×div-inv
13×unswap-sqr
11×cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
add-log-exp
frac-2neg pow-prod-down clear-num
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 744
Calls
4 calls:
45.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a2 a2))
6.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
4.0ms
(/ (cos th) (sqrt 2.0))
17.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

series35.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
756 → 756
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015449868
150018669

prune1.5s

Filtered
352 candidates to 756 candidates (-114.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New7551756
Fresh21113
Picked011
Done000
Total75713770

Merged error: 0b

Counts
770 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos th) (/ (pow a1 2) (sqrt 2.0)))
0.3b
(/ (pow a1 2) (sqrt 2.0))
0.3b
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
0.6b
(/ (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)))
6.0ms
(/ (pow a1 2) (sqrt 2.0))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
5.0ms
(/ (cos th) (sqrt 2.0))

series47.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06941831
132111552
250011537

prune587.0ms

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

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2493252
Fresh4711
Picked101
Done011
Total25411265

Merged error: 0b

Counts
265 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
105×times-frac
102×add-sqr-sqrt
75×add-cube-cbrt *-un-lft-identity
46×cbrt-prod
45×sqrt-prod
41×add-exp-log
33×add-cbrt-cube
32×associate-*r*
29×associate-*l*
15×associate-/r*
14×prod-exp cbrt-unprod
11×pow1 cbrt-undiv div-exp unswap-sqr
associate-/l*
div-inv
pow-prod-down add-log-exp
frac-2neg associate-*l/ clear-num *-commutative
frac-times associate-*r/
Counts
4 → 205
Calls
4 calls:
4.0ms
(/ a1 (cbrt (sqrt 2.0)))
20.0ms
(* (/ a1 (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (/ a1 (cbrt (sqrt 2.0))))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
5.0ms
(/ (cos th) (sqrt 2.0))

series57.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
07571995
136781801
250011715

prune514.0ms

Filtered
145 candidates to 217 candidates (-49.7%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2170217
Fresh099
Picked011
Done011
Total21711228

Merged error: 0b

Counts
228 → 11

regimes649.0ms

Accuracy

0% (0.5b 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
02018
12018

end0.0ms

sample3.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
1.2s2576×body1280valid
668.0ms2141×body640valid
596.0ms7934×body80valid
237.0ms1055×body320valid
83.0ms524×body160valid

Profiling

Loading profile data...