Download data/lean/OAI/AlgebraicGeometry/Foundations/GenericPoint.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.35 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Foundations/GenericPoint.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/Foundations/GenericPoint.lean
-
curl -L -o GenericPoint.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/Foundations/GenericPoint.lean
1.35 kB
| /- | |
| Copyright 2026 The Formal Conjectures Authors. | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| https://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and | |
| limitations under the License. | |
| This file has been modified. | |
| -/ | |
| import Mathlib.AlgebraicGeometry.Properties | |
| import Mathlib.Order.KrullDimension | |
| /-! # Generic Point -/ | |
| namespace OAI.AlgebraicGeometry.Foundations.GenericPoint | |
| open _root_.AlgebraicGeometry | |
| /-! | |
| # The generic point of an integral scheme | |
| A point of an integral scheme has coheight zero exactly when it is the generic point. | |
| -/ | |
| /-- A codimension-zero point of an integral scheme is its generic point. -/ | |
| lemma eq_genericPoint_of_coheight_zero {X : Scheme} [IsIntegral X] (x : X) | |
| (hx : Order.coheight x = 0) : x = genericPoint X := by | |
| apply inseparable_iff_eq.mp | |
| rw [inseparable_iff_specializes_and] | |
| exact ⟨Order.coheight_eq_zero.mp hx le_top, genericPoint_specializes x⟩ | |
| end OAI.AlgebraicGeometry.Foundations.GenericPoint | |