Details

Time bar (total: 7.5s)

sample126.0ms

Algorithm
intervals
Results
57.0ms793×body80nan
27.0ms300×body80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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

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

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

series511.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
71.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
178.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
142.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify87.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08231338
136071238
250021238

prune321.0ms

Filtered
126 candidates to 105 candidates (83.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1197126
Fresh000
Picked101
Done000
Total1207127

Merged error: 0b

Counts
127 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
795×times-frac
608×add-sqr-sqrt
452×sqrt-prod
440×*-un-lft-identity
346×add-cube-cbrt
210×associate-*l*
94×difference-of-squares
47×distribute-lft-out--
22×associate-/l*
21×div-inv
20×add-exp-log add-cbrt-cube
pow1 associate-/r*
unswap-sqr
cbrt-undiv flip3-- sqrt-div div-exp associate-*r* flip--
frac-times prod-exp associate-/r/ cbrt-unprod add-log-exp
flip3-+ associate-*l/ flip-+
associate-*r/ pow-prod-down *-commutative
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 525
Calls
4 calls:
6.0ms
(sqrt (- a (/ 1.0 3.0)))
10.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)))
43.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
17.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

series605.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(sqrt (- a (/ 1.0 3.0)))
158.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)))
226.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
184.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

simplify100.0ms

Algorithm
egg-herbie
Counts
537 → 537
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
016726723
150016455

prune1.1s

Filtered
537 candidates to 325 candidates (60.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New5361537
Fresh156
Picked011
Done000
Total5377544

Merged error: 0b

Counts
544 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt
35×*-un-lft-identity
33×times-frac
28×associate-*l* sqrt-prod
25×add-cube-cbrt
20×add-exp-log add-cbrt-cube
pow1 associate-/r*
difference-of-squares
associate-*r*
cbrt-undiv flip3-- div-exp prod-exp flip-- cbrt-unprod
frac-times sqrt-div associate-*l/ distribute-lft-out-- add-log-exp unswap-sqr
flip3-+ flip-+
associate-*r/ pow-prod-down associate-/r/ *-commutative div-inv
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 clear-num associate-/l/ distribute-lft-out associate-/l*
Counts
4 → 130
Calls
4 calls:
7.0ms
(sqrt (- a (/ 1.0 3.0)))
22.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (/ 1.0 (sqrt 9.0)) rand) (sqrt (- a (/ 1.0 3.0))))))
13.0ms
(/ (* (/ 1.0 (sqrt 9.0)) rand) (sqrt (- a (/ 1.0 3.0))))
8.0ms
(* (/ 1.0 (sqrt 9.0)) rand)

series489.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(sqrt (- a (/ 1.0 3.0)))
154.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (/ 1.0 (sqrt 9.0)) rand) (sqrt (- a (/ 1.0 3.0))))))
235.0ms
(/ (* (/ 1.0 (sqrt 9.0)) rand) (sqrt (- a (/ 1.0 3.0))))
63.0ms
(* (/ 1.0 (sqrt 9.0)) rand)

simplify96.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
08021359
138131253
250011243

prune330.0ms

Filtered
142 candidates to 102 candidates (71.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1411142
Fresh145
Picked011
Done011
Total1427149

Merged error: 0b

Counts
149 → 7

localize17.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)))))
10.5b
(* (- 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:
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)))))
19.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

series575.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
187.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
149.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
162.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

simplify72.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07541232
130491085
250021085

prune278.0ms

Filtered
123 candidates to 99 candidates (80.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1221123
Fresh314
Picked011
Done022
Total1255130

Merged error: 0b

Counts
130 → 5

regimes100.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01711
11711

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s27519×body80nan
419.0ms9117×body80valid

Profiling

Loading profile data...