Details

Time bar (total: 2.2s)

sample28.0ms

Algorithm
intervals
Results
7.0ms271×body80valid
7.0ms287×body80nan

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0215
1514
2864
31264
41514
51694
61854
71874
81874

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma (sqrt z) y x)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
Counts
1 → 1
Calls
1 calls:
1.0ms
(fma (sqrt z) y x)

series61.0ms

Counts
1 → 3
Calls
1 calls:
61.0ms
(fma (sqrt z) y x)

simplify51.0ms

Algorithm
egg-herbie
Counts
4 → 4
Iterations

Useful iterations: 4 (50.0ms)

IterNodesCost
05822
114519
241719
3139715
4500212

prune8.0ms

Filtered
4 candidates to 3 candidates (75.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New314
Fresh101
Picked011
Done000
Total426

Merged error: 0.1b

Counts
6 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.0ms

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

series120.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
12 → 12
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
015680
147064
2174055
3500148

prune25.0ms

Filtered
12 candidates to 9 candidates (75.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New11112
Fresh000
Picked011
Done011
Total11314

Merged error: 0.1b

Counts
14 → 3

localize12.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (sqrt z) y)
6.5b
(fma z (* y y) (- (* x x)))
25.0b
(/ (fma z (* y y) (- (* x x))) (- (* (sqrt z) y) x))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
flip3-- frac-2neg clear-num *-commutative flip-- fma-udef div-inv
Counts
3 → 7
Calls
3 calls:
3.0ms
(* (sqrt z) y)
1.0ms
(fma z (* y y) (- (* x x)))
4.0ms
(/ (fma z (* y y) (- (* x x))) (- (* (sqrt z) y) x))

series254.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(* (sqrt z) y)
59.0ms
(fma z (* y y) (- (* x x)))
148.0ms
(/ (fma z (* y y) (- (* x x))) (- (* (sqrt z) y) x))

simplify71.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0186120
1565103
2265784
3500181

prune45.0ms

Filtered
16 candidates to 12 candidates (75.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New14216
Fresh000
Picked101
Done022
Total15419

Merged error: 0.1b

Counts
19 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (- (* (sqrt z) y) x) (fma z (* y y) (- (* x x)))))
0.2b
(* (sqrt z) y)
6.5b
(fma z (* y y) (- (* x x)))
25.0b
(/ (- (* (sqrt z) y) x) (fma z (* y y) (- (* x x))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
clear-num associate-/l/
frac-2neg div-inv
flip3-- flip--
div-sub associate-/r* *-commutative fma-udef remove-double-div inv-pow
Counts
4 → 19
Calls
4 calls:
8.0ms
(/ 1 (/ (- (* (sqrt z) y) x) (fma z (* y y) (- (* x x)))))
3.0ms
(* (sqrt z) y)
1.0ms
(fma z (* y y) (- (* x x)))
5.0ms
(/ (- (* (sqrt z) y) x) (fma z (* y y) (- (* x x))))

series359.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(/ 1 (/ (- (* (sqrt z) y) x) (fma z (* y y) (- (* x x)))))
52.0ms
(* (sqrt z) y)
56.0ms
(fma z (* y y) (- (* x x)))
102.0ms
(/ (- (* (sqrt z) y) x) (fma z (* y y) (- (* x x))))

simplify127.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (124.0ms)

IterNodesCost
0231186
1810165
24742155
35001153

prune74.0ms

Filtered
31 candidates to 23 candidates (74.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New30131
Fresh101
Picked011
Done022
Total31435

Merged error: 0.1b

Counts
35 → 4

regimes81.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample780.0ms

Algorithm
intervals
Results
226.0ms8540×body80valid
216.0ms8710×body80nan