import Mathlib.Algebra.BigOperators.Associated import Mathlib.Data.Nat.Prime.Basic import Mathlib.Tactic namespace Erdos824Cycle private lemma tag_dvd_iff_mem {k i p : ℕ} (f : ℕ → ℕ) {S : Finset ℕ} (hS : S ⊆ Finset.range k) (hp : p.Prime) (htag : ∀ j simp | succ i ih => intro hi; exact (step i hi).trans (ih (by omega)) by_cases h0 : 0∈S · right have hfull : S=Finset.range k := Finset.Subset.antisymm hS (by intro i hi; exact (constant i (Finset.mem_range.mp hi)).mpr h0) exact ⟨hfull,hST.symm.trans hfull⟩ · left have hempty : S=∅ := Finset.eq_empty_iff_forall_notMem.mpr (by intro i hi; exact h0 ((constant i (Finset.mem_range.mp (hS hi))).mp hi)) exact ⟨hempty,hST.symm.trans hempty⟩ #print axioms equal_subproducts_trivial end Erdos824Cycle