Details

Time bar (total: 2.9s)

sample24.0ms

Algorithm
intervals
Results
11.0ms335×body80valid

simplify42.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0134
1204
2344
3494
4574
5694
6904
71274
81764
93044
104394
114494
124494

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) (* (- 1.0 x) z))
0.0b
(* (- 1.0 x) z)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
associate-*l/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 33
Calls
2 calls:
10.0ms
(+ (* x y) (* (- 1.0 x) z))
17.0ms
(* (- 1.0 x) z)

series91.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(+ (* x y) (* (- 1.0 x) z))
45.0ms
(* (- 1.0 x) z)

simplify118.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0185183
1776166
24093166
35001166

prune81.0ms

Filtered
39 candidates to 28 candidates (71.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 1.0 1.0) (* x x))
0.0b
(+ (* x y) (/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x)))
4.5b
(* (- (* 1.0 1.0) (* x x)) z)
5.7b
(/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt add-log-exp
pow1
times-frac associate-*l* associate-*l/ associate-/r*
flip3-- associate-*r* flip--
cbrt-undiv flip3-+ div-exp prod-exp associate-/r/ cbrt-unprod flip-+ associate-/l/ distribute-lft-out difference-of-squares
+-commutative sub-neg frac-2neg diff-log pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 72
Calls
4 calls:
3.0ms
(- (* 1.0 1.0) (* x x))
11.0ms
(+ (* x y) (/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x)))
10.0ms
(* (- (* 1.0 1.0) (* x x)) z)
9.0ms
(/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x))

series204.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* 1.0 1.0) (* x x))
53.0ms
(+ (* x y) (/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x)))
45.0ms
(* (- (* 1.0 1.0) (* x x)) z)
62.0ms
(/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x))

simplify51.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0379609
11795534
25001525

prune204.0ms

Filtered
84 candidates to 60 candidates (71.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 x))
1.2b
(/ (* (- (* 1.0 1.0) (* x x)) z) (sqrt (+ 1.0 x)))
1.9b
(/ (/ (* (- (* 1.0 1.0) (* x x)) z) (sqrt (+ 1.0 x))) (sqrt (+ 1.0 x)))
4.5b
(* (- (* 1.0 1.0) (* x x)) z)

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
154×times-frac
113×*-un-lft-identity
100×sqrt-prod
66×add-sqr-sqrt
63×add-cube-cbrt
25×distribute-lft-out
22×sqrt-div
20×add-exp-log associate-/r/ add-cbrt-cube
14×associate-/r* associate-/l*
11×flip3-+ flip-+
10×div-inv
pow1 cbrt-undiv div-exp
associate-*l* associate-*l/ add-log-exp
associate-*r* prod-exp cbrt-unprod associate-/l/
flip3-- frac-2neg clear-num flip--
rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down *-commutative difference-of-squares unswap-sqr
Counts
4 → 200
Calls
4 calls:
4.0ms
(sqrt (+ 1.0 x))
10.0ms
(/ (* (- (* 1.0 1.0) (* x x)) z) (sqrt (+ 1.0 x)))
19.0ms
(/ (/ (* (- (* 1.0 1.0) (* x x)) z) (sqrt (+ 1.0 x))) (sqrt (+ 1.0 x)))
10.0ms
(* (- (* 1.0 1.0) (* x x)) z)

series346.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(sqrt (+ 1.0 x))
188.0ms
(/ (* (- (* 1.0 1.0) (* x x)) z) (sqrt (+ 1.0 x)))
64.0ms
(/ (/ (* (- (* 1.0 1.0) (* x x)) z) (sqrt (+ 1.0 x))) (sqrt (+ 1.0 x)))
59.0ms
(* (- (* 1.0 1.0) (* x x)) z)

simplify92.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07352677
136722347
250012347

prune406.0ms

Filtered
212 candidates to 115 candidates (54.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) z)
0.0b
(sqrt (+ (* x y) (* (- 1.0 x) z)))
0.0b
(sqrt (+ (* x y) (* (- 1.0 x) z)))
0.2b
(* (sqrt (+ (* x y) (* (- 1.0 x) z))) (sqrt (+ (* x y) (* (- 1.0 x) z))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
24×sqrt-prod
23×pow1
18×*-un-lft-identity
16×add-cube-cbrt sqrt-div
11×associate-*l*
10×sqrt-pow1 pow1/2
associate-*r*
add-exp-log flip3-+ swap-sqr add-cbrt-cube flip-+
pow-prod-up unswap-sqr
frac-times pow-prod-down associate-*l/ add-log-exp
pow-sqr
rem-sqrt-square associate-*r/ prod-exp *-commutative cbrt-unprod
pow2 flip3-- pow-plus sqrt-unprod rem-square-sqrt flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 109
Calls
4 calls:
13.0ms
(* (- 1.0 x) z)
3.0ms
(sqrt (+ (* x y) (* (- 1.0 x) z)))
3.0ms
(sqrt (+ (* x y) (* (- 1.0 x) z)))
18.0ms
(* (sqrt (+ (* x y) (* (- 1.0 x) z))) (sqrt (+ (* x y) (* (- 1.0 x) z))))

series300.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (- 1.0 x) z)
121.0ms
(sqrt (+ (* x y) (* (- 1.0 x) z)))
117.0ms
(sqrt (+ (* x y) (* (- 1.0 x) z)))
30.0ms
(* (sqrt (+ (* x y) (* (- 1.0 x) z))) (sqrt (+ (* x y) (* (- 1.0 x) z))))

simplify49.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0331968
11331859
25001832

prune223.0ms

Filtered
121 candidates to 71 candidates (58.7%)
Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

regimes77.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1114

end0.0ms

sample418.0ms

Algorithm
intervals
Results
224.0ms10102×body80valid