Gauss-Seidel and red-black ordering
Statement
Hi,
For 1D elliptic equation discretized with finite differences : Does the red/black ordering method for Gauss-Seidel algorithm imposes to have an odd number of points if one wants periodic boundary conditions?
If , is even, then the update of (which is black, say) needs and . But because is even, is black too, there seems to be a problem because black should only use red points and vice versa.
So does red-black ordering and periodic boundary imposes an odd number of points ?
Thanks for you answer.
Posed by Nico · na.numerical-analysis
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-76941.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-76941.lean
import Mathlib /-! # Gauss-Seidel and red-black ordering Source: https://mathoverflow.net/questions/76941 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_76941 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_76941