arXiv
arXiv.org e-print archive
arXiv is the open-access e-print archive of physics, mathematics, computer science and related fields, operated by Cornell University. PubID parses both of its id forms — the new YYMM.NNNN[N] sequence and the old archive[.subject_class]/YYMMNNN form. Built for the Relaton::Arxiv flavor (relaton#42), whose Relaton::Db cache keys on this pubid and which queries the arXiv API with the bare id_list form.
Document Types 1
E-print
Components 7
Structured elements that make up a arXiv identifier:
Publisher Token
The arXiv token is constant and prints on every surface; no publisher component is stored (publisher_prefixes is empty, since the shared stripper cuts only before a space, -, / or . — never before a colon)
arXiv:Archive
StringThe archive of an old-form id (hep-th, math, astro-ph…); absent on new ids
hep-thSubject Class
StringThe subject classification of an old-form id (GT in math.GT/0309136); absent on the other old archives and on new ids
GTYear
YearThe submission year read from the id's YYMM — 91–99 on an old id reads as the 1990s, everything else as the 2000s
2023Month
IntegerThe submission month read from the id's YYMM
1Number
StringThe sequence number — the inherited :string, so leading zeros are kept
00001Version
IntegerThe e-print version (v2 → 2); nil when the id names no version
1PubID Algebra 4
Relationships between arXiv identifiers:
| Relation | Description | Syntax | Example |
|---|---|---|---|
| id_list form | with_publisher: false gives the bare id the arXiv API takes in id_list (https://export.arxiv.org/api/query?id_list=…) | arXiv:<id> (with_publisher: false) → <id> | arXiv:2301.00001v1 → 2301.00001v1 |
| Version wildcard | An unversioned reference matches every version under === — the version is the only wildcard; == stays exact | arXiv:<id> === arXiv:<id>v<N> | arXiv:2301.00001 === arXiv:2301.00001v2 |
| New ↔ old form | A new-form id never matches an old one, and old ids never match across archives or subject classes — nil archive/subject_class means 'has none', not 'any' | <archive>/YYMMNNN ≠ <archive>.<class>/YYMMNNN | math/9901001 ≠ math.GT/9901001 |
| pubid-scheme URN | to_urn is the lossless pubid-scheme URN — arXiv registers no official URN namespace and the base fallback collided; the atoms print in canonical order archive, sc, v | urn:pubid:arxiv:eprint:{year}:{month}:{number}[:archive-{a}][:sc-{c}][:v-{n}] | urn:pubid:arxiv:eprint:2003:9:136:archive-math:sc-GT:v-2 |