Details

Time bar (total: 8.4s)

sample69.0ms

Algorithm
intervals
Results
29.0ms882×body80nan
11.0ms303×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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

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

rewrite122.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:
32.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
32.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
43.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
10.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series539.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
76.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
189.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
151.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify99.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
08601389
137741282
250011276

prune428.0ms

Filtered
134 candidates to 115 candidates (85.8%)
Pruning

8 alts after pruning (8 fresh and 0 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 (* (/ (/ 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))))

rewrite216.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--
expm1-log1p-u frac-times prod-exp associate-/r/ cbrt-unprod log1p-expm1-u 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 → 533
Calls
4 calls:
17.0ms
(sqrt (- a (/ 1.0 3.0)))
33.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)))
92.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
28.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

series615.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(sqrt (- a (/ 1.0 3.0)))
153.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)))
227.0ms
(* (/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0)))) rand)
190.0ms
(/ (/ 1.0 (sqrt 9.0)) (sqrt (- a (/ 1.0 3.0))))

simplify97.0ms

Algorithm
egg-herbie
Counts
545 → 545
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
017096779
150016508

prune1.5s

Filtered
545 candidates to 336 candidates (61.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

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

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
19×*-un-lft-identity sqrt-prod
15×associate-*l*
13×add-exp-log add-cube-cbrt add-cbrt-cube
11×pow1
associate-*r*
flip3-- times-frac sqrt-div associate-*l/ flip-- difference-of-squares
unswap-sqr
expm1-log1p-u frac-times pow-prod-down log1p-expm1-u add-log-exp
sqrt-pow1 flip3-+ pow1/2 prod-exp cbrt-unprod flip-+ associate-/l* distribute-lft-out--
cbrt-undiv associate-*r/ div-exp associate-/r/ *-commutative
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-unprod clear-num associate-/r* div-inv
Counts
4 → 115
Calls
4 calls:
19.0ms
(sqrt (- a (/ 1.0 3.0)))
31.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt 1)) (/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0))))))
12.0ms
(/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0)))
33.0ms
(* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0))

series481.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(sqrt (- a (/ 1.0 3.0)))
157.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt 1)) (/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0))))))
196.0ms
(/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0)))
91.0ms
(* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0))

simplify93.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07611408
133921290
250021276

prune407.0ms

Filtered
127 candidates to 99 candidates (78.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
41×associate-*l/
40×add-exp-log add-cbrt-cube
29×add-sqr-sqrt
27×frac-times
25×flip3-- flip--
22×frac-add
18×associate-*r/
17×prod-exp cbrt-unprod
15×*-un-lft-identity associate-*l*
13×pow1 sqrt-prod
11×add-cube-cbrt
cbrt-undiv div-exp
associate-*r*
pow-prod-down add-log-exp
times-frac
expm1-log1p-u sqrt-div log1p-expm1-u difference-of-squares unswap-sqr
associate-/l*
sqrt-pow1 pow1/2 associate-/r/ *-commutative distribute-lft-out--
+-commutative fma-def frac-2neg flip3-+ sqrt-unprod clear-num associate-/r* sum-log flip-+ div-inv distribute-lft-out
Counts
4 → 143
Calls
4 calls:
14.0ms
(+ (* (- a (/ 1.0 3.0)) 1.0) (* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt 1)) (/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0))))))
12.0ms
(/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0)))
30.0ms
(* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0))
118.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt 1)) (/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0)))))

series686.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(+ (* (- a (/ 1.0 3.0)) 1.0) (* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt 1)) (/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0))))))
208.0ms
(/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0)))
94.0ms
(* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0))
205.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt 1)) (/ rand (* (sqrt (- a (/ 1.0 3.0))) (sqrt 9.0)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012162606
150012293

prune534.0ms

Filtered
155 candidates to 119 candidates (76.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes72.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
02515
12515

end0.0ms

sample1.9s

Algorithm
intervals
Results
927.0ms27637×body80nan
341.0ms9143×body80valid