Details

Time bar (total: 3.6s)

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

sample22.0ms

Algorithm
intervals
Results
13.0ms256×body80valid
1.0ms10×body80invalid
0.0ms10×body80nan

simplify141.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (140.0ms)

IterNodesCost
0490820
1490820

prune9.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)) (+ (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0))) 1))
0.2b
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
0.6b
(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)
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)))
10.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

series37.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
057871905

prune266.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1058113
Fresh011
Picked101
Done000
Total1069115

Merged error: 0b

Counts
115 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- a (/ 1.0 3.0)) 9.0)
0.2b
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
0.6b
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
8.3b
(* (- a (/ 1.0 3.0)) (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0))))

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

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

simplify33.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
050152084

prune275.0ms

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1232125
Fresh448
Picked011
Done000
Total1277134

Merged error: 0b

Counts
134 → 7

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

rewrite68.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:
31.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)
14.0ms
(/ 1 (/ (sqrt (* (- a (/ 1.0 3.0)) 9.0)) rand))
7.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

series57.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
057153468

prune354.0ms

Filtered
129 candidates to 179 candidates (-38.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1772179
Fresh235
Picked101
Done011
Total1806186

Merged error: 0b

Counts
186 → 6

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

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
586×times-frac
267×add-sqr-sqrt
264×*-un-lft-identity
260×add-cube-cbrt
50×add-exp-log
47×sqrt-prod
35×div-inv
34×div-exp associate-*l/
32×sqrt-div
31×associate-/r/
21×associate-/l*
20×add-cbrt-cube
19×flip3-- flip--
17×associate-/r*
13×pow1
cbrt-undiv rec-exp 1-exp
associate-*l*
frac-times pow-flip sqrt-pow1 associate-*r* add-log-exp
flip3-+ pow-prod-down flip-+
frac-2neg pow1/2 associate-*r/ clear-num difference-of-squares
distribute-rgt-in distribute-lft-in prod-exp *-commutative cbrt-unprod associate-/l/ distribute-lft-out distribute-lft-out-- inv-pow unswap-sqr
Counts
4 → 382
Calls
4 calls:
79.0ms
(* (- a (/ 1.0 3.0)) (+ (/ (/ 1 (sqrt (* (- a (/ 1.0 3.0)) 9.0))) (/ 1 rand)) 1))
20.0ms
(/ (/ 1 (sqrt (* (- a (/ 1.0 3.0)) 9.0))) (/ 1 rand))
10.0ms
(/ 1 (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
8.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

series40.0ms

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

simplify266.0ms

Algorithm
egg-herbie
Counts
394 → 394
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050069036

prune743.0ms

Filtered
204 candidates to 394 candidates (-93.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New3940394
Fresh044
Picked011
Done011
Total3946400

Merged error: 0b

Counts
400 → 6

regimes142.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
03424
13424

end0.0ms

sample609.0ms

Algorithm
intervals
Results
441.0ms8000×body80valid
16.0ms270×body80invalid
13.0ms262×body80nan

Profiling

Loading profile data...