Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sensitivity separation: SelectedOrdinaryCaps (complete source module)

Definition
BS2_b3ba934b_SelectedOrdinaryCaps

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

block-sensitivitysensitivitysensitivity-first-two-20261025

Complete Lean source module SelectedOrdinaryCaps from the two verified sensitivity separation proofs. The module supplies the definitions, auxiliary lemmas, and exact finite certificates used by its dependent modules. All original declarations and proof bodies are retained; only local import module paths are changed for Prove2Me. The final campaign goals are published separately as theorems with submitted solutions.

Definition code
/- Instantiate every ordinary transfer exclusion with the proved Paley-10007 label. -/
import Definitions.Def_BS2_b3ba934b_ArchivedExclusionBridge
import Definitions.Def_BS2_b3ba934b_Selected10007

set_option autoImplicit false
set_option maxHeartbeats 4000000
set_option linter.unusedSectionVars false

namespace ThreeBoundOrdinarySelected
open scoped Classical
noncomputable section
open ThreeBoundOrdinaryArchive

abbrev Adj := Sensitivity10007Labeling.Labeling10007.Adj

def tournament : ThreeBoundOrdinaryArchive.OAI.Paper320.Tournament 10007 where
  Adj := Adj
  loopless := Sensitivity10007Labeling.Labeling10007.irreflexive
  edge_compl := fun {i j} h => Sensitivity10007Labeling.Labeling10007.edge_compl i j h

def label (v w : Fin 10007) : Fin 2 :=
  Sensitivity10007Labeling.Labeling10007.selectedLabel (v,w)

theorem ordinaryA_eq_cutoff (q : Fin 9) :
    Sensitivity10007Labeling.CompactLabeling10007.ordinaryA q = ZP.cutoff q.val := by
  fin_cases q <;> decide +kernel

theorem labelCaps : ZT.LabelCaps tournament label := by
  have h := Sensitivity10007Labeling.Labeling10007.selectedLabel_spec
  have ho (q : Fin 9) := ZT.ordinary_exclusion_defect_bound tournament label q.val
    (Sensitivity10007Labeling.CompactLabeling10007.ordinaryA q) (show
      ∀ I : ZL.OrdinaryIndex (Fin 10007) (Sensitivity10007Labeling.CompactLabeling10007.ordinaryA q),
        ¬ (ZL.ordinaryFamily Adj q.val (Sensitivity10007Labeling.CompactLabeling10007.ordinaryA q)).bad I
          (fun e => label e.1 e.2) from h.ordinary q)
  have hm (i : Fin 12) := ZT.marked_exclusion_card_bound tournament label
    (Sensitivity10007Labeling.CompactLabeling10007.marked i).q
    (Sensitivity10007Labeling.CompactLabeling10007.marked i).a
    (Sensitivity10007Labeling.CompactLabeling10007.marked i).m
    (Sensitivity10007Labeling.CompactLabeling10007.marked i).B (show
      ∀ I : ZL.MarkedIndex (Fin 10007)
          (Sensitivity10007Labeling.CompactLabeling10007.marked i).a
          (Sensitivity10007Labeling.CompactLabeling10007.marked i).m,
        ¬ (ZL.markedFamily Adj (Sensitivity10007Labeling.CompactLabeling10007.marked i).q
          (Sensitivity10007Labeling.CompactLabeling10007.marked i).a
          (Sensitivity10007Labeling.CompactLabeling10007.marked i).m
          (Sensitivity10007Labeling.CompactLabeling10007.marked i).B).bad I
          (fun e => label e.1 e.2) from h.marked i)
  refine ⟨?_,?_,?_,?_,?_,?_,?_,?_,?_,?_,?_,?_⟩
  · intro q hq
    have hq' : q<9 := by omega
    simpa only [ordinaryA_eq_cutoff] using ho ⟨q,hq'⟩
  · exact ZT.source_exclusion_source_bound tournament label 20 h.source
  · exact ZT.dominator_exclusion_double_bound tournament label 18 h.dominator
  · intro q hq1 hq4
    interval_cases q
    · exact hm 0
    · exact hm 1
    · exact hm 2
    · exact hm 3
  · exact hm 4
  · exact hm 5
  · exact hm 6
  · exact hm 7
  · exact hm 8
  · exact hm 9
  · exact hm 10
  · exact hm 11

end
end ThreeBoundOrdinarySelected

#print axioms ThreeBoundOrdinarySelected.labelCaps
Source
Attached verified checkpoint block_sensitivity_three_bounds; lean_project/SelectedOrdinaryCaps.lean; original SHA-256 1d1b46624051ea67fc1d5721f3eaf017c56d15c2b6547308a093bf5b6a3ace15; campaign https://prove2.me/campaigns/block-sensitivity-vs-sensitivity

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