Details

Time bar (total: 3.5s)

sample19.0ms

Algorithm
intervals
Results
7.0ms332×body80valid

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.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:
11.0ms
(+ (* x y) (* (- 1.0 x) z))
20.0ms
(* (- 1.0 x) z)

series55.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0185183
1776166
24093166
35001166

prune78.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite264.0ms

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

series139.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(+ (* x y) (/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x)))
49.0ms
(/ (* (- (* 1.0 1.0) (* x x)) z) (+ 1.0 x))
40.0ms
(* (- (* 1.0 1.0) (* x x)) z)

simplify51.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0368530
11783465
25001456

prune138.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (- 1.0 x) z) (* (- 1.0 x) z))
0.3b
(* (* x y) (* x y))
2.8b
(- (* (* x y) (* x y)) (* (* (- 1.0 x) z) (* (- 1.0 x) z)))
25.6b
(/ (- (* (* x y) (* x y)) (* (* (- 1.0 x) z) (* (- 1.0 x) z))) (- (* x y) (* (- 1.0 x) z)))

rewrite196.0ms

Algorithm
rewrite-expression-head
Rules
82×pow1
34×pow-prod-down
30×add-exp-log add-cbrt-cube
16×prod-exp cbrt-unprod
14×associate-*l/
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac
flip3-- flip--
pow-sqr pow-prod-up
add-log-exp
difference-of-squares
frac-times pow-plus associate-/l*
associate-/r*
pow2 associate-*r/ swap-sqr associate-*r* associate-*l* associate-/r/ *-commutative associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 125
Calls
4 calls:
60.0ms
(* (* (- 1.0 x) z) (* (- 1.0 x) z))
25.0ms
(* (* x y) (* x y))
31.0ms
(- (* (* x y) (* x y)) (* (* (- 1.0 x) z) (* (- 1.0 x) z)))
76.0ms
(/ (- (* (* x y) (* x y)) (* (* (- 1.0 x) z) (* (- 1.0 x) z))) (- (* x y) (* (- 1.0 x) z)))

series254.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (* (- 1.0 x) z) (* (- 1.0 x) z))
29.0ms
(* (* x y) (* x y))
78.0ms
(- (* (* x y) (* x y)) (* (* (- 1.0 x) z) (* (- 1.0 x) z)))
113.0ms
(/ (- (* (* x y) (* x y)) (* (* (- 1.0 x) z) (* (- 1.0 x) z))) (- (* x y) (* (- 1.0 x) z)))

simplify87.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
05591312
128781117
250021095

prune201.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
84×times-frac
61×add-cube-cbrt *-un-lft-identity
51×sqrt-prod
24×associate-*r* associate-*l*
20×add-exp-log add-cbrt-cube
12×associate-/r*
10×pow1 sqrt-div
unswap-sqr
associate-/r/
cbrt-undiv flip3-- div-exp flip-- associate-/l*
prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp
frac-2neg sqrt-pow1 pow1/2 clear-num pow-div
frac-times rem-sqrt-square flip3-+ div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative flip-+
Counts
4 → 181
Calls
4 calls:
8.0ms
(sqrt (- (* x y) (* (- 1.0 x) z)))
38.0ms
(/ (+ (* x y) (* (- 1.0 x) z)) (sqrt (- (* x y) (* (- 1.0 x) z))))
101.0ms
(* (/ (+ (* x y) (* (- 1.0 x) z)) (sqrt (- (* x y) (* (- 1.0 x) z)))) (/ (- (* x y) (* (- 1.0 x) z)) (sqrt (- (* x y) (* (- 1.0 x) z)))))
27.0ms
(/ (- (* x y) (* (- 1.0 x) z)) (sqrt (- (* x y) (* (- 1.0 x) z))))

series522.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(sqrt (- (* x y) (* (- 1.0 x) z)))
333.0ms
(/ (+ (* x y) (* (- 1.0 x) z)) (sqrt (- (* x y) (* (- 1.0 x) z))))
29.0ms
(* (/ (+ (* x y) (* (- 1.0 x) z)) (sqrt (- (* x y) (* (- 1.0 x) z)))) (/ (- (* x y) (* (- 1.0 x) z)) (sqrt (- (* x y) (* (- 1.0 x) z)))))
82.0ms
(/ (- (* x y) (* (- 1.0 x) z)) (sqrt (- (* x y) (* (- 1.0 x) z))))

simplify107.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06943799
134822836
250012794

prune423.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes78.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

sample495.0ms

Algorithm
intervals
Results
216.0ms10062×body80valid