SlideShare a Scribd company logo
1 of 28
Download to read offline
Gröbner Bases and
Applications
Christopher Hillar
(MSRI)
IG,k = 〈g1,...,gn〉
!
"
2
Outline of talk
• Introduction: Varieties and Ideals
• Gröbner Bases: Term Orderings,
Polynomial Reduction, Basic Properties
• Algorithms: Buchberger’s Criterion
• Applications: Elimination Theory,
Theorem Proving, Graph Coloring,
Integer Programming
3
Algebraic Geometry
Given a set of polynomials F ⊆ C[x1,...,xn],
we would like to understand the variety:
V(F) = { (v1,...,vn) ∈ Cn | f(v) = 0 for all f in F }
#points, dimension, singularities, ...
4
Ideals and Varieties
Definition: The ideal I = 〈F〉 generated by F is
I = {p1f1+ ··· +pmfm | pi ∈ C[x1,...,xn], fi ∈ F}
Notice that
V(I) = V(〈F〉) = V(F)
Important facts:
(HBT) Hilbert’s Basis Theorem: If F ⊆ C[x1,...,xn], then
〈F〉 = 〈f1,f2,...,fm〉 for some fi ∈ F
(HN) Hilbert’s Nullstellensatz:
V(I) = ∅ ⇔ I = 〈1〉 = C[x1,...,xn]
5
Ideals and Varieties
These theorems allow us to do computational
mathematics with varieties.
Hilbert’s Basis Theorem (HBT): Every chain
I1 ⊆ I2 ⊆ I3 ⊆ ··· ⊆ In ⊆ In+1 ···
eventually stabilizes
IN = IN+1 = IN+2 = ··· for some N
Hilbert’s Nullstellensatz (HN): There is an algebraic
witness to a variety being empty:
V(〈F〉) = ∅ ⇔ 1 = p1f1+ ··· +pmfm
6
PID’s (n = 1)
For intuition, first consider polynomial rings C[x] in a
single indeterminate x
HBT (PID): For any set of polynomials F, there is a
polynomial g such that
〈g〉 = 〈F〉
g is the greatest common divisor GCD(F) of all
polynomials in F. Finding g is the Euclidean Algorithm
HN (PID): There is a no common zero of all the
polynomials in F if and only if g = GCD(F) = 1
1 = p1f1+ ··· +pmfm
7
Algorithmic Motivation
The Nullstellensatz reduces the decidability question:
V(F) empty ⇔ 1 ∈ 〈F〉
More generally, given an ideal I = 〈F 〉 and an
arbitrary polynomial h, we would like to answer
Ideal Membership: Is h ∈ I ?
Solution: Compute a nicer representation I = 〈G〉 of
the ideal I = 〈F〉. The set G is a Grobner Basis for F
F G nfG(h) = 0?
Buchberger Reduction
8
Monomial Term Orders
Definition: A term order (or monomial order) is a total
order < on the set of monomials xa = x1
a1x2
a2 ··· xn
an s.t.:
(1) it is multiplicative: xa < xb ⇒ xa+c < xb+c
(2) the constant monomial is smallest, i.e.
1 < xa for all a in Nn{0}
In one variable, only one order: 1 < x < x2 < x3 < ···
For n = 2, we have
degree lexicographic order
1 < x1 < x2 < x1
2 < x1x2 < x2
2 < x1
3 < x1
2x2 < ···
purely lexicographic order
1 < x1 < x1
2 < x1
3 < ··· < x2 < x1x2 < x1
2x2 < ···
9
Initial monomials and Ideals
When n = 1, clear notion of largest term. For n > 1,
Term orders necessary for the Buchberger Algorithm.
Definition: Every polynomial f ∈ C[x1,…,xn] has an initial
monomial (given a term order) denoted by in<(f )
Example: if n = 2 and our term order is degree lex,
in<(x1 + 2x1
3x2
2 + 5x2
4 + 3x1
2x2
3) = 3x1
2x2
3
Definition: For every ideal I of C[x1,…,xn], we can form
the initial ideal of I (with respect to <) generated by all
initial monomials of polynomials in I :
in<(I) = 〈 in<(f) | f ∈ I 〉
10
Defining Gröbner Bases
Definition: A finite subset G of an ideal I is a
Gröbner basis (w.r.t to <) if
in<(I ) = 〈 in<(g) | g ∈ G 〉
Example: (pure lex) Let F = {x2
2 - x1, x2}. Then F is not
a Gröbner basis for I = 〈F〉 since
x1 = x2 · x2 - 1 · (x2
2 - x1) ∈ I
so that x1 ∈ in<(I ) but
x1 ∉ 〈x2
2, x2〉 = 〈x2〉
However, G = {x1,x2} is a Gröbner basis
11
Gröbner Bases
Fact: A Gröbner basis generates the ideal I
Theorem: Fixing an ideal I contained in C[x1,…,xn] and a
term order <, there is an algorithm to find a unique
reduced Gröbner Basis G for I
- Existence of a Gröbner basis follows from HBT
-Algorithm for producing G given F by Buchberger
(1965), under supervision of his advisor Gröbner
-Hironaka developed something similar (standard bases)
for his theorem on resolutions of singularites
12
Fundamental Thm of Algebra
Theorem (FTA): The number of zeroes |V(I)| is the
number of monomials not inside in<(I )
Example: F = {x2
2 - x1, x2}. Using purely lex order, we
have Grobner basis G = {x1, x2} so in<(I ) = 〈x1, x2〉 and
thus |V(〈F 〉)| = 1.
Example: (n = 1) F = {f(x)}. Then, G = {f } is a Grobner
basis for I = 〈F〉. Thus,
in<(I ) = 〈xdeg(f) 〉
and so there are deg(f) zeroes for f.
13
Computing Gröbner Bases
Fix a term order <. Given a set of polynomials G and a
polynomial h, there is a way to divide h by G and
produce a normal form, called the division algorithm
h = p1g1 + ··· + pmgm + r
Definition: Take g,g’ in G and form the S-polynomial
m’g - mg’ where m,m’ are monomials of lowest degree
s.t. m’⋅in<(g) = m⋅in<(g’)
Theorem (Buchberger’s Criterion): G is a Gröbner Basis
iff every S-polynomial has normal form zero w.r.t. G
If G is a Gröbner basis, then nfG(h) = r is unique
14
Buchberger’s Algorithm
Input: Finite list F of polynomials in C[x1,…,xn]
Output: Reduced Gröbner Basis G for F.
Step 1: Apply Buchberger’s Criterion to check whether
F is a GB.
Step 2: If “yes,” then F is a GB. goto Step 4.
Step 3: If “no,” we found r = nfF (m’g-mg’) ≠ 0. Set
F = F ∪ {r} and goto step 1.
Step 4: Replace F by the reduced Gröbner Basis G
and output G
-Terminates by Hilbert’s Basis Theorem
15
Solving with Gröbner Bases
The Grobner basis G encodes more transparently the
information about the ideal (and hence the variety)
Given a set F = {f1,...,fm}, if one computes a Grobner
Basis G, then one solves
(1) Deciding if there are any solutions
V(F) = {v | f1(v) = 0, f2(v) = 0, ... , fm(v) = 0 }
(2) Determining |V(F)|, dim(V(F)), Hilbert Polynomials, ...
(3) Ideal membership: Is h ∈ I ? (Check nfG(h) = 0)
dim = 1
16
Elimination example
With appropriate term orders, one can use Grobner
bases to eliminate indeterminates from equations
Example: Find the defining equation over the rationals
for the algebraic number z defined as the
solution to
p(z) = z5 + √2 z3 - a2z + a = 0
where a is a solution to a3 + a - 1 = 0.
F = {x2 - 2, a3 + a - 1, z5 + xz3 - a2z + a}, < is lex
with a > x > z. Compute a GB G. There will be an
element of G only involving z. This is the answer.
17
Automatic Theorem Proving
Theorem: The altitude and midpoints of a right
triangle lie on a circle
proof: Write down the equations for
the input (sides of triangle, midpoints,
circle with altitude as chord, etc),
compute a GB G, and then check that
nfG(h) = 0
for polynomials h that say the
midpoints lie on the circle.
18
Graph Colorings
Let G be a simple graph G = (V,E )
with vertices V = {1,2,...,n}, edges E
Definition: A k-coloring of G is an assignment
of k colors to the vertices of G
Definition: A k-coloring is proper if adjacent
vertices receive different colors
Definition: A graph is k-colorable if it has a proper
k-coloring
G
19
Algebraic Colorability
Main Idea (implicit in work of Bayer, de Loera, Lovász):
colorings are points in varieties
varieties are represented by ideals
ideals can be manipulated with Groebner Bases
20
k-Colorings as Points in Varieties
Setup: F is an algebraically closed field, (char F) | k
So F contains k distinct kth roots of unity. Let
Ik = 〈x1
k -1, x2
k -1, ..., xn
k -1〉 ⊂ F[x1,...,xn]
This ideal is radical, and |V(Ik)| = kn
Can think of point v = (v1,...,vn) in V(Ik) as assignment
v = (v1,...,vn) vertex i gets color vi
Eg. If 1 = Blue, -1 = Red, then v = (1,-1,1) is coloring
1
2
3
21
Proper k-Colorings of Graphs
We can also restrict to proper k-colorings of graph G
IG,k = Ik + 〈xi
k-1 + xi
k-2xj + ··· + xj
k-1 : (i,j) ∈ E〉
This ideal is radical, and |V(IG,k)| = # proper k-colorings
Proof: (=>) If v in V(IG,k ), wts v proper. If vi = vj for
(i,j) ∈ E, then
0 = vi
k-1 + vi
k-2vj + ··· + vj
k-1 = kvi
k-1
(<=) If v proper, then vi ≠ vj and
(vi - vj) · (vi
k-1 + ··· + vj
k-1) = vi
k - vj
k = 1 - 1 = 0
Thus, vi
k-1 + ··· + vj
k-1 = 0 and v in V(IG,k )
22
Algebraic Characterization
Notice that if IG,k = 〈1〉 = F[x1,...,xn] then
V(IG,k ) = ∅ => G is not k-colorable
Therefore, we have a test for k-colorability:
Algorithm: Compute a reduced Groebner basis B for
IG,k. Then, B = {1} iff G is not k-colorable.
IG,k = 〈x1
2 -1, x2
2 -1, x3
2 -1,
x1 + x2, x2 + x3, x1 + x3〉
(k = 2) = 〈1〉
2x1
2 = (x1-x2)(x1+x2) + (x2-x3)(x2+x3) + (x1-x3)(x1 +x3)
1
2
3
23
Computer Proof
This leads to the following concrete application:
Theorem: There is an algorithm to decide
k-colorability (and find the coloring) that is significatly
better than pure search.
3-colorable?
Uniquely 3-colorable?
24
Computer Proof
This leads to the following concrete application:
Theorem: There is an algorithm to decide
k-colorability (and find the coloring) that is significatly
better than pure search.
3-colorable?
Uniquely 3-colorable?
25
Computer Proof
This leads to the following concrete application:
Theorem: There is an algorithm to decide
k-colorability (and find the coloring) that is significatly
better than pure search.
3-colorable?
Uniquely 3-colorable?
Y e s !
26
Integer Programming
Gröbner Bases: Transforms integer programming
feasible sol’n using local moves into global optimum.
Minimize P+N+D+Q
Subject to P,N,D,Q > 0 and P+5N+10D+25Q = 117
Integer solution: (P,N,D,Q) = (2,1,1,4)
Represent a collection C of coins by a polynomial
h = panbdcqd in p,n,d,q. (eg, 2 pennies, 4 dimes is p2d4)
Input set F = {p5-n, p10-d, p25-q}
Output set G = {p5-n, n2-d, d2n-q, d3-nq}
– Expresses a more useful set of replacement
rules. Eg, the expression d3-nq translates to:
replace 3 dimes with a nickel and a quarter
27
Integer Programming
Given a collection C of coins, we use rules encoded by
G to transform (in any order) C into a set of coins C’
with equal monetary value but smaller number of
elements.
Example (solving previous integer program):
p17n10d5 -> p12n11d5 -> . . . -> p2n13d5 ->
p2n12d3q -> p2n13dq2 -> . . . -> p2ndq4
Computing nfG(h) with G = {p5-n, n2-d, d2n-q, d3-nq}
28
Great Reference: Cox, Little, O’Shea, Ideals
Varieties and Algorithms.
The End
(of talk)

