Details

Time bar (total: 20.0s)

sample7.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 21.264648%

Guaranteed chance to sample good point: 60.031008%

Results
23.0ms52×body1280valid
11.0ms26×body1280invalid
11.0ms149×body80valid
10.0ms31×body640invalid
9.0ms28×body640valid
4.0ms19×body320invalid
4.0ms17×body320valid
2.0ms10×body160valid
1.0msbody160invalid
1.0ms11×body80invalid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune14.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: 0.4b

Counts
2 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.3b
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
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)) (* a1 a1))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
4.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series42.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05041284
120091156
250011136

prune324.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New17010180
Fresh101
Picked101
Done000
Total17210182

Merged error: 0.0b

Counts
182 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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:
6.0ms
(* (cos th) (* a1 a1))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
10.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series43.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0501987
12139864
25002850

prune215.0ms

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

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1440144
Fresh099
Picked011
Done000
Total14410154

Merged error: 0.0b

Counts
154 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
616×sqrt-prod
614×times-frac
345×add-sqr-sqrt
340×add-cube-cbrt *-un-lft-identity
37×associate-/l*
25×add-exp-log add-cbrt-cube
24×associate-/r*
22×associate-*l*
14×div-inv
pow1
cbrt-undiv div-exp
prod-exp cbrt-unprod
add-log-exp
frac-2neg pow-prod-down clear-num unswap-sqr
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 469
Calls
4 calls:
8.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
15.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
6.0ms
(/ (cos th) (sqrt 2.0))

series39.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
481 → 481
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
011156666
145685845
250025838

prune656.0ms

Filtered
189 candidates to 481 candidates (-154.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New4810481
Fresh088
Picked011
Done011
Total48110491

Merged error: 0.0b

Counts
491 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

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

series37.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04431207
118051104
250011084

prune243.0ms

Filtered
117 candidates to 177 candidates (-51.3%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1770177
Fresh077
Picked011
Done022
Total17710187

Merged error: 0.0b

Counts
187 → 10

regimes605.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01611
11611

end0.0ms

sample10.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 21.264648%

Guaranteed chance to sample good point: 60.031008%

Results
591.0ms1304×body1280valid
515.0ms1156×body1280invalid
357.0ms1137×body640valid
354.0ms4707×body80valid
317.0ms994×body640invalid
124.0ms543×body320valid
121.0ms536×body320invalid
50.0ms309×body160valid
41.0ms267×body160invalid
26.0ms313×body80invalid

Profiling

Loading profile data...