kernel_symm
def
The symmetrization of a kernel W on a host vertex set is defined by (W(x, y) + W(y, x)) / 2.
Statement
noncomputable def kernel_symm {H : Type*} (W : H → H → ℝ) : H → H → ℝ
- Defined in
- arXiv:2611.15027, Section 2
- Verified
- 15 Nov 2026
- Axioms
- none listed
Read back from the Lean
Given a type H and a function W : H → H → ℝ, kernel_symm W is the function H → H → ℝ defined by (x, y) ↦ (W x y + W y x) / 2 (the symmetrization of W).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- The symmetrization of a kernel W is (W(x,y) + W(y,x))/2. -/ noncomputable def kernel_symm {H : Type*} (W : H → H → ℝ) : H → H → ℝ := fun x y ↦ (W x y + W y x) / 2