AFTD Auto-Formalizing Theoretical Domains

SMRHN.PlusU1.QuadSol.toQuad

defimported Lean

The construction of a QuadSols from a LinSols and two rationals taking account of the generic and special cases. This function is a surjection.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open SMRHN SMRHN.PlusU1 SMRHN.PlusU1.QuadSol in
open SMνCharges in
open SMνACCs in
open BigOperators in
variable {n : ℕ} in
variable (C : (PlusU1 n).QuadSols) in
def SMRHN.PlusU1.QuadSol.toQuad : (PlusU1 n).LinSols × ℚ × ℚ → (PlusU1 n).QuadSols
Defined in
Physlib, `SMRHN.PlusU1.QuadSol.toQuad`
Lean proof
By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
09 Oct 2026
Axioms
none listed
Built on 32

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open SMRHN SMRHN.PlusU1 SMRHN.PlusU1.QuadSol in
open SMνCharges in
open SMνACCs in
open BigOperators in
variable {n : ℕ} in
variable (C : (PlusU1 n).QuadSols) in
/-- The construction of a `QuadSols` from a `LinSols` and two rationals taking account of the generic and special cases. This function is a surjection. -/
def SMRHN.PlusU1.QuadSol.toQuad : (PlusU1 n).LinSols × ℚ × ℚ → (PlusU1 n).QuadSols := fun S =>
  if h : α₁ C S.1 = 0 ∧ α₂ S.1 = 0 then
    specialToQuad C S.1 S.2.1 S.2.2 h.1 h.2
  else
    S.2.1 • genericToQuad C S.1
See it in the graphDiscuss this resultChallenge it