Details

Time bar (total: 5.4s)

sample343.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 93.756105%

Space saved by search: 93.756105%

Guaranteed chance to sample good point: 99.609375%

Results
25.0ms256×body80valid
6.0ms256×pre80true

simplify446.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03410
17110
215410
346910
4181210
5500110

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* (* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5)) (cos (* (* 2.0 PI) u2))) 0.5)
0.1b
(pow (* -2.0 (log u1)) 0.5)
0.2b
(* (* 2.0 PI) u2)
0.4b
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log
22×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity associate-*l* prod-exp add-cbrt-cube
12×pow1
11×times-frac
associate-*r*
pow-exp add-log-exp
cbrt-unprod
div-exp pow-prod-down unswap-sqr sqr-pow
pow-to-exp pow-unpow
unpow-prod-down pow-pow *-commutative
cbrt-undiv +-commutative flip3-+ associate-*l/ sum-log flip-+ div-inv
Counts
4 → 87
Calls
4 calls:
8.0ms
(+ (* (* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5)) (cos (* (* 2.0 PI) u2))) 0.5)
4.0ms
(pow (* -2.0 (log u1)) 0.5)
4.0ms
(* (* 2.0 PI) u2)
19.0ms
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))

series223.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ (* (* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5)) (cos (* (* 2.0 PI) u2))) 0.5)
34.0ms
(pow (* -2.0 (log u1)) 0.5)
3.0ms
(* (* 2.0 PI) u2)
107.0ms
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))

simplify61.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0514738
12154656
25001648

prune205.0ms

Filtered
66 candidates to 99 candidates (-50.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New91899
Fresh000
Picked011
Done000
Total919100

Merged error: 0.0b

Counts
100 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* (* 1.0 (/ (pow (* -2.0 (log u1)) 0.5) 6.0)) (cos (* (* 2.0 PI) u2))) 0.5)
0.1b
(pow (* -2.0 (log u1)) 0.5)
0.2b
(* (* 2.0 PI) u2)
0.3b
(/ (pow (* -2.0 (log u1)) 0.5) 6.0)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×times-frac
12×pow1
11×add-cbrt-cube
add-log-exp
unpow-prod-down prod-exp associate-/l* sqr-pow
div-exp pow-prod-down pow-exp
pow-unpow associate-*r* associate-/r* cbrt-unprod
pow-to-exp pow-pow
cbrt-undiv +-commutative frac-2neg flip3-+ associate-*l* clear-num sum-log *-commutative flip-+ div-inv
Counts
4 → 84
Calls
4 calls:
8.0ms
(+ (* (* 1.0 (/ (pow (* -2.0 (log u1)) 0.5) 6.0)) (cos (* (* 2.0 PI) u2))) 0.5)
4.0ms
(pow (* -2.0 (log u1)) 0.5)
4.0ms
(* (* 2.0 PI) u2)
5.0ms
(/ (pow (* -2.0 (log u1)) 0.5) 6.0)

series210.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(+ (* (* 1.0 (/ (pow (* -2.0 (log u1)) 0.5) 6.0)) (cos (* (* 2.0 PI) u2))) 0.5)
35.0ms
(pow (* -2.0 (log u1)) 0.5)
3.0ms
(* (* 2.0 PI) u2)
96.0ms
(/ (pow (* -2.0 (log u1)) 0.5) 6.0)

simplify54.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0445720
11835655
25001647

prune190.0ms

Filtered
67 candidates to 96 candidates (-43.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New94296
Fresh257
Picked011
Done101
Total978105

Merged error: 0b

Counts
105 → 8

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (* -2.0 (log u1)) 0.5)
0.2b
(* (* 2.0 PI) u2)
0.2b
(* (sqrt (/ 1.0 6.0)) (* (sqrt (/ 1.0 6.0)) (pow (* -2.0 (log u1)) 0.5)))
0.3b
(* (sqrt (/ 1.0 6.0)) (pow (* -2.0 (log u1)) 0.5))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log add-sqr-sqrt
33×associate-*l*
30×sqrt-prod
23×add-cube-cbrt *-un-lft-identity
20×times-frac
19×prod-exp
16×add-cbrt-cube
14×pow1
associate-*r*
cbrt-unprod
pow-exp unswap-sqr
sqrt-div pow-prod-down sqr-pow
associate-*l/ add-log-exp
pow-to-exp pow-unpow *-commutative
unpow-prod-down pow-pow div-inv
frac-times associate-*r/
Counts
4 → 112
Calls
4 calls:
4.0ms
(pow (* -2.0 (log u1)) 0.5)
5.0ms
(* (* 2.0 PI) u2)
13.0ms
(* (sqrt (/ 1.0 6.0)) (* (sqrt (/ 1.0 6.0)) (pow (* -2.0 (log u1)) 0.5)))
8.0ms
(* (sqrt (/ 1.0 6.0)) (pow (* -2.0 (log u1)) 0.5))

