Details

Time bar (total: 3.5s)

sample23.0ms

Algorithm
intervals
Results
8.0ms315×body80valid

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

prune3.0ms

Filtered
1 candidates to 0 candidates (100.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))

series70.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0187183
1775166
24041166
35001166

prune92.0ms

Filtered
39 candidates to 28 candidates (28.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New36339
Fresh000
Picked011
Done000
Total36440

Merged error: 0.0b

Counts
40 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.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
(- (* x x) (* 1.0 1.0))
6.0ms
(+ (* x y) (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
6.0ms
(* (- (* x x) (* 1.0 1.0)) z)
8.0ms
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

series252.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(- (* x x) (* 1.0 1.0))
54.0ms
(+ (* x y) (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
73.0ms
(* (- (* x x) (* 1.0 1.0)) z)
70.0ms
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0380611
11779535
25001526

prune339.0ms

Filtered
84 candidates to 60 candidates (28.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh022
Picked011
Done011
Total84488

Merged error: 0.0b

Counts
88 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×associate-*r*
10×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
add-cube-cbrt
sqrt-prod
associate-*l* associate-*l/
add-log-exp
pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip-- unswap-sqr
+-commutative flip3-+ sum-log flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 60
Calls
3 calls:
3.0ms
(+ (* x y) (* (* (- x 1.0) (sqrt z)) (sqrt z)))
7.0ms
(* (- x 1.0) (sqrt z))
9.0ms
(* (* (- x 1.0) (sqrt z)) (sqrt z))

series187.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(+ (* x y) (* (* (- x 1.0) (sqrt z)) (sqrt z)))
70.0ms
(* (- x 1.0) (sqrt z))
58.0ms
(* (* (- x 1.0) (sqrt z)) (sqrt z))

simplify46.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0355436
11496377
25002365

prune215.0ms

Filtered
69 candidates to 46 candidates (33.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh011
Picked011
Done022
Total69473

Merged error: 0.0b

Counts
73 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (* x y) 3)
1.8b
(+ (pow (* x y) 3) (pow (* (- x 1.0) z) 3))
2.0b
(+ (* (* (- x 1.0) z) (- (* (- x 1.0) z) (* x y))) (* (* x y) (* x y)))
37.6b
(/ (+ (pow (* x y) 3) (pow (* (- x 1.0) z) 3)) (+ (* (* (- x 1.0) z) (- (* (- x 1.0) z) (* x y))) (* (* x y) (* x y))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
15×add-sqr-sqrt add-cube-cbrt times-frac
add-exp-log add-cbrt-cube
add-log-exp
pow1
sum-cubes distribute-lft-out associate-/l*
associate-+l+ flip3-+ flip-+
pow-unpow associate-/r*
+-commutative distribute-rgt-in sub-neg pow-pow distribute-lft-in pow-exp sum-log associate-/r/ associate-/l/ rem-cube-cbrt
cbrt-undiv cube-mult pow-to-exp unpow-prod-down frac-2neg unpow3 cube-prod div-exp pow-prod-down prod-exp clear-num cbrt-unprod div-inv sqr-pow
Counts
4 → 89
Calls
4 calls:
3.0ms
(pow (* x y) 3)
9.0ms
(+ (pow (* x y) 3) (pow (* (- x 1.0) z) 3))
14.0ms
(+ (* (* (- x 1.0) z) (- (* (- x 1.0) z) (* x y))) (* (* x y) (* x y)))
22.0ms
(/ (+ (pow (* x y) 3) (pow (* (- x 1.0) z) 3)) (+ (* (* (- x 1.0) z) (- (* (- x 1.0) z) (* x y))) (* (* x y) (* x y))))

series663.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(pow (* x y) 3)
177.0ms
(+ (pow (* x y) 3) (pow (* (- x 1.0) z) 3))
124.0ms
(+ (* (* (- x 1.0) z) (- (* (- x 1.0) z) (* x y))) (* (* x y) (* x y)))
297.0ms
(/ (+ (pow (* x y) 3) (pow (* (- x 1.0) z) 3)) (+ (* (* (- x 1.0) z) (- (* (- x 1.0) z) (* x y))) (* (* x y) (* x y))))

simplify102.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
04541634
124371489
250021484

prune353.0ms

Filtered
101 candidates to 71 candidates (29.7%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1010101
Fresh000
Picked011
Done033
Total1014105

Merged error: 0.0b

Counts
105 → 4

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

sample606.0ms

Algorithm
intervals
Results
262.0ms10069×body80valid

Profiling

Loading profile data...