Details

Time bar (total: 3.1s)

analyze79.0ms

Algorithm
search

sample22.0ms

Algorithm
intervals
Results
14.0ms256×body80valid
0.0msbody80nan
0.0msbody80invalid

simplify93.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17210
219210
343710
481610
5157810
6276410
7500210

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

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

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

series53.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)))
23.0ms
(* (/ 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))))

simplify101.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
010081422
146171341
250011341

prune355.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New11412126
Fresh000
Picked101
Done000
Total11512127

Merged error: 0b

Counts
127 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series53.0ms

Counts
4 → 12
Calls
4 calls:
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)))))
5.0ms
(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))

simplify89.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09731339
142241216
250011216

prune305.0ms

Filtered
99 candidates to 123 candidates (-24.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1221123
Fresh2911
Picked101
Done000
Total12510135

Merged error: 0b

Counts
135 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.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
14×pow1
associate-*l/
associate-*r/ 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 *-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 (* 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))))))
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series42.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09351430
142821295
250021295

prune298.0ms

Filtered
102 candidates to 127 candidates (-24.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1261127
Fresh369
Picked101
Done000
Total1307137

Merged error: 0b

Counts
137 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

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

series37.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 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)
9.0ms
(/ (* (- a (/ 1.0 3.0)) 1.0) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
6.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify108.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
07951055
13509934
25001934

prune205.0ms

Filtered
82 candidates to 109 candidates (-32.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1090109
Fresh066
Picked011
Done000
Total1097116

Merged error: 0b

Counts
116 → 7

regimes223.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
01713
11713

end0.0ms

analyze73.0ms

Algorithm
search

sample636.0ms

Algorithm
intervals
Results
466.0ms8000×body80valid
14.0ms259×body80nan
13.0ms240×body80invalid

Profiling

Loading profile data...