Counting transfer definition Erdos9796Counting_SignedAreaOangle
DefinitionErdos9796Counting_SignedAreaOangleerdos-97-96-counting
Supporting definition bundle Erdos9796Proof.P97.SignedAreaOangle for the Erdős counting formalization.
Definition code
/- Generated by exact skeleton subtraction from Erdos9796Proof.P97.SignedAreaOangle; source SHA-256 b3d7d5da8bb313997dd505e15b0ba2823db075ab8d863e995246ecbcce8f4fa9 -/ import Definitions.Def_Erdos9796Counting_Adapter import Mathlib.Analysis.InnerProductSpace.PiL2 import Mathlib.Geometry.Euclidean.Angle.Oriented.Basic /-! # Bridge: algebraic `signedArea2` ↔ Mathlib oriented angle sign This module supplies the foundational bridge consumed by the MEC arc–angle chain (sub-obligation `p97-signed-area-eq-oangle-sign`, alias A.1). The algebraic predicate `Problem97.signedArea2` defined in `Foundation` is the chord-side / signed-area form used by the cap-witness machinery. The MEC parametrization, in contrast, needs Mathlib's oriented angle `Orientation.oangle` on the standard counter-clockwise orientation of `ℝ² = EuclideanSpace ℝ (Fin 2)`. Both quantities carry the *same sign* by a direct computation: `signedArea2` is exactly the area form of the standard orientation evaluated on the two chord vectors, and `oangle` is the `Complex.arg` of the Kähler form whose imaginary part is that area form. The single externally-used result is `signedArea2_sign_eq_oangle_sign` (plus its `Real.sign` cast variant). All proofs are by direct Mathlib manipulation; no new axioms are introduced. -/ open scoped EuclideanGeometry namespace Problem97 /-- The standard counter-clockwise orientation on `ℝ² = EuclideanSpace ℝ (Fin 2)`, defined as the orientation induced by the canonical orthonormal basis `EuclideanSpace.basisFun (Fin 2) ℝ`. -/ noncomputable def stdOrientation : Orientation ℝ ℝ² (Fin 2) := (EuclideanSpace.basisFun (Fin 2) ℝ).toBasis.orientation end Problem97
Source