Download data/lean/OAI/AlgebraicGeometry/CharacterVarieties/Frames/PortValues.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.13 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/CharacterVarieties/Frames/PortValues.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/CharacterVarieties/Frames/PortValues.lean
-
curl -L -o PortValues.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/CharacterVarieties/Frames/PortValues.lean
5.13 kB
| import OAI.AlgebraicGeometry.CharacterVarieties.Frames.FramedFlags | |
| namespace OAI | |
| noncomputable section | |
| namespace IntegralCharacterVarieties.SurfacePresentation.Diagram | |
| open scoped Classical Matrix | |
| open OccurrenceIncidence VertexTable MatrixExpression NamedBandGrades HomTransport | |
| /-- Frame values depend only on the ports and ranks, hence are unchanged by the | |
| choice of boundary enumeration. -/ | |
| lemma frameValues_canonical {F S V K : Type} {arity : S β β} | |
| [CommRing K] [Finite S] (D : Diagram F S V arity) | |
| (frames : D.PortFrames (R:=K)) (s : S) (b : Bool) : | |
| D.frameValues frames s b = | |
| (SurfacePresentation.fromPorts D.ports D.rank D.genus D.seamRank).frameValues frames s b := rfl | |
| /-- A frame generator evaluates in the canonical boundary presentation using the | |
| same port frame. -/ | |
| lemma valuesFromPorts_frame_canonical {F S V K : Type} {arity : S β β} | |
| [CommRing K] [Finite S] (D : Diagram F S V arity) | |
| (frames : D.PortFrames (R:=K)) (side : D.SideValues (R:=K)) | |
| (handle : D.HandleValues (R:=K)) (s : S) (b : Bool) : | |
| D.valuesFromPorts frames side handle (.frame s b) = | |
| (SurfacePresentation.fromPorts D.ports D.rank D.genus D.seamRank).frameValues frames s b := rfl | |
| /-- Evaluating and reindexing a frame does not depend on the boundary enumeration. -/ | |
| lemma valuesFromPorts_frameCoordinates_canonical {F S V K Ξ± Ξ² : Type} {arity : S β β} | |
| [CommRing K] [Finite S] [Fintype Ξ±] [Fintype Ξ²] (D : Diagram F S V arity) | |
| (frames : D.PortFrames (R:=K)) (side : D.SideValues (R:=K)) | |
| (handle : D.HandleValues (R:=K)) (s : S) (b : Bool) | |
| (e : Ξ± β Fin (D.seamDim s)) (f : Ξ² β Fin (D.seamDim s)) : | |
| ((MatrixIso.unit (D.valuesFromPorts frames side handle (.frame s b))).reindex e f).linearEquiv = | |
| ((MatrixIso.unit ((SurfacePresentation.fromPorts D.ports D.rank D.genus D.seamRank).frameValues | |
| frames s b)).reindex e f).linearEquiv := rfl | |
| /-- The evaluated parent coordinates use only the port and rank data. -/ | |
| lemma valuesFromPorts_parentCoordinates_canonical {F S V K R Ξ± : Type} {arity : S β β} | |
| [CommRing K] [CommRing R] [Finite S] [Fintype Ξ±] (D : Diagram F S V arity) | |
| (frames : D.PortFrames (R:=K)) (side : D.SideValues (R:=K)) | |
| (handle : D.HandleValues (R:=K)) (s : S) (Ο : R β+* K) | |
| (e : Ξ± β Fin (D.seamDim s)) : | |
| ((MatrixIso.unit ((D.parentWord s).eval Ο (D.valuesFromPorts frames side handle))).reindex e e).linearEquiv = | |
| ((MatrixIso.unit (((SurfacePresentation.fromPorts D.ports D.rank D.genus D.seamRank).parentWord s).eval Ο | |
| ((SurfacePresentation.fromPorts D.ports D.rank D.genus D.seamRank).valuesFromPorts | |
| frames side handle))).reindex e e).linearEquiv := by | |
| unfold parentWord | |
| erw [Term.eval_cast_unit Ο (D.valuesFromPorts frames side handle) (D.seamRank s), Term.eval_cast_unit Ο ((SurfacePresentation.fromPorts D.ports D.rank D.genus D.seamRank).valuesFromPorts frames side handle) (D.seamRank s)] | |
| rfl | |
| /-- The evaluated inverse child coordinates use only the port and rank data. -/ | |
| lemma valuesFromPorts_childCoordinates_canonical {F S V K R Ξ± : Type} {arity : S β β} | |
| [CommRing K] [CommRing R] [Finite S] [Fintype Ξ±] (D : Diagram F S V arity) | |
| (frames : D.PortFrames (R:=K)) (side : D.SideValues (R:=K)) | |
| (handle : D.HandleValues (R:=K)) (s : S) (Ο : R β+* K) | |
| (e : Ξ± β Fin (D.seamDim s)) : | |
| ((MatrixIso.unit ((Term.block (D.childDim s) (fun j => Term.inv (D.childWord s j))).eval Ο | |
| (D.valuesFromPorts frames side handle))).reindex e e).linearEquiv = | |
| ((MatrixIso.unit ((Term.block | |
| ((SurfacePresentation.fromPorts D.ports D.rank D.genus D.seamRank).childDim s) | |
| (fun j => Term.inv ((SurfacePresentation.fromPorts D.ports D.rank D.genus D.seamRank).childWord s j))).eval Ο | |
| ((SurfacePresentation.fromPorts D.ports D.rank D.genus D.seamRank).valuesFromPorts | |
| frames side handle))).reindex e e).linearEquiv := rfl | |
| /-- Child coordinates for values induced by ports and side transports. -/ | |
| lemma valuesFromPorts_childWord_coordinates | |
| {F S V R K : Type} {arity : S β β} [CommRing R] [Field K] | |
| (D : Diagram F S V arity) (s : S) (Ο : R β+* K) | |
| (frames : D.PortFrames (R:=K)) (side : D.SideValues (R:=K)) | |
| (handle : D.HandleValues (R:=K)) {m : β} (d : Fin m β β) | |
| (c : Fin m β Fin (arity s)) (hc : β i,d i=D.childDim s (c i)) | |
| (old : (i : Fin m) β (Matrix (Fin (d i)) (Fin (d i)) K)Λ£) | |
| (ho : β i,rebaseUnit (hc i).symm (side β¨s,some (c i)β©)=old i) | |
| (e : ((i : Fin m) Γ Fin (d i)) β Fin (D.seamDim s)) | |
| (he : e=(Equiv.sigmaCongr c (fun i=>finCongr (hc i))).trans | |
| (blockIndex (D.childDim s)).symm) : | |
| ((MatrixIso.unit ((Term.block (D.childDim s) | |
| (fun j => Term.inv (D.childWord s j))).eval Ο | |
| (D.valuesFromPorts frames side handle))).reindex e e).linearEquiv= | |
| (MatrixIso.block (fun i=>MatrixIso.unit (old i)β»ΒΉ)).linearEquiv := by | |
| exact D.childWord_coordinates s Ο (D.valuesFromPorts frames side handle) | |
| d c hc old ho e he | |
| end IntegralCharacterVarieties.SurfacePresentation.Diagram | |
| end | |
| end OAI | |