FormalConjecturesForMathlib/Combinatorics/SimpleGraph/Induced.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
6 declarations, 0 contain sorry, 0 declared as axioms
Imported by 2 files
- def
SimpleGraph.largestInducedForestSizelargestInducedForestSize Gis the size of a largest induced forest ofGline 28 sourceSource documentation
largestInducedForestSize Gis the size of a largest induced forest ofG.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,NatProof uses:
SupSet.sSup,Set.ofPred,Exists,Finset,And,SimpleGraph.IsAcyclic,SimpleGraph.induce,Eq,Finset.card4 instances, coercions and auxiliary constants left out.
noncomputable def largestInducedForestSize (G : SimpleGraph α) : ℕ := …
- def
SimpleGraph.largestInducedBipartiteSubgraphSizelargestInducedBipartiteSubgraphSize Gis the size of a largest induced bipartite subgraph ofGline 33 sourceSource documentation
largestInducedBipartiteSubgraphSize Gis the size of a largest induced bipartite subgraph ofG.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,NatProof uses:
SupSet.sSup,Set.ofPred,Exists,Finset,And,SimpleGraph.IsBipartite,SimpleGraph.induce,Eq,Finset.card4 instances, coercions and auxiliary constants left out.
noncomputable def largestInducedBipartiteSubgraphSize (G : SimpleGraph α) : ℕ := …
- theorem
SimpleGraph.induce_isBipartite_iff_exists_coloringAn induced subgraph is bipartite exactly when its vertices admit a two-coloring line 38 sourceSource documentation
An induced subgraph is bipartite exactly when its vertices admit a two-coloring.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
DecidableEq,SimpleGraph,Finset,Iff,SimpleGraph.IsBipartite,SimpleGraph.induce,Exists,Fin,OfNat.ofNat,Nat,Membership.mem,SimpleGraph.Adj,NeProof uses:
Iff.intro,SimpleGraph.Coloring,Exists.intro,dite,SimpleGraph.completeGraph,Subtype.mk,Set,Not,Eq.mpr,id,Eq,congr,congrArg,Decidable,dif_pos,SimpleGraph.Coloring.valid,Nonempty.intro,SimpleGraph.Coloring.mk,Subtype.prop19 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
theorem induce_isBipartite_iff_exists_coloring (G : SimpleGraph α) (s : Finset α) : (G.induce s).IsBipartite ↔ ∃ c : α → Fin 2, ∀ u ∈ s, ∀ v ∈ s, G.Adj u v → c u ≠ c v := by …Mentions: c
- def
SimpleGraph.computableLargestInducedBipartiteSubgraphSizeComputable largest induced bipartite subgraph size via powerset enumeration line 51 sourceSource documentation
Computable largest induced bipartite subgraph size 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,Exists,Fin,OfNat.ofNat,Membership.mem,Ne,Eq,Finset.powerset,Finset.univ,Finset.card14 instances, coercions and auxiliary constants left out.
def computableLargestInducedBipartiteSubgraphSize (G : SimpleGraph α) [DecidableRel G.Adj] : ℕ := …
- theorem
SimpleGraph.largestInducedBipartiteSubgraphSize_eq_computableThe computable largest induced bipartite subgraph size agrees with thesSupdefinition line 56 sourceSource documentation
The computable largest induced bipartite subgraph size agrees with the
sSupdefinition.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,DecidableEq,SimpleGraph,DecidableRel,SimpleGraph.Adj,Eq,Nat, SimpleGraph.largestInducedBipartiteSubgraphSize, SimpleGraph.computableLargestInducedBipartiteSubgraphSizeProof uses:
id,SupSet.sSup,Set.ofPred,Exists,Finset,And,SimpleGraph.IsBipartite,SimpleGraph.induce,Finset.card,le_antisymm,Finset.sup,Finset.filter,Fin,OfNat.ofNat,Membership.mem,Ne,Finset.powerset,Finset.univ,csSup_le,Exists.introand 33 more39 instances, coercions and auxiliary constants left out.
Tactic trace: 21 steps
Open to load the checked before-and-after goal states.
theorem largestInducedBipartiteSubgraphSize_eq_computable (G : SimpleGraph α) [DecidableRel G.Adj] : G.largestInducedBipartiteSubgraphSize = G.computableLargestInducedBipartiteSubgraphSize := by … - def
SimpleGraph.bb Gis the number of vertices of a largest induced bipartite subgraph ofGline 78 sourceSource documentation
b Gis the number of vertices of a largest induced bipartite subgraph ofG. Returned as a real number.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
SimpleGraph,RealProof uses: SimpleGraph.largestInducedBipartiteSubgraphSize
2 instances, coercions and auxiliary constants left out.
noncomputable def b (G : SimpleGraph α) : ℝ := …