Parent
Production-layer subtask of #21, split from the oversized prototype in draft PR #34. Completed by cec20f0.
Goal
Represent the ordinary locally ringed topological core of a Berkovich space using mathlib, rather than the custom PreBerkovichSpace structure in #34.
Implemented production layer
Rigid/Berkovich/LocallyRingedSpace.lean defines:
Rigid.Berkovich.LocallyRingedCore K as the mathlib over category of locally ringed spaces over Spec (ULift K);
LocallyRingedCore.locallyRingedSpaceFunctor and its faithful instance via Over.forget;
- the underlying point functor, continuous point maps, identity/composition, and natural point homeomorphism;
- thin section, stalk, local-ring, and germ adapters derived from the mathlib structure sheaf.
The norm, analytic domains, admissible G-topology, and affinoid atlas are excluded from this core.
Universe correction
The comparator now places BerkovichSpace K in Type (u + 2) and its points, ordinary sections, stalks, and locally ringed model one universe above K. This lets the final public object contain the locally ringed core without shrinking genuinely large topological or sheaf data.
Downstream public adapters
The following comparator declarations remain placeholders until #41 defines the genuine atlas-bearing BerkovichSpace and its projection to this core:
BerkovichSpace.locallyRingedSpaceFunctor;
BerkovichSpace.toLocallyRingedSpace;
BerkovichSpace.pointHomeomorphToLocallyRingedSpace;
BerkovichSpace.locallyRingedSpaceFunctorFaithful;
pointHomeomorphToLocallyRingedSpace_naturality.
They are now thin assembly adapters owned by #41. Replacing the public BerkovichSpace with LocallyRingedCore alone would omit the analytic-domain and affinoid-atlas structure.
Verification
- production files contain no
sorry;
- focused module and target builds pass;
- root-import and comparator checks pass;
- full
lake build -q Rigid passes.
Parent
Production-layer subtask of #21, split from the oversized prototype in draft PR #34. Completed by
cec20f0.Goal
Represent the ordinary locally ringed topological core of a Berkovich space using mathlib, rather than the custom
PreBerkovichSpacestructure in #34.Implemented production layer
Rigid/Berkovich/LocallyRingedSpace.leandefines:Rigid.Berkovich.LocallyRingedCore Kas the mathlib over category of locally ringed spaces overSpec (ULift K);LocallyRingedCore.locallyRingedSpaceFunctorand its faithful instance viaOver.forget;The norm, analytic domains, admissible G-topology, and affinoid atlas are excluded from this core.
Universe correction
The comparator now places
BerkovichSpace KinType (u + 2)and its points, ordinary sections, stalks, and locally ringed model one universe aboveK. This lets the final public object contain the locally ringed core without shrinking genuinely large topological or sheaf data.Downstream public adapters
The following comparator declarations remain placeholders until #41 defines the genuine atlas-bearing
BerkovichSpaceand its projection to this core:BerkovichSpace.locallyRingedSpaceFunctor;BerkovichSpace.toLocallyRingedSpace;BerkovichSpace.pointHomeomorphToLocallyRingedSpace;BerkovichSpace.locallyRingedSpaceFunctorFaithful;pointHomeomorphToLocallyRingedSpace_naturality.They are now thin assembly adapters owned by #41. Replacing the public
BerkovichSpacewithLocallyRingedCorealone would omit the analytic-domain and affinoid-atlas structure.Verification
sorry;lake build -q Rigidpasses.