From 45a4b80a3d44f054a471cd417c7c2698f4770599 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 10 Nov 2026 09:13:35 +0100 Subject: proofs: Lean transcriptions + flaw-finding, with a Rust referee Gipfel.lean verifies the structural invariants (mark_duplicates keeps hill indices stable). GipfelFind.lean hunts flaws: exact Int model for the general fact, Float grid search for concrete IEEE witnesses, every witness re-checked against the real code by rust-check/. Findings: 1 fixed on master (is_visible azimuth wrap), 2 proven benign via project_point (all witnesses NaN via 0*inf; residual near-zero denominators documented), 3 open but cosmetic, 4 already handled by the stitch caller. GipfelMathlib.lean.txt stays an unchecked sketch, kept as .txt so it cannot pass for a verified artifact. Verified from this location: lean checks both files clean, rust-check runs against the workspace gipfel-core via path dependency. --- proofs/rust-check/Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 proofs/rust-check/Cargo.toml (limited to 'proofs/rust-check/Cargo.toml') diff --git a/proofs/rust-check/Cargo.toml b/proofs/rust-check/Cargo.toml new file mode 100644 index 0000000..9691985 --- /dev/null +++ b/proofs/rust-check/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "rust-check" +version = "0.1.0" +edition = "2021" + +[dependencies] +gipfel-core = { path = "../../crates/gipfel-core" } + +[workspace] -- cgit v1.2.3