"""Decontamination heuristics: behaviour on hand-built pairs (renamed binders, reordered hypotheses, numeral types, unrelated statements). The expectations here ARE the measured false-positive / false-negative profile.""" from __future__ import annotations import numpy as np from align.data.decontam import ( ContaminationLedger, Decontaminator, EvalItem, Hit, LSHIndex, MinHasher, Params, lean_tokens, nl_tokens, ngram_set, shingles, text_hash, ) H = "import Mathlib\nimport Aesop\n\nset_option maxHeartbeats 0\n\nopen BigOperators Real Nat Topology Rat\n\n" BASE = H + """/-- Let x and y be reals with x + y = 10 and x - y = 2. Prove that the product x * y equals 24 given that both are positive and their sum of squares is 52. -/ theorem base_problem (x y : ℝ) (h₀ : 0 < x ∧ 0 < y) (h₁ : x + y = 10) (h₂ : x - y = 2) (h₃ : x ^ 2 + y ^ 2 = 52) : x * y = 24 := by sorry""" import re as _re def _rename(src, mp): return _re.sub(r"(?