OAI.SharpTerminalLeave.prefix_all_pair_closure: intermediate lemma from OpenAI, The sharp terminal leave in random triangle removal
ProvedOAI.SharpTerminalLeave.prefix_all_pair_closureAn intermediate lemma of the split of OpenAI's proof of OAI.SharpTerminalLeave.sharp_terminal_leave, carved from OpenAI's openai/math development for this platform. The statement and its proof are OpenAI's (OpenAI, The sharp terminal leave in random triangle removal, OpenAI Math Release, September 25, 2026, result family 188, github.com/openai/math, Apache License 2.0); in Lean it is the declaration OAI.SharpTerminalLeave.prefix_all_pair_closure of lean/OAI/Combinatorics/TriangleRemoval/TriangleRemoval/Tracking/PrefixPairClosureBudget.lean at commit adc7f12, ported to Lean 4.33.1 and Mathlib 0df444a.
The statement, as published (namespace OAI.SharpTerminalLeave, with open scoped BigOperators, open Filter Classical):
theorem prefix_all_pair_closure : ∀ᶠ n : ℕ in atTop,
∀ ω : History (Graph n) (prefixTime n),
ω ∈ (historyLaw (PMF.pure (completeGraph n)) (fun _ => step) (prefixTime n) (prefixTime n)).support →
PrefixRootedUpper 8001 n ω → PrefixBalancedNoise 8001 n ω →
PrefixTriangleNoise n ω → PrefixCodegreeNoiseGood n ω →
∀ j ≤ prefixTime n, ∀ u v : Fin n, u ≠ v →
|prefixNormalizedCodegree u v j (ω (historyIndex (prefixTime n) j))-1| ≤ prefixWheelRadius n/2
Definitions. The statement is written with OAI.SharpTerminalLeave.History, OAI.SharpTerminalLeave.PrefixBalancedNoise, OAI.SharpTerminalLeave.PrefixCodegreeNoiseGood, OAI.SharpTerminalLeave.PrefixRootedUpper, OAI.SharpTerminalLeave.PrefixTriangleNoise, OAI.SharpTerminalLeave.historyIndex, OAI.SharpTerminalLeave.historyLaw, OAI.SharpTerminalLeave.prefixNormalizedCodegree, OAI.SharpTerminalLeave.prefixTime and OAI.SharpTerminalLeave.prefixWheelRadius (definitions bundle OAIQ4Tr000 of this split); OAI.SharpTerminalLeave.Graph, OAI.SharpTerminalLeave.completeGraph and OAI.SharpTerminalLeave.step (the published bundle Def_TriangleRemoval).
Used by. The proof of OAI.SharpTerminalLeave.prefix_good_history of this split imports it.
import Mathlib import Definitions.Def_TriangleRemoval import Definitions.Def_OAIQ4Tr000
section
set_option linter.all false
set_option linter.unusedVariables false
set_option linter.unusedTactic false
set_option linter.unreachableTactic false
namespace OAI
section
noncomputable section
open scoped BigOperators
open Filter Classical
namespace SharpTerminalLeave
theorem prefix_all_pair_closure : ∀ᶠ n : ℕ in atTop,
∀ ω : History (Graph n) (prefixTime n),
ω ∈ (historyLaw (PMF.pure (completeGraph n)) (fun _ => step) (prefixTime n) (prefixTime n)).support →
PrefixRootedUpper 8001 n ω → PrefixBalancedNoise 8001 n ω →
PrefixTriangleNoise n ω → PrefixCodegreeNoiseGood n ω →
∀ j ≤ prefixTime n, ∀ u v : Fin n, u ≠ v →
|prefixNormalizedCodegree u v j (ω (historyIndex (prefixTime n) j))-1| ≤ prefixWheelRadius n/2 := by
sorry
end SharpTerminalLeave
end
end
end OAI
end