Details

Time bar (total: 3.5s)

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

sample27.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
1.0ms12×body80nan
0.0msbody80invalid

simplify149.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (147.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.1b
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
0.2b
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))

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

series36.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
057871905

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

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
441×times-frac
343×add-sqr-sqrt
261×*-un-lft-identity
258×sqrt-prod
205×add-cube-cbrt
54×difference-of-squares
36×associate-/l*
27×distribute-lft-out--
18×sqrt-div
16×associate-/r/
15×associate-/r*
13×add-exp-log add-cbrt-cube
12×flip3-- flip--
div-inv
pow1
associate-*l*
cbrt-undiv frac-times div-exp associate-*r* add-log-exp
flip3-+ flip-+
frac-2neg associate-*r/ associate-*l/ clear-num
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod associate-/l/ distribute-lft-out unswap-sqr
Counts
4 → 355
Calls
4 calls:
6.0ms
(sqrt (- a (/ 1.0 3.0)))
71.0ms
(* (- a (/ 1.0 3.0)) (+ (/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0)) 1))
9.0ms
(/ rand (sqrt (- a (/ 1.0 3.0))))
18.0ms
(/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0))

series46.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
367 → 367
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049887942
149887942

prune810.0ms

Filtered
219 candidates to 367 candidates (-67.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New3652367
Fresh527
Picked011
Done000
Total3705375

Merged error: 0.0b

Counts
375 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
148×add-sqr-sqrt
103×times-frac
78×*-un-lft-identity
68×sqrt-prod
54×add-cube-cbrt
39×associate-*l*
32×add-exp-log
25×associate-*r*
20×add-cbrt-cube
18×difference-of-squares
16×unswap-sqr
11×pow1
10×div-exp
prod-exp associate-/r* distribute-lft-out--
flip3-- sqrt-div flip--
cbrt-undiv frac-times cbrt-unprod
associate-/r/ add-log-exp
rec-exp pow-flip flip3-+ 1-exp associate-*r/ associate-*l/ flip-+ div-inv associate-/l*
sqrt-pow1 pow1/2 pow-prod-down *-commutative
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in clear-num inv-pow
Counts
4 → 202
Calls
4 calls:
6.0ms
(sqrt (- a (/ 1.0 3.0)))
24.0ms
(* (- a (/ 1.0 3.0)) (+ (* (/ 1 (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0))) 1))
10.0ms
(/ 1 (sqrt (- a (/ 1.0 3.0))))
25.0ms
(* (/ 1 (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0)))

series42.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049843469
149843469

prune443.0ms

Filtered
137 candidates to 214 candidates (-56.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2131214
Fresh033
Picked101
Done011
Total2145219

Merged error: 0.0b

Counts
219 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite45.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-+r- sub-neg rem-sqrt-square associate-+r+ 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:
6.0ms
(sqrt (- a (/ 1.0 3.0)))
18.0ms
(+ (* (sqrt (- a (/ 1.0 3.0))) (/ rand (sqrt 9.0))) (- a (/ 1.0 3.0)))
16.0ms
(* (sqrt (- a (/ 1.0 3.0))) (/ rand (sqrt 9.0)))

series36.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
055702228

prune222.0ms

Filtered
81 candidates to 107 candidates (-32.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1052107
Fresh303
Picked011
Done011
Total1084112

Merged error: 0b

Counts
112 → 4

regimes137.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
03521
13521

end0.0ms

sample629.0ms

Algorithm
intervals
Results
461.0ms8000×body80valid
14.0ms270×body80nan
14.0ms239×body80invalid

Profiling

Loading profile data...