series236.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(pow (* -2.0 (log u1)) 0.5)
3.0ms
(* (* 2.0 PI) u2)
100.0ms
(* (sqrt (/ 1.0 6.0)) (* (sqrt (/ 1.0 6.0)) (pow (* -2.0 (log u1)) 0.5)))
99.0ms
(* (sqrt (/ 1.0 6.0)) (pow (* -2.0 (log u1)) 0.5))

simplify59.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0454932
11787832
25002819

prune274.0ms

Filtered
83 candidates to 124 candidates (-49.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1240124
Fresh066
Picked011
Done011
Total1248132

Merged error: 0b

Counts
132 → 8

localize40.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 2.0 PI) u2)
0.4b
(* (/ (* 1.0 1.0) (* 6.0 6.0)) (pow (* -2.0 (log u1)) (* 2 0.5)))
0.4b
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))
0.5b
(/ (+ (neg (* 0.5 0.5)) (* (* (/ (* 1.0 1.0) (* 6.0 6.0)) (pow (* -2.0 (log u1)) (* 2 0.5))) (* (cos (* 2.0 (* u2 PI))) (cos (* 2.0 (* u2 PI)))))) (- (* (* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5)) (cos (* (* 2.0 PI) u2))) 0.5))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
103×add-exp-log
54×prod-exp
35×add-sqr-sqrt
34×add-cbrt-cube
23×add-cube-cbrt *-un-lft-identity times-frac
21×div-exp
19×associate-*l*
14×pow-exp cbrt-unprod
13×associate-*r*
pow1
unswap-sqr
pow-to-exp
cbrt-undiv sqr-pow
add-log-exp
pow-prod-down associate-/r* *-commutative div-inv associate-/l*
unpow-prod-down associate-*l/ associate-/r/ associate-/l/
neg-sub0 associate-+l- flip3-- frac-2neg flip3-+ div-sub clear-num flip-- flip-+
Counts
4 → 139
Calls
4 calls:
5.0ms
(* (* 2.0 PI) u2)
11.0ms
(* (/ (* 1.0 1.0) (* 6.0 6.0)) (pow (* -2.0 (log u1)) (* 2 0.5)))
8.0ms
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))
17.0ms
(/ (+ (neg (* 0.5 0.5)) (* (* (/ (* 1.0 1.0) (* 6.0 6.0)) (pow (* -2.0 (log u1)) (* 2 0.5))) (* (cos (* 2.0 (* u2 PI))) (cos (* 2.0 (* u2 PI)))))) (- (* (* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5)) (cos (* (* 2.0 PI) u2))) 0.5))

series357.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 2.0 PI) u2)
95.0ms
(* (/ (* 1.0 1.0) (* 6.0 6.0)) (pow (* -2.0 (log u1)) (* 2 0.5)))
95.0ms
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))
163.0ms
(/ (+ (neg (* 0.5 0.5)) (* (* (/ (* 1.0 1.0) (* 6.0 6.0)) (pow (* -2.0 (log u1)) (* 2 0.5))) (* (cos (* 2.0 (* u2 PI))) (cos (* 2.0 (* u2 PI)))))) (- (* (* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5)) (cos (* (* 2.0 PI) u2))) 0.5))

simplify142.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
010362620
149862281
250022281

prune521.0ms

Filtered
97 candidates to 151 candidates (-55.7%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1510151
Fresh055
Picked011
Done022
Total1518159

Merged error: 0b

Counts
159 → 8

regimes524.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample1.3s

Algorithm
intervals
sampling

Space saved by range analysis: 93.756105%

Space saved by search: 93.756105%

Guaranteed chance to sample good point: 99.609375%

Results
787.0ms8000×body80valid
190.0ms8000×pre80true

Profiling

Loading profile data...