Details

Time bar (total: 3.8s)

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

sample24.0ms

Algorithm
intervals
Results
15.0ms256×body80valid
1.0ms11×body80invalid
0.0msbody80nan

simplify168.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (167.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))

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

series43.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
057871905

prune262.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1058113
Fresh101
Picked101
Done000
Total1078115

Merged error: 0.0b

Counts
115 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
26×*-un-lft-identity
22×add-cube-cbrt
19×times-frac
15×sqrt-prod
add-exp-log add-cbrt-cube
pow1
flip3-- associate-*l* associate-/r* flip-- add-log-exp
frac-times sqrt-div associate-*r*
flip3-+ flip-+ associate-/l*
associate-*r/ associate-*l/ associate-/r/ difference-of-squares
cbrt-undiv distribute-rgt-in sub-neg rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 diff-log div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv distribute-lft-out distribute-lft-out-- unswap-sqr
Counts
4 → 99
Calls
4 calls:
4.0ms
(- (* a 9.0) 3.0)
20.0ms
(* (- a (/ 1.0 3.0)) (+ (/ rand (sqrt (- (* a 9.0) 3.0))) 1))
6.0ms
(/ rand (sqrt (- (* a 9.0) 3.0)))
4.0ms
(sqrt (- (* a 9.0) 3.0))

series36.0ms

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

simplify30.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
050981758

prune212.0ms

Filtered
85 candidates to 111 candidates (-30.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1092111
Fresh257
Picked011
Done000
Total1118119

Merged error: 0.0b

Counts
119 → 8

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

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

series53.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
367 → 367
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049887942
149887942

prune830.0ms

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

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New3643367
Fresh336
Picked011
Done011
Total3678375

Merged error: 0b

Counts
375 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
52×add-exp-log
34×add-cbrt-cube
28×associate-*l*
27×*-un-lft-identity
22×add-cube-cbrt
21×associate-*r*
19×times-frac prod-exp sqrt-prod
16×div-exp
12×pow1
11×cbrt-unprod
10×unswap-sqr
cbrt-undiv associate-*l/
flip3-- sqrt-div flip--
cbrt-prod frac-times pow-prod-down
associate-/r/ add-log-exp difference-of-squares
rec-exp flip3-+ 1-exp associate-*r/ *-commutative flip-+ div-inv associate-/l*
sqrt-pow1 pow1/2 distribute-lft-out--
distribute-rgt-in frac-2neg distribute-lft-in sqrt-unprod clear-num associate-/r*
Counts
4 → 149
Calls
4 calls:
26.0ms
(* (- a (/ 1.0 3.0)) (+ (* (/ 1 (fabs (cbrt 9.0))) (/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt (cbrt 9.0))))) 1))
12.0ms
(/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt (cbrt 9.0))))
21.0ms
(* (/ 1 (fabs (cbrt 9.0))) (/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt (cbrt 9.0)))))
13.0ms
(* (sqrt (- a (/ 1.0 3.0))) (sqrt (cbrt 9.0)))

series90.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (- a (/ 1.0 3.0)) (+ (* (/ 1 (fabs (cbrt 9.0))) (/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt (cbrt 9.0))))) 1))
22.0ms
(/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt (cbrt 9.0))))
35.0ms
(* (/ 1 (fabs (cbrt 9.0))) (/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt (cbrt 9.0)))))
9.0ms
(* (sqrt (- a (/ 1.0 3.0))) (sqrt (cbrt 9.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
050123475

prune484.0ms

Filtered
117 candidates to 161 candidates (-37.6%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1610161
Fresh055
Picked011
Done022
Total1618169

Merged error: 0b

Counts
169 → 8

regimes227.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
04418
14418

end0.0ms

sample661.0ms

Algorithm
intervals
Results
486.0ms8000×body80valid
15.0ms250×body80invalid
15.0ms272×body80nan

Profiling

Loading profile data...