# VWin from three inputs

## Statement

The theorem has three hypotheses.

1. `O : OpenImageCondition`. This is [the structure OpenImageCondition](/step/open-image-condition-def/), a record with one field of type `RowT`.
2. `bc : BaseChangeIsobaricN`. This is [the statement BaseChangeIsobaricN](/step/base-change-isobaric-n-def/), an isobaric base change from unitary groups to $\mathrm{GL}_n$ over CM fields.
3. `gal : RowT`. The proposition `RowT` is defined as `Row0b fun h rc => IsRecT h rc`, the Galois row with the local condition `IsRecT`.

The conclusion is [the window bound VWin](/step/vwin-def/).


## Lean

```lean
theorem UpperTheory.One.Join.automorphic_window_of_inputs (O : _root_.UpperTheory.LiteratureTheorems.OpenImageCondition) (bc : _root_.PositivityTheory.Rg.BcN.BaseChangeIsobaricN) (gal : _root_.UpperTheory.V.Z.Win.RowT) : UpperTheory.Top.VWin
```

The declaration is in `Development/AutomorphicArithmetic/AutomorphicVarieties/ModularityArgument/ThresholdArguments/DenseThresholdCases/TopMainZj.lean`, line 71. Its [page](/code/decl/?n=UpperTheory.One.Join.automorphic_window_of_inputs) has the full list of what it uses and what uses it, and a link to the source.

## Proof

The proof is one application. It applies [VWin from the rank n inputs](/step/v-window-of-depth-zero-residual-bc-cm/) (`v_window_of_depth_zero_residual_bc_cm`) to the four arguments `O`, `bc`, `gal` and `cm_abelian_inputs_from_literature O`. The fourth argument comes from [the CM and abelian variety inputs](/step/cm-abelian-inputs-from-literature/). It has the type `LiteratureCMHypothesis`.

## Notes

The theorem only adds one argument, the CM and abelian variety package, to `v_window_of_depth_zero_residual_bc_cm`. That package takes `O` as an argument, but no theorem that builds its fields reads `O` (see the notes of [the CM and abelian variety inputs](/step/cm-abelian-inputs-from-literature/)).

The only user is [VWin from Row0b](/step/vwin-of-row/), which passes the same hypothesis as `O` (inside `OpenImageCondition.mk`) and as `gal`.

## Uses

- [The statement BaseChangeIsobaricN](/step/base-change-isobaric-n-def/), the step for `PositivityTheory.Rg.BcN.BaseChangeIsobaricN`.
- [The structure OpenImageCondition](/step/open-image-condition-def/), the step for `UpperTheory.LiteratureTheorems.OpenImageCondition`.
- [The CM and abelian variety inputs](/step/cm-abelian-inputs-from-literature/), the step for `UpperTheory.One.Join.cm_abelian_inputs_from_literature`.
- [VWin from the rank n inputs](/step/v-window-of-depth-zero-residual-bc-cm/), the step for `UpperTheory.One.Join.v_window_of_depth_zero_residual_bc_cm`.
- [The window bound VWin](/step/vwin-def/), the step for `UpperTheory.Top.VWin`.
- The named result Galois representations attached to regular algebraic polarised cuspidal automorphic representations of GL(n) over CM fields, with local-global compatibility, [`UpperTheory.LiteratureTheorems.OpenImageCondition`](/code/decl/?n=UpperTheory.LiteratureTheorems.OpenImageCondition). The page of [named results](/proof/named-results/) gives its citation.

The proof cites these declarations, but their steps are not written yet. The text above tells what each one gives: [`UpperTheory.V.Z.Win.RowT`](/code/decl/?n=UpperTheory.V.Z.Win.RowT).

## Used by

- [VWin from Row0b](/step/vwin-of-row/)

## Status

Drafted. The text follows the Lean code, but no person has checked it against the code with the rules of spec 05.7 yet. If you check it, [tell us](https://github.com/tamnd/riemann/issues/new?template=error.yml).

A model wrote the first draft (`writer@claude-opus-5-5`). A person checks it before its status goes up.