More Related Content

Similar to gbapplfinal.pdf

Practical computation of Hecke operators
Practical computation of Hecke operatorsPractical computation of Hecke operators
Practical computation of Hecke operatorsMathieu Dutour Sikiric
 
Complex Analysis And ita real life problems solution
Complex Analysis And ita real life problems solutionComplex Analysis And ita real life problems solution
Complex Analysis And ita real life problems solutionNaeemAhmad289736
 
A common fixed point of integral type contraction in generalized metric spacess
A  common fixed point of integral type contraction in generalized metric spacessA  common fixed point of integral type contraction in generalized metric spacess
A common fixed point of integral type contraction in generalized metric spacessAlexander Decker
 
Cryptography and Network Security chapter 4.ppt
Cryptography and Network Security chapter 4.pptCryptography and Network Security chapter 4.ppt
Cryptography and Network Security chapter 4.pptthe9amit
 
Stochastic Processes Homework Help
Stochastic Processes Homework HelpStochastic Processes Homework Help
Stochastic Processes Homework HelpExcel Homework Help
 
Efficient end-to-end learning for quantizable representations
Efficient end-to-end learning for quantizable representationsEfficient end-to-end learning for quantizable representations
Efficient end-to-end learning for quantizable representationsNAVER Engineering
 
Error control coding bch, reed-solomon etc..
Error control coding   bch, reed-solomon etc..Error control coding   bch, reed-solomon etc..
Error control coding bch, reed-solomon etc..Madhumita Tamhane
 
