Details

Time bar (total: 3.3s)

analyze74.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
0%50%50%3
0%50%50%4
6.2%43.7%50%5
9.4%28.1%62.5%6
12.5%25%62.5%7
15.6%15.6%68.8%8
16.8%14.4%68.8%9
18.5%8.8%72.7%10
19.2%7.7%73.1%11
20.1%4.6%75.2%12
20.5%4%75.5%13
21%2.4%76.6%14

sample26.0ms

Algorithm
intervals
Results
17.0ms256×body80valid
0.0msbody80nan
0.0msbody80invalid

simplify143.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (141.0ms)

IterNodesCost
0490820
1490820

prune10.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.1b

Counts
2 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- a (/ 1.0 3.0)) 9.0)
0.1b
(* (- a (/ 1.0 3.0)) (+ (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0))) 1))
0.3b
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
0.4b
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
23×*-un-lft-identity
17×add-cube-cbrt
14×times-frac
12×associate-*l*
11×pow1
10×add-exp-log add-cbrt-cube
associate-*l/
associate-*r*
flip3-- flip--
sqrt-prod
frac-times sqrt-div associate-/r* add-log-exp difference-of-squares
flip3-+ pow-prod-down flip-+ associate-/l*
sqrt-pow1 associate-*r/ prod-exp associate-/r/ *-commutative cbrt-unprod distribute-lft-out-- unswap-sqr
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in pow1/2 div-exp clear-num div-inv distribute-lft-out
Counts
4 → 101
Calls
4 calls:
11.0ms
(* (- a (/ 1.0 3.0)) 9.0)
23.0ms
(* (- a (/ 1.0 3.0)) (+ (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0))) 1))
10.0ms
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
8.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

series38.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (- a (/ 1.0 3.0)) 9.0)
13.0ms
(* (- a (/ 1.0 3.0)) (+ (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0))) 1))
15.0ms
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
6.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
057871905

prune276.0ms

Filtered
92 candidates to 113 candidates (-22.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10310113
Fresh101
Picked101
Done000
Total10510115

Merged error: 0.0b

Counts
115 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- a (/ 1.0 3.0)) 9.0)
0.3b
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
0.4b
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
7.4b
(* (- a (/ 1.0 3.0)) (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
28×*-un-lft-identity
27×times-frac
24×add-cube-cbrt
21×associate-*r*
13×add-exp-log add-cbrt-cube
12×associate-*l*
11×pow1
10×associate-*l/
sqrt-prod
flip3-- sqrt-div flip--
associate-/r* associate-/r/ add-log-exp difference-of-squares
pow-prod-down prod-exp cbrt-unprod associate-/l* unswap-sqr
cbrt-undiv frac-times sqrt-pow1 div-exp *-commutative div-inv distribute-lft-out--
frac-2neg pow1/2 associate-*r/ clear-num
Counts
4 → 113
Calls
4 calls:
10.0ms
(* (- a (/ 1.0 3.0)) 9.0)
10.0ms
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
8.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
20.0ms
(* (- a (/ 1.0 3.0)) (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0))))

series46.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (- a (/ 1.0 3.0)) 9.0)
19.0ms
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
6.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
16.0ms
(* (- a (/ 1.0 3.0)) (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0))))

simplify36.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
050152084

prune295.0ms

