<< stanford-math/SMChemistryCanon.sleela SLeeLa Standard Library Definition. Definition: The canon of covalent-bonding and chemical-bond equations -- the shared-electron-pair model, valence-bond and molecular-orbital theory, bond order, and the interatomic potentials. Each entry records a real name, symbolic form, discoverer, and year faithful to the public record; where attribution is genuinely diffuse it is marked honestly. >> #sleela 2.1 < Executive+ class: a standards/products artifact, full metadata record. > class SMChemistryCanon { < ---- 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 = 9260; String metaAuthor = "the chemistry public record"; String metaDate = "2026-11-02"; String metaCopyright = "results in the peer-reviewed public record"; String metaTrademark = "none"; String metaCorporation = "none"; < metaOrigin: National | | International | Galactic > String metaOrigin = "International"; String metaBirthDate = "2026-11-02"; < 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 covalent-bonding and chemical-bond equations: shared-pair model, VB/MO theory, bond order, and interatomic potentials."; 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 chemistry and quantum-chemistry record (see SMProvenance)."; String metaIntegrityGoal = "Record each bonding result under the name history gives it -- credit the chemist, claim nothing, and mark diffuse attributions honestly."; 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 covalent-bonding canon (public record) ---- > SMEquation[] eqs; int filled; void build() { eqs = new SMEquation[48]; filled = 0; add("Shared electron-pair (covalent) bond", "A. + .B -> A:B (one shared pair = one single bond)", "chemical bonding", "Gilbert N. Lewis", "1916"); add("Octet rule", "atoms share/transfer electrons to reach 8 valence electrons", "chemical bonding", "Lewis; Langmuir", "1919"); add("Bond order (molecular orbital)", "BO = (1/2)(n_bonding - n_antibonding)", "molecular orbital theory", "Hund; Mulliken", "1932"); add("LCAO molecular orbital", "psi_MO = c_A phi_A + c_B phi_B", "molecular orbital theory", "Lennard-Jones; Mulliken", "1929"); add("MO energies (two-center)", "E_pm = (alpha +/- beta) / (1 +/- S)", "molecular orbital theory", "Hund-Mulliken MO theory", "1932"); add("Heitler-London valence bond (H2)", "psi = phi_A(1) phi_B(2) + phi_A(2) phi_B(1)", "valence bond theory", "Heitler & London", "1927"); add("Pauling electronegativity difference", "chi_A - chi_B = 0.102 sqrt(E_d(AB) - sqrt(E_d(AA) E_d(BB)))", "chemical bonding", "Linus Pauling", "1932"); add("Bond dissociation energy", "AB -> A + B, dH = D(A-B)", "chemical bonding", "classical thermochemistry", "unknown"); add("Morse potential", "V(r) = D_e (1 - e^(-a (r - r_e)))^2", "molecular physics", "Philip M. Morse", "1929"); add("Lennard-Jones (12-6) potential", "V(r) = 4 eps ((sigma/r)^12 - (sigma/r)^6)", "molecular physics", "John Lennard-Jones", "1924"); add("Coulomb's law (two charges)", "F = k_e q1 q2 / r^2", "electrostatics of bonding", "Charles-Augustin de Coulomb", "1785"); add("Born-Oppenheimer separation", "psi_total ~ psi_electronic * psi_nuclear", "quantum chemistry", "Born & Oppenheimer", "1927"); add("Hybridization (sp^n directed bonds)", "sp^n gives (n+1) equivalent directed orbitals", "valence bond theory", "Linus Pauling", "1931"); add("Formal charge", "FC = V - N_nonbonding - (1/2) N_bonding", "chemical bonding", "standard Lewis-structure rule", "unknown"); add("Molecular dipole moment", "mu = sum_i q_i r_i", "molecular polarity", "Peter Debye", "1912"); add("Hooke's law bond (harmonic stretch)", "V(r) = (1/2) k (r - r_e)^2", "molecular vibration", "classical (Hooke form)", "unknown"); add("Pauli exclusion principle", "no two electrons share all four quantum numbers", "quantum chemistry", "Wolfgang Pauli", "1925"); add("Aufbau / Hund's rule filling", "fill lowest orbitals first; maximize unpaired spin", "atomic structure", "Hund; Aufbau principle", "1927"); add("Henderson-Hasselbalch equation", "pH = pKa + log10([A-]/[HA])", "acid-base chemistry", "Henderson; Hasselbalch", "1917"); add("pH definition", "pH = -log10[H+]", "acid-base chemistry", "S. P. L. Sorensen", "1909"); add("Water autoionization constant", "Kw = [H+][OH-] = 1.0e-14 at 25 C", "acid-base chemistry", "classical", "unknown"); add("Equilibrium constant", "K = product[products]^n / product[reactants]^m", "chemical equilibrium", "Guldberg & Waage", "1864"); add("Law of mass action (rate)", "rate = k [A]^m [B]^n", "chemical kinetics", "Guldberg & Waage", "1864"); add("First-order rate law", "[A] = [A]0 e^(-k t)", "chemical kinetics", "classical", "unknown"); add("Second-order rate law", "1/[A] = 1/[A]0 + k t", "chemical kinetics", "classical", "unknown"); add("Arrhenius equation (rate)", "k = A e^(-Ea / (R T))", "chemical kinetics", "Svante Arrhenius", "1889"); add("Eyring equation (transition state)", "k = (k_B T / h) e^(-dG_act / (R T))", "chemical kinetics", "Eyring; Polanyi; Evans", "1935"); add("Van 't Hoff equation", "d(ln K)/dT = dH / (R T^2)", "chemical thermodynamics", "Jacobus van 't Hoff", "1884"); add("Gibbs free energy of reaction", "dG = dH - T dS", "chemical thermodynamics", "J. Willard Gibbs", "1876"); add("Gibbs energy and equilibrium", "dG = -R T ln K", "chemical thermodynamics", "J. Willard Gibbs", "1876"); add("Nernst equation (cell potential)", "E = E0 - (R T / (n F)) ln Q", "electrochemistry", "Walther Nernst", "1889"); add("Faraday's laws of electrolysis", "m = (Q / F)(M / z)", "electrochemistry", "Michael Faraday", "1834"); add("Butler-Volmer equation", "j = j0 [e^(a1 f eta) - e^(-a2 f eta)]", "electrochemistry", "Butler; Volmer", "1930"); add("Debye-Huckel limiting law", "log10 gamma = -A z+ z- sqrt(I)", "physical chemistry", "Debye; Huckel", "1923"); add("Raoult's law", "p_i = x_i p_i*", "solution chemistry", "Francois-Marie Raoult", "1887"); add("Henry's law", "p = k_H c", "solution chemistry", "William Henry", "1803"); add("Gibbs phase rule", "F = C - P + 2", "phase equilibria", "J. Willard Gibbs", "1875"); add("Colligative freezing-point depression", "dTf = i K_f m", "solution chemistry", "Francois-Marie Raoult", "1878"); add("Osmotic pressure (van 't Hoff)", "Pi = i M R T", "solution chemistry", "Jacobus van 't Hoff", "1886"); add("Langmuir adsorption isotherm", "theta = K p / (1 + K p)", "surface chemistry", "Irving Langmuir", "1918"); add("BET isotherm (multilayer)", "multilayer adsorption extension of Langmuir", "surface chemistry", "Brunauer; Emmett; Teller", "1938"); add("Beer-Lambert absorbance", "A = epsilon l c", "spectroscopy", "Beer; Lambert", "1852"); add("Clausius-Clapeyron (vapor pressure)", "ln(p2/p1) = -(dH_vap / R)(1/T2 - 1/T1)", "physical chemistry", "Clausius; Clapeyron", "1834"); } 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(); } }