package rocq-spatial-algebra

  1. Overview
  2. Homepage
DE-9IM intersection-matrix algebra and integer orientation-determinant bounds (axiom-free)

Install

Dune Dependency

Authors

Maintainers

Sources

rocq-spatial-algebra.tar.gz
sha512=d3629d6975e37f81d729a265b3da47022efa9282bb88eaeb71bc3fb17a29bb4307e6f482531ff87c2242462ae7145ca95d21b1b2c97f0f8412d50e5ca29079df

Description

A tiny, dependency-free Rocq library of spatial-relation algebra, extracted from the NetTopologySuite.Proofs corpus.

Two independent modules, both Qed-closed with NO axioms ("Closed under the global context") and depending only on Rocq's Stdlib:

  • DE9IM: the DE-9IM (Dimensionally Extended 9-Intersection Model) algebra used by OGC/SQL-MM spatial predicates -- dimension values, intersection matrices, named relation patterns (disjoint, intersects, contains, within, covers, ...), pattern matching, and the transpose laws relating a relation to its converse.

  • RelateIntDetBound: the 2D orientation determinant over integer coordinates together with proven magnitude/overflow bounds, used to certify the safe-coordinate regime for robust orientation predicates.

Both modules are foundational and self-contained: zero intra-corpus dependencies, no Flocq, no classical reals. Useful to any project doing formal GIS / spatial-relation reasoning or robust-predicate overflow analysis.

Provenance: github.com/grootstebozewolf/NetTopologySuite.Proofs (assembled via the package MANIFEST).

Dependencies (2)

  1. rocq-stdlib
  2. rocq-core >= "9.2" & < "9.3~"

Dev Dependencies

None

Used by

None

Conflicts

None

Rocq

Interactive Theorem Prover