Download lean/OAI/GroupTheory/ArithmeticGerms/Basic.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 937 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/GroupTheory/ArithmeticGerms/Basic.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/GroupTheory/ArithmeticGerms/Basic.lean
-
curl -L -o Basic.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/GroupTheory/ArithmeticGerms/Basic.lean
937 Bytes
| import Mathlib | |
| namespace OAI | |
| /-! Finite-index virtual isomorphism graphs. -/ | |
| namespace ArithmeticGerms | |
| variable {G H : Type*} [Group G] [Group H] | |
| structure VirtualGraph (G H : Type*) [Group G] [Group H] where | |
| graph : Subgroup (G × H) | |
| fst_injective : Function.Injective ((MonoidHom.fst G H).comp graph.subtype) | |
| snd_injective : Function.Injective ((MonoidHom.snd G H).comp graph.subtype) | |
| fst_finite : (graph.map (MonoidHom.fst G H)).FiniteIndex | |
| snd_finite : (graph.map (MonoidHom.snd G H)).FiniteIndex | |
| attribute [instance] VirtualGraph.fst_finite VirtualGraph.snd_finite | |
| namespace VirtualGraph | |
| variable (C : VirtualGraph G H) | |
| @[ext] | |
| theorem ext {C D : VirtualGraph G H} (h : C.graph = D.graph) : C = D := by | |
| cases C | |
| cases D | |
| cases h | |
| rfl | |
| abbrev domain : Subgroup G := C.graph.map (MonoidHom.fst G H) | |
| abbrev codomain : Subgroup H := C.graph.map (MonoidHom.snd G H) | |
| end VirtualGraph | |
| end ArithmeticGerms | |
| end OAI | |