Details

Time bar (total: 8.0s)

sample98.0ms

Algorithm
intervals
Results
51.0ms791×body80nan
23.0ms289×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)))))

rewrite111.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:
28.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))))
38.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series529.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
75.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
188.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
145.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify94.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
08601389
137741282
250011276

prune405.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×*-un-lft-identity
11×add-exp-log add-cbrt-cube
pow1 add-cube-cbrt
associate-*r/ associate-*l* add-log-exp
flip3-- times-frac flip--
expm1-log1p-u frac-times flip3-+ sqrt-div associate-*r* associate-/r* flip-+ log1p-expm1-u
fma-def sqrt-prod
cbrt-undiv sqrt-pow1 div-exp pow-prod-down associate-*l/ prod-exp associate-/r/ cbrt-unprod distribute-lft-out difference-of-squares
+-commutative distribute-rgt-in frac-2neg distribute-lft-in pow1/2 clear-num sum-log *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
4 → 93
Calls
4 calls:
7.0ms
(+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
49.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
32.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
10.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series527.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
123.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
77.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
203.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify81.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
07271139
133081047
250011036

prune314.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize11.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 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
0.1b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
0.2b
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
6.5b
(* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))))

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
16×add-sqr-sqrt associate-*l/
14×flip3-- flip--
11×*-un-lft-identity
10×associate-*r* frac-add
pow1 add-cube-cbrt times-frac associate-*r/
frac-times sqrt-div associate-*l* add-log-exp
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp associate-/r* sqrt-prod associate-/r/ log1p-expm1-u
sqrt-pow1 pow-prod-down div-inv difference-of-squares
+-commutative fma-def frac-2neg flip3-+ pow1/2 clear-num sum-log *-commutative flip-+ distribute-lft-out associate-/l* distribute-lft-out-- unswap-sqr
Counts
4 → 106
Calls
4 calls:
11.0ms
(+ (* (- a (/ 1.0 3.0)) 1.0) (* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
31.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
12.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
51.0ms
(* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))))

series587.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(+ (* (- a (/ 1.0 3.0)) 1.0) (* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
78.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
208.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
166.0ms
(* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))))

simplify110.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
09341589
144961418
250011413

prune368.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

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

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
36×add-exp-log add-cbrt-cube
30×add-sqr-sqrt
16×associate-*r* associate-*l/
14×flip3-- *-un-lft-identity prod-exp flip-- cbrt-unprod
13×sqrt-prod
12×associate-*l*
10×pow1 add-cube-cbrt frac-add
associate-*r/
cbrt-undiv div-exp
frac-times sqrt-div add-log-exp
unswap-sqr
expm1-log1p-u times-frac pow-prod-down associate-/r/ log1p-expm1-u difference-of-squares
sqrt-pow1 pow1/2 *-commutative div-inv distribute-lft-out--
+-commutative fma-def frac-2neg flip3-+ sqrt-unprod clear-num associate-/r* sum-log flip-+ distribute-lft-out associate-/l*
Counts
4 → 127
Calls
4 calls:
11.0ms
(+ (* (- a (/ 1.0 3.0)) 1.0) (* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))))
13.0ms
(/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
27.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))
58.0ms
(* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))))

series719.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(+ (* (- a (/ 1.0 3.0)) 1.0) (* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))))
247.0ms
(/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
93.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))
199.0ms
(* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))))

simplify41.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09941896
150021670

prune410.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes57.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
01913
11913

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.8s27512×body80nan
646.0ms9111×body80valid