Best Approximation in Real Linear 2-Normed Spaces
Best Approximation in Real Linear 2-Normed SpacesBest Approximation in Real Linear 2-Normed Spaces
Best Approximation in Real Linear 2-Normed SpacesIOSR Journals
 
parameterized complexity for graph Motif
parameterized complexity for graph Motifparameterized complexity for graph Motif
parameterized complexity for graph MotifAMR koura
 
Analytic construction of points on modular elliptic curves
Analytic construction of points on modular elliptic curvesAnalytic construction of points on modular elliptic curves
Analytic construction of points on modular elliptic curvesmmasdeu
 
Dynamic Programming.pptx
Dynamic Programming.pptxDynamic Programming.pptx
Dynamic Programming.pptxThanga Ramya S
 
Some topics in analysis of boolean functions
Some topics in analysis of boolean functionsSome topics in analysis of boolean functions
Some topics in analysis of boolean functionsguest756c74
 
Famous problem IMO 1988 Q6.pdf
Famous problem IMO 1988 Q6.pdfFamous problem IMO 1988 Q6.pdf
Famous problem IMO 1988 Q6.pdfAbdulHannif2
 

Similar to gbapplfinal.pdf (20)

Practical computation of Hecke operators
Practical computation of Hecke operatorsPractical computation of Hecke operators
Practical computation of Hecke operators
 
