SMCrossoverCanon.sleela
stanford-math/SMCrossoverCanon.sleela · 131 line(s) · sleela
<< stanford-math/SMCrossoverCanon.sleela
SLeeLa Standard Library Definition.
Definition: Named crossover equations where the math/physics canon reaches
into applied PhD fields -- finance, chemistry/electrochemistry, cosmology,
and information theory. Each entry is faithful to the public record. >>
#sleela 2.1
< Executive+ class: a standards/products artifact, full metadata record. >
class SMCrossoverCanon {
< ---- 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 = 9240;
String metaAuthor = "the applied-science public record";
String metaDate = "2026-10-25";
String metaCopyright = "results in the peer-reviewed public record";
String metaTrademark = "none";
String metaCorporation = "none";
< metaOrigin: National | <nation> | International | Galactic >
String metaOrigin = "International";
String metaBirthDate = "2026-10-25";
< metaScienceRating: maturity/robustness on a 1..10 scale >
int metaScienceRating = 9;
< 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) ---- >
<< Spec-sanctioned extension (SLEELA.syntax §15: ordinary fields + accessors):
what the canon is for, the method it follows, what its editors gain, and
the bedrock it rests on. See SMProvenance for the literature callouts. >>
String metaPurpose = "A curated index of named crossover equations into applied PhD fields.";
String metaScientificMethod = "Tertiary cataloguing: record published results traceable to their primary papers; originate nothing.";
String metaAuthorialGains = "Editorial credit for the catalogue only; each result belongs to its cited authors/publishers.";
String metaBedrock = "The peer-reviewed applied-science record -- finance, chemistry, cosmology, information theory (see SMProvenance).";
String metaIntegrityGoal = "Record each great crossover with its primary paper -- credit the authors and publishers, claim nothing.";
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; }
< ---- The crossover canon (public record) ---- >
SMEquation[] eqs;
int filled;
void build() {
eqs = new SMEquation[40];
filled = 0;
add("Black-Scholes PDE", "dV/dt + (1/2) sigma^2 S^2 d2V/dS2 + r S dV/dS - r V = 0", "mathematical finance", "Black; Scholes; Merton", "1973");
add("Black-Scholes call price", "C = S N(d1) - K e^(-r T) N(d2)", "mathematical finance", "Black; Scholes; Merton", "1973");
add("Ito's lemma", "df = (df/dt + mu df/dx + (1/2) sigma^2 d2f/dx2) dt + sigma df/dx dW", "stochastic calculus", "Kiyosi Ito", "1951");
add("Nernst equation", "E = E0 - (R T / (n F)) ln(Q)", "electrochemistry", "Walther Nernst", "1889");
add("Arrhenius equation", "k = A e^(-Ea / (R T))", "physical chemistry", "Svante Arrhenius", "1889");
add("Friedmann equation", "(adot/a)^2 = (8 pi G / 3) rho - k c^2/a^2 + Lambda c^2/3", "cosmology", "Alexander Friedmann", "1922");
add("Hubble-Lemaitre law", "v = H0 * d", "cosmology", "Lemaitre; Hubble", "1927");
add("Drake equation", "N = R* f_p n_e f_l f_i f_c L", "astrobiology", "Frank Drake", "1961");
add("Shannon entropy", "H = -sum p_i log2 p_i", "information theory", "Claude Shannon", "1948");
add("Shannon channel capacity", "C = B log2(1 + S/N)", "information theory", "Claude Shannon", "1948");
add("Logistic (population) equation", "dN/dt = r N (1 - N/K)", "mathematical biology", "Pierre Francois Verhulst", "1838");
add("Schrodinger-form diffusion (heat equation)", "du/dt = alpha laplacian u", "applied analysis", "Joseph Fourier", "1822");
add("Michaelis-Menten kinetics", "v = V_max [S] / (K_m + [S])", "biochemistry", "Michaelis; Menten", "1913");
add("Hardy-Weinberg principle", "p^2 + 2 p q + q^2 = 1", "population genetics", "Hardy; Weinberg", "1908");
add("Lotka-Volterra predator-prey", "dx/dt = a x - b x y, dy/dt = c x y - d y", "mathematical biology", "Lotka; Volterra", "1925");
add("Kelly criterion", "f* = (b p - q) / b", "mathematical finance", "John L. Kelly Jr.", "1956");
add("Fokker-Planck equation", "dP/dt = -d/dx(A P) + (1/2) d2/dx2(B P)", "stochastic processes", "Fokker; Planck", "1914");
add("Langevin equation", "m dv/dt = -gamma v + eta(t)", "stochastic processes", "Paul Langevin", "1908");
add("Ornstein-Uhlenbeck process", "dx = -theta x dt + sigma dW", "stochastic processes", "Uhlenbeck; Ornstein", "1930");
add("Feynman-Kac formula", "u(x,t) = E[ payoff | X_t = x ] solves a PDE", "stochastic analysis", "Feynman; Kac", "1949");
add("Girsanov theorem (measure change)", "change of drift under an equivalent measure", "stochastic analysis", "Igor Girsanov", "1960");
add("Kolmogorov forward equation", "dp/dt = L* p", "stochastic processes", "Andrey Kolmogorov", "1931");
add("SIR epidemic model", "dS/dt=-bSI, dI/dt=bSI-gI, dR/dt=gI", "mathematical epidemiology", "Kermack; McKendrick", "1927");
add("Basic reproduction number", "R0 = beta / gamma", "mathematical epidemiology", "Kermack; McKendrick", "1927");
add("Replicator dynamics", "dx_i/dt = x_i (f_i - f-bar)", "evolutionary game theory", "Taylor; Jonker", "1978");
add("Price equation", "dz-bar = Cov(w, z)/w-bar + E[w dz]/w-bar", "evolutionary biology", "George R. Price", "1970");
add("Fisher's fundamental theorem", "rate of fitness increase = additive genetic variance", "population genetics", "Ronald A. Fisher", "1930");
add("Wright-Fisher allele drift", "binomial sampling of alleles each generation", "population genetics", "Wright; Fisher", "1931");
add("Goldman-Hodgkin-Katz voltage", "V_m = (R T / F) ln( sum P_ion [ion] ratio )", "neuroscience / biophysics", "Goldman; Hodgkin; Katz", "1943");
add("Hodgkin-Huxley membrane current", "I = C dV/dt + sum g_k (V - E_k)", "neuroscience / biophysics", "Hodgkin; Huxley", "1952");
add("Nernst-Planck equation (electrodiffusion)", "J = -D(dc/dx + (z F / R T) c dphi/dx)", "biophysics / electrochemistry", "Nernst; Planck", "1890");
add("Schelling segregation threshold", "local-preference tipping produces global segregation", "computational social science", "Thomas Schelling", "1971");
add("Bass diffusion model", "f(t)/(1-F) = p + q F", "marketing science", "Frank Bass", "1969");
add("Gompertz growth", "dN/dt = r N ln(K / N)", "mathematical biology", "Benjamin Gompertz", "1825");
add("Allometric scaling (Kleiber's law)", "metabolic rate ~ mass^(3/4)", "mathematical biology", "Max Kleiber", "1932");
add("Zipf's law (rank-frequency)", "frequency ~ 1 / rank^s", "quantitative linguistics", "George Kingsley Zipf", "1935");
}
void add(String name, String form, String field, String who, String year) {
SMEquation e = new SMEquation();
e.define(name, form, field, who, year);
eqs[filled] = e;
filled = filled + 1;
}
int count() { return filled; }
String lineAt(int i) {
SMEquation e = eqs[i];
return e.line();
}
}