YBFj[hdZddlmZmZddlmZmZmZmZm Z dgZ dZ dZ dZ dZGd deZd S) z pygments.lexers.macaulay2 ~~~~~~~~~~~~~~~~~~~~~~~~~ Lexer for Macaulay2. :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexerwords)CommentKeywordNameStringTextMacaulay2Lexer)&SPACETESTandbreak breakpointcatchcontinuedo elapsedTime elapsedTimingelseforfromglobalifinlistlocalnewnotoforprofilereturnshieldstepsymbolthen threadLocalthreadVariablethrowtimetimingtotrywhenwhilexor)ANCHORAdjacent AffineVarietyAnalyzer AngleBarListArrayAssociativeExpression AtomicInt BLOCKQUOTEBODYBOLDBRBUTTONBag BasicList BettiTallyBinaryOperationBooleanCCCDATACODECOMMENT CacheTable ChainComplexChainComplexMap CoherentSheafCommandCompiledFunctionCompiledFunctionBodyCompiledFunctionClosure ComplexFieldConstantDDDIVDLDTDatabaseDescentDescribe Dictionary DirectSumDivide DocumentTagEM Eliminate EngineRingEquation ExampleItem ExpressionFile FilePosition FractionFieldFunctionFunctionApplication FunctionBodyFunctionClosure GaloisFieldGeneralOrderedMonoidGlobalDictionary GradedModuleGradedModuleMap GroebnerBasisGroebnerBasisOptionsHEADHEADER1HEADER2HEADER3HEADER4HEADER5HEADER6HRHREFHTML HashTable HeaderTypeHolderHybrid HypertextHypertextContainerHypertextParagraph HypertextVoidIFRAMEIMGINDENTINPUTITALICIdeal ImmutableTypeIndeterminateNumberIndexedVariableIndexedVariableTable InexactFieldInexactFieldFamily InexactNumberInfiniteNumberIntermediateMarkUpTypeIteratorKBDrLABELLATERLILINKLITERALListLocalDictionary LowerBoundMENUMETA Manipulator MapExpression MarkUpTypeMatrixMatrixExpressionMethodFunctionMethodFunctionBinaryMethodFunctionSingleMethodFunctionWithOptionsMinusModuleMonoid MonoidElement MonomialIdealMultigradedBettiTallyMutableHashTable MutableList MutableMatrixNetNetFileNothingNumberNumberedVerticalListOL OneExpressionOption OptionTable OrderedMonoidPARAPREPackage ParenthesizeParser PartitionPolynomialRingPowerProduct ProductOrderProgram ProgramRunProjectiveHilbertPolynomialProjectiveVariety PseudocodePseudocodeClosureQQ QuotientRingRRRRi RealField ResolutionRing RingElement RingFamilyRingMap RowExpressionSAMPSCRIPTSMALLSPANSTRONGSTYLESUB SUBSECTIONSUPScriptedFunctorSelfInitializingTypeSequenceSetSheafExpressionSheafMap SheafOfRingsSparseMonomialVectorExpressionSparseVectorExpressionr SubscriptSum SumOfTwists SuperscriptSymbol SymbolBodyTABLETDTEXTHTITLETOTO2TOHTRTTTableTallyTask TensorProduct TestInputThingTimeTypeULURLVARVarietyVectorVectorExpression VerticalList VirtualTally VisibleList WrapperTypeZZZeroExpression(;BesselJBesselYBetaDigammaEXAMPLEEndFanoGCstatsGFGamma GrassmannianHomLLLLUdecompositionM2CODENNParserProjQQParserQRDecompositionSVDSYNOPSISSchubertSpecZZParseraboutabs accumulateacosacoshacotacoth addCancelTaskaddDependencyTaskaddEndFunctionaddHook addStartTaskadjointagmalarmallambientanalyticSpreadancestor ancestorsandPann annihilatorantipodeanyappendapplicationDirectoryapply applyKeys applyPairs applyTable applyValuesaproposarXivasciiasinasinhassassertassociatedGradedRingassociatedPrimes atEndOfFileatanatan2atanhautoload baseFilenamebaseNamebaseRingbasisbeginDocumentation benchmarkbettibetweenbinomialborel cacheValue cancelTaskcanonicalBundlecaptureceiling centerString chainComplex changeBasechangeDirectorychar charAnalyzer characterscheck checkDegreeschiclassclean clearEchocodecodim coefficientcoefficientRing coefficients cohomologycoimagecokercokernelcollectGarbage columnAdd columnMult columnPermutecolumnRankProfile columnSwap columnatecombinecommandInterpreter commonRing commonestcomodulecompareExchange complementcomplete componentscompose compositionscompress concatenate conductorcone conjugateconnectionCount constParsercontentcontractconwayPolynomialcopy copyDirectorycopyFilecoscoshcotcotangentSheafcothcovercoverMapcpuTime createTaskcsccschcurrentColumnNumbercurrentDirectorycurrentPositioncurrentRowNumber currentTime deadParserdebug debugError decompose deepSplicedefaultdegree degreeGroup degreeLengthdegrees degreesMonoid degreesRingdeletedemark denominatordepthdescribedet determinantdiagonalMatrixdiameter dictionarydiff differencedim directProduct directSum disassemble discriminantdismiss distinguisheddivideByVariabledocdocumentdropdualeagonNorthcottechoOffechoOn eigenvalues eigenvectorseintelements eliminate endPackageentrieseraseerferfcerroreulereulersevenexamplesexchangeexecexpexpectedReesIdealexpm1 exponentsexport exportFrom exportMutable expressionextend exteriorPowerfactorfileExecutable fileExists fileLengthfileMode fileReadablefileTime fileWritable fillMatrix findFilesfindHeft findProgram findSynonymsfirstfirstkey fittingIdeal flagLookupflatten flattenRingflipfloorfoldforceGBforkformat formationfracfractionframesfromDividedPowersfromDual functionBody futureParsergbgbRemove gbSnapshotgcdgcdCoefficientsgcdLLLgeneragenerateAssertions generator generators genericMatrixgenericSkewMatrixgenericSymmetricMatrixgensgenusgetgetChangeMatrixgetGlobalSymbolgetIOThreadMode getNetFile getNonUnitgetPrimeWithRootOfUnity getSymbolgetWWWgetcgetenv globalAssignglobalAssignFunctionglobalAssignmentglobalReleaseFunction gradedModulegradedModuleMapgramm graphIdeal graphRing groebnerBasisgroupIDhash hashTable headlinesheftheighthermitehilbertFunctionhilbertPolynomial hilbertSerieshold homogenizehomology homomorphismhookshorizontalJoinhtml httpHeaders hypertexticFracP icFractionsicMapicPIdealideal idealSheaf idealizeridentityimage imaginaryPart importFromindependentSetsindexindices inducedMapinducesWellDefinedMapinfoinputinsertinstallAssignmentMethodinstallHilbertFunction installMethodinstallMinprimesinstallPackageinstalledPackagesinstance instancesintegralClosure integrate intersect intersectInP intersectionintervalinverse inverseErfinversePermutationinverseRegularizedBetainverseRegularizedGamma inverseSystemirreducibleCharacteristicSeriesirreducibleDecomposition isANumber isAffineRingisBorel isCanceled isCommutative isConstant isDirectSum isDirectoryisEmptyisExactisFieldisFiniteisFinitePrimeField isFreeModuleisGlobalSymbol isHomogeneousisIdeal isInfinite isInjective isInputFile isIsomorphic isIsomorphismisLLL isLinearType isListener isLocallyFreeisMemberisModuleisMonomialIdeal isMutableisNormalisOpen isOutputFileisPolynomialRing isPrimaryisPrime isPrimitive isProjective isPseudoprimeisQuotientModule isQuotientOfisQuotientRingisReadyisReal isReduction isRegularFileisRingisSkewCommutativeisSmoothisSorted isSquareFreeisStandardGradedPolynomialRing isSubmodule isSubquotientisSubsetisSupportedInZeroLocus isSurjectiveisTableisUnit isVeryAmple isWellDefined isWeylAlgebraisc isomorphismiteratorjacobian jacobianDualjoinkerkernel kernelLLLkernelOfLocalizationkeyskillkoszullastlcmleadCoefficient leadComponent leadMonomialleadTermleftlength letterParserliftliftable limitFileslimitProcesseslineslinkFilelistForm listSymbolslngammaload loadPackagelocalDictionarieslocalizelocateloglog1plookup lookupCount makeDirectorymakeDocumentTagmakePackageIndexmakeS2mapmarkedGBmatchmathMLmatrixmax maxPositionmembermemoize memoizeClear memoizeValuesmerge mergePairsmethod methodOptionsmethodsmidpointmin minPositionminPresmingensmingle minimalBettiminimalPresentation minimalPrimesminimalReductionminimizeminimizeFilenameminors minprimesminusmkdirmodmodulemodulomonoidmonomialCurveIdeal monomialIdealmonomialSubideal monomialsmoveFile multidegreemultidoc multigraded multiplicitymutablemutableIdentity mutableMatrix nanosleepneeds needsPackagenetnetListnewClassnewCoordinateSystem newNetFile newPackagenewRingnext nextPrimenextkeynonspaceAnalyzernorm normalConenotImplemented nullParser nullSpace nullhomotopy numColumnsnumRowsnumbernumcols numeratornumericnumericIntervalnumgensnumrowsoddoeisofClasson openDatabaseopenDatabaseOut openFilesopenIn openInOut openListeneropenOut openOutAppendoptPoptionalSignParseroptionsorPoverridepackpackagepackageTemplatepadpagerpairs parallelApplyparentpart partition partitionspartspdimpeek permanents permutationspfaffian pfaffianspivotspluspoincare poincareNpolarizepolyposition positionspowerpowermod precisionpreimageprepend presentationprettyprimaryComponentprimaryDecompositionprint printStringprinterr processIDproductprojectiveHilbertPolynomialpromoteprotectprunepseudoRemainder pseudocodepullback pushForwardpushoutquotientquotientRemainderradicalradicalContainmentrandomrandomKRationalPointrandomMutableMatrix randomSubsetrankraysread readDirectory readPackagereadlinkrealPartrealpathrecursionDepth reduceHilbertreducedRowEchelonFormreductionNumber reesAlgebrareesAlgebraIdeal reesIdeal regSeqInIdealregex regexQuoteregisterFinalizer regularityregularizedBetaregularizedGamma relationsrelativizeFilename remainderremoveremoveDirectory removeFileremoveLowestDimension reorganizereplaceresreshape resolution resultantreverserightringringFromFractionsrootsrotateroundrowAddrowMult rowPermuterowRankProfilerowSwaprsortrunrunHooksrunLengthEncode runProgramsamesaturatescanscanKeys scanLines scanPairs scanValuesschedule schreyerOrder searchPathsecsech seeParsingselectselectInSubring selectKeys selectPairs selectValuesselectVariablesseparateseparateRegexpsequence serialNumbersetsetEcho setGroupIDsetIOExclusivesetIOSynchronizedsetIOUnSynchronized setRandomSeedsetup setupEmacs setupLift setupPromotesheafsheafHomsheafMapshowshowHtmlshowTexsign simpleDocFrobsin singularLocussinhsizesize2sleepsmithNormalFormsolve someTermssort sortColumnssourcespan specialFiberspecialFiberIdealsplicesplitWWWsqrtstack stacksProject stacktrace standardForm standardPairs stashValuestatusstorestylesubsublists submatrixsubmatrixByDegrees subquotientsubsets substitute substringsubtablesumsupersupportswitchsylvesterMatrix symbolBodysymlinkDirectory symlinkFilesymmetricAlgebrasymmetricAlgebraIdealsymmetricKernelsymmetricPowersynonymsyz syzygySchemetabletaketallytan tangentCone tangentSheaftanhtarget taskResulttemporaryFileNametensortensorAssociativityterminalParsertermstestHunekeQuestionteststextexMathtimestoAbsolutePathtoCCtoDividedPowerstoDualtoExternalStringtoFieldtoListtoLowertoRRtoRRi toSequencetoStringtoUppertoptopCoefficients topComponentstrace transposetrimtruncatetruncateOutputtutorialultimateunbaguncurry undocumenteduniformuninstallAllPackagesuninstallPackageunionuniqueuniquePermutations unsequenceunstack urlEncodeuse userSymbolsutf8 utf8check utf8substringvalidatevaluevaluesvarietyvarsvectorversalEmbeddingwait wedgeProduct weightRangewhichGmwidth wikipediawrapyoungestzerozeta(A1BrouwerDegreesAbstractSimplicialComplexesAbstractToricVarietiesAcknowledgementAdditionalPaths AdjointIdealAdjunctionForSurfaces AfterEval AfterNoPrint AfterPrint AInfinityAlgebraicSplines Algorithm AlignmentAllCodimensionsAllMarkovBasesallowableThreadsAnalyzeSheafOnP1applicationDirectorySuffixargument AscendingAssociativeAlgebrasAuthorsAuxiliaryFiles backtraceBareissBase BaseFunction baseRingsBaseRowBasisElementLimitBayer BeforePrintBeginningMacaulay2 Benchmark BernsteinSatoBertiniBettiCharactersBGGBIBasisBinaryBinomialBinomialEdgeIdeals BinomialsBKZblockMatrixFormBodyBoijSoederbergBook3264Examples BooleanGBBoxesBracketsBrowseBrunscacheCacheExampleOutput CallLimit CannedExampleCatalanConstantCaveatCellularResolutionsCenter CertificationChainComplexExtrasChainComplexOperations ChangeMatrixCharacteristicClassesCheckDocumentationChordalCitationciteClassicclearAll clearOutputclosecloseIncloseOut ClosestFitCodeCodimensionLimit CodingTheoryCoefficientRingCofactor CohenEngine CohenTopLevel CohomCalgCoincidentRootLoci commandLinecompactMatrixForm ComplementCompleteIntersectionCompleteIntersectionResolutions ComplexesConductorElement ConfigurationConformalBlocksConnectionMatrices Consequences Constants ContributorsConvexInterfaceConwayPolynomials copyrightCoreCorrespondenceScrollsCotangentSchubertcotangentSurjectioncoverageSummaryCpMackeyFunctorsCremonacurrentFileDirectorycurrentFileName currentLayoutcurrentPackage CyclotomicDatedd DebuggingMode debuggingMode debugLevelDecomposableSparseSystems DecomposeDefaultdefaultPrecisionDegree DegreeGroup DegreeLift DegreeLimit DegreeMap DegreeOrder DegreeRankDegreesDenseDensityDepth Descending DescriptionDeterminantalRepresentations DGAlgebrasdictionaryPathDiffAlgDispatch DivideConquer DividedPowersDmodules docExample docTemplateDownDynamicEagonResolution EdgeIdealsedit EigenSolverEisenbudHunekeVasconcelos EliminationEliminationMatricesEllipticCurvesEllipticIntegralsEmailembeddedToAbstractendendlEngineengineDebugLevel EngineTestsEnumerationCurves environment EquivariantGB errorDepth EulerConstant eulerSequenceExample ExampleFilesExampleSystemsExcludeexitExtExteriorExtensionsExteriorIdealsExteriorModulesExtLongExactSequencefalse FastMinorsFastNonminimalFGLMfileDictionaries fileExitHooksFileNameFindOneFiniteFittingIdealsFirst FirstPackage FlatMonoidFlexibleflush FollowLinksForeignFunctionsFormalGroupLawsFormatFourierMotzkin FourTiTwofpLLLFrobeniusThresholdsFunctionFieldDesingularization GameTheory GBDegreesgbTraceGenerateAssertionsGenericGenericInitialIdealGeometricDecomposability gfanInterfaceGivens GKMVarietiesGLexGlobalGlobalAssignHookglobalAssignmentHooksGlobalHookStoreGlobalReleaseHookGlobalSectionLimit GorensteinGradedLieAlgebrasGraphicalModelsGraphicalModelsMLEGraphicsGraphsGRevLexGroebnerStrata GroebnerWalkGroupLex GroupRevLexGTZHadamardhandleInterruptsHardDegreeLimitHeadingHeadlineHeftHeighthelpHermite HermitianHHhhHigherCIOperatorsHighestWeightsHilbertHodgeIntegralsHolonomicSystems homeDirectoryHomePage Homogeneous Homogeneous2HomologicalAlgebraPackageHomotopyLieAlgebraHorizontalSpaceHyperplaneArrangementsididealSheafSequenceIgnoreExampleErrorsii!IncidenceCorrespondenceCohomology incomparable Increment indeterminateIndexindexComponentsinfinityInfoDirSectioninfoHelp InhomogeneousInputs InstallPrefixIntegerProgrammingIntegralClosureinterpreterDepth Intersection InvariantRing InverseMethodInversesInverseSystems InvertibleInvolutiveBases IsomorphismItemIterateJacobianJetsJoinJSONJSONRPC K3Carpets K3SurfacesKeep KeepFiles KeepZeroesKeyKeywords Kronecker KustinMiller lastMatchLatticePolytopesLayoutLeft LengthLimitLex LexIdealsLieAlgebraRepresentationsLimitLinear LinearAlgebraLinearTruncations lineNumberlistLocalSymbolslistUserSymbolsLLLBases loadDepthLoadDocumentation loadedFilesloadedPackagesLocal LocalRingsLongPolynomialM0nbar Macaulay2Doc MaintainerMakeDocumentationMakeHTMLMakeInfoMakePDFMapleInterfaceMarkovMatchingFieldsMatrixFactorizationsMatrixSchubertMatroidsmaxAllowableThreads maxExponent MaximalRankMaxReductionCountMCMApproximationsMergeTeX minExponentMinimalGenerators MinimalMatrixminimalPresentationMapminimalPresentationMapInv MinimalPrimesMinimizeMinimumVersionMiuraMixedMultiplicityModuleDeformationsMonodromySolverMonomialMonomialAlgebrasMonomialIntegerProgramsMonomialOrbits MonomialOrder Monomials MonomialSizeMsolveMultigradedBGGMultigradedImplicitizationMultiGradedRationalMapMultiplicitySequenceMultiplierIdealsMultiplierIdealsDim2MultiprojectiveVarietiesNAGtypesrNauty NautyGraphs NCAlgebraNCLex NewFromMethodnewline NewMethodNewOfFromMethod NewOfMethodnilNodeNoetherianOperatorsNoetherNormalizationNonminimalComplexesNonPrincipalTestIdealsNoPrintNormalizNormalToricVarieties NotANumbernotifyNTLnullnullaryMethodsNumericalAlgebraicGeometryNumericalCertificationNumericalImplicitizationNumericalLinearAlgebraNumericalSchubertCalculusNumericalSemigroupsNumericSolutions numTBBThreadsOIGroebnerBasesOldChainComplexes OldPolyhedraOldToricVectorBundles OnlineLookupOOoooooooooOpenMathoperatorAttributesOptionalComponentsPresentOptionsOrderorder OscillatorsOutputDictionaryOutputsPackageCitationsPackageDictionaryPackageExportsPackageImportsPackageTemplate PairLimitPairsRemaining ParallelF4ParallelizeByDegreeParametrizationParsingpathPathSignaturesPencilsOfQuadrics Permanents PermutationsPHCpackPhylogeneticTreespi PieriMapsPlaneCurveLinearSeriesPlaneCurveSingularitiesPoints PolyhedraPolymakePolyominoIdealsPosetsPositionPositivityToricBundlesPOSIXPostfixPre PrecisionPrefixprefixDirectory prefixPathPrimaryDecomposition PrimaryTagPrimitiveElementPrintprintingAccuracyprintingLeadLimitprintingPrecisionprintingSeparatorprintingTimeLimitprintingTrailLimit printWidth ProbabilityprofileSummary programPaths ProjectivePrune PruneComplex pruningMap"PseudomonomialPrimaryDecompositionPullback pullbackMaps PushForward pushoutMapsPythonQthPowerQuadraticIdealExamplesByRoos QuasidegreesQuaternaryQuartics QuillenSuslinquitQuotientRadical RadicalCodim1 RaiseErrorRandomCanonicalCurvesRandomComplexes RandomCurves%RandomCurvesOverVerySmallFiniteFieldsRandomGenus14Curves RandomIdealsRandomMonomialIdeals RandomObjectsRandomPlaneCurves RandomPointsRandomSpaceCurvesRange RationalMapsRationalPointsRationalPoints2ReactionNetworksRealFPRealQPRealQP1 RealRootsRealRRRealXDrecursionLimitReduce ReesAlgebra ReferencesReflexivePolytopesDB RegularityRelativeCanonicalResolutionReloadRemakeAllDocumentation RerunExamplesResidualIntersectionsResLengthThree ResolutionsOfStanleyReisnerRingsrestartResult Resultants returnCodeReverseRevLexRHomRight RInterfacerootPathrootURI RunDirectory RunExamples RunExternalM2SagbiGbDetection Saturation SaturationMap Schubert2SchurComplexes SchurFunctors SchurRings SchurVeronese SCMAlgebrasscriptCommandLineSCSCP SectionRingSeeAlso SegreClassesSemidefiniteProgrammingSeminormalization SeparateExec SerializationsheafExtShimoyamaYokoyamashowClassStructure showStructureshowUserStructure SimpleDocSimplicialComplexesSimplicialDecomposabilitySimplicialPosetsSimplifyFractions SizeLimitSkewCommutative SlackIdealsSLnEquivariantMatricesSLPexpressionsSort SortStrategy SourceCode SourceRing SpaceCurvesSparseResultants SpechtModuleSpecialFanoFourfoldsSpectralSequencesSRdeformationsStandardStartWithOneMinor StatePolytope StatGraphsstderrstdioStopBeforeComputation stopIfError StopIterationStopWithMinimalGeneratorsStrategyStrictStronglyStableIdealsStyleSubalgebraBasesSubnodes SubringLimit subscript Sugarless SumsOfSquaresSuperLinearAlgebra superscript SVDComplexesSwitchingFieldsSymbolicPowersSymmetricPolynomialsSynopsisSyzygies SyzygyLimit SyzygyMatrix SyzygyRowsTableaux TangentConeTateOnProductsTensorComplexes TerraciniLociTest testExample TestIdealsTeXmacsr ThinSincereQuivers ThreadedGBThreads ThresholdTopcom topLevelModeTor TorAlgebraToricToricHigherDirectImagesToricInvariants ToricTopologyToricVectorBundlesTorsion TorsionFree TotalPairsTreeTriangularSetsTriangulationsTriesTrimTripletsTropical TropicalTorictrueTruncate Truncations TSpreadIdeals TypicalValue typicalValuesUndoUniqueUnitsUnmixedUp UpdateOnlyUpperTriangularUsageUseCachedExampleOutputUseHilbertFunctionUserMode UseSyzygies ValuationsVariableVariableBaseName Variables Varieties Vasconcelos VectorFieldsVectorGraphicsVerbose VerbosityVerifyVersalDeformationsVersionversion VerticalSpaceviewHelpVirtualResolutions VisualizeVNumberWebAppWeights WeilDivisors WeylAlgebra WeylAlgebras WeylGroupsWhitneyStratificationsWrapXMLyonedaSheafExtensionc veZdZdZdZdZdgZdgZdZde j fde j d fd e d fd e d fe eddefe eddejfe eddejfe eddejfdejfdefg de j fde j dfde j fgde fd e dfde fgde fde fde dfde fgdZdS)r zJLexer for Macaulay2, a software system for research in algebraic geometry. Macaulay2zhttps://macaulay2.com/ macaulay2z*.m2z2.12z--.*$z-\* block comment" quote stringz/// slash stringz\b)prefixsuffixz\s+.z[^*-]+z\*-z#popz[*-]z[^\\"]+z\\"?z[^/]+z (//)+(?!/)z /(//)+(?!/)/)rootrrrN)__name__ __module__ __qualname____doc__nameurlaliases filenames version_addedrSingle Multilinerr M2KEYWORDSr M2DATATYPESrBuiltin M2FUNCTIONSre M2CONSTANTSrPr WhitespacetokensGC:\PYTHON\_runtimes\venv\Lib\site-packages\pygments/lexers/macaulay2.pyr r s]TT D "CmGIMw~ & W& 8 6> * V^ , U:eE : : :G D U;uU ; ; ;T\ J U;uU ; ; ;T] K U;uU ; ; ;T] K T_ % 4L  ) * W& / g' (  66 " f  v  F # VV , 6N  /FFFrN)r pygments.lexerrrpygments.tokenrrrrr __all__rrrrr rrrrs-,,,,,,,??????????????  ' R\ ||  |x  t&&&&&Z&&&&&r