Freecomplexnumbers
FreecomplexnumbersFreecomplexnumbers
Freecomplexnumbers
 
Complex Analysis And ita real life problems solution
Complex Analysis And ita real life problems solutionComplex Analysis And ita real life problems solution
Complex Analysis And ita real life problems solution
 
A common fixed point of integral type contraction in generalized metric spacess
A  common fixed point of integral type contraction in generalized metric spacessA  common fixed point of integral type contraction in generalized metric spacess
A common fixed point of integral type contraction in generalized metric spacess
 
Cryptography and Network Security chapter 4.ppt
Cryptography and Network Security chapter 4.pptCryptography and Network Security chapter 4.ppt
Cryptography and Network Security chapter 4.ppt
 
Goldie chapter 4 function
Goldie chapter 4 functionGoldie chapter 4 function
Goldie chapter 4 function
 
Imc2017 day2-solutions
Imc2017 day2-solutionsImc2017 day2-solutions
Imc2017 day2-solutions
 
Stochastic Processes Homework Help
Stochastic Processes Homework HelpStochastic Processes Homework Help
Stochastic Processes Homework Help
 
Efficient end-to-end learning for quantizable representations
Efficient end-to-end learning for quantizable representationsEfficient end-to-end learning for quantizable representations
Efficient end-to-end learning for quantizable representations
 
