Details

Time bar (total: 3.5s)

sample29.0ms

Algorithm
intervals
Results
14.0ms260×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0268
1398
2518
3618
4658
5658

prune3.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: 16.5b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

4.0b
(/ (* y z) t)
7.1b
(/ (* y b) t)
11.9b
(/ (+ x (/ (* y z) t)) (+ (+ a 1.0) (/ (* y b) t)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
12×associate-/r/
10×frac-add
associate-/l*
flip3-+ flip-+
frac-2neg clear-num
*-commutative
div-inv
associate-/l/
Counts
3 → 27
Calls
3 calls:
3.0ms
(/ (* y z) t)
3.0ms
(/ (* y b) t)
9.0ms
(/ (+ x (/ (* y z) t)) (+ (+ a 1.0) (/ (* y b) t)))

series146.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(/ (* y z) t)
20.0ms
(/ (* y b) t)
104.0ms
(/ (+ x (/ (* y z) t)) (+ (+ a 1.0) (/ (* y b) t)))

simplify106.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0260243
1940243
24716240
35001240

prune161.0ms

Filtered
36 candidates to 30 candidates (83.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New231336
Fresh000
Picked101
Done000
Total241337

Merged error: 11.3b

Counts
37 → 13

localize19.0ms

Local error

Found 3 expressions with local error:

1.7b
(fma (/ y t) b 1.0)
4.0b
(/ (* y z) t)
11.9b
(/ (- (+ x (/ (* y z) t))) (- (- a) (fma (/ y t) b 1.0)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l*
frac-2neg clear-num associate-/r/ div-inv associate-/l/ distribute-neg-frac
neg-sub0 neg-mul-1 flip3-- flip3-+ div-sub distribute-frac-neg *-commutative flip-- flip-+ fma-udef
Counts
3 → 16
Calls
3 calls:
1.0ms
(fma (/ y t) b 1.0)
4.0ms
(/ (* y z) t)
6.0ms
(/ (- (+ x (/ (* y z) t))) (- (- a) (fma (/ y t) b 1.0)))

series153.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(fma (/ y t) b 1.0)
19.0ms
(/ (* y z) t)
110.0ms
(/ (- (+ x (/ (* y z) t))) (- (- a) (fma (/ y t) b 1.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0144117
1434115
21605108
35001106

prune108.0ms

Filtered
25 candidates to 17 candidates (68.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New20525
Fresh5712
Picked101
Done000
Total261238

Merged error: 9.8b

Counts
38 → 12

localize12.0ms

Local error

Found 3 expressions with local error:

1.7b
(fma (/ y t) b 1.0)
2.5b
(fma (/ y t) z x)
11.9b
(/ (fma (/ y t) z x) (+ a (fma (/ y t) b 1.0)))

rewrite5.0ms

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

series502.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(fma (/ y t) b 1.0)
40.0ms
(fma (/ y t) z x)
434.0ms
(/ (fma (/ y t) z x) (+ a (fma (/ y t) b 1.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
06852
114952
244352
3152252
4500252

prune65.0ms

Filtered
16 candidates to 8 candidates (50.0%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New13316
Fresh2911
Picked011
Done000
Total151328

Merged error: 9.8b

Counts
28 → 13

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (+ a (fma (/ y t) b 1.0)))
1.7b
(fma (/ y t) b 1.0)
2.5b
(fma (/ y t) z x)
11.9b
(* (fma (/ y t) z x) (/ 1 (+ a (fma (/ y t) b 1.0))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
associate-*r/ associate-*r* clear-num
frac-2neg flip3-+ un-div-inv flip-+ fma-udef div-inv
*-commutative inv-pow
Counts
4 → 17
Calls
4 calls:
3.0ms
(/ 1 (+ a (fma (/ y t) b 1.0)))
1.0ms
(fma (/ y t) b 1.0)
1.0ms
(fma (/ y t) z x)
4.0ms
(* (fma (/ y t) z x) (/ 1 (+ a (fma (/ y t) b 1.0))))

series555.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ 1 (+ a (fma (/ y t) b 1.0)))
24.0ms
(fma (/ y t) b 1.0)
40.0ms
(fma (/ y t) z x)
433.0ms
(* (fma (/ y t) z x) (/ 1 (+ a (fma (/ y t) b 1.0))))

simplify71.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07970
123070
293670
3321370
4500170

prune55.0ms

Filtered
29 candidates to 13 candidates (44.8%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New29029
Fresh01111
Picked011
Done011
Total291342

Merged error: 9.8b

Counts
42 → 13

regimes474.0ms

Accuracy

13.3% (4.2b remaining)

Error of 13.7b against oracle of 9.5b and baseline of 14.4b

bsearch105.0ms

Steps
ItersRangePoint
7
3.803312250547377e-193
4.8551909133664333e-191
1.2292535721189738e-192
8
-3186624082.971198
-216925.59301107787
-6248321.0100264745

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03414
13414

end0.0ms

sample709.0ms

Algorithm
intervals
Results
401.0ms8290×body80valid