Details

Time bar (total: 3.9s)

sample44.0ms

Algorithm
intervals
Results
22.0ms390×body80valid

simplify140.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 6 (138.0ms)

IterNodesCost
0389
11039
23279
39219
419969
548419
650018

prune12.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: 10.8b

Counts
2 → 2

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (- 4.0) (/ (* t a) c) (/ (fma x (* 9.0 y) b) (* z c)))
0.3b
(fma x (* 9.0 y) b)
3.9b
(/ (* t a) c)
12.2b
(/ (fma x (* 9.0 y) b) (* z c))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
frac-2neg clear-num associate-/r* *-commutative fma-udef div-inv associate-/l*
Counts
4 → 12
Calls
4 calls:
1.0ms
(fma (- 4.0) (/ (* t a) c) (/ (fma x (* 9.0 y) b) (* z c)))
1.0ms
(fma x (* 9.0 y) b)
3.0ms
(/ (* t a) c)
3.0ms
(/ (fma x (* 9.0 y) b) (* z c))

series342.0ms

Counts
4 → 12
Calls
4 calls:
223.0ms
(fma (- 4.0) (/ (* t a) c) (/ (fma x (* 9.0 y) b) (* z c)))
40.0ms
(fma x (* 9.0 y) b)
20.0ms
(/ (* t a) c)
59.0ms
(/ (fma x (* 9.0 y) b) (* z c))

simplify126.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
09670
123666
258365
3108265
4132265
5149065
6202265
7312265
8500165

prune107.0ms

Filtered
24 candidates to 18 candidates (75.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New16824
Fresh101
Picked101
Done000
Total18826

Merged error: 3.5b

Counts
26 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma 9.0 (/ (* x y) (* z c)) (/ b (* z c)))
3.9b
(/ (* t a) c)
6.6b
(/ b (* z c))
9.8b
(/ (* x y) (* z c))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
times-frac associate-/r* associate-/l*
frac-2neg clear-num div-inv
fma-udef
Counts
4 → 22
Calls
4 calls:
1.0ms
(fma 9.0 (/ (* x y) (* z c)) (/ b (* z c)))
3.0ms
(/ (* t a) c)
3.0ms
(/ b (* z c))
4.0ms
(/ (* x y) (* z c))

series170.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(fma 9.0 (/ (* x y) (* z c)) (/ b (* z c)))
22.0ms
(/ (* t a) c)
26.0ms
(/ b (* z c))
30.0ms
(/ (* x y) (* z c))

simplify35.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
07888
115485
230885
352085
461885
562085
662085

prune138.0ms

Filtered
34 candidates to 23 candidates (67.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New29534
Fresh347
Picked101
Done000
Total33942

Merged error: 0.0b

Counts
42 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

3.9b
(/ (* t a) c)
5.2b
(/ y (/ (* z c) x))
5.9b
(/ (* z c) x)
6.6b
(/ b (* z c))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l*
frac-2neg clear-num associate-/r/ div-inv
*-commutative
associate-/r*
Counts
4 → 24
Calls
4 calls:
7.0ms
(/ (* t a) c)
4.0ms
(/ y (/ (* z c) x))
3.0ms
(/ (* z c) x)
3.0ms
(/ b (* z c))

series101.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (* t a) c)
31.0ms
(/ y (/ (* z c) x))
21.0ms
(/ (* z c) x)
22.0ms
(/ b (* z c))

simplify65.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
07071
115571
232570
3133970
4342370
5500270

prune149.0ms

Filtered
36 candidates to 25 candidates (69.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New32436
Fresh358
Picked101
Done000
Total36945

Merged error: 0.0b

Counts
45 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

3.9b
(/ (* t a) c)
4.9b
(/ (/ (* z c) x) y)
5.9b
(/ (* z c) x)
6.6b
(/ b (* z c))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l*
frac-2neg clear-num div-inv associate-/l/
*-commutative
associate-/r*
Counts
4 → 24
Calls
4 calls:
3.0ms
(/ (* t a) c)
5.0ms
(/ (/ (* z c) x) y)
4.0ms
(/ (* z c) x)
3.0ms
(/ b (* z c))

series99.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (* t a) c)
30.0ms
(/ (/ (* z c) x) y)
22.0ms
(/ (* z c) x)
26.0ms
(/ b (* z c))

simplify99.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
08072
113571
228971
360771
4117671
5193371
6356871
7500171

prune114.0ms

Filtered
36 candidates to 23 candidates (63.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New32436
Fresh448
Picked101
Done000
Total37845

Merged error: 0.0b

Counts
45 → 8

regimes490.0ms

Accuracy

17.1% (9.2b remaining)

Error of 9.4b against oracle of 0.2b and baseline of 11.3b

bsearch284.0ms

Steps
ItersRangePoint
8
8.393498134025712e+132
5.201927472720305e+136
2.4595357268207823e+133
9
1.386228257642249e-51
1.2087203978242168e-46
1.502193723196046e-49
9
-3.1530790865620953e-141
-3.702098503030638e-149
-8.362532736164751e-142

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05438
15438

end0.0ms

sample1.2s

Algorithm
intervals
Results
739.0ms12665×body80valid