Details

Time bar (total: 8.9s)

sample65.0ms

Algorithm
intervals
Results
28.0ms866×body80nan
13.0ms288×body80valid

simplify93.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17210
219210
343710
481610
5157810
6276410
7500210

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

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

series547.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
183.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
172.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
73.0ms
(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

prune523.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

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

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

series434.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* 9.0 (- a (/ 1.0 3.0)))
120.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
198.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
76.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify89.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
07441044
13484958
25001958

prune284.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
189×add-sqr-sqrt
150×times-frac
103×*-un-lft-identity
92×sqrt-prod
75×add-cube-cbrt
66×associate-*r*
63×cbrt-prod
58×add-exp-log
43×add-cbrt-cube
28×difference-of-squares
24×prod-exp cbrt-unprod
17×associate-*l*
16×unswap-sqr
15×cbrt-undiv div-exp
14×distribute-lft-out--
13×pow1
associate-/r*
associate-*l/
frac-times associate-/l*
flip3-- pow-prod-down flip--
sqrt-div associate-*r/ associate-/r/ add-log-exp
flip3-+ *-commutative flip-+ div-inv
distribute-rgt-in frac-2neg distribute-lft-in clear-num
Counts
4 → 254
Calls
4 calls:
16.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0))))) rand)))
20.0ms
(* (* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0))))) rand)
10.0ms
(/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0))))
34.0ms
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0)))))

series752.0ms

Counts
4 → 12
Calls
4 calls:
208.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0))))) rand)))
259.0ms
(* (* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0))))) rand)
103.0ms
(/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0))))
181.0ms
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0)))))

simplify75.0ms

Algorithm
egg-herbie
Counts
266 → 266
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
013404040
150023742

prune891.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0)))))
0.5b
(* (+ (sqrt a) (/ (sqrt 1.0) (sqrt 3.0))) (* (- (sqrt a) (/ (sqrt 1.0) (sqrt 3.0))) (+ 1.0 (* (* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0))))) rand))))
1.0b
(/ (sqrt 1.0) (sqrt 3.0))
1.0b
(/ (sqrt 1.0) (sqrt 3.0))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
167×add-sqr-sqrt
160×times-frac
134×sqrt-prod
109×*-un-lft-identity
95×add-cube-cbrt
61×associate-*r*
34×add-exp-log
33×cbrt-prod
29×frac-times
27×add-cbrt-cube
18×flip3-+ flip-+
15×associate-*r/ unswap-sqr
14×associate-*l*
12×associate-/r* associate-/l* difference-of-squares
11×pow1 prod-exp cbrt-unprod
10×flip3-- flip--
cbrt-undiv div-exp associate-*l/
distribute-lft-out--
distribute-rgt-in distribute-lft-in pow-prod-down div-inv add-log-exp
sqrt-undiv frac-2neg sqrt-div clear-num associate-/r/ *-commutative
distribute-lft-out
Counts
4 → 280
Calls
4 calls:
31.0ms
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0)))))
41.0ms
(* (+ (sqrt a) (/ (sqrt 1.0) (sqrt 3.0))) (* (- (sqrt a) (/ (sqrt 1.0) (sqrt 3.0))) (+ 1.0 (* (* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0))))) rand))))
5.0ms
(/ (sqrt 1.0) (sqrt 3.0))
5.0ms
(/ (sqrt 1.0) (sqrt 3.0))

series1.5s

Counts
4 → 8
Calls
4 calls:
189.0ms
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0)))))
1.3s
(* (+ (sqrt a) (/ (sqrt 1.0) (sqrt 3.0))) (* (- (sqrt a) (/ (sqrt 1.0) (sqrt 3.0))) (+ 1.0 (* (* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0))))) rand))))
0.0ms
(/ (sqrt 1.0) (sqrt 3.0))
0.0ms
(/ (sqrt 1.0) (sqrt 3.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
288 → 288
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
015744904
150024620

prune1.2s

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0b

regimes131.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
01710
11710

end0.0ms

sample1.8s

Algorithm
intervals
Results
932.0ms27887×body80nan
320.0ms9133×body80valid