Details

Time bar (total: 3.3s)

analyze71.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
14.0ms256×body80valid
1.0ms12×body80invalid
0.0msbody80nan

simplify154.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (153.0ms)

IterNodesCost
0523920

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

localize10.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)) (+ 1 (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))))
0.3b
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
0.6b
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

rewrite47.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:
9.0ms
(* (- a (/ 1.0 3.0)) 9.0)
18.0ms
(* (- a (/ 1.0 3.0)) (+ 1 (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))))
10.0ms
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
7.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

series35.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049401937
149401937

prune281.0ms

Filtered
90 candidates to 113 candidates (-25.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1058113
Fresh101
Picked101
Done000
Total1078115

Merged error: 0.0b

Counts
115 → 8

localize10.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.6b
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
6.4b
(* (- a (/ 1.0 3.0)) (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0))))

rewrite52.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:
9.0ms
(* (- a (/ 1.0 3.0)) 9.0)
10.0ms
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
7.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))))

series39.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (- a (/ 1.0 3.0)) 9.0)
14.0ms
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
5.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))))

simplify53.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049312084
149312084

prune307.0ms

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1223125
Fresh437
Picked011
Done000
Total1267133

Merged error: 0b

Counts
133 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- a (/ 1.0 3.0)) (* (/ (- a (/ 1.0 3.0)) (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.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))))

rewrite85.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-+l- sub-neg rem-sqrt-square associate-+l+ frac-2neg flip3-+ diff-log div-sub pow-prod-down clear-num *-commutative flip-+
Counts
4 → 237
Calls
4 calls:
9.0ms
(+ (- a (/ 1.0 3.0)) (* (/ (- a (/ 1.0 3.0)) (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0))))
6.0ms
(sqrt (- a (/ 1.0 3.0)))
41.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))))

series45.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(+ (- a (/ 1.0 3.0)) (* (/ (- a (/ 1.0 3.0)) (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0))))
4.0ms
(sqrt (- a (/ 1.0 3.0)))
21.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))))

simplify80.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
050214714

prune804.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2454249
Fresh505
Picked101
Done011
Total2515256

Merged error: 0b

Counts
256 → 5

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
26×sqrt-prod
24×times-frac
23×*-un-lft-identity
22×associate-*r*
19×add-cube-cbrt
14×sqrt-div
12×flip3-- flip--
10×frac-add
associate-*l*
add-exp-log add-cbrt-cube add-log-exp
pow1 frac-times associate-*l/ unswap-sqr
difference-of-squares
associate-*r/
prod-exp sum-log cbrt-unprod distribute-lft-out--
cbrt-undiv +-commutative associate-+l- sub-neg rem-sqrt-square associate-+l+ sqrt-pow1 flip3-+ pow1/2 diff-log div-exp pow-prod-down *-commutative flip-+ div-inv distribute-lft-out
Counts
3 → 98
Calls
3 calls:
12.0ms
(+ (- a (/ 1.0 3.0)) (* (sqrt (- a (/ 1.0 3.0))) (/ rand (sqrt 9.0))))
7.0ms
(sqrt (- a (/ 1.0 3.0)))
16.0ms
(* (sqrt (- a (/ 1.0 3.0))) (/ rand (sqrt 9.0)))

series33.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(+ (- a (/ 1.0 3.0)) (* (sqrt (- a (/ 1.0 3.0))) (/ rand (sqrt 9.0))))
4.0ms
(sqrt (- a (/ 1.0 3.0)))
18.0ms
(* (sqrt (- a (/ 1.0 3.0))) (/ rand (sqrt 9.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
050292234

prune232.0ms

Filtered
79 candidates to 107 candidates (-35.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh033
Picked011
Done011
Total1075112

Merged error: 0b

Counts
112 → 5

regimes139.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07419
17419

end0.0ms

sample631.0ms

Algorithm
intervals
Results
453.0ms8000×body80valid
19.0ms267×body80invalid
15.0ms299×body80nan

Profiling

Loading profile data...