Example. Incidence adjoints in ordered indicator coordinates [fdip-00JE]

Take real finite incidence data with positive weights and the weighted adjoints. Choose ordered vertex and edge indicators and use the ordered-value maps \(c_V:\mathbb R^V\to \mathbb R^{|V|}\) and \(c_E:\mathbb R^E\to \mathbb R^{|E|}\) from the incidence-matrix calculation. Write \(B=c_E\mathrm {d}_{\mathbb R}c_V^{-1}\). The \((v,e)\) entry of \(c_V\mathrm {d}_{\mathbb R}^{\dagger }c_E^{-1}\) is \[\langle \delta _v,\mathrm {d}_{\mathbb R}^{\dagger }\delta _e\rangle _V =\langle \mathrm {d}_{\mathbb R}\delta _v,\delta _e\rangle _E=B_{ev},\] by the counting-adjoint identity. Thus \(c_V\mathrm {d}_{\mathbb R}^{\dagger }c_E^{-1}=B^T\). The endpoint formula in Proposition [fdip-00JD] expresses the same return map without ordering the indicators. In these charts the multiplication map \(W\) has array \(W_c=c_EWc_E^{-1}=\operatorname {diag}(w(e))\), so \[c_V\mathrm {d}_{\mathbb R,w}^{\dagger }c_E^{-1}=B^TW_c,\qquad c_VLc_V^{-1}=-B^TW_cB.\] For a single edge \(0\to 1\) of weight \(c>0\), with vertex order \((0,1)\), the two adjoints send an edge value \(a\) to \((-a,a)\) and \((-ca,ca)\), respectively.

Choose a subset of edges to reverse, and set \(\varepsilon (e)=-1\) on those edges and \(1\) on the others. The pointwise sign map \((Ja)(e)=\varepsilon (e)a(e)\) has array \(S=c_EJc_E^{-1}=\operatorname {diag}(\varepsilon (e))\). Reversing the endpoint difference gives \(B'=SB\), and \[S^T=S,\qquad S^2=\mathbb {I},\qquad SW_cS=W_c,\qquad (B')^TW_cB'=B^TW_cB.\] A loop has a zero incidence row before and after reversal.

Mathlib's LinearMap.toMatrix_adjoint identifies adjoint matrices with conjugate transposes in orthonormal bases. Over the reals this is transpose. The coordinate edge basis is orthonormal for counting, but not generally for the weighted pairing; the return-map calculation above accounts for the extra \(W_c\).

For unweighted simple graphs, Mathlib's SimpleGraph.posSemidef_lapMatrix proves positivity of its Laplacian. That model has no separate weighted edge set; its energy formula sums both adjacency directions and divides by two. The edge-once sum in Theorem [fdip-0008] also handles loops and parallel edges, and is proved there directly.