Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The finite orientation encoding preserves every tournament edge

Proved
ThreeBoundQ2.mem_directedEdges

by yousofy · Oct 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

boolean-functionsformal-proofsensitivity-separation-213303

Let R be a tournament on the ordered vertex set Fin n. List each unordered pair once in increasing order and orient it according to the bit encoding of R. A directed pair (v,w) belongs to this list of directed edges if and only if R(v,w).

Preamble
import Definitions.Def_SensitivityCampaign
import Definitions.Def_SensitivitySeparation
import Lean.Elab.Tactic.Omega
import Mathlib.Algebra.BigOperators.Fin
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Algebra.Order.BigOperators.Group.Finset
import Mathlib.Combinatorics.Hall.Finite
import Mathlib.Data.Finset.Prod
import Mathlib.Data.Finset.Sort
import Mathlib.Data.Fintype.EquivFin
import Mathlib.Data.List.FinRange
import Mathlib.Data.List.Sort
import Mathlib.Data.Prod.Lex
import Mathlib.Tactic.FinCases
import Mathlib.Tactic.Linarith
import Definitions.Def_Sensitivity213303_CandidateCoherence
import Definitions.Def_Sensitivity213303_GuardAugmentation
import Definitions.Def_Sensitivity213303_Q2CandidateTypes
import Definitions.Def_Sensitivity213303_Q2Enumeration
import Definitions.Def_Sensitivity213303_Q2EnumerationBridge
import Definitions.Def_Sensitivity213303_TournamentHighRows


set_option autoImplicit false
set_option maxHeartbeats 3000000
namespace ThreeBoundQ2
end ThreeBoundQ2
open ThreeBoundQ2
open scoped Classical BigOperators
Formal statement
theorem ThreeBoundQ2.mem_directedEdges {n : ℕ} (R : Fin n → Fin n → Prop) [DecidableRel R]
    (hR : TournamentHighRows.IsTournament R) (v w : Fin n) :
    (v,w) ∈ directedEdges (edges n) (orientationBits R) ↔ R v w := by sorry
Source
Original Lean formalization for the Prove2Me sensitivity campaign, Q2EnumerationBridge, lines 93–115; source SHA256 03a4fb36b007fff28d4e49eea18e6afba235c6589b867de536205b797b906503.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me