Details

Time bar (total: 2.9s)

analyze77.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
14.0ms256×body80valid
0.0msbody80invalid
0.0msbody80nan

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
094720
194720

prune11.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.4b
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

rewrite50.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:
8.0ms
(* (- a (/ 1.0 3.0)) 9.0)
22.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)))
7.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

series38.0ms

Counts
4 → 12
Calls
4 calls:
3.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))
17.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 (21.0ms)

IterNodesCost
053621905

prune268.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1067113
Fresh011
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.2b
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
0.4b
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
7.8b
(* (- a (/ 1.0 3.0)) (/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0))))

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

series41.0ms

Counts
4 → 12
Calls
4 calls:
6.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))))

simplify42.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
050252026

prune284.0ms

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

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1232125
Fresh257
Picked011
Done000
Total1258133

Merged error: 0b

Counts
133 → 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)) (+ (* (/ 1 (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0))) 1))
0.3b
(* (/ 1 (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0)))
0.3b
(/ 1 (sqrt (- a (/ 1.0 3.0))))

rewrite71.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)))
23.0ms
(* (- a (/ 1.0 3.0)) (+ (* (/ 1 (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0))) 1))
24.0ms
(* (/ 1 (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0)))
9.0ms
(/ 1 (sqrt (- a (/ 1.0 3.0))))

series46.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049763441
149763441

prune438.0ms

Filtered
138 candidates to 214 candidates (-55.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2122214
Fresh426
Picked101
Done011
Total2175222

Merged error: 0b

Counts
222 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
29×*-un-lft-identity
27×times-frac
25×associate-*r*
23×add-cube-cbrt
20×add-exp-log
16×associate-*l*
15×unpow-prod-down
12×sqrt-prod
11×add-cbrt-cube
10×unswap-sqr
pow1 prod-exp
add-log-exp difference-of-squares
sqr-pow
frac-times flip3-+ flip-+
pow-to-exp pow-unpow flip3-- associate-*r/ div-exp pow-exp flip-- cbrt-unprod distribute-lft-out--
associate-*l/ *-commutative
cbrt-undiv +-commutative distribute-rgt-in pow-pow distribute-lft-in pow-prod-down sum-log div-inv
Counts
4 → 120
Calls
4 calls:
7.0ms
(pow (- a (/ 1.0 3.0)) -1/2)
14.0ms
(+ (* (pow (- a (/ 1.0 3.0)) -1/2) (/ rand (sqrt 9.0))) 1)
19.0ms
(* (- a (/ 1.0 3.0)) (+ (* (pow (- a (/ 1.0 3.0)) -1/2) (/ rand (sqrt 9.0))) 1))
18.0ms
(* (pow (- a (/ 1.0 3.0)) -1/2) (/ rand (sqrt 9.0)))

series55.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
051522471

prune283.0ms

Filtered
99 candidates to 132 candidates (-33.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1320132
Fresh033
Picked011
Done011
Total1325137

Merged error: 0b

Counts
137 → 5

regimes150.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
01724
11724

end0.0ms

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

sample598.0ms

Algorithm
intervals
Results
438.0ms8000×body80valid
15.0ms264×body80nan
15.0ms272×body80invalid

Profiling

Loading profile data...