Details

Time bar (total: 8.5s)

sample79.0ms

Algorithm
intervals
Results
33.0ms972×body80nan
10.0ms301×body80valid

simplify106.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

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

rewrite170.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:
47.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)))))
61.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
42.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series535.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
145.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
186.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
79.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify95.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
08601389
137761282
250031276

prune436.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite299.0ms

Algorithm
rewrite-expression-head
Rules
259×add-sqr-sqrt
211×sqrt-prod
198×times-frac
125×*-un-lft-identity
97×add-cube-cbrt
66×associate-*r*
47×associate-*l*
38×add-exp-log add-cbrt-cube
28×difference-of-squares
26×unswap-sqr
14×prod-exp cbrt-unprod distribute-lft-out--
13×pow1
cbrt-undiv div-exp associate-/r*
associate-*l/
frac-times associate-/l*
flip3-- pow-prod-down flip--
expm1-log1p-u sqrt-div associate-*r/ associate-/r/ log1p-expm1-u add-log-exp
sqrt-undiv flip3-+ *-commutative flip-+ div-inv
distribute-rgt-in frac-2neg distribute-lft-in sqrt-unprod clear-num
Counts
4 → 296
Calls
4 calls:
46.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (* (/ (sqrt 1.0) (sqrt 9.0)) (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))) rand)))
107.0ms
(* (* (/ (sqrt 1.0) (sqrt 9.0)) (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))) rand)
24.0ms
(/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))
104.0ms
(* (/ (sqrt 1.0) (sqrt 9.0)) (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))))

series929.0ms

Counts
4 → 12
Calls
4 calls:
259.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (* (/ (sqrt 1.0) (sqrt 9.0)) (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))) rand)))
351.0ms
(* (* (/ (sqrt 1.0) (sqrt 9.0)) (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))) rand)
104.0ms
(/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))
215.0ms
(* (/ (sqrt 1.0) (sqrt 9.0)) (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
308 → 308
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013754176
150013789

prune922.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
20×add-exp-log add-cbrt-cube
19×*-un-lft-identity
13×associate-*r* sqrt-prod
12×associate-*l*
11×add-cube-cbrt
10×pow1
associate-*r/ prod-exp cbrt-unprod add-log-exp
flip3-- flip-- unswap-sqr
cbrt-undiv expm1-log1p-u frac-times flip3-+ sqrt-div div-exp pow-prod-down flip-+ log1p-expm1-u difference-of-squares
fma-def times-frac
sqrt-pow1 pow1/2 associate-*l/ associate-/r/ *-commutative distribute-lft-out distribute-lft-out--
+-commutative distribute-rgt-in frac-2neg distribute-lft-in sqrt-unprod clear-num associate-/r* sum-log div-inv associate-/l*
Counts
4 → 113
Calls
4 calls:
15.0ms
(+ 1.0 (/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))))
86.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))))
25.0ms
(/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
45.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

series642.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(+ 1.0 (/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))))
161.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))))
242.0ms
(/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
90.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

simplify104.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
07741399
140401276
250021265

prune392.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite228.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
23×add-exp-log
20×*-un-lft-identity add-cbrt-cube
17×associate-*r*
13×sqrt-prod
12×add-cube-cbrt associate-*l*
pow1
prod-exp
unswap-sqr
cbrt-unprod add-log-exp
unpow-prod-down
cbrt-undiv expm1-log1p-u sqrt-div associate-*r/ div-exp pow-prod-down log1p-expm1-u difference-of-squares
flip3-- fma-def times-frac flip--
sqrt-pow1 pow1/2 associate-*l/ associate-/r/ *-commutative distribute-lft-out distribute-lft-out-- sqr-pow
+-commutative pow-to-exp frac-2neg flip3-+ sqrt-unprod pow-exp clear-num associate-/r* sum-log flip-+ div-inv associate-/l*
Counts
4 → 113
Calls
4 calls:
15.0ms
(+ 1.0 (/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))))
138.0ms
(* (- a (/ 1.0 3.0)) (pow (+ 1.0 (/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))) 1))
25.0ms
(/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
47.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

series641.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(+ 1.0 (/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))))
160.0ms
(* (- a (/ 1.0 3.0)) (pow (+ 1.0 (/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))) 1))
245.0ms
(/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
89.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

simplify93.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07151315
136651206
250011180

prune372.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes120.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02111
12111

end0.0ms

sample2.0s

Algorithm
intervals
Results
866.0ms27445×body80nan
315.0ms9072×body80valid