cfahlgren1's picture
download
raw
1.19 kB
import Mathlib
namespace OAI
namespace SidorenkoCounterexample
def faces : Fin 22 → Finset (Fin 13) := ![
{0,1,3}, {0,1,9}, {0,2,3}, {0,2,9}, {1,3,10}, {1,7,10},
{1,7,12}, {1,9,12}, {2,3,4}, {2,4,9}, {3,4,11}, {3,10,11},
{4,8,9}, {4,8,11}, {5,6,7}, {5,6,11}, {5,7,10}, {5,10,11},
{6,7,12}, {6,8,11}, {6,8,12}, {8,9,12}]
abbrev PatternVertex := Fin 13 ⊕ Fin 22
def incidence : PatternVertex → PatternVertex → Prop
| .inl i, .inr j => i ∈ faces j
| .inr j, .inl i => i ∈ faces j
| _, _ => False
def H : SimpleGraph PatternVertex where
Adj := incidence
symm.symm := by intro u v; cases u <;> cases v <;> simp [incidence]
loopless.irrefl := by intro u; cases u <;> simp [incidence]
noncomputable def homCount {V W : Type*} (F : SimpleGraph V) (G : SimpleGraph W) : ℕ :=
Nat.card {f : V → W // ∀ u v, F.Adj u v → G.Adj (f u) (f v)}
noncomputable def homDensity {V W : Type*} (F : SimpleGraph V) (G : SimpleGraph W) : ℝ :=
(homCount F G : ℝ) / (Nat.card W : ℝ) ^ Nat.card V
noncomputable def edgeDensity {W : Type*} (G : SimpleGraph W) : ℝ :=
2 * (Nat.card G.edgeSet : ℝ) / (Nat.card W : ℝ) ^ 2
end SidorenkoCounterexample
end OAI

Xet Storage Details

Size:
1.19 kB
·
Xet hash:
0f6beae6b92f10859057223e311c90efa058dd65804495e45229eb88114d455c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.