FormalConjecturesUtil/Attributes/AMS.lean
3 declarations, 0 contain sorry, 0 declared as axioms
AMS Subject classification
This file defines some tools used by the ProblemSubject attribute in order classify
problems by their corresponding AMS Subject.
The AMSDescription has one term for each number n ∈ {1, ..., 96} that has a corresponding
AMS subject, namely AMSDescription.«n». Note that not all values of n in this interval
are assigned a subject.
To extract the value corresponding to n, one can use numToAMSDescriptions n. This is useful
for getting the doctring that corresponds to the subject n when parsing the attribute.
Finally, to access the list of subjects and their corresponding number when editing Lean files,
we implement a #AMS command that prints this list.
Imported by 1 file
- inductive
AMSline 44 sourceno axioms what this means
- def
AMS.getDescline 178 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: AMS,
Lean.Core.CoreM,StringProof uses:
Lean.Expr,Lean.ToExpr.toExpr,Lean.Name,Bind.bind,Lean.Environment,Lean.MonadEnv.getEnv,Option,liftM,EIO,IO.Error,ReaderT,Lean.Core.Context,StateRefT',IO.RealWorld,Lean.Core.State,Lean.Exception,IO,Lean.findDocString?,Bool.true,EmptyCollection.emptyCollectionand 13 more23 instances, coercions and auxiliary constants left out.
- def
AMS.toNat?line 183 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: AMS,
Option,NatProof uses:
Lean.Expr,Lean.ToExpr.toExpr,Lean.Name,String,String.toNat?,Option.none2 instances, coercions and auxiliary constants left out.