Buckets:
| import Mathlib | |
| namespace OAI | |
| noncomputable section | |
| open scoped TensorProduct | |
| namespace EuclideanRamsey | |
| abbrev Space (d : ℕ) := EuclideanSpace ℝ (Fin d) | |
| def Congruent {s d D : ℕ} (a : Fin s → Space d) (b : Fin s → Space D) : Prop := | |
| ∀ i j, dist (b i) (b j) = dist (a i) (a j) | |
| def Ramsey {s d : ℕ} (a : Fin s → Space d) : Prop := | |
| ∀ r : ℕ, 2 ≤ r → ∃ D : ℕ, 1 ≤ D ∧ | |
| ∀ c : Space D → Fin r, ∃ b : Fin s → Space D, | |
| Congruent a b ∧ ∃ k : Fin r, ∀ i, c (b i) = k | |
| def coordinateField {s d : ℕ} (a : Fin s → Space d) : IntermediateField ℚ ℝ := | |
| IntermediateField.adjoin ℚ (Set.range (fun ij : Fin s × Fin d => a ij.1 ij.2)) | |
| abbrev Coeff {s d : ℕ} (a : Fin s → Space d) := ↥(coordinateField a) | |
| abbrev TensorRing {s d : ℕ} (a : Fin s → Space d) := Coeff a ⊗[ℚ] Coeff a | |
| def coordinate {s d : ℕ} (a : Fin s → Space d) (i : Fin s) (j : Fin d) : Coeff a := | |
| ⟨a i j, IntermediateField.subset_adjoin ℚ _ (Set.mem_range_self (i, j))⟩ | |
| def augmented {s d : ℕ} (a : Fin s → Space d) (i : Fin s) : Option (Fin d) → Coeff a | |
| | none => 1 | |
| | some j => coordinate a i j | |
| def multiply {s d : ℕ} (a : Fin s → Space d) : TensorRing a →ₐ[ℚ] Coeff a := | |
| Algebra.TensorProduct.lmul' ℚ | |
| def FieldCriterion {s d : ℕ} (a : Fin s → Space d) : Prop := | |
| ∃ P : Matrix (Option (Fin d)) (Option (Fin d)) (TensorRing a), | |
| (∀ i : Fin s, ∑ α, ∑ β, | |
| ((augmented a i α) ⊗ₜ[ℚ] (1 : Coeff a)) * P α β * | |
| ((1 : Coeff a) ⊗ₜ[ℚ] (augmented a i β)) = 0) ∧ | |
| (∀ α β : Fin d, multiply a (P (some α) (some β)) = if α = β then 1 else 0) | |
| end EuclideanRamsey | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 1.7 kB
- Xet hash:
- 51cd68f10c29d46b672468e0eaa7383059ae082b969e8b5ee4b420b1a89c2eba
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.