Details

Time bar (total: 7.5s)

sample80.0ms

Algorithm
intervals
Results
39.0ms888×body80nan
17.0ms302×body80valid

simplify99.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17210
219210
343710
481610
5157810
6276410
7500210

prune2.0ms

Filtered
1 candidates to 0 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 → 1

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

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

series830.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
167.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
212.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
280.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)

simplify111.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010081422
146191341
250011341

prune356.0ms

Filtered
126 candidates to 105 candidates (83.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1215126
Fresh000
Picked101
Done000
Total1225127

Merged error: 0b

Counts
127 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

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

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

series862.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
212.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
284.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
249.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

simplify101.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09731341
142201216
250021216

prune315.0ms

Filtered
123 candidates to 99 candidates (80.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1221123
Fresh134
Picked011
Done000
Total1235128

Merged error: 0b

Counts
128 → 5

localize10.0ms

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
16×*-un-lft-identity
13×add-exp-log add-cbrt-cube
11×pow1
10×add-cube-cbrt associate-*r*
associate-*l*
associate-*r/
flip3-- times-frac flip--
frac-times sqrt-div associate-/r* add-log-exp difference-of-squares
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp sqrt-prod cbrt-unprod flip-+
cbrt-undiv sub-neg sqrt-pow1 div-exp associate-*l/ associate-/r/ *-commutative distribute-lft-out-- unswap-sqr
frac-2neg pow1/2 clear-num div-inv distribute-lft-out associate-/l*
Counts
4 → 97
Calls
4 calls:
9.0ms
(* 9.0 (- a (/ 1.0 3.0)))
13.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
11.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series565.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* 9.0 (- a (/ 1.0 3.0)))
149.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
107.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
269.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify92.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08701101
142631027
250011027

prune243.0ms

Filtered
109 candidates to 83 candidates (76.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1090109
Fresh033
Picked011
Done011
Total1095114

Merged error: 0b

Counts
114 → 5

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

rewrite54.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)))
11.0ms
(/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
14.0ms
(* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)
16.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

series928.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)))
269.0ms
(/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
341.0ms
(* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)
141.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

simplify40.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
010201521
150011412

prune307.0ms

Filtered
130 candidates to 97 candidates (74.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1300130
Fresh022
Picked011
Done022
Total1305135

Merged error: 0b

Counts
135 → 5

regimes65.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 (0.0ms)

IterNodesCost
01913
11913

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.3s27362×body80nan
411.0ms9121×body80valid

Profiling

Loading profile data...