Details

Time bar (total: 5.1s)

sample84.0ms

Algorithm
intervals
Results
37.0ms764×body80nan
16.0ms292×body80valid

simplify310.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (308.0ms)

IterNodesCost
0507320

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

localize12.0ms

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

rewrite44.0ms

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

series55.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
051102412

prune309.0ms

Filtered
105 candidates to 126 candidates (-20.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1206126
Fresh101
Picked101
Done000
Total1226128

Merged error: 0.0b

Counts
128 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

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:
9.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
13.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
18.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

series54.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
049862263
149862263

prune350.0ms

Filtered
105 candidates to 123 candidates (-17.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1212123
Fresh145
Picked101
Done000
Total1236129

Merged error: 0b

Counts
129 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
22×add-exp-log add-cbrt-cube
21×associate-*l*
19×*-un-lft-identity
15×add-cube-cbrt associate-*r*
13×sqrt-prod
12×pow1
times-frac associate-*r/
prod-exp cbrt-unprod
flip3-- sqrt-div flip-- unswap-sqr
pow-prod-down
cbrt-undiv frac-times div-exp associate-/r/ add-log-exp difference-of-squares
flip3-+ associate-*l/ *-commutative flip-+ associate-/l*
sqrt-pow1 pow1/2 div-inv distribute-lft-out--
distribute-rgt-in frac-2neg distribute-lft-in sqrt-unprod clear-num associate-/r*
Counts
4 → 118
Calls
4 calls:
10.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)))
14.0ms
(* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)
11.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))
11.0ms
(/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))

series80.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049722507
149722507

prune269.0ms

Filtered
96 candidates to 130 candidates (-35.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1300130
Fresh055
Picked011
Done000
Total1306136

Merged error: 0b

Counts
136 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

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:
7.0ms
(sqrt (* (- a (/ 1.0 3.0)) 9.0))
10.0ms
(/ 1.0 (sqrt (* (- a (/ 1.0 3.0)) 9.0)))
18.0ms
(* (* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* (- a (/ 1.0 3.0)) 9.0)))) rand)
22.0ms
(* (- a (/ 1.0 3.0)) (/ 1.0 (sqrt (* (- a (/ 1.0 3.0)) 9.0))))

series46.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
053182434

prune279.0ms

Filtered
103 candidates to 127 candidates (-23.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1270127
Fresh044
Picked011
Done011
Total1276133

Merged error: 0b

Counts
133 → 6

regimes141.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01821
11821

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.4s27153×body80nan
496.0ms9112×body80valid

Profiling

Loading profile data...