Does Stokes theorem have anything to do with adjoint functors?
Statement
I notice some similarity between Stokes theorem in differential geometry and the definition of adjoint functors: in both cases, there is a 2-placed function (the functor, or the integral as a function of a submanifold and a form), a function that may apply to the left argument (the left adjoint or the boundary), and a function "in the other direction" that may equivalently apply to the right argument (right adjoint, or differential).
Is there a known connection between the two subjects?
Edit: I found this discussion at stack exchange: Is Stokes' Theorem natural in the sense of category theory?.
While not referring to adjoint functors specifically, there are ideas there that feel like a good connection to category theory (specifically, extranaturality and coends). The most helpful answer is close to what described here: Everything is Stokes'; everything is coend.
I would like to read more work in similar directions. And if there is also a categorical reason for why Stokes theorem holds — that would be best.
Posed by Benaya · dg.differential-geometry, ct.category-theory, adjoint-functors, derham-cohomology
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-403602.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-403602.lean
import Mathlib /-! # Does Stokes theorem have anything to do with adjoint functors? Source: https://mathoverflow.net/questions/403602 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_403602 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_403602