Details

Time bar (total: 7.5s)

sample78.0ms

Algorithm
intervals
Results
41.0ms969×body80nan
13.0ms290×body80valid

simplify94.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.2b

Counts
2 → 1

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

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

series725.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
204.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
272.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
105.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify103.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
010081422
146191341
250011341

prune355.0ms

Filtered
126 candidates to 105 candidates (83.3%)
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

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

rewrite46.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)))
15.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
12.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
8.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series556.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* 9.0 (- a (/ 1.0 3.0)))
143.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
258.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
111.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify91.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08701101
142631027
250011027

prune256.0ms

Filtered
109 candidates to 83 candidates (76.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1081109
Fresh279
Picked011
Done000
Total1109119

Merged error: 0.0b

Counts
119 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
163×times-frac
127×add-sqr-sqrt
102×sqrt-prod
89×*-un-lft-identity
59×add-cube-cbrt
26×difference-of-squares
15×add-exp-log add-cbrt-cube
13×distribute-lft-out--
11×div-inv
10×associate-/l*
associate-/r*
pow1
associate-*l* add-log-exp
cbrt-undiv flip3-- div-exp flip--
frac-times flip3-+ sqrt-div associate-*r* flip-+
associate-*r/ associate-*l/ prod-exp associate-/r/ cbrt-unprod distribute-lft-out
+-commutative distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down clear-num sum-log *-commutative associate-/l/ unswap-sqr
Counts
4 → 190
Calls
4 calls:
6.0ms
(sqrt (- a (/ 1.0 3.0)))
30.0ms
(+ 1.0 (/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))
35.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))))
14.0ms
(/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

series731.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(sqrt (- a (/ 1.0 3.0)))
175.0ms
(+ 1.0 (/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))))
172.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))))
319.0ms
(/ (/ (* 1.0 rand) (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

simplify71.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
011422786
150012617

prune624.0ms

Filtered
202 candidates to 132 candidates (65.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2002202
Fresh257
Picked101
Done011
Total2038211

Merged error: 0.0b

Counts
211 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
97×add-sqr-sqrt
72×times-frac
61×*-un-lft-identity
49×add-exp-log
47×sqrt-prod
43×add-cube-cbrt
36×associate-*r*
29×add-cbrt-cube
17×prod-exp
16×div-exp associate-*l* difference-of-squares
10×pow1
associate-/r* cbrt-unprod
cbrt-undiv distribute-lft-out--
add-log-exp unswap-sqr
frac-times flip3-- flip--
rec-exp flip3-+ sqrt-div 1-exp associate-/r/ flip-+
pow-flip associate-*r/ associate-*l/ div-inv associate-/l*
pow-prod-down *-commutative
+-commutative distribute-rgt-in frac-2neg distribute-lft-in sqrt-pow1 pow1/2 clear-num sum-log un-div-inv inv-pow
Counts
4 → 180
Calls
4 calls:
3.0ms
(+ 1.0 (* (/ (* 1.0 rand) (sqrt 9.0)) (/ 1 (sqrt (- a (/ 1.0 3.0))))))
10.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (* 1.0 rand) (sqrt 9.0)) (/ 1 (sqrt (- a (/ 1.0 3.0)))))))
9.0ms
(/ 1 (sqrt (- a (/ 1.0 3.0))))
26.0ms
(* (/ (* 1.0 rand) (sqrt 9.0)) (/ 1 (sqrt (- a (/ 1.0 3.0)))))

series780.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(+ 1.0 (* (/ (* 1.0 rand) (sqrt 9.0)) (/ 1 (sqrt (- a (/ 1.0 3.0))))))
177.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (* 1.0 rand) (sqrt 9.0)) (/ 1 (sqrt (- a (/ 1.0 3.0)))))))
101.0ms
(/ 1 (sqrt (- a (/ 1.0 3.0))))
323.0ms
(* (/ (* 1.0 rand) (sqrt 9.0)) (/ 1 (sqrt (- a (/ 1.0 3.0)))))

simplify56.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
011672272
150012039

prune394.0ms

Filtered
192 candidates to 121 candidates (63.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1911192
Fresh246
Picked011
Done011
Total1937200

Merged error: 0.0b

Counts
200 → 7

regimes123.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
02212
12212

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s27491×body80nan
422.0ms9185×body80valid

Profiling

Loading profile data...