Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions .github/workflows/rhd04-galois-row.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: RHD-04 Galois row and theta lift source audit

on:
push:
paths:
- 'MathCan/RHGaloisRowInputs.lean'
- 'MathCan.lean'
- 'research/rh_proof_distillation/galois_row_input_audit.py'
- 'tests/test_rhd04_galois_sources.py'
- 'research/rh_proof_distillation/GALOIS_ROW_INPUTS.md'
- '.github/workflows/rhd04-galois-row.yml'
pull_request:
paths:
- 'MathCan/RHGaloisRowInputs.lean'
- 'MathCan.lean'
- 'research/rh_proof_distillation/galois_row_input_audit.py'
- 'tests/test_rhd04_galois_sources.py'
- 'research/rh_proof_distillation/GALOIS_ROW_INPUTS.md'
- '.github/workflows/rhd04-galois-row.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
source-pinned-galois:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
path: mathcan
persist-credentials: false
- uses: actions/checkout@v4
with:
repository: leanprover-community/riemann-hypothesis
ref: f150e02623b1e2bbe1f1da8eab5ffee5e930a6a3
path: upstream
persist-credentials: false
sparse-checkout-cone-mode: false
sparse-checkout: |
src/Development/AutomorphicArithmetic/Foundations/GaloisRepresentations/ThetaParseval/HalfIndexLattices/TLiftK.lean
src/Development/AutomorphicArithmetic/Foundations/GaloisRepresentations/ThetaParseval/ThetaKernels/GalTPDefs.lean
src/Development/AutomorphicArithmetic/Foundations/GaloisRepresentations/ThetaParseval/ThetaKernels/TPGHolds.lean
src/Development/AutomorphicArithmetic/Foundations/GaloisRepresentations/ThetaParseval/ThetaKernels/TLiftK.lean
src/Development/AutomorphicArithmetic/Foundations/GaloisRepresentations/IntegralStructures/GeometricFlagBases/GeoOneOfParts.lean
src/Development/AutomorphicArithmetic/Foundations/GaloisRepresentations/IntegralStructures/GeometricFlagBases/GeometricRealizationOfWeightOne.lean
src/Development/AutomorphicArithmetic/Foundations/GaloisRepresentations/IntegralStructures/GeometricFlagBases/WeightOneGeometricRealization.lean
src/Development/AutomorphicArithmetic/Foundations/GaloisRepresentations/IntegralStructures/Development.lean
src/Development/AutomorphicArithmetic/Foundations/GaloisRepresentations/IntegralStructures/GaloisRepresentationsOfThetaLift.lean
src/Development/AutomorphicArithmetic/Foundations/GaloisRepresentations/IntegralStructures/RowSrc.lean
src/Development/AutomorphicArithmetic/Foundations/LocalLanglands/LocalCentralUnits/RecTExists.lean
src/Development/AutomorphicArithmetic/CharacterBoxes/MainConclusion.lean
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Pure-Python source gate and statement mutation tests
working-directory: mathcan
run: python -m unittest tests.test_rhd04_galois_sources -v
- name: Audit original Galois and theta lift source interfaces
working-directory: mathcan
run: |
mkdir -p rhd04
python -m research.rh_proof_distillation.galois_row_input_audit \
--upstream ../upstream \
--output rhd04/source-galois-row-graph.json
- uses: actions/upload-artifact@v4
if: always()
with:
name: rhd04-source-theta-galois-graph
path: mathcan/rhd04/
if-no-files-found: ignore

independent-lean-logic:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
with:
auto-config: false
build: true
build-args: MathCan
test: false
lint: false
use-mathlib-cache: false
- name: Check source-interface implications and axiom inventory
shell: bash
run: |
set -euo pipefail
lake env lean MathCan/RHGaloisRowInputs.lean | tee rhd04-lean-axioms.txt
if grep -Eq 'sorryAx|ofReduceBool|^error:|admit' rhd04-lean-axioms.txt; then
exit 1
fi
- uses: actions/upload-artifact@v4
if: always()
with:
name: rhd04-theta-galois-lean-axioms
path: rhd04-lean-axioms.txt
if-no-files-found: ignore
1 change: 1 addition & 0 deletions MathCan.lean
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,4 @@ import MathCan.NOR46ExactIntegerTrace
import MathCan.RHWindowExponents
import MathCan.RHFamilyWitnesses
import MathCan.RHMainLogic
import MathCan.RHGaloisRowInputs
84 changes: 84 additions & 0 deletions MathCan/RHGaloisRowInputs.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
import MathCan.RHMainLogic

/-!
# RHD-04: Galois row from geometry and theta lifting.

An Init-only logical model of the verified source theorem boundaries.
This module does not recreate GeoOne, TLiftK, Row0b, the genuine
datum Langlands representation, or any arithmetic-geometric proof.
-/

namespace MathCan.RHGaloisRowInputs

universe u

/-- Original source: galoisRepresentations_of_thetaLift composes
the GeoOne result with the TLiftK result and produces Row0b recT. -/
theorem galois_row_from_geometry_and_theta_lift
{GeoOne TLiftK CoreAll Row0 Row0b : Prop}
(geo : GeoOne) (lift : TLiftK)
(produceCore : GeoOne → TLiftK → CoreAll)
(produceRow : CoreAll → Row0)
(strengthenRow : Row0 → Row0b) : Row0b :=
strengthenRow (produceRow (produceCore geo lift))

/-- Source MainConclusion uses the same Row0b witness twice,
and the separately proved RecTExists as its third input. -/
theorem literature_inputs_from_row_and_recT
{Row0b RecTExists : Prop} (row : Row0b) (rec : RecTExists) :
MathCan.RHMainLogic.OpenLiteratureProxy Row0b RecTExists :=
⟨row, rec, row⟩

