Details

Time bar (total: 12.9s)

analyze2.1s

Algorithm
search
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 21.379927%

Guaranteed chance to sample good point: 60.031008%

sample96.0ms

Algorithm
intervals
Results
19.0ms43×body1280valid
16.0ms36×body1280invalid
16.0ms149×body80valid
10.0ms33×body640valid
10.0ms32×body640invalid
4.0ms18×body320valid
3.0ms14×body320invalid
2.0ms13×body160valid
2.0ms10×body160invalid
1.0ms11×body80invalid

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
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.5b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
38×times-frac
31×add-cube-cbrt *-un-lft-identity
22×associate-*l* sqrt-prod
add-exp-log add-cbrt-cube
associate-/r*
pow1
associate-*r* associate-/l* unswap-sqr
cbrt-undiv frac-times flip3-+ associate-*r/ div-exp prod-exp cbrt-unprod flip-+ div-inv add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 87
Calls
2 calls:
10.0ms
(* (/ (cos th) (sqrt 2.0)) (+ (* a1 a1) (* a2 a2)))
4.0ms
(/ (cos th) (sqrt 2.0))

series43.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(* (/ (cos th) (sqrt 2.0)) (+ (* a1 a1) (* a2 a2)))
6.0ms
(/ (cos th) (sqrt 2.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0479795
12384738
25003725

prune169.0ms

Filtered
64 candidates to 93 candidates (-45.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New85893
Fresh000
Picked101
Done000
Total86894

Merged error: 0.0b

Counts
94 → 8

localize12.0ms

Local error

Found 3 expressions with local error:

0.4b
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
0.6b
(/ (cos th) (sqrt (sqrt 2.0)))
0.6b
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
1137×sqrt-prod
1119×times-frac
624×add-sqr-sqrt
577×add-cube-cbrt *-un-lft-identity
283×associate-*l*
34×associate-/l*
22×div-inv
19×add-exp-log add-cbrt-cube
18×associate-/r*
13×unswap-sqr
cbrt-undiv div-exp
pow1
associate-*r* prod-exp cbrt-unprod add-log-exp
frac-times frac-2neg flip3-+ associate-*r/ clear-num flip-+
distribute-rgt-in distribute-lft-in pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
3 → 706
Calls
3 calls:
50.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
19.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

series56.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
15.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
6.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

simplify120.0ms

Algorithm
egg-herbie
Counts
715 → 715
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
0195010359
150019505

prune1.4s

Filtered
363 candidates to 715 candidates (-97.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New7132715
Fresh167
Picked101
Done000
Total7158723

Merged error: 0b

Counts
723 → 8

localize16.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (/ (/ 1 (sqrt (sqrt (sqrt 2.0)))) (sqrt (sqrt (sqrt 2.0)))) (* (/ (cos th) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2))))
0.4b
(* (/ (cos th) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
0.6b
(/ (cos th) (sqrt (sqrt 2.0)))

rewrite167.0ms

Algorithm
rewrite-expression-head
Rules
1434×sqrt-prod
969×times-frac
517×add-sqr-sqrt
515×associate-*l*
506×add-cube-cbrt *-un-lft-identity
70×add-exp-log
46×add-cbrt-cube
27×prod-exp
25×div-exp
17×cbrt-unprod
15×div-inv
14×cbrt-undiv
11×frac-times associate-*r/
10×pow1
associate-/r*
flip3-+ flip-+
distribute-rgt-in distribute-lft-in
associate-*r* pow-prod-down associate-*l/ unswap-sqr
rec-exp 1-exp associate-/l* add-log-exp
*-commutative
frac-2neg clear-num
Counts
3 → 643
Calls
3 calls:
85.0ms
(* (/ (/ 1 (sqrt (sqrt (sqrt 2.0)))) (sqrt (sqrt (sqrt 2.0)))) (* (/ (cos th) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2))))
13.0ms
(* (/ (cos th) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

series90.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* (/ (/ 1 (sqrt (sqrt (sqrt 2.0)))) (sqrt (sqrt (sqrt 2.0)))) (* (/ (cos th) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2))))
47.0ms
(* (/ (cos th) (sqrt (sqrt 2.0))) (+ (* a1 a1) (* a2 a2)))
8.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

simplify117.0ms

Algorithm
egg-herbie
Counts
652 → 652
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
0177711278
1500210388

prune2.4s

Filtered
377 candidates to 652 candidates (-72.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New6520652
Fresh077
Picked011
Done000
Total6528660

Merged error: 0b

Counts
660 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (/ (cos th) (sqrt 2.0)) (sqrt (+ (* a1 a1) (* a2 a2))))
0.7b
(/ (cos th) (sqrt 2.0))
5.1b
(sqrt (+ (* a1 a1) (* a2 a2)))
5.1b
(sqrt (+ (* a1 a1) (* a2 a2)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
40×times-frac
36×add-cube-cbrt *-un-lft-identity
35×sqrt-prod
22×associate-*l*
11×add-exp-log add-cbrt-cube
pow1 sqrt-div
associate-*r* associate-/r* unswap-sqr
flip3-+ flip-+ add-log-exp
associate-/l*
cbrt-undiv frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ div-exp prod-exp cbrt-unprod div-inv
frac-2neg pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 121
Calls
4 calls:
12.0ms
(* (/ (cos th) (sqrt 2.0)) (sqrt (+ (* a1 a1) (* a2 a2))))
4.0ms
(/ (cos th) (sqrt 2.0))
3.0ms
(sqrt (+ (* a1 a1) (* a2 a2)))
5.0ms
(sqrt (+ (* a1 a1) (* a2 a2)))

series47.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03521093
112561042
250011028

prune152.0ms

Filtered
96 candidates to 133 candidates (-38.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1330133
Fresh066
Picked011
Done011
Total1338141

Merged error: 0b

Counts
141 → 8

regimes538.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02217
12217

end0.0ms

analyze2.1s

Algorithm
search
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 21.379927%

Guaranteed chance to sample good point: 60.031008%

sample3.0s

Algorithm
intervals
Results
842.0ms1401×body1280valid
503.0ms1114×body1280invalid
367.0ms1149×body640valid
347.0ms4644×body80valid
303.0ms979×body640invalid
119.0ms525×body320valid
105.0ms460×body320invalid
43.0ms281×body160valid
41.0ms269×body160invalid
27.0ms326×body80invalid

Profiling

Loading profile data...