Details

Time bar (total: 2.6s)

sample28.0ms

Algorithm
intervals
Results
8.0ms272×body80valid
6.0ms241×body80nan

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0215
1475
2715
31035
41245
51385
61485
71485

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.1b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative flip3-+ *-commutative flip-+
Counts
2 → 4
Calls
2 calls:
3.0ms
(+ x (* y (sqrt z)))
2.0ms
(* y (sqrt z))

series76.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(+ x (* y (sqrt z)))
46.0ms
(* y (sqrt z))

simplify221.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
013570
141057
2139052
3478348
4500348

prune24.0ms

Filtered
10 candidates to 8 candidates (80.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New9110
Fresh000
Picked011
Done000
Total9211

Merged error: 0.1b

Counts
11 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* y (sqrt z))
2.3b
(+ (* (- (* y y)) z) (* x x))
8.4b
(* (- (* y y)) z)
28.0b
(/ (+ (* (- (* y y)) z) (* x x)) (- x (* y (sqrt z))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l*
*-commutative
distribute-lft-neg-in distribute-rgt-neg-in flip3-+ associate-/r/ flip-+ associate-/l/
+-commutative distribute-lft-neg-out neg-mul-1 flip3-- frac-2neg clear-num flip-- div-inv
Counts
4 → 18
Calls
4 calls:
2.0ms
(* y (sqrt z))
6.0ms
(+ (* (- (* y y)) z) (* x x))
4.0ms
(* (- (* y y)) z)
9.0ms
(/ (+ (* (- (* y y)) z) (* x x)) (- x (* y (sqrt z))))

series183.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* y (sqrt z))
33.0ms
(+ (* (- (* y y)) z) (* x x))
19.0ms
(* (- (* y y)) z)
93.0ms
(/ (+ (* (- (* y y)) z) (* x x)) (- x (* y (sqrt z))))

simplify37.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0248194
1940174
25002155

prune79.0ms

Filtered
30 candidates to 24 candidates (80.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New28230
Fresh000
Picked011
Done011
Total28432

Merged error: 0.1b

Counts
32 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- y) (* z y))
0.2b
(* y (sqrt z))
2.3b
(+ (* (- y) (* z y)) (* x x))
28.0b
(/ (+ (* (- y) (* z y)) (* x x)) (- x (* y (sqrt z))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
flip3-+ associate-*r* associate-/r/ flip-+ associate-/l/
+-commutative distribute-lft-neg-out neg-mul-1 flip3-- frac-2neg associate-*l* clear-num flip-- div-inv
Counts
4 → 16
Calls
4 calls:
3.0ms
(* (- y) (* z y))
2.0ms
(* y (sqrt z))
6.0ms
(+ (* (- y) (* z y)) (* x x))
8.0ms
(/ (+ (* (- y) (* z y)) (* x x)) (- x (* y (sqrt z))))

series189.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (- y) (* z y))
46.0ms
(* y (sqrt z))
31.0ms
(+ (* (- y) (* z y)) (* x x))
93.0ms
(/ (+ (* (- y) (* z y)) (* x x)) (- x (* y (sqrt z))))

simplify37.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0250192
1878172
25001152

prune78.0ms

Filtered
28 candidates to 23 candidates (82.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New27128
Fresh101
Picked011
Done022
Total28432

Merged error: 0.1b

Counts
32 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- y) (* z y))
0.2b
(* y (sqrt z))
2.3b
(+ (* (- y) (* z y)) (* x x))
28.0b
(* (+ (* (- y) (* z y)) (* x x)) (/ 1 (- x (* y (sqrt z)))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
frac-times
flip3-+ associate-*r* flip-+
clear-num *-commutative
frac-2neg associate-*r/
associate-*l/ associate-/r/ un-div-inv
+-commutative distribute-lft-neg-out neg-mul-1 flip3-- associate-*l* flip-- div-inv
Counts
4 → 26
Calls
4 calls:
3.0ms
(* (- y) (* z y))
2.0ms
(* y (sqrt z))
6.0ms
(+ (* (- y) (* z y)) (* x x))
9.0ms
(* (+ (* (- y) (* z y)) (* x x)) (/ 1 (- x (* y (sqrt z)))))

series187.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (- y) (* z y))
42.0ms
(* y (sqrt z))
31.0ms
(+ (* (- y) (* z y)) (* x x))
95.0ms
(* (+ (* (- y) (* z y)) (* x x)) (/ 1 (- x (* y (sqrt z)))))

simplify43.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0281330
11153303
25001276

prune100.0ms

Filtered
38 candidates to 29 candidates (76.3%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New38038
Fresh000
Picked011
Done033
Total38442

Merged error: 0.1b

Counts
42 → 4

regimes160.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample999.0ms

Algorithm
intervals
Results
430.0ms8522×body80valid
221.0ms8541×body80nan