Download lean/OAI/Combinatorics/CliqueFree/Model.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 247 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Combinatorics/CliqueFree/Model.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Combinatorics/CliqueFree/Model.lean
-
curl -L -o Model.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Combinatorics/CliqueFree/Model.lean
247 Bytes
| import Mathlib | |
| namespace OAI | |
| namespace CliqueFreeLog | |
| noncomputable def averageDegree {V : Type*} [Fintype V] (G : SimpleGraph V) : ℝ := by | |
| classical | |
| exact 2 * (G.edgeFinset.card : ℝ) / (Fintype.card V : ℝ) | |
| end CliqueFreeLog | |
| end OAI | |