Details

Time bar (total: 1.9s)

sample21.0ms

Algorithm
intervals
Results
10.0ms273×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1407
2567
3767
4907
5947
6947

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

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.2b
(- (* b c) (* a d))
23.2b
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
prod-diff
flip3-- fma-neg associate-/r/ flip-- associate-/l/
sub-neg frac-2neg flip3-+ div-sub clear-num flip-+ div-inv
Counts
2 → 18
Calls
2 calls:
4.0ms
(- (* b c) (* a d))
8.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

series130.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(- (* b c) (* a d))
89.0ms
(/ (- (* b c) (* a d)) (+ (* c c) (* d d)))

simplify54.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0152124
1501121
21718121
35001108

prune56.0ms

Filtered
24 candidates to 16 candidates (66.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New19524
Fresh000
Picked101
Done000
Total20525

Merged error: 20.7b

Counts
25 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

2.7b
(/ a (/ (fma c c (* d d)) d))
4.0b
(/ b (/ (fma c c (* d d)) c))
16.5b
(/ (fma c c (* d d)) c)
19.6b
(/ (fma c c (* d d)) d)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
frac-2neg clear-num associate-/r/ div-inv
associate-/r*
Counts
4 → 20
Calls
4 calls:
3.0ms
(/ a (/ (fma c c (* d d)) d))
3.0ms
(/ b (/ (fma c c (* d d)) c))
2.0ms
(/ (fma c c (* d d)) c)
2.0ms
(/ (fma c c (* d d)) d)

series210.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ a (/ (fma c c (* d d)) d))
51.0ms
(/ b (/ (fma c c (* d d)) c))
57.0ms
(/ (fma c c (* d d)) c)
53.0ms
(/ (fma c c (* d d)) d)

simplify106.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (18.0ms)

IterNodesCost
05780
113380
251478
3308272
4500272

prune79.0ms

Filtered
32 candidates to 22 candidates (68.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New28432
Fresh134
Picked101
Done000
Total30737

Merged error: 4.4b

Counts
37 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (/ c d) c d)
2.7b
(/ a (fma (/ c d) c d))
4.0b
(/ b (/ (fma c c (* d d)) c))
16.5b
(/ (fma c c (* d d)) c)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
frac-2neg clear-num div-inv
associate-/r/
associate-/r* fma-udef
Counts
4 → 14
Calls
4 calls:
1.0ms
(fma (/ c d) c d)
2.0ms
(/ a (fma (/ c d) c d))
3.0ms
(/ b (/ (fma c c (* d d)) c))
2.0ms
(/ (fma c c (* d d)) c)

series175.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(fma (/ c d) c d)
37.0ms
(/ a (fma (/ c d) c d))
47.0ms
(/ b (/ (fma c c (* d d)) c))
61.0ms
(/ (fma c c (* d d)) c)

simplify73.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
05158
111258
239857
3209454
4500154

prune66.0ms

Filtered
26 candidates to 16 candidates (61.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New21526
Fresh516
Picked101
Done000
Total27633

Merged error: 3.1b

Counts
33 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (/ c d) c d)
0.1b
(fma (/ d c) d c)
2.7b
(/ a (fma (/ c d) c d))
4.0b
(/ b (fma (/ d c) d c))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
frac-2neg clear-num fma-udef div-inv
Counts
4 → 8
Calls
4 calls:
1.0ms
(fma (/ c d) c d)
1.0ms
(fma (/ d c) d c)
2.0ms
(/ a (fma (/ c d) c d))
2.0ms
(/ b (fma (/ d c) d c))

series131.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(fma (/ c d) c d)
34.0ms
(fma (/ d c) d c)
33.0ms
(/ a (fma (/ c d) c d))
33.0ms
(/ b (fma (/ d c) d c))

simplify33.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04136
17536
222936
380836
4500236

prune33.0ms

Filtered
20 candidates to 10 candidates (50.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New17320
Fresh325
Picked101
Done000
Total21526

Merged error: 3.1b

Counts
26 → 5

regimes96.0ms

Accuracy

0% (1.2b remaining)

Error of 3.4b against oracle of 2.2b and baseline of 3.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0168
1168

end0.0ms

sample542.0ms

Algorithm
intervals
Results
328.0ms8478×body80valid