cfahlgren1/math / lean /OAI /Combinatorics /Sensitivity /ConstructedSeed.lean
cfahlgren1's picture
download
raw
1.8 kB
import OAI.Combinatorics.Sensitivity.Construction
import OAI.Combinatorics.Sensitivity.Labeling
import OAI.Combinatorics.Sensitivity.ParameterBounds
import OAI.Combinatorics.Sensitivity.Iterates
namespace OAI
/-! All construction parameters and labels are supplied unconditionally. -/
noncomputable section
open scoped Classical
namespace Paper320
theorem construction_label_count_pos {M : ℕ} (hM : 0 < M) :
0 < Nat.ceil (Real.sqrt (M : ℝ)) := by
have h := le_ceil_sqrt_sq M
by_contra hn
have he : Nat.ceil (Real.sqrt (M : ℝ)) = 0 := by omega
rw [he] at h
norm_num at h
omega
theorem exists_constructed_seed (d M : ℕ) (hd : 1 ≤ d) (hM : 9 ^ (d + 1) ≤ M) :
∃ f : (Fin (constructionDimension d M (Nat.ceil (Real.sqrt (M : ℝ)))) → Bool) → Bool,
0 < constructionDimension d M (Nat.ceil (Real.sqrt (M : ℝ))) ∧
f (fun _ => false) = false ∧ (∃ x y, f x ≠ f y) ∧
sensitivity f ≤ 2 * (d + 2) * M ^ (d + 1) ∧
M ^ 2 * (2 * M ^ 2 + 1) ^ d ≤ blockSensitivityAt f (fun _ => false) := by
have h81 := parameter_ge_eighty_one hd hM
have hMp : 0 < M := by omega
have hr := construction_label_count_pos hMp
obtain ⟨A⟩ := regular_goodLabeling_exists (show 3 ≤ M by omega)
let f := finalWitness d (regularCyclicTournament M) A
have hs := finalWitness_sensitivity d (regularCyclicTournament M) A hMp hr
(parameter_epsilon_budget hd hM)
have hb := finalWitness_blockSensitivity d (regularCyclicTournament M) A hr
have hbp : 0 < M ^ 2 * (2 * M ^ 2 + 1) ^ d := by positivity
have hnc := nonconstant_of_blockSensitivityAt_pos f (fun _ => false) (hbp.trans_le hb)
exact ⟨f, constructionDimension_pos hMp hr,
finalWitness_zero d (regularCyclicTournament M) A hr, hnc, hs, hb⟩
end Paper320
end
end OAI

Xet Storage Details

Size:
1.8 kB
·
Xet hash:
1b477be28a3636afb5f482dd2df2a5fcf95f87507b90a5fc991581d5c21c4f9e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.