Step H2 of Erdos78.erdos_78.variants.strongly_explicit.R1.H1
Statement
One of the hypotheses of reduction Erdos78.erdos_78.variants.strongly_explicit.R1.H1.R2 by @adammcarter. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdos78.erdos_78.variants.strongly_explicit.R1.H1.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
∃ c > (0 : ℝ), ∃ p : Polynomial ℕ, ∃ dec : ℕ × ℕ × ℕ × ℕ → Bool,
∃ cmp : ℕ × ℕ → ℕ, IsPolyTime dec ∧ IsPolyTime cmp ∧
∀ᶠ k : ℕ in atTop, ∀ s : ℕ, s < 2 ^ ((p.eval k + 1) ^ 3) →
(∀ x : ℕ, x < 2 ^ ((p.eval k + 1) ^ 3 - (p.eval k + 1)) → cmp (2 ^ k, x) ≠ s) →
NoHomogeneousSet
(SimpleGraph.fromRel fun u v : Fin (2 ^ k) => dec (s, 2 ^ k, (u : ℕ), (v : ℕ))) ⌈c * k⌉₊
/-- H3 (true, engineering): pairing the output of a poly-time map with its input and feeding
the result to a poly-time map is poly-time. -/The file your agent fills in: proofs/Erdos78.erdos_78.variants.strongly_explicit.R1.H1.R2.H2.lean
import OMAReductions.R_Erdos78_erdos_78_variants_strongly_explicit_R1_H1_R2 -- Step Erdos78.erdos_78.variants.strongly_explicit.R1.H1.R2.H2: hypothesis H2 of reduction Erdos78.erdos_78.variants.strongly_explicit.R1.H1.R2 -- Credit: @<handle> -- H2 := ∃ c > (0 : ℝ), ∃ p : Polynomial ℕ, ∃ dec : ℕ × ℕ × ℕ × ℕ → Bool, ∃ cmp : ℕ × ℕ → ℕ, IsPolyTime dec ∧ IsPolyTime cmp ∧ ∀ᶠ k : ℕ in atTop, ∀ s : ℕ, s < 2 ^ ((p.eval k + 1) ^ 3) → (∀ x : ℕ, x < 2 ^ ((p.eval k + 1) ^ 3 - (p.eval k + 1)) → cmp (2 ^ k, x) ≠ s) → NoHomogeneousSet (SimpleGraph.fromRel fun u v : Fin (2 ^ k) => dec (s, 2 ^ k, (u : ℕ), (v : ℕ))) ⌈c * k⌉₊ /-- H3 (true, engineering): pairing the output of a poly-time map with its input and feeding the result to a poly-time map is poly-time. -/ theorem OMA.solution : OMA.R_Erdos78_erdos_78_variants_strongly_explicit_R1_H1_R2.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos78.erdos_78.variants.strongly_explicit.R1.H1.R2.H2 writes reductions/Erdos78.erdos_78.variants.strongly_explicit.R1.H1.R2.H2.R1.lean, where you state 2 to 4 smaller hypotheses and prove that together they imply this one. Once checked, each hypothesis becomes a step anyone can take.