Details

Time bar (total: 3.2s)

analyze78.0ms (2.5%)

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 (0.7%)

Algorithm
intervals
Results
14.0ms256×body80valid
0.0msbody80invalid
0.0msbody80nan

simplify172.0ms (5.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (170.0ms)

IterNodesCost
0490820
1490820

prune7.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
0.2b
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
0.3b
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
1.3b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

rewrite47.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
26×*-un-lft-identity times-frac
24×add-cube-cbrt associate-*l*
13×add-exp-log add-cbrt-cube
11×pow1
associate-*r/ sqrt-prod
flip3-- sqrt-div associate-*r* flip--
frac-times associate-/r* associate-/r/ add-log-exp
flip3-+ pow-prod-down associate-*l/ prod-exp cbrt-unprod flip-+ associate-/l* unswap-sqr
cbrt-undiv sqrt-pow1 div-exp *-commutative div-inv difference-of-squares
distribute-rgt-in frac-2neg distribute-lft-in pow1/2 clear-num distribute-lft-out--
Counts
4 → 114
Calls

4 calls:

14.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
12.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
10.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series54.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

20.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
17.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
6.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify52.0ms (1.6%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049742418
149742418

prune437.0ms (13.7%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New11610126
Fresh000
Picked101
Done000
Total11710127

Merged error: 0.0b

Counts
127 → 10

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite41.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
21×*-un-lft-identity
17×add-cube-cbrt
14×times-frac
11×pow1
10×add-exp-log add-cbrt-cube
associate-*r* 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*
distribute-rgt-in sub-neg distribute-lft-in sqrt-pow1 associate-*l/ prod-exp associate-/r/ *-commutative cbrt-unprod distribute-lft-out-- unswap-sqr
cbrt-undiv frac-2neg pow1/2 div-exp clear-num div-inv
Counts
4 → 102
Calls

4 calls:

12.0ms
(/ rand (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
10.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* 1.0 (/ rand (sqrt (* 9.0 (- a (/ 1.0 3.0))))))))
9.0ms
(* 9.0 (- a (/ 1.0 3.0)))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series39.0ms (1.2%)

Counts
4 → 12
Calls

4 calls:

15.0ms
(/ rand (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
15.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* 1.0 (/ rand (sqrt (* 9.0 (- a (/ 1.0 3.0))))))))
6.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
3.0ms
(* 9.0 (- a (/ 1.0 3.0)))

simplify37.0ms (1.2%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
050532006

prune307.0ms (9.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1122114
Fresh369
Picked011
Done000
Total1159124

Merged error: 0.0b

Counts
124 → 9

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
0.3b
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
1.3b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
8.7b
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

rewrite54.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
26×times-frac
25×*-un-lft-identity
24×associate-*l*
23×add-cube-cbrt
20×add-exp-log add-cbrt-cube
14×pow1
sqrt-prod
associate-*r/ prod-exp cbrt-unprod
sqrt-div associate-*l/
flip3-- pow-prod-down flip--
associate-*r* associate-/r* associate-/r/ add-log-exp
cbrt-undiv div-exp associate-/l*
frac-times sqrt-pow1 *-commutative div-inv difference-of-squares unswap-sqr
frac-2neg pow1/2 clear-num distribute-lft-out--
Counts
4 → 111
Calls

4 calls:

19.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))
14.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
10.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series55.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

20.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
19.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))
10.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
6.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify38.0ms (1.2%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
051822263

prune356.0ms (11.2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1221123
Fresh167
Picked011
Done011
Total1239132

Merged error: 0.0b

Counts
132 → 9

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.2b
(* (* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* (- a (/ 1.0 3.0)) 9.0)))) rand)
0.3b
(* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* (- a (/ 1.0 3.0)) 9.0))))
0.3b
(/ 1.0 (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
1.3b
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

rewrite60.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
26×times-frac
25×*-un-lft-identity
23×add-cube-cbrt
21×associate-*r*
20×add-exp-log add-cbrt-cube
15×associate-*l/
14×pow1
sqrt-prod
flip3-- associate-*l* prod-exp flip-- cbrt-unprod
sqrt-div
pow-prod-down
frac-times associate-/r* associate-/r/ add-log-exp
cbrt-undiv div-exp associate-/l*
sqrt-pow1 associate-*r/ *-commutative div-inv difference-of-squares unswap-sqr
frac-2neg pow1/2 clear-num distribute-lft-out--
Counts
4 → 115
Calls

4 calls:

20.0ms
(* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* (- a (/ 1.0 3.0)) 9.0))))
19.0ms
(* (* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* (- a (/ 1.0 3.0)) 9.0)))) rand)
10.0ms
(/ 1.0 (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
8.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

series46.0ms (1.5%)

Counts
4 → 12
Calls

4 calls:

19.0ms
(* (* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* (- a (/ 1.0 3.0)) 9.0)))) rand)
12.0ms
(/ 1.0 (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
9.0ms
(* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* (- a (/ 1.0 3.0)) 9.0))))
6.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))

simplify39.0ms (1.2%)

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
055452434

prune365.0ms (11.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1261127
Fresh246
Picked011
Done112
Total1297136

Merged error: 0.0b

Counts
136 → 7

regimes173.0ms (5.4%)

Accuracy

Total 0.1b remaining (89.3%)

Threshold costs 0.1b (89.3%)

bsearch0.0ms (0%)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03626
13626

end0.0ms (0%)

sample658.0ms (20.6%)

Algorithm
intervals
Results
479.0ms8000×body80valid
17.0ms283×body80invalid
13.0ms245×body80nan

Profiling

Loading profile data...