Filtered
101 candidates to 125 candidates (-23.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1223125
Fresh549
Picked101
Done000
Total1287135

Merged error: 0b

Counts
135 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- a (/ 1.0 3.0)) (+ (/ 1 (/ (sqrt (* (- a (/ 1.0 3.0)) 9.0)) rand)) 1))
0.3b
(/ (sqrt (* (- a (/ 1.0 3.0)) 9.0)) rand)
0.4b
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
0.9b
(/ 1 (/ (sqrt (* (- a (/ 1.0 3.0)) 9.0)) rand))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
109×times-frac
71×add-sqr-sqrt
69×*-un-lft-identity
64×add-cube-cbrt
19×add-exp-log associate-/r*
17×sqrt-prod
13×add-cbrt-cube
10×pow1
div-exp
div-inv associate-/l*
associate-*l* associate-*l/
flip3-- associate-*r* flip--
cbrt-undiv frac-times sqrt-div add-log-exp
flip3-+ flip-+
rec-exp frac-2neg sqrt-pow1 1-exp associate-*r/ pow-prod-down clear-num associate-/l/ distribute-lft-out difference-of-squares
distribute-rgt-in pow-flip distribute-lft-in pow1/2 prod-exp associate-/r/ *-commutative cbrt-unprod distribute-lft-out-- inv-pow unswap-sqr
Counts
4 → 167
Calls
4 calls:
34.0ms
(* (- a (/ 1.0 3.0)) (+ (/ 1 (/ (sqrt (* (- a (/ 1.0 3.0)) 9.0)) rand)) 1))
10.0ms
(/ (sqrt (* (- a (/ 1.0 3.0)) 9.0)) rand)
7.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
12.0ms
(/ 1 (/ (sqrt (* (- a (/ 1.0 3.0)) 9.0)) rand))

series64.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* (- a (/ 1.0 3.0)) (+ (/ 1 (/ (sqrt (* (- a (/ 1.0 3.0)) 9.0)) rand)) 1))
26.0ms
(/ (sqrt (* (- a (/ 1.0 3.0)) 9.0)) rand)
6.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
19.0ms
(/ 1 (/ (sqrt (* (- a (/ 1.0 3.0)) 9.0)) rand))

simplify48.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
057153468

prune375.0ms

Filtered
131 candidates to 179 candidates (-36.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1790179
Fresh066
Picked011
Done000
Total1797186

Merged error: 0b

Counts
186 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (/ (- a (/ 1.0 3.0)) (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0))) (- a (/ 1.0 3.0)))
0.0b
(sqrt (- a (/ 1.0 3.0)))
0.3b
(* (/ (- a (/ 1.0 3.0)) (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0)))
0.5b
(/ (- a (/ 1.0 3.0)) (sqrt (- a (/ 1.0 3.0))))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
260×add-sqr-sqrt
171×times-frac
130×*-un-lft-identity
99×sqrt-prod
66×difference-of-squares
64×add-cube-cbrt
60×associate-*l*
33×distribute-lft-out--
22×associate-*r*
18×add-exp-log add-cbrt-cube
10×pow1
associate-/r* add-log-exp unswap-sqr
flip3-- flip--
sqrt-div frac-add associate-/l*
cbrt-undiv div-exp
prod-exp associate-/r/ cbrt-unprod
frac-times associate-*r/ associate-*l/ div-inv
sqrt-pow1 pow1/2 sum-log associate-/l/ pow-div
+-commutative associate-+r- sub-neg rem-sqrt-square associate-+r+ frac-2neg flip3-+ diff-log div-sub pow-prod-down clear-num *-commutative flip-+
Counts
4 → 237
Calls
4 calls:
30.0ms
(+ (* (/ (- a (/ 1.0 3.0)) (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0))) (- a (/ 1.0 3.0)))
6.0ms
(sqrt (- a (/ 1.0 3.0)))
39.0ms
(* (/ (- a (/ 1.0 3.0)) (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0)))
15.0ms
(/ (- a (/ 1.0 3.0)) (sqrt (- a (/ 1.0 3.0))))

series42.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ (* (/ (- a (/ 1.0 3.0)) (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0))) (- a (/ 1.0 3.0)))
4.0ms
(sqrt (- a (/ 1.0 3.0)))
18.0ms
(* (/ (- a (/ 1.0 3.0)) (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0)))
5.0ms
(/ (- a (/ 1.0 3.0)) (sqrt (- a (/ 1.0 3.0))))

simplify62.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
057634727

prune580.0ms

Filtered
170 candidates to 249 candidates (-46.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2481249
Fresh145
Picked011
Done011
Total2497256

Merged error: 0b

Counts
256 → 7

regimes162.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03622
13622

end0.0ms

sample637.0ms

Algorithm
intervals
Results
467.0ms8000×body80valid
15.0ms242×body80nan
13.0ms237×body80invalid

Profiling

Loading profile data...