Treat the orthonormal coframe in spacetime and the Lorentz connection 1-form as independent variables, with nondegenerate coframe and . Fix the curvature convention
The second expression is Cartan's first structure equation; the first is Cartan's second structure equation. Use compactly supported variations, or boundary data that make the variation's surface term vanish.
For a connection variation, , where is the covariant exterior derivative. Since , its graded product rule gives
For a coframe variation, relabeling the dummy indices makes the three variations of the cubic term identical. Hence
The independent variations therefore give and . In three dimensions the alternating symbol identifies an antisymmetric index pair with a single index, so these equations are equivalent to
These are the equations of first-order three-dimensional gravity. The first selects the Levi-Civita connection; the second fixes constant sectional curvature . The factor of three follows from varying the coefficient exactly as printed.
On a static coordinate patch where , choose the Lorentz frame metric and coframe
Put and . Exterior differentiation gives , , and . Solving the equation of vanishing torsion forms gives
Here antisymmetry is in the two raised or two lowered frame indices; mixed time-space components have equal, rather than opposite, signs. This is the Lorentzian connection-form antisymmetry needed to retain the curvature signs.
Using Cartan's second structure equation, the nonzero curvature 2-forms are
For example, , while the form is the product . Thus the field equations require and . Integrating the latter gives ; the former is then satisfied automatically. The origin condition fixes , yielding
As a sign and normalization check, the Ricci tensor is and the scalar curvature is . The coframe calculation applies initially in the region with ; if , vanishes at , delimiting that static chart without changing the derived function.