Details

Time bar (total: 5.1s)

sample16.0ms

Algorithm
intervals
Results
7.0ms324×body80valid

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1204
2344
3514
4584
5644
6814
71124
81594
92734
103704
114284
124504
134654
144654

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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:
6.0ms
(* (- x 1.0) z)
4.0ms
(+ (* x y) (* (- x 1.0) z))

series60.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0187183
1775166
24041166
35001166

prune68.0ms

Filtered
39 candidates to 28 candidates (71.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New37239
Fresh000
Picked011
Done000
Total37340

Merged error: 0.0b

Counts
40 → 3

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.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:
7.0ms
(+ (* x y) (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
6.0ms
(* (- (* x x) (* 1.0 1.0)) z)
9.0ms
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

series145.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0370531
11763466
25001457

prune129.0ms

Filtered
68 candidates to 48 candidates (70.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh011
Picked011
Done011
Total68371

Merged error: 0.0b

Counts
71 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-+ flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
4.0ms
(+ (* x y) (* (- x 1.0) z))
3.0ms
(sqrt (+ (* x y) (* (- x 1.0) z)))
3.0ms
(sqrt (+ (* x y) (* (- x 1.0) z)))
10.0ms
(* (sqrt (+ (* x y) (* (- x 1.0) z))) (sqrt (+ (* x y) (* (- x 1.0) z))))

series218.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (* x y) (* (- x 1.0) z))
79.0ms
(sqrt (+ (* x y) (* (- x 1.0) z)))
80.0ms
(sqrt (+ (* x y) (* (- x 1.0) z)))
30.0ms
(* (sqrt (+ (* x y) (* (- x 1.0) z))) (sqrt (+ (* x y) (* (- x 1.0) z))))

simplify48.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0264946
1991850
25002818

prune186.0ms

Filtered
110 candidates to 63 candidates (57.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1091110
Fresh000
Picked011
Done022
Total1094113

Merged error: 0.0b

Counts
113 → 4

localize27.0ms

Local error

Found 4 expressions with local error:

6.0b
(/ (* (sqrt (+ (pow (* x y) 3) (pow (* (- x 1.0) z) 3))) (sqrt (- (* (* x y) (* x y)) (* (* (- x 1.0) z) (* (- x 1.0) z))))) (* (sqrt (+ (* (* x y) (* x y)) (- (* (* (- x 1.0) z) (* (- x 1.0) z)) (* (* x y) (* (- x 1.0) z))))) (sqrt (- (* x y) (* (- x 1.0) z)))))
12.5b
(sqrt (- (* (* x y) (* x y)) (* (* (- x 1.0) z) (* (- x 1.0) z))))
13.6b
(sqrt (+ (pow (* x y) 3) (pow (* (- x 1.0) z) 3)))
25.6b
(sqrt (+ (* (* x y) (* x y)) (- (* (* (- x 1.0) z) (* (- x 1.0) z)) (* (* x y) (* (- x 1.0) z)))))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
30×sqrt-div
16×add-exp-log add-cbrt-cube
12×sqrt-prod
10×add-sqr-sqrt
*-un-lft-identity
frac-times flip3-+ associate-/r/ flip-+ associate-/l/
pow1 add-cube-cbrt flip3-- flip--
cbrt-undiv associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
sqrt-unprod
sqrt-undiv frac-2neg times-frac clear-num associate-/r* sum-cubes div-inv distribute-lft-out associate-/l* difference-of-squares
Counts
4 → 86
Calls
4 calls:
36.0ms
(/ (* (sqrt (+ (pow (* x y) 3) (pow (* (- x 1.0) z) 3))) (sqrt (- (* (* x y) (* x y)) (* (* (- x 1.0) z) (* (- x 1.0) z))))) (* (sqrt (+ (* (* x y) (* x y)) (- (* (* (- x 1.0) z) (* (- x 1.0) z)) (* (* x y) (* (- x 1.0) z))))) (sqrt (- (* x y) (* (- x 1.0) z)))))
6.0ms
(sqrt (- (* (* x y) (* x y)) (* (* (- x 1.0) z) (* (- x 1.0) z))))
11.0ms
(sqrt (+ (pow (* x y) 3) (pow (* (- x 1.0) z) 3)))
14.0ms
(sqrt (+ (* (* x y) (* x y)) (- (* (* (- x 1.0) z) (* (- x 1.0) z)) (* (* x y) (* (- x 1.0) z)))))

series2.8s

Counts
4 → 12
Calls
4 calls:
1.4s
(/ (* (sqrt (+ (pow (* x y) 3) (pow (* (- x 1.0) z) 3))) (sqrt (- (* (* x y) (* x y)) (* (* (- x 1.0) z) (* (- x 1.0) z))))) (* (sqrt (+ (* (* x y) (* x y)) (- (* (* (- x 1.0) z) (* (- x 1.0) z)) (* (* x y) (* (- x 1.0) z))))) (sqrt (- (* x y) (* (- x 1.0) z)))))
288.0ms
(sqrt (- (* (* x y) (* x y)) (* (* (- x 1.0) z) (* (- x 1.0) z))))
866.0ms
(sqrt (+ (pow (* x y) 3) (pow (* (- x 1.0) z) 3)))
206.0ms
(sqrt (+ (* (* x y) (* x y)) (- (* (* (- x 1.0) z) (* (- x 1.0) z)) (* (* x y) (* (- x 1.0) z)))))

simplify100.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
06352741
128722413
250012413

prune455.0ms

Filtered
98 candidates to 78 candidates (79.6%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New98098
Fresh000
Picked011
Done033
Total984102

Merged error: 0.0b

Counts
102 → 4

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

sample423.0ms

Algorithm
intervals
Results
227.0ms10106×body80valid