Details

Time bar (total: 5.8s)

analyze337.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%6.2%93.8%0
0%6.2%93.8%1
0%6.2%93.8%2
0%6.2%93.8%3
3.1%3.1%93.8%4
3.1%3.1%93.8%5
4.7%1.6%93.8%6
4.7%1.6%93.8%7
5.5%0.8%93.8%8
5.5%0.8%93.8%9
5.8%0.4%93.8%10
5.8%0.4%93.8%11
6%0.2%93.8%12
6%0.2%93.8%13
6.1%0.1%93.8%14

sample45.0ms

Algorithm
intervals
Results
26.0ms256×body80valid
7.0ms256×pre80true

simplify423.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

localize32.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* (/ 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.3b
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))

rewrite30.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))

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 (50.0ms)

IterNodesCost
0514738
12154656
25001648

prune222.0ms

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New93699
Fresh000
Picked011
Done000
Total937100

Merged error: 0b

Counts
100 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* 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)
5.0ms
(* (* 2.0 PI) u2)
5.0ms
(/ (pow (* -2.0 (log u1)) 0.5) 6.0)

series213.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0445720
11835655
25001647

prune224.0ms

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

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New95196
Fresh145
Picked011
Done011
Total967103

Merged error: 0b

Counts
103 → 7

localize43.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.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:
6.0ms
(* (* 2.0 PI) u2)
10.0ms
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) 0.5))
14.0ms
(* (/ (* 1.0 1.0) (* 6.0 6.0)) (pow (* -2.0 (log u1)) (* 2 0.5)))
21.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))

series404.0ms

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

simplify145.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
010362620
149872281
250012281

prune561.0ms

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

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1510151
Fresh044
Picked011
Done022
Total1517158

Merged error: 0b

Counts
158 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
152×add-exp-log
99×prod-exp
40×pow-exp
29×add-sqr-sqrt
23×add-cbrt-cube
21×add-cube-cbrt *-un-lft-identity
20×pow-to-exp times-frac div-exp
15×associate-*l*
13×pow-unpow associate-*r*
12×pow1
10×cbrt-unprod
sqr-pow
pow-prod-down add-log-exp unswap-sqr
unpow-prod-down associate-*l/ *-commutative
cbrt-undiv pow-pow div-inv
Counts
4 → 140
Calls
4 calls:
5.0ms
(pow (* -2.0 (log u1)) (/ 0.5 2))
5.0ms
(* (* 2.0 PI) u2)
12.0ms
(* (* (/ 1.0 6.0) (pow (* -2.0 (log u1)) (/ 0.5 2))) (pow (* -2.0 (log u1)) (/ 0.5 2)))
8.0ms
(* (/ 1.0 6.0) (pow (* -2.0 (log u1)) (/ 0.5 2)))

series228.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06171345
123681017
250021007

prune232.0ms

Filtered
78 candidates to 152 candidates (-94.9%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1520152
Fresh033
Picked011
Done033
Total1527159

Merged error: 0b

Counts
159 → 7

regimes684.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

analyze118.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%6.2%93.8%0
0%6.2%93.8%1
0%6.2%93.8%2
0%6.2%93.8%3
3.1%3.1%93.8%4
3.1%3.1%93.8%5
4.7%1.6%93.8%6
4.7%1.6%93.8%7
5.5%0.8%93.8%8
5.5%0.8%93.8%9
5.8%0.4%93.8%10
5.8%0.4%93.8%11
6%0.2%93.8%12
6%0.2%93.8%13
6.1%0.1%93.8%14

sample1.3s

Algorithm
intervals
Results
877.0ms8000×body80valid
208.0ms8000×pre80true

Profiling

Loading profile data...