Download lean/Red2Functor.lean from Snapkitty/riemann-gas: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/Snapkitty/riemann-gas/resolve/main/lean/Red2Functor.lean
- Command line
-
hf download hf://Snapkitty/riemann-gas/lean/Red2Functor.lean
-
curl -L -o Red2Functor.lean https://huggingface.co/Snapkitty/riemann-gas/resolve/main/lean/Red2Functor.lean
1.26 kB
| -- Pattern match for the missing Red2 functor. | |
| -- Wired fields are definitional. identify and preserve are not inhabited. | |
| -- This file does not prove the Riemann hypothesis. | |
| import Mathlib.Data.ZMod.Basic | |
| import Mathlib.Data.Complex.Basic | |
| open Complex | |
| /-- Euler factor, the gas mode. Real s > 1 in the analytic theory. -/ | |
| def eulerFactor (p : β) (s : β) : β := | |
| 1 / (1 - (p : β) ^ (-s)) | |
| /-- Carrier of the F2 finite part: vectors over ZMod 2. -/ | |
| def FiniteCarrier (g : β) : Type := Fin (2 * g) β ZMod 2 | |
| /-- Carrier of the complex finite part used by the HOL script. -/ | |
| def ComplexFinite : Type := β | |
| /-- The only pattern that matches on F2: x β¦ x^2 is the identity. -/ | |
| theorem f2_square_id (x : ZMod 2) : x ^ 2 = x := ZMod.sq_eq_self x | |
| /-- What Red2 would have to be. The two holes are the assessment's B1 and B2. -/ | |
| structure Red2 (g : β) where | |
| /-- Object map. Not constructed. -/ | |
| map : FiniteCarrier g β (β β β) | |
| /-- GAP-4: classical zeta is in the image. -/ | |
| identify : Prop | |
| /-- GAP-3: zeros of the image lie on the critical line. -/ | |
| preserve : Prop | |
| /-- No instance is given. An axiom here would be the hypothesis renamed. -/ | |
| def red2_holes_open (g : β) : Prop := | |
| β R : Red2 g, R.identify β§ R.preserve | |