Details

Time bar (total: 2.5s)

sample27.0ms

Algorithm
intervals
Results
11.0ms310×body80valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1243
2523
3883
41023
51023

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: 1.6b

Counts
2 → 1

localize9.0ms

Local error

Found 1 expressions with local error:

1.5b
(* x (- 1.0 (* y z)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- *-commutative flip--
Counts
1 → 7
Calls
1 calls:
5.0ms
(* x (- 1.0 (* y z)))

series75.0ms

Counts
1 → 3
Calls
1 calls:
75.0ms
(* x (- 1.0 (* y z)))

simplify147.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
06136
116434
247833
3143633
4439133
5500133

prune15.0ms

Filtered
10 candidates to 5 candidates (50.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New8210
Fresh000
Picked011
Done000
Total8311

Merged error: 1.6b

Counts
11 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (* y z) 3)
0.4b
(+ (* (* y z) (* y z)) (* 1.0 (* y z)))
3.1b
(* x (- (pow 1.0 3) (pow (* y z) 3)))
13.7b
(/ (* x (- (pow 1.0 3) (pow (* y z) 3))) (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z)))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
18×*-commutative
17×sqr-pow
16×prod-diff
13×unpow3
10×distribute-rgt-in unpow-prod-down distribute-lft-in associate-*r*
fma-def
distribute-rgt-out associate-*r/ associate-/l*
difference-cubes sub-neg flip3-- flip3-+ swap-sqr associate-*l* associate-/r/ flip-- flip-+ associate-/l/ distribute-lft-out difference-of-squares
+-commutative pow-to-exp frac-2neg clear-num div-inv
Counts
4 → 58
Calls
4 calls:
2.0ms
(pow (* y z) 3)
12.0ms
(+ (* (* y z) (* y z)) (* 1.0 (* y z)))
7.0ms
(* x (- (pow 1.0 3) (pow (* y z) 3)))
17.0ms
(/ (* x (- (pow 1.0 3) (pow (* y z) 3))) (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z)))))

series412.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(pow (* y z) 3)
52.0ms
(+ (* (* y z) (* y z)) (* 1.0 (* y z)))
122.0ms
(* x (- (pow 1.0 3) (pow (* y z) 3)))
196.0ms
(/ (* x (- (pow 1.0 3) (pow (* y z) 3))) (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z)))))

simplify69.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0373548
11518471
25001417

prune175.0ms

Filtered
70 candidates to 40 candidates (57.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New65570
Fresh011
Picked101
Done011
Total66773

Merged error: 1.5b

Counts
73 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (* (* y z) (* y z)) (* 1.0 (* y z)))
5.1b
(* x (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z)))))
7.0b
(/ (* x (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z))))) (/ (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z)))) (- 1.0 (* y z))))
10.6b
(/ (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z)))) (- 1.0 (* y z)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
16×*-commutative
13×associate-/r/
fma-def
times-frac associate-*r* associate-/l/
+-commutative flip3-+ flip-+ div-inv
distribute-rgt-in associate-+r+ distribute-rgt-out flip3-- distribute-lft-in associate-*r/ flip--
frac-2neg clear-num associate-/r*
swap-sqr associate-*l* distribute-lft-out associate-/l*
Counts
4 → 56
Calls
4 calls:
12.0ms
(+ (* (* y z) (* y z)) (* 1.0 (* y z)))
11.0ms
(* x (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z)))))
23.0ms
(/ (* x (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z))))) (/ (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z)))) (- 1.0 (* y z))))
13.0ms
(/ (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z)))) (- 1.0 (* y z)))

series278.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(+ (* (* y z) (* y z)) (* 1.0 (* y z)))
98.0ms
(* x (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z)))))
47.0ms
(/ (* x (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z))))) (/ (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z)))) (- 1.0 (* y z))))
80.0ms
(/ (+ (* 1.0 1.0) (+ (* (* y z) (* y z)) (* 1.0 (* y z)))) (- 1.0 (* y z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0383554
11690433
25001394

prune194.0ms

Filtered
68 candidates to 52 candidates (76.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New65368
Fresh145
Picked101
Done011
Total67875

Merged error: 1.5b

Counts
75 → 8

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ 1 (- 1.0 (* y z)))
1.5b
(/ x (/ 1 (- 1.0 (* y z))))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
frac-2neg clear-num associate-/r* div-inv
flip3-- flip--
inv-pow
Counts
2 → 15
Calls
2 calls:
3.0ms
(/ 1 (- 1.0 (* y z)))
3.0ms
(/ x (/ 1 (- 1.0 (* y z))))

series85.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(/ 1 (- 1.0 (* y z)))
47.0ms
(/ x (/ 1 (- 1.0 (* y z))))

simplify156.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 3 (153.0ms)

IterNodesCost
013689
160783
2421081
3500178

prune41.0ms

Filtered
21 candidates to 14 candidates (66.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New20121
Fresh156
Picked011
Done011
Total21829

Merged error: 1.5b

Counts
29 → 8

regimes183.0ms

Accuracy

0% (0.1b remaining)

Error of 3.3b against oracle of 3.2b and baseline of 3.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
093
193

end0.0ms

sample414.0ms

Algorithm
intervals
Results
210.0ms9572×body80valid