FormalConjecturesForMathlib/Combinatorics/SimpleGraph/Independence.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
15 declarations, 0 contain sorry, 0 declared as axioms
Imported by 3 files
- def
SimpleGraph.aprimeThe maximum cardinality among all independent setssthat maximize the quantity|s| - |N(s)|, whereN(s)is the neighborhood of the setsline 31 sourceSource documentation
The maximum cardinality among all independent sets
sthat maximize the quantity|s| - |N(s)|, whereN(s)is the neighborhood of the sets.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,DecidableEq,SimpleGraph,DecidableRel,SimpleGraph.Adj,RealProof uses:
Option.getD,Nat,Finset.max,Finset.image,Finset,Finset.card,Finset.filter,Eq,Int,HSub.hSub,Set.toFinset,Set.iUnion,Membership.mem,Set,SimpleGraph.neighborSet,SimpleGraph.IsIndepSet,Finset.powerset,Finset.univ,OfNat.ofNat19 instances, coercions and auxiliary constants left out.
noncomputable def aprime (G : SimpleGraph α) [DecidableRel G.Adj] : ℝ := …
- def
SimpleGraph.indepNeighborsCardIndependence number of the neighbourhood ofvline 40 sourceSource documentation
Independence number of the neighbourhood of
v.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,NatProof uses:
SimpleGraph.indepNum,SimpleGraph.neighborSet,SimpleGraph.induce1 instances, coercions and auxiliary constants left out.
noncomputable def indepNeighborsCard (G : SimpleGraph α) (v : α) : ℕ := …
- def
SimpleGraph.indepNeighborsThe same quantity as a real number line 44 sourceSource documentation
The same quantity as a real number.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,RealProof uses: SimpleGraph.indepNeighborsCard
2 instances, coercions and auxiliary constants left out.
noncomputable def indepNeighbors (G : SimpleGraph α) (v : α) : ℝ := …
- def
SimpleGraph.averageIndepNeighborsAverage ofindepNeighborsover all vertices line 48 sourceSource documentation
Average of
indepNeighborsover all vertices.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraph,RealProof uses:
HDiv.hDiv,Finset.sum,Finset.univ, SimpleGraph.indepNeighbors,Fintype.card6 instances, coercions and auxiliary constants left out.
noncomputable def averageIndepNeighbors (G : SimpleGraph α) : ℝ := …
- abbrev
SimpleGraph.lAbbreviation for the average independence number of the neighborhoods line 53 sourceSource documentation
Abbreviation for the average independence number of the neighborhoods.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraph,RealProof uses: SimpleGraph.averageIndepNeighbors
noncomputable abbrev l (G : SimpleGraph α) : ℝ := averageIndepNeighbors G
Mentions: SimpleGraph.averageIndepNeighbors
- abbrev
SimpleGraph.l_avgThe same quantity under a different name, used in some conjectures line 57 sourceSource documentation
The same quantity under a different name, used in some conjectures.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraph,RealProof uses: SimpleGraph.averageIndepNeighbors
noncomputable abbrev l_avg (G : SimpleGraph α) : ℝ := averageIndepNeighbors G
Mentions: SimpleGraph.averageIndepNeighbors
- def
SimpleGraph.computable_indep_numComputable independence number via powerset enumeration line 60 sourceSource documentation
Computable independence number via powerset enumeration.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,DecidableEq,SimpleGraph,DecidableRel,SimpleGraph.Adj,NatProof uses:
Finset.sup,Finset,Finset.filter,Membership.mem,Ne,Not,Eq,Finset.powerset,Finset.univ,Finset.card9 instances, coercions and auxiliary constants left out.
def computable_indep_num (G : SimpleGraph α) [DecidableRel G.Adj] : ℕ := …
- theorem
SimpleGraph.indep_num_eq_computableEquivalence between computable and noncomputable independence number line 65 sourceSource documentation
Equivalence between computable and noncomputable independence number.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,DecidableEq,SimpleGraph,DecidableRel,SimpleGraph.Adj,Eq,Nat,SimpleGraph.indepNum, SimpleGraph.computable_indep_numProof uses:
id,SupSet.sSup,Set.ofPred,Exists,Finset,SimpleGraph.IsNIndepSet,le_antisymm,Finset.sup,Finset.filter,Membership.mem,Ne,Not,Finset.powerset,Finset.univ,Finset.card,csSup_le,Exists.intro,Set,OfNat.ofNat,EmptyCollection.emptyCollectionand 30 more32 instances, coercions and auxiliary constants left out.
Tactic trace: 21 steps
Open to load the checked before-and-after goal states.
theorem indep_num_eq_computable (G : SimpleGraph α) [DecidableRel G.Adj] : G.indepNum = computable_indep_num G := by …Mentions: SimpleGraph.computable_indep_num
- def
SimpleGraph.maxLocalIndependenceMaximum local independence number over all vertices line 90 sourceSource documentation
Maximum local independence number over all vertices. For each vertex, we compute the independence number of the subgraph induced by its neighbors, and take the maximum over all vertices.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraph,NatProof uses:
Finset,Finset.image,SimpleGraph.indepNum,SimpleGraph.neighborSet,SimpleGraph.induce,Finset.univ,Option.getD,Finset.max,OfNat.ofNat4 instances, coercions and auxiliary constants left out.
noncomputable def maxLocalIndependence (G : SimpleGraph α) : ℕ := …
- def
SimpleGraph.minLocalIndependenceMinimum local independence number over all vertices line 97 sourceSource documentation
Minimum local independence number over all vertices. For each vertex, we compute the independence number of the subgraph induced by its neighbors, and take the minimum over all vertices.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraph,NatProof uses:
Finset,Finset.image,SimpleGraph.indepNum,SimpleGraph.neighborSet,SimpleGraph.induce,Finset.univ,Option.getD,Finset.min,OfNat.ofNat4 instances, coercions and auxiliary constants left out.
noncomputable def minLocalIndependence (G : SimpleGraph α) : ℕ := …
- def
SimpleGraph.internalEdgesEdges ofGwhose two endpoints lie inSline 102 sourceSource documentation
Edges of
Gwhose two endpoints lie inS.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,DecidableEq,SimpleGraph,DecidableRel,SimpleGraph.Adj,Finset,Sym2Proof uses:
Finset.filter,LE.le,Sym2.toFinset,SimpleGraph.edgeFinset6 instances, coercions and auxiliary constants left out.
def internalEdges (G : SimpleGraph α) [DecidableRel G.Adj] (S : Finset α) : Finset (Sym2 α) := …Mentions: SimpleGraph.S
- def
SimpleGraph.IsTwoIndependentA vertex set is 2-independent when its induced graph has maximum degree at most one line 108 sourceSource documentation
A vertex set is 2-independent when its induced graph has maximum degree at most one.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,DecidableRel,SimpleGraph.Adj,FinsetProof uses:
Membership.mem,LE.le,Nat,Finset.card,Finset.filter,OfNat.ofNat4 instances, coercions and auxiliary constants left out.
def IsTwoIndependent (G : SimpleGraph α) [DecidableRel G.Adj] (S : Finset α) : Prop := …
Mentions: SimpleGraph.S
- def
SimpleGraph.indepNumOnMaximum cardinality of an independent subset contained inBline 112 sourceSource documentation
Maximum cardinality of an independent subset contained in
B.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
DecidableEq,SimpleGraph,DecidableRel,SimpleGraph.Adj,Finset,NatProof uses:
Finset.sup,Finset.filter,SimpleGraph.IsIndepSet,Finset.powerset,Finset.card6 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
noncomputable def indepNumOn (G : SimpleGraph α) [DecidableRel G.Adj] (B : Finset α) : ℕ := … - def
SimpleGraph.alphaTwoMaximum cardinality of a 2-independent vertex set line 119 sourceSource documentation
Maximum cardinality of a 2-independent vertex set.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraph,DecidableRel,SimpleGraph.Adj,NatProof uses:
Finset.sup,Finset,Finset.filter, SimpleGraph.IsTwoIndependent,Classical.propDecidable,Finset.powerset,Finset.univ,Finset.card3 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
noncomputable def alphaTwo (G : SimpleGraph α) [DecidableRel G.Adj] : ℕ := …
- def
SimpleGraph.lowDegreeLayerThe set of vertices of degree at most two line 125 sourceSource documentation
The set of vertices of degree at most two.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraph,DecidableRel,SimpleGraph.Adj,FinsetProof uses:
Finset.filter,LE.le,Nat,SimpleGraph.degree,Membership.mem,Set,SimpleGraph.neighborSet,OfNat.ofNat,Finset.univ6 instances, coercions and auxiliary constants left out.
def lowDegreeLayer (G : SimpleGraph α) [DecidableRel G.Adj] : Finset α := …