Download lean/OAI/Probability/FreeIsing/Estimates/CylinderBasics.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Probability/FreeIsing/Estimates/CylinderBasics.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Probability/FreeIsing/Estimates/CylinderBasics.lean
-
curl -L -o CylinderBasics.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Probability/FreeIsing/Estimates/CylinderBasics.lean
1.13 kB
| import OAI.Probability.FreeIsing.Model | |
| namespace OAI | |
| noncomputable section | |
| open MeasureTheory | |
| namespace Problem367 | |
| theorem connectedFinset_singleton {d : ℕ} (v : TreeVertex d) : | |
| ConnectedFinset {v} := by | |
| classical | |
| refine ⟨Finset.singleton_nonempty v, ?_⟩ | |
| intro x hx y hy | |
| simp only [Finset.mem_singleton] at hx hy | |
| subst x | |
| subst y | |
| exact Relation.ReflTransGen.refl | |
| @[simp] theorem inducedEdges_singleton {d : ℕ} (v : TreeVertex d) : | |
| inducedEdges {v} = ∅ := by | |
| classical | |
| ext e | |
| simp [inducedEdges] | |
| rintro rfl | |
| simp | |
| @[simp] theorem freeCylinderWeight_singleton {d : ℕ} (θ : ℝ) | |
| (v : TreeVertex d) (η : TreeVertex d → IsingSpin) : | |
| freeCylinderWeight θ {v} η = ENNReal.ofReal (1 / 2 : ℝ) := by | |
| classical | |
| simp [freeCylinderWeight] | |
| theorem HasFreeIsingLaw.marginal {d : ℕ} {θ : ℝ} | |
| {μ : Measure (TreeVertex d → IsingSpin)} (hμ : HasFreeIsingLaw θ μ) | |
| (v : TreeVertex d) (s : IsingSpin) : | |
| μ {x | x v = s} = ENNReal.ofReal (1 / 2 : ℝ) := by | |
| classical | |
| simpa using hμ {v} (connectedFinset_singleton v) (fun _ => s) | |
| end Problem367 | |
| end | |
| end OAI | |