How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Energy models, score matching, and contrastive divergence — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Conditional Distributions and Regular Conditional Probability
- Conditional Expectation
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Energy models, score matching, and contrastive divergence
- F-Divergences, Rényi Information, and Hypothesis Testing
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Riemann Integral: Definition and Integrability
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
None yet.
4 · Examples, counterexamples and false statements
A two-state witness to short-run contrastive-divergence bias
Example
Let , , and , . Then Take and the transition kernel This kernel is strictly positive and leaves invariant. For and , the reconstruction law satisfies while . The population stop-gradient CD-1 direction for the negative log-likelihood is , whereas the exact negative log-likelihood gradient is . The exact derivative of the scalar CD-1 objective at is Thus the stop-gradient direction also omits a nonzero derivative of the reconstruction law. This finite witness asserts no general sign or consistency claim for contrastive-divergence bias.
At , the transition matrix and its state diagram are
The nodes are states; each arrow label is from its source state to its target state . A self-loop records staying at the current state. The diagram displays the matrix and is not used in the verification.
Example references
Geoffrey Hinton, Section 2 of the full technical report describes the contrastive-divergence reconstruction update and its omitted derivative.
Kevin P. Murphy, Chapter 24, Section 24.2.2 defines the finite-step contrastive-divergence objective.
Facts & Assumptions
Given: The two-state energy family, data mass , invariant kernel , , and parameter value specified in the Example.
Energy-based density and partition function: for finite positive .
Contrastive divergence with k transitions: and the population CD-1 direction is .
Contrastive divergence with k transitions: for finite states, the population CD-1 direction is .
The finite-state CD-k gradient includes the chain-distribution derivative: the exact finite-state likelihood gradient is the data energy-gradient mean minus the model energy-gradient mean, and subtracts the reconstruction-law derivative term.
Sums, scalar multiples, products and quotients: , , , and when : finite sums, scalar multiples, products and quotients with nonzero denominator obey the stated derivative rules.
The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with : the derivative of a composition is the outer derivative at the image times the inner derivative.
The exponential function is smooth and : for real .
The derivative of at a point that is a limit point of , and differentiability on a set: the derivative in each real parameter coordinate is the limit of its difference quotient on an open interval around the point.
The exponential is positive and satisfies : for every real .
Verification
Direct normalization gives and the displayed . By [F9], its coordinates are positive. Each row of sums to , every entry is positive, and , so is an admissible invariant kernel.
At , and , so [F2] gives and . Also and . By [F6] and [F7], ; applying the quotient rule [F5] to , where , gives . Hence ; the scalar rule [F5] applied to gives and, since , .
By [F4], the exact negative log-likelihood gradient at is . By [F3], the population stop-gradient CD-1 direction is , so it differs from the exact likelihood gradient.
By [F4] and step 2.1, the chain correction is . Subtracting it from the first two CD terms gives , as stated. Thus the stop-gradient CD-1 direction also differs from the exact CD-1 objective derivative.