Proof AtlasMCP access
ProofsNumber theory

Lean proof review
The Riemann Hypothesis

Unverified claim

A proposed Lean proof that every nontrivial zero of ζ(s) has real part ½.

Lean 4Number theoryƒDirichlet L-functions
Formalism/HermitianCurvature/HermitianCurvatureProofs/CutCptCopy.lean
51    if us.any (fun c => terminal c || tainted.contains c) then (seen, tainted.insert n, order.push n)52    else (seen, tainted, order)5354def toCopy (env : Environment) : NameSet × Array Name :=55  let (_, tainted, order) := roots.foldl (fun s r => go env r s) ({}, {}, #[])56  (tainted, order)5758def mapName (tainted : NameSet) (n : Name) : Name :=59  match special.lookup n with60  | some m => m61  | none => if manual.contains n || tainted.contains n then suffixed n else n6263def subst (tainted : NameSet) (e : Expr) : Expr :=64  e.replace fun65    | .const n ls => some (.const (mapName tainted n) ls)66    | _ => none6768def copyAll (defsOnly : Bool) : CoreM Nat := do69  let (tainted, order) := toCopy (← getEnv)70  let mut k := 071  for n in order do72    let env ← getEnv73    let n' := mapName tainted n74    if env.contains n' then continue75    let some ci := env.find? n | throwError "missing {n}"76    match ci with77    | .defnInfo d =>78      addDecl (.defnDecl { d with name := n', type := subst tainted d.type, value := subst tainted d.value })79      k := k + 180    | .thmInfo t =>81      if defsOnly then continue82      addDecl (.thmDecl { t with name := n', type := subst tainted t.type, value := subst tainted t.value })83      k := k + 184    | _ => throwError "cannot copy {n}"85  return k8687elab "cpt_copy_thms" : command => do88  let k ← liftCoreM (copyAll false)89  logInfo m!"copied {k} declarations"9091end Formalism.FourierDecayAlt.P.CptCopy
91 linesLn 87UTF-8Raw