Details

Time bar (total: 8.0s)

sample81.0ms

Algorithm
intervals
Results
37.0ms1115×body80nan
14.0ms297×body80valid

simplify104.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17610
221110
353010
4106510
5219810
6379410
7500110

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

rewrite107.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--
expm1-log1p-u frac-times associate-/r* associate-/r/ log1p-expm1-u 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 → 122
Calls
4 calls:
29.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
30.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
36.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series523.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
74.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
190.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
140.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify97.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
08601389
137741282
250011276

prune427.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

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

rewrite150.0ms

Algorithm
rewrite-expression-head
Rules
161×add-sqr-sqrt
132×times-frac
103×*-un-lft-identity
83×sqrt-prod
76×associate-*l*
75×add-cube-cbrt
59×cbrt-prod
49×add-exp-log
38×add-cbrt-cube
28×difference-of-squares
21×prod-exp cbrt-unprod
14×distribute-lft-out--
13×pow1
11×cbrt-undiv div-exp
associate-/r*
associate-*r*
associate-*l/ associate-/l* unswap-sqr
frac-times flip3-- pow-prod-down flip--
expm1-log1p-u sqrt-div associate-/r/ log1p-expm1-u add-log-exp
flip3-+ associate-*r/ *-commutative flip-+ div-inv
distribute-rgt-in frac-2neg distribute-lft-in clear-num
Counts
4 → 246
Calls
4 calls:
27.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))))
14.0ms
(/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0))))
43.0ms
(* (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)
54.0ms
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (* (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))

series771.0ms

Counts
4 → 12
Calls
4 calls:
187.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))))
110.0ms
(/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0))))
212.0ms
(* (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)
262.0ms
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (* (/ (cbrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))

simplify53.0ms

Algorithm
egg-herbie
Counts
258 → 258
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
012123357
150013084

prune927.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

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

rewrite183.0ms

Algorithm
rewrite-expression-head
Rules
56×add-exp-log
42×add-cbrt-cube
37×add-sqr-sqrt
24×*-un-lft-identity
23×prod-exp cbrt-unprod
21×sqrt-prod
19×times-frac
16×associate-*l*
15×cbrt-undiv div-exp
14×add-cube-cbrt
12×pow1
associate-/r*
difference-of-squares
flip3-- associate-*r* flip--
expm1-log1p-u frac-times sqrt-div pow-prod-down associate-*l/ log1p-expm1-u distribute-lft-out-- add-log-exp
flip3-+ flip-+
associate-*r/ 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* unswap-sqr
Counts
4 → 138
Calls
4 calls:
16.0ms
(sqrt (- a (/ 1.0 3.0)))
107.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (* (cbrt 1.0) rand)) (sqrt (- a (/ 1.0 3.0))))))
33.0ms
(/ (* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (* (cbrt 1.0) rand)) (sqrt (- a (/ 1.0 3.0))))
21.0ms
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (* (cbrt 1.0) rand))

series662.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(sqrt (- a (/ 1.0 3.0)))
189.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (* (cbrt 1.0) rand)) (sqrt (- a (/ 1.0 3.0))))))
294.0ms
(/ (* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (* (cbrt 1.0) rand)) (sqrt (- a (/ 1.0 3.0))))
137.0ms
(* (/ (* (cbrt 1.0) (cbrt 1.0)) (sqrt 9.0)) (* (cbrt 1.0) rand))

simplify112.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
09412163
145901857
250011848

prune481.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
44×add-exp-log
33×add-sqr-sqrt
20×*-un-lft-identity
19×div-exp add-cbrt-cube
18×sqrt-prod
17×prod-exp
13×times-frac
10×add-cube-cbrt
associate-/r*
difference-of-squares
pow1 cbrt-undiv associate-*l*
flip3-- 1-exp flip-- cbrt-unprod
frac-times sqrt-div associate-*r* distribute-lft-out--
expm1-log1p-u flip3-+ associate-*r/ flip-+ log1p-expm1-u add-log-exp
pow-to-exp associate-*l/ pow-exp associate-/r/
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down clear-num *-commutative div-inv associate-/l/ distribute-lft-out associate-/l* unswap-sqr
Counts
3 → 103
Calls
3 calls:
15.0ms
(sqrt (- a (/ 1.0 3.0)))
109.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1 (/ (* rand (pow (cbrt 1.0) 3)) (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))))
23.0ms
(/ (* 1 (/ (* rand (pow (cbrt 1.0) 3)) (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))

series436.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(sqrt (- a (/ 1.0 3.0)))
158.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1 (/ (* rand (pow (cbrt 1.0) 3)) (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))))
235.0ms
(/ (* 1 (/ (* rand (pow (cbrt 1.0) 3)) (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))

simplify110.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
08521528
145271314
250011306

prune532.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes80.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
02514
12714
22714

end0.0ms

sample2.0s

Algorithm
intervals
Results
969.0ms28285×body80nan
350.0ms9207×body80valid