File tree Expand file tree Collapse file tree
Mathlib/AlgebraicGeometry/Birational Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -334,6 +334,20 @@ lemma PartialMap.toRationalMap_eq_iff {f g : X.PartialMap Y} :
334334 f.toRationalMap = g.toRationalMap ↔ f.equiv g :=
335335 Quotient.eq
336336
337+ /-- An arbitrarily chosen partial map representing `f`. Use `RationalMap.toPartialMap` instead
338+ if `X` is reduced and `Y` is separated. -/
339+ noncomputable def RationalMap.representative (f : X ⤏ Y) : X.PartialMap Y :=
340+ f.exists_rep.choose
341+
342+ @[simp]
343+ lemma RationalMap.toRationalMap_representative (f : X ⤏ Y) :
344+ f.representative.toRationalMap = f :=
345+ f.exists_rep.choose_spec
346+
347+ lemma PartialMap.representative_toRationalMap_equiv (f : X.PartialMap Y) :
348+ f.toRationalMap.representative.equiv f := by
349+ rw [← PartialMap.toRationalMap_eq_iff, f.toRationalMap.toRationalMap_representative]
350+
337351@[simp]
338352lemma PartialMap.restrict_toRationalMap (f : X.PartialMap Y) (U : X.Opens)
339353 (hU : Dense (U : Set X)) (hU' : U ≤ f.domain) :
You can’t perform that action at this time.
0 commit comments