Details

Time bar (total: 7.5s)

sample338.0ms

Algorithm
intervals
Results
26.0ms256×body80valid
6.0ms256×pre80true

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03410
17110
215410
346910
4181210
5500110

prune6.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 1

localize40.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.3b
(* (* 2.0 PI) u2)
0.4b
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))

rewrite31.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)
5.0ms
(* (* 2.0 PI) u2)
10.0ms
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))

series228.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)
113.0ms
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))

simplify60.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0514738
12154656
25001648

prune531.0ms

Filtered
99 candidates to 66 candidates (33.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New92799
Fresh000
Picked101
Done000
Total937100

Merged error: 0.0b

Counts
100 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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)
11.0ms
(* (sqrt (/ 1.0 6.0)) (* (sqrt (/ 1.0 6.0)) (pow (* -2.0 (log u1)) 0.5)))
9.0ms
(* (sqrt (/ 1.0 6.0)) (pow (* -2.0 (log u1)) 0.5))
5.0ms
(* (* 2.0 PI) u2)

series238.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0454932
11787832
25001819

prune832.0ms

Filtered
124 candidates to 83 candidates (33.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1222124
Fresh246
Picked011
Done000
Total1247131

Merged error: 0b

Counts
131 → 7

localize37.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 PI) u2)
0.4b
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))
0.4b
(/ (+ (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))
0.4b
(* (/ (* 1.0 1.0) (* 6.0 6.0)) (pow (* -2.0 (log u1)) (* 2 0.5)))

rewrite44.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)
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))
10.0ms
(* (/ (* 1.0 1.0) (* 6.0 6.0)) (pow (* -2.0 (log u1)) (* 2 0.5)))

series357.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 2.0 PI) u2)
96.0ms
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))
160.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))
98.0ms
(* (/ (* 1.0 1.0) (* 6.0 6.0)) (pow (* -2.0 (log u1)) (* 2 0.5)))

simplify147.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010362620
149872281
250012281

prune1.2s

Filtered
151 candidates to 97 candidates (35.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1510151
Fresh055
Picked011
Done011
Total1517158

Merged error: 0b

Counts
158 → 7

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 PI) u2)
0.4b
(* (/ 1.0 6.0) (cbrt (pow (pow (* -2.0 (log u1)) 0.5) 3)))
0.5b
(cbrt (pow (pow (* -2.0 (log u1)) 0.5) 3))
0.7b
(pow (pow (* -2.0 (log u1)) 0.5) 3)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
44×cbrt-prod
25×unpow-prod-down
22×add-cube-cbrt *-un-lft-identity associate-*r*
19×cube-prod
18×add-exp-log
16×times-frac
15×sqr-pow
14×associate-*l* unswap-sqr
13×add-cbrt-cube
11×pow1
pow-exp prod-exp
cbrt-unprod
pow-prod-down add-log-exp
cube-mult pow-unpow unpow3
pow-to-exp *-commutative
cbrt-undiv pow-pow pow1/3 div-exp associate-*l/ rem-cbrt-cube div-inv rem-cube-cbrt
Counts
4 → 133
Calls
4 calls:
5.0ms
(* (* 2.0 PI) u2)
15.0ms
(* (/ 1.0 6.0) (cbrt (pow (pow (* -2.0 (log u1)) 0.5) 3)))
3.0ms
(cbrt (pow (pow (* -2.0 (log u1)) 0.5) 3))
4.0ms
(pow (pow (* -2.0 (log u1)) 0.5) 3)

series233.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 2.0 PI) u2)
95.0ms
(* (/ 1.0 6.0) (cbrt (pow (pow (* -2.0 (log u1)) 0.5) 3)))
91.0ms
(cbrt (pow (pow (* -2.0 (log u1)) 0.5) 3))
43.0ms
(pow (pow (* -2.0 (log u1)) 0.5) 3)

simplify76.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06091038
12514992
25001964

prune817.0ms

Filtered
145 candidates to 83 candidates (42.8%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1450145
Fresh044
Picked011
Done022
Total1457152

Merged error: 0b

Counts
152 → 7

regimes783.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
02714
12714

end0.0ms

sample1.2s

Algorithm
intervals
Results
776.0ms8000×body80valid
174.0ms8000×pre80true

Profiling

Loading profile data...