Error control coding bch, reed-solomon etc..
Error control coding   bch, reed-solomon etc..Error control coding   bch, reed-solomon etc..
Error control coding bch, reed-solomon etc..
 
Best Approximation in Real Linear 2-Normed Spaces
Best Approximation in Real Linear 2-Normed SpacesBest Approximation in Real Linear 2-Normed Spaces
Best Approximation in Real Linear 2-Normed Spaces
 
parameterized complexity for graph Motif
parameterized complexity for graph Motifparameterized complexity for graph Motif
parameterized complexity for graph Motif
 
Proof of Beal's conjecture
Proof of Beal's conjecture Proof of Beal's conjecture
Proof of Beal's conjecture
 
Analytic construction of points on modular elliptic curves
Analytic construction of points on modular elliptic curvesAnalytic construction of points on modular elliptic curves
Analytic construction of points on modular elliptic curves
 
Wati lg
Wati lgWati lg
Wati lg
 
Dynamic Programming.pptx
Dynamic Programming.pptxDynamic Programming.pptx
Dynamic Programming.pptx
 
Functions limits and continuity
Functions limits and continuityFunctions limits and continuity
Functions limits and continuity
 
Some topics in analysis of boolean functions
Some topics in analysis of boolean functionsSome topics in analysis of boolean functions
Some topics in analysis of boolean functions
 
Lec 3-mcgregor
Lec 3-mcgregorLec 3-mcgregor
Lec 3-mcgregor
 
Famous problem IMO 1988 Q6.pdf
Famous problem IMO 1988 Q6.pdfFamous problem IMO 1988 Q6.pdf
Famous problem IMO 1988 Q6.pdf
 

Recently uploaded

Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Lokesh Kothari
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSérgio Sacani
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPirithiRaju
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxgindu3009
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfSumit Kumar yadav
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLkantirani197
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfrohankumarsinghrore1
 
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxCOST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxFarihaAbdulRasheed
 
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICESAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICEayushi9330
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000Sapana Sha
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPirithiRaju
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfSumit Kumar yadav
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and ClassificationsAreesha Ahmad
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bSérgio Sacani
 
Creating and Analyzing Definitive Screening Designs
Creating and Analyzing Definitive Screening DesignsCreating and Analyzing Definitive Screening Designs
Creating and Analyzing Definitive Screening DesignsNurulAfiqah307317
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsSérgio Sacani
 

Recently uploaded (20)

Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxCOST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
 
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICESAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
Chemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdfChemistry 4th semester series (krishna).pdf
Chemistry 4th semester series (krishna).pdf
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and Classifications
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 
Creating and Analyzing Definitive Screening Designs
Creating and Analyzing Definitive Screening DesignsCreating and Analyzing Definitive Screening Designs
Creating and Analyzing Definitive Screening Designs
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 

