<< stanford-math/SMEquation.sleela SLeeLa Standard Library Definition. Definition: One equation record in the stanford-math canon. Pairs a human name with its canonical symbolic form, field, discoverer(s), year, and a real citation where publicly known. Values are faithful to the subject's real origin; unknown values are "unknown" / "none", never invented. >> #sleela 2.1 < Worker-class carrier with full identity metadata. > class SMEquation { < ---- Descriptive metadata (version 1.11 nested-friendly accessors) ---- > << Eleven catalogued attributes with getter/setter pairs, so a GUI, loader, or catalog can read and (where appropriate) override this record. Values are faithful to the subject's real origin where publicly known. >> String metaVersion = "1.0.0"; int metaId = 9200; String metaAuthor = "the mathematical and physical public record"; String metaDate = "2026-10-25"; String metaCopyright = "results in the public domain / peer-reviewed record"; String metaTrademark = "none"; String metaCorporation = "none"; < metaOrigin: National | | International | Galactic > String metaOrigin = "International"; String metaBirthDate = "none"; < metaScienceRating: maturity/robustness on a 1..10 scale > int metaScienceRating = 10; < metaNationalSchedule: a real, citable instrument or "none" > String metaNationalSchedule = "none"; String getMetaVersion() { return metaVersion; } void setMetaVersion(String v) { metaVersion = v; } int getMetaId() { return metaId; } void setMetaId(int v) { metaId = v; } String getAuthor() { return metaAuthor; } void setAuthor(String v) { metaAuthor = v; } String getDate() { return metaDate; } void setDate(String v) { metaDate = v; } String getCopyright() { return metaCopyright; } void setCopyright(String v) { metaCopyright = v; } String getTrademark() { return metaTrademark; } void setTrademark(String v) { metaTrademark = v; } String getCorporation() { return metaCorporation; } void setCorporation(String v) { metaCorporation = v; } String getOrigin() { return metaOrigin; } void setOrigin(String v) { metaOrigin = v; } String getBirthDate() { return metaBirthDate; } void setBirthDate(String v) { metaBirthDate = v; } int getScienceRating() { return metaScienceRating; } void setScienceRating(int v) { metaScienceRating = v; } String getNationalSchedule() { return metaNationalSchedule; } void setNationalSchedule(String v) { metaNationalSchedule = v; } < ---- Scientific record (purpose / method / gains / bedrock / integrity) ---- > << Spec-sanctioned extension (SLEELA.syntax ยง15: ordinary fields + accessors). Written truthfully for THIS class, not copied: each record states its own purpose. metaIntegrityGoal is the standing promise the record answers to -- it allows greatness to be recorded without being inflated. >> String metaPurpose = "Hold one equation as a faithful record: its name, form, rightful discoverer, and year."; String metaScientificMethod = "Atomic attribution: one equation, one honest line of credit; no derivation, no claim."; String metaAuthorialGains = "None over the equation itself; it is public-domain science. The record gains only accuracy."; String metaBedrock = "The single primary/secondary citation behind the equation it carries."; String metaIntegrityGoal = "Record the move exactly as it happened -- great or small -- crediting the real author, never the archive."; String getPurpose() { return metaPurpose; } void setPurpose(String v) { metaPurpose = v; } String getScientificMethod() { return metaScientificMethod; } void setScientificMethod(String v) { metaScientificMethod = v; } String getAuthorialGains() { return metaAuthorialGains; } void setAuthorialGains(String v) { metaAuthorialGains = v; } String getBedrock() { return metaBedrock; } void setBedrock(String v) { metaBedrock = v; } String getIntegrityGoal() { return metaIntegrityGoal; } void setIntegrityGoal(String v) { metaIntegrityGoal = v; } < ---- Equation facts (public record) ---- > String eqName = "unknown"; String eqForm = "unknown"; String eqField = "unknown"; String eqDiscoverer = "unknown"; String eqYear = "unknown"; void define(String name, String form, String field, String who, String year) { eqName = name; eqForm = form; eqField = field; eqDiscoverer = who; eqYear = year; } String getName() { return eqName; } String getForm() { return eqForm; } String getField() { return eqField; } String getDiscoverer() { return eqDiscoverer; } String getYear() { return eqYear; } String line() { return eqName + ": " + eqForm + " [" + eqDiscoverer + ", " + eqYear + "; " + eqField + "]"; } }