The flipping unit.
ProvedRound7Agreement.exists_flipaether-catalogtropical
The flipping unit. If p is an odd prime and q ≠ p is a prime, there
is a unit of ℤ/pqℤ which is a non-residue mod p and a square (indeed 1)
mod q. This is the CRT witness that translates agreement into disagreement.
theorem Round7Agreement.exists_flip(hp2 : p ≠ 2) (hpq : p ≠ q) :
∃ u : (ZMod (p * q))ˣ, chiP p q u = -1 ∧ chiQ p q u = 1 := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Tropical/Round7AgreementCharacter.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Tropical/Round7AgreementCharacter.lean
import Mathlib
import Definitions.Def_Tropical_Round7AgreementCharacter
/-!
# Round-7 closure AGREEMENT: barrier-2-invariant character aggregates collapse
This file formalises experiment 325 of the round-7 batch. For a semiprime
`N = p q` the **agreement set**
`A(N) = { a ∈ (ℤ/Nℤ)ˣ : (a/p) = (a/q) }`
is invariant under both barrier-2 symmetries (the swap `p ↔ q` and conjugation),
so it was a candidate for a factor-revealing aggregate that escapes the
residue/order classification. It does not:
* `agree_card_two_mul` : `2 · |A(N)| = φ(N)`, i.e. `A(N) = φ(N)/2` exactly, for
every semiprime with an odd prime factor — the count is a *function of `N`
alone* (through `φ(N)`), hence carries no information about `p` and `q`;
* `mem_agree_iff_jacobiSym` : the agreement set *is* the set where the
`N`-computable Jacobi symbol `J(a | N)` equals `1`, so the aggregate collapses
onto the quadratic character mod `N` by character orthogonality.
The proof is a pairing argument: an element `u` that is a non-residue mod `p`
and `≡ 1 (mod q)` (produced by CRT) translates the agreement set bijectively
onto its complement.
-/
open Round7Agreement
open Finset
variable {p q : ℕ}
variable [Fact p.Prime] [Fact q.Prime]
/-! ## The agreement set -/
/-! ## A CRT witness: non-residue mod `p`, trivial mod `q` -/
variable [Fact p.Prime] [Fact q.Prime]Formal statement
theorem Round7Agreement.exists_flip(hp2 : p ≠ 2) (hpq : p ≠ q) :
∃ u : (ZMod (p * q))ˣ, chiP p q u = -1 ∧ chiQ p q u = 1 := by sorrySource