gbapplfinal.pdf

  • 1. Gröbner Bases and Applications Christopher Hillar (MSRI) IG,k = 〈g1,...,gn〉 ! "
  • 2. 2 Outline of talk • Introduction: Varieties and Ideals • Gröbner Bases: Term Orderings, Polynomial Reduction, Basic Properties • Algorithms: Buchberger’s Criterion • Applications: Elimination Theory, Theorem Proving, Graph Coloring, Integer Programming
  • 3. 3 Algebraic Geometry Given a set of polynomials F ⊆ C[x1,...,xn], we would like to understand the variety: V(F) = { (v1,...,vn) ∈ Cn | f(v) = 0 for all f in F } #points, dimension, singularities, ...
  • 4. 4 Ideals and Varieties Definition: The ideal I = 〈F〉 generated by F is I = {p1f1+ ··· +pmfm | pi ∈ C[x1,...,xn], fi ∈ F} Notice that V(I) = V(〈F〉) = V(F) Important facts: (HBT) Hilbert’s Basis Theorem: If F ⊆ C[x1,...,xn], then 〈F〉 = 〈f1,f2,...,fm〉 for some fi ∈ F (HN) Hilbert’s Nullstellensatz: V(I) = ∅ ⇔ I = 〈1〉 = C[x1,...,xn]
  • 5. 5 Ideals and Varieties These theorems allow us to do computational mathematics with varieties. Hilbert’s Basis Theorem (HBT): Every chain I1 ⊆ I2 ⊆ I3 ⊆ ··· ⊆ In ⊆ In+1 ··· eventually stabilizes IN = IN+1 = IN+2 = ··· for some N Hilbert’s Nullstellensatz (HN): There is an algebraic witness to a variety being empty: V(〈F〉) = ∅ ⇔ 1 = p1f1+ ··· +pmfm
  • 6. 6 PID’s (n = 1) For intuition, first consider polynomial rings C[x] in a single indeterminate x HBT (PID): For any set of polynomials F, there is a polynomial g such that 〈g〉 = 〈F〉 g is the greatest common divisor GCD(F) of all polynomials in F. Finding g is the Euclidean Algorithm HN (PID): There is a no common zero of all the polynomials in F if and only if g = GCD(F) = 1 1 = p1f1+ ··· +pmfm
  • 7. 7 Algorithmic Motivation The Nullstellensatz reduces the decidability question: V(F) empty ⇔ 1 ∈ 〈F〉 More generally, given an ideal I = 〈F 〉 and an arbitrary polynomial h, we would like to answer Ideal Membership: Is h ∈ I ? Solution: Compute a nicer representation I = 〈G〉 of the ideal I = 〈F〉. The set G is a Grobner Basis for F F G nfG(h) = 0? Buchberger Reduction
  • 8. 8 Monomial Term Orders Definition: A term order (or monomial order) is a total order < on the set of monomials xa = x1 a1x2 a2 ··· xn an s.t.: (1) it is multiplicative: xa < xb ⇒ xa+c < xb+c (2) the constant monomial is smallest, i.e. 1 < xa for all a in Nn{0} In one variable, only one order: 1 < x < x2 < x3 < ··· For n = 2, we have degree lexicographic order 1 < x1 < x2 < x1 2 < x1x2 < x2 2 < x1 3 < x1 2x2 < ··· purely lexicographic order 1 < x1 < x1 2 < x1 3 < ··· < x2 < x1x2 < x1 2x2 < ···
  • 9. 9 Initial monomials and Ideals When n = 1, clear notion of largest term. For n > 1, Term orders necessary for the Buchberger Algorithm. Definition: Every polynomial f ∈ C[x1,…,xn] has an initial monomial (given a term order) denoted by in<(f ) Example: if n = 2 and our term order is degree lex, in<(x1 + 2x1 3x2 2 + 5x2 4 + 3x1 2x2 3) = 3x1 2x2 3 Definition: For every ideal I of C[x1,…,xn], we can form the initial ideal of I (with respect to <) generated by all initial monomials of polynomials in I : in<(I) = 〈 in<(f) | f ∈ I 〉
  • 10. 10 Defining Gröbner Bases Definition: A finite subset G of an ideal I is a Gröbner basis (w.r.t to <) if in<(I ) = 〈 in<(g) | g ∈ G 〉 Example: (pure lex) Let F = {x2 2 - x1, x2}. Then F is not a Gröbner basis for I = 〈F〉 since x1 = x2 · x2 - 1 · (x2 2 - x1) ∈ I so that x1 ∈ in<(I ) but x1 ∉ 〈x2 2, x2〉 = 〈x2〉 However, G = {x1,x2} is a Gröbner basis
  • 11. 11 Gröbner Bases Fact: A Gröbner basis generates the ideal I Theorem: Fixing an ideal I contained in C[x1,…,xn] and a term order <, there is an algorithm to find a unique reduced Gröbner Basis G for I - Existence of a Gröbner basis follows from HBT -Algorithm for producing G given F by Buchberger (1965), under supervision of his advisor Gröbner -Hironaka developed something similar (standard bases) for his theorem on resolutions of singularites
  • 12. 12 Fundamental Thm of Algebra Theorem (FTA): The number of zeroes |V(I)| is the number of monomials not inside in<(I ) Example: F = {x2 2 - x1, x2}. Using purely lex order, we have Grobner basis G = {x1, x2} so in<(I ) = 〈x1, x2〉 and thus |V(〈F 〉)| = 1. Example: (n = 1) F = {f(x)}. Then, G = {f } is a Grobner basis for I = 〈F〉. Thus, in<(I ) = 〈xdeg(f) 〉 and so there are deg(f) zeroes for f.
  • 13. 13 Computing Gröbner Bases Fix a term order <. Given a set of polynomials G and a polynomial h, there is a way to divide h by G and produce a normal form, called the division algorithm h = p1g1 + ··· + pmgm + r Definition: Take g,g’ in G and form the S-polynomial m’g - mg’ where m,m’ are monomials of lowest degree s.t. m’⋅in<(g) = m⋅in<(g’) Theorem (Buchberger’s Criterion): G is a Gröbner Basis iff every S-polynomial has normal form zero w.r.t. G If G is a Gröbner basis, then nfG(h) = r is unique
  • 14. 14 Buchberger’s Algorithm Input: Finite list F of polynomials in C[x1,…,xn] Output: Reduced Gröbner Basis G for F. Step 1: Apply Buchberger’s Criterion to check whether F is a GB. Step 2: If “yes,” then F is a GB. goto Step 4. Step 3: If “no,” we found r = nfF (m’g-mg’) ≠ 0. Set F = F ∪ {r} and goto step 1. Step 4: Replace F by the reduced Gröbner Basis G and output G -Terminates by Hilbert’s Basis Theorem
  • 15. 15 Solving with Gröbner Bases The Grobner basis G encodes more transparently the information about the ideal (and hence the variety) Given a set F = {f1,...,fm}, if one computes a Grobner Basis G, then one solves (1) Deciding if there are any solutions V(F) = {v | f1(v) = 0, f2(v) = 0, ... , fm(v) = 0 } (2) Determining |V(F)|, dim(V(F)), Hilbert Polynomials, ... (3) Ideal membership: Is h ∈ I ? (Check nfG(h) = 0) dim = 1
  • 16. 16 Elimination example With appropriate term orders, one can use Grobner bases to eliminate indeterminates from equations Example: Find the defining equation over the rationals for the algebraic number z defined as the solution to p(z) = z5 + √2 z3 - a2z + a = 0 where a is a solution to a3 + a - 1 = 0. F = {x2 - 2, a3 + a - 1, z5 + xz3 - a2z + a}, < is lex with a > x > z. Compute a GB G. There will be an element of G only involving z. This is the answer.
  • 17. 17 Automatic Theorem Proving Theorem: The altitude and midpoints of a right triangle lie on a circle proof: Write down the equations for the input (sides of triangle, midpoints, circle with altitude as chord, etc), compute a GB G, and then check that nfG(h) = 0 for polynomials h that say the midpoints lie on the circle.
  • 18. 18 Graph Colorings Let G be a simple graph G = (V,E ) with vertices V = {1,2,...,n}, edges E Definition: A k-coloring of G is an assignment of k colors to the vertices of G Definition: A k-coloring is proper if adjacent vertices receive different colors Definition: A graph is k-colorable if it has a proper k-coloring G
  • 19. 19 Algebraic Colorability Main Idea (implicit in work of Bayer, de Loera, Lovász): colorings are points in varieties varieties are represented by ideals ideals can be manipulated with Groebner Bases
  • 20. 20 k-Colorings as Points in Varieties Setup: F is an algebraically closed field, (char F) | k So F contains k distinct kth roots of unity. Let Ik = 〈x1 k -1, x2 k -1, ..., xn k -1〉 ⊂ F[x1,...,xn] This ideal is radical, and |V(Ik)| = kn Can think of point v = (v1,...,vn) in V(Ik) as assignment v = (v1,...,vn) vertex i gets color vi Eg. If 1 = Blue, -1 = Red, then v = (1,-1,1) is coloring 1 2 3
  • 21. 21 Proper k-Colorings of Graphs We can also restrict to proper k-colorings of graph G IG,k = Ik + 〈xi k-1 + xi k-2xj + ··· + xj k-1 : (i,j) ∈ E〉 This ideal is radical, and |V(IG,k)| = # proper k-colorings Proof: (=>) If v in V(IG,k ), wts v proper. If vi = vj for (i,j) ∈ E, then 0 = vi k-1 + vi k-2vj + ··· + vj k-1 = kvi k-1 (<=) If v proper, then vi ≠ vj and (vi - vj) · (vi k-1 + ··· + vj k-1) = vi k - vj k = 1 - 1 = 0 Thus, vi k-1 + ··· + vj k-1 = 0 and v in V(IG,k )
  • 22. 22 Algebraic Characterization Notice that if IG,k = 〈1〉 = F[x1,...,xn] then V(IG,k ) = ∅ => G is not k-colorable Therefore, we have a test for k-colorability: Algorithm: Compute a reduced Groebner basis B for IG,k. Then, B = {1} iff G is not k-colorable. IG,k = 〈x1 2 -1, x2 2 -1, x3 2 -1, x1 + x2, x2 + x3, x1 + x3〉 (k = 2) = 〈1〉 2x1 2 = (x1-x2)(x1+x2) + (x2-x3)(x2+x3) + (x1-x3)(x1 +x3) 1 2 3
  • 23. 23 Computer Proof This leads to the following concrete application: Theorem: There is an algorithm to decide k-colorability (and find the coloring) that is significatly better than pure search. 3-colorable? Uniquely 3-colorable?
  • 24. 24 Computer Proof This leads to the following concrete application: Theorem: There is an algorithm to decide k-colorability (and find the coloring) that is significatly better than pure search. 3-colorable? Uniquely 3-colorable?
  • 25. 25 Computer Proof This leads to the following concrete application: Theorem: There is an algorithm to decide k-colorability (and find the coloring) that is significatly better than pure search. 3-colorable? Uniquely 3-colorable? Y e s !
  • 26. 26 Integer Programming Gröbner Bases: Transforms integer programming feasible sol’n using local moves into global optimum. Minimize P+N+D+Q Subject to P,N,D,Q > 0 and P+5N+10D+25Q = 117 Integer solution: (P,N,D,Q) = (2,1,1,4) Represent a collection C of coins by a polynomial h = panbdcqd in p,n,d,q. (eg, 2 pennies, 4 dimes is p2d4) Input set F = {p5-n, p10-d, p25-q} Output set G = {p5-n, n2-d, d2n-q, d3-nq} – Expresses a more useful set of replacement rules. Eg, the expression d3-nq translates to: replace 3 dimes with a nickel and a quarter
  • 27. 27 Integer Programming Given a collection C of coins, we use rules encoded by G to transform (in any order) C into a set of coins C’ with equal monetary value but smaller number of elements. Example (solving previous integer program): p17n10d5 -> p12n11d5 -> . . . -> p2n13d5 -> p2n12d3q -> p2n13dq2 -> . . . -> p2ndq4 Computing nfG(h) with G = {p5-n, n2-d, d2n-q, d3-nq}
  • 28. 28 Great Reference: Cox, Little, O’Shea, Ideals Varieties and Algorithms. The End (of talk)