Details

Time bar (total: 4.5s)

analyze76.0ms (1.7%)

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

sample23.0ms (0.5%)

Algorithm
intervals
Results
14.0ms256×body80valid
0.0msbody80nan
0.0msbody80invalid

simplify141.0ms (3.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (139.0ms)

IterNodesCost
0490820
1490820

prune10.0ms (0.2%)

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

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
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
0.2b
(/ rand (sqrt (* (- a (/ 1.0 3.0)) 9.0)))

rewrite53.0ms (1.2%)

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:

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

series37.0ms (0.8%)

Counts
4 → 12
Calls

4 calls:

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

simplify35.0ms (0.8%)

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
057871905

prune291.0ms (6.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1076113
Fresh101
Picked011
Done000
Total1087115

Merged error: 0.0b

Counts
115 → 7

localize11.0ms (0.3%)

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

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:

69.0ms
(* (- a (/ 1.0 3.0)) (+ (/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0)) 1))
17.0ms
(/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0))
11.0ms
(/ rand (sqrt (- a (/ 1.0 3.0))))
6.0ms
(sqrt (- a (/ 1.0 3.0)))

series51.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

17.0ms
(/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0))
16.0ms
(/ rand (sqrt (- a (/ 1.0 3.0))))
14.0ms
(* (- a (/ 1.0 3.0)) (+ (/ (/ rand (sqrt (- a (/ 1.0 3.0)))) (sqrt 9.0)) 1))
4.0ms
(sqrt (- a (/ 1.0 3.0)))

simplify89.0ms (2%)

Algorithm
egg-herbie
Counts
367 → 367
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049887942
149887942

prune1.4s (31.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New3661367
Fresh145
Picked011
Done011
Total3677374

Merged error: 0.0b

Counts
374 → 7

localize13.0ms (0.3%)

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

rewrite79.0ms (1.8%)

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:

27.0ms
(* (- a (/ 1.0 3.0)) (+ (* (/ 1 (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0))) 1))
26.0ms
(* (/ 1 (sqrt (- a (/ 1.0 3.0)))) (/ rand (sqrt 9.0)))
9.0ms
(/ 1 (sqrt (- a (/ 1.0 3.0))))
7.0ms
(sqrt (- a (/ 1.0 3.0)))

series45.0ms (1%)

Counts
4 → 12
Calls

4 calls:

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

simplify69.0ms (1.5%)

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049843469
149843469

prune712.0ms (15.9%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2131214
Fresh224
Picked011
Done112
Total2165221

Merged error: 0b

Counts
221 → 5

localize10.0ms (0.2%)

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

rewrite60.0ms (1.3%)

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:

29.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)))
10.0ms
(sqrt (- a (/ 1.0 3.0)))

series35.0ms (0.8%)

Counts
3 → 9
Calls

3 calls:

18.0ms
(* (sqrt (- a (/ 1.0 3.0))) (/ rand (sqrt 9.0)))
13.0ms
(+ (* (sqrt (- a (/ 1.0 3.0))) (/ rand (sqrt 9.0))) (- a (/ 1.0 3.0)))
4.0ms
(sqrt (- a (/ 1.0 3.0)))

simplify35.0ms (0.8%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
055702228

prune289.0ms (6.5%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1070107
Fresh022
Picked011
Done022
Total1075112

Merged error: 0b

Counts
112 → 5

regimes134.0ms (3%)

Accuracy

Total 0.1b remaining (84.1%)

Threshold costs 0.1b (84.1%)

bsearch0.0ms (0%)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03520
13520

end0.0ms (0%)

sample638.0ms (14.2%)

Algorithm
intervals
Results
458.0ms8000×body80valid
16.0ms262×body80nan
14.0ms247×body80invalid

Profiling

Loading profile data...