/-- A fixed initial unitary problem may choose a lifting threshold
before the target dimension and all subsequent datum data are chosen. -/
def UniformEventualLift {Local : Type u}
(Admissible : (d : Nat) → Local → Prop) : Prop :=
∃ d0 : Nat, ∀ d : Nat, d0 ≤ d → ∀ datum : Local, Admissible d datum

/-- The stronger source order of quantifiers implies eventual validity
for each particular later datum datum. -/
theorem uniform_eventual_lift_implies_pointwise
{Local : Type u}
(Admissible : (d : Nat) → Local → Prop)
(h : UniformEventualLift Admissible) :
∀ datum : Local, ∃ d0 : Nat,
∀ d : Nat, d0 ≤ d → Admissible d datum := by
obtain ⟨d0, hd0⟩ := h
intro datum
exact ⟨d0, fun d hd => hd0 d hd datum⟩

/-- The inverse quantifier exchange is invalid in general. Each datum
datum n may require d≥n, without one finite threshold for every n. -/
theorem pointwise_lift_thresholds_need_not_be_uniform :
(∀ datum : Nat, ∃ d0 : Nat,
∀ d : Nat, d0 ≤ d → datum ≤ d) ∧
¬ (∃ d0 : Nat, ∀ d : Nat, d0 ≤ d →
∀ datum : Nat, datum ≤ d) := by
constructor
· intro datum
exact ⟨datum, fun d hd => hd⟩
· rintro ⟨d0, h⟩
have hh := h d0 (Nat.le_refl d0) (d0 + 1)
omega

/-- A separate parameter can change which initial problem is being
lifted, so the threshold need not be uniform across all initial problems. -/
theorem initial_data_can_change_lift_threshold :
(∀ initial : Nat, ∃ d0 : Nat, ∀ d : Nat,
d0 ≤ d → initial ≤ d) ∧
¬ (∃ d0 : Nat, ∀ initial d : Nat,
d0 ≤ d → initial ≤ d) := by
constructor
· intro initial
exact ⟨initial, fun d hd => hd⟩
· rintro ⟨d0, h⟩
have bad := h (d0 + 1) d0 (Nat.le_refl d0)
omega

#print axioms galois_row_from_geometry_and_theta_lift
#print axioms literature_inputs_from_row_and_recT
#print axioms uniform_eventual_lift_implies_pointwise
#print axioms pointwise_lift_thresholds_need_not_be_uniform
#print axioms initial_data_can_change_lift_threshold

end MathCan.RHGaloisRowInputs
70 changes: 70 additions & 0 deletions research/rh_proof_distillation/GALOIS_ROW_INPUTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# RHD-04 | Galois row: geometric realization and eventual theta lift

Live RH proof source pin: `leanprover-community/riemann-hypothesis`
commit `f150e02623b1e2bbe1f1da8eab5ffee5e930a6a3`.
This note investigates the actual character-theorem input branch.

## Two independently supplied mathematical premises

`UpperTheory.Gal.Int.galoisLocalGlobalStrong_recParameter` is built
from `UpperTheory.Gal.Int.galoisRepresentations_of_thetaLift`
with `UpperTheory.TP.K.tLiftK`. The former invokes
`galoisLocalGlobalStrong_of_geometry_lift` on the proof
`UpperTheory.Gal.Int.Geo.geoOne_holds` and the provided lift.

The geometric term `GeoOne` is produced by
`geometric_realization_of_weight_one` using the source
steps theorem, the Kodaira-Spencer/holomorphic Lefschetz step,
and a `PlanEx` construction. The theta-lift term uses
`tLift_holds_k`, built from `tools_holds_k` and
`tLift_of_tools_k` with a theta integrability premise.

These are concrete, source-named theorem inputs rather than
generic placeholders. The mathematical task is to review what
their geometry and lift statements assert and whether their
imported prerequisites are independently justified.

## Two theta lifting propositions agree syntactically

`HalfIndexLattices/TLiftK.lean` defines `UpperTheory.TP.TLiftK`.
`ThetaKernels/GalTPDefs.lean` defines `UpperTheory.TP.TLift_k`.
After replacing the qualified `GoodK` name with the local
namespace spelling and normalizing whitespace, their
entire quantified statements coincide byte-for-byte.

The source states for every admissible initial CM-field datum
and Hermitian input a dimension threshold `d0` such that,
for every `d>=d0` and every later admissible skew-Hermitian
input, character, weight and automorphic representation,
an appropriate lifted representation exists. In particular,
`d0` is chosen before the later data, though it can depend
on the original field, rank and Hermitian input.

`MathCan/RHGaloisRowInputs.lean` proves a conditional logical
Galois-row interface and two quantifier-order counterexamples.
A pointwise threshold `d0(local)` cannot automatically replace
the stronger source threshold selected before all later data.

## Separately supplied local Langlands witness

The final `everyCharacter_of_row` construction passes
`UpperTheory.Zero.LLC.recTExists` separately from the
Galois row. The pinned `RecTExists.lean` source builds
that witness from `artEx`, `cuspEx`,
`GlobalTheory.LocLanglands.exists_isLExt`, dimension and
twist transport, and other explicit representation properties.
The exact source audit records this route independently.

## Verification level

The dedicated RHD-04 CI uses a sparse checkout of **twelve**
source files, requires every original Git blob to match the
published pinned commit and verifies the named source links.
It checks the theta-lift statement equivalence as a normalized
source-text comparison. The independent Lean 4.35/Init
theorems assert only conditional logic and quantifier ordering.

The source-level statements here do not establish the global RH
result, nor constitute a kernel recheck of the 175k-module
published formalization. The further work is actual theorem
dependency extraction for `GeoOne` and `TLiftK` premises.
Loading
Loading