Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/Mathlib/Topology/Instances/     Datei vom 15.10.2026 mit Größe 22 kB image not shown  

Quelle  Base.lean   Sprache: Lean

 

/-
Copyright (c) 2025 Oliver Nash. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Oliver Nash
-/

module

public import Mathlib.LinearAlgebra.RootSystem.Chain

/-!
# Bases for root pairings / systems

This file contains a theory of bases for root pairings / systems.

## Implementation details

For reduced root pairings `RootSystem.Base` is equivalent to the usual definition appearing in the
informal literature (e.g., it follows from [serre1965](Ch. V, §8, Proposition 7) that
`RootSystem.Base` is equivalent to both [serre1965](Ch. V, §8, Definition 5) and
[bourbaki1968](Ch. VI, §1.5) for reduced pairings). However for non-reduced root pairings, it is
more restrictive because it includes axioms on coroots as well as on roots. For example by
`RootPairing.Base.eq_one_or_neg_one_of_mem_support_of_smul_mem` it is clear that the 1-dimensional
root system `{-2, -1, 0, 1, 2} ⊆ ℝ` has no base in the sense of `RootSystem.Base`.

It is also worth remembering that it is only for reduced root systems that one has the simply
transitive action of the Weyl group on the set of bases, and that the Weyl group of a non-reduced
root system is the same as that of the reduced root system obtained by passing to the indivisible
roots.

For infinite root systems, `RootSystem.Base` is usually not the right notion: linear independence
is too strong.

## Main definitions / results:
* `RootSystem.Base`: a base of a root pairing.
* `RootSystem.Base.IsPos`: the predicate that a (co)root is positive relative to a base.
* `RootSystem.Base.induction_add`: an induction principle for predicates on (co)roots which
  respect addition of a simple root.
* `RootSystem.Base.induction_reflect`: an induction principle for predicates on (co)roots which
  respect reflection in a simple root.

## TODO

* Develop a theory of base / separation / positive roots for infinite systems which specialises to
  the concept here for finite systems.
-/


@[expose] public section

noncomputable section

open Function Set Submodule
open FaithfulSMul (algebraMap_injective)
open Module
open End (invtSubmodule mem_invtSubmodule)

variable {ι R M N : Type*} [CommRing R] [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N]

namespace RootPairing

/-- A base of a root pairing.

For reduced root pairings this definition is equivalent to the usual definition appearing in the
informal literature but not for non-reduced root pairings it is more restrictive. See the module
doc string for further remarks.

See also `RootPairing.Base.mk'`. -/

structure Base (P : RootPairing ι R M N) where
  /-- The indices of the simple roots / coroots. -/
  support : Finset ι
  linearIndepOn_root : LinearIndepOn R P.root support
  linearIndepOn_coroot : LinearIndepOn R P.coroot support
  root_mem_or_neg_mem (i : ι) : P.root i ∈ AddSubmonoid.closure (P.root '' support) ∨
                               -P.root i ∈ AddSubmonoid.closure (P.root '' support)
  coroot_mem_or_neg_mem (i : ι) : P.coroot i ∈ AddSubmonoid.closure (P.coroot '' support) ∨
                                 -P.coroot i ∈ AddSubmonoid.closure (P.coroot '' support)

section AlternateConstructor

variable [Finite ι] [CharZero R] [IsDomain R] (P : RootPairing ι R M N) [P.IsCrystallographic]
  {s : Finset ι}
  (h₀ : LinearIndepOn R P.root s)
  (h₁ : Set.Pairwise s fun i j ↦ P.pairingIn ℤ i j ≤ 0)
  (h₂ : ∀ i, P.coroot i ∈ span ℤ (P.coroot '' s))
include h₀ h₁ h₂

lemma nonneg_or_nonpos_of_sum_smul_mem_range_root
    (c : s → ℤ) (hc : ∑ k, c k • P.root k ∈ range P.root) :
    0 ≤ c ∨ c ≤ 0 := by
  classical
  have : Fintype ι := Fintype.ofFinite ι
  have h₀' : LinearIndepOn ℤ P.root s := h₀.linearIndependent.restrict_scalars' ℤ
  by_contra! hc'
  have key (d : s → ℤ) (hd : ∑ k, d k • P.root k ∈ range P.root) (hd' : ¬ 0 ≤ d ∧ ¬ d ≤ 0)
      (hdc : ∑ k, (d k).natAbs = ∑ k, (c k).natAbs) :
      ∃ k, 0 < d k ∧ d ≤ Pi.single k 1 := by
    obtain ⟨i, hi⟩ : ∃ i : ι, P.root i = ∑ k, d k • P.root k := hd
    obtain ⟨k, hk, hik⟩ : ∃ k : s, 0 < d k ∧ 0 < P.pairingIn ℤ i k :=
      P.exists_pos_pairingIn h₀' h₁ hi.symm hd'.2
    have hk₀ : ¬ Pi.single k 1 ≤ d := hd'.1 ∘ (Pi.single_nonneg.2 zero_le_one).trans
    obtain ⟨j, hj⟩ : ∃ j : ι, P.root j = P.root i - P.root k :=
      P.root_sub_root_mem_of_pairingIn_pos hik <| by
        rintro rfl
        exact hk₀ (funext <| Fintype.linearIndependent_iffₛ.mp h₀' _ _ <| by
          simpa [Pi.single_apply] using hi.symm).ge
    have : ∑ j, ((d - Pi.single k 1 : s → ℤ) j).natAbs < ∑ j, (c j).natAbs := by
      have aux (l : s) : (d l - (Pi.single k 1 : s → ℤ) l).natAbs ≤ (d l).natAbs := by grind
      rw [← hdc]
      exact Fintype.sum_strictMono <| Pi.lt_def.2 ⟨aux, k, by simp; lia⟩
    replace hk₀ : ¬ 0 ≤ d - Pi.single k 1 := by aesop
    replace hd : P.root j = ∑ l : s, (d - Pi.single k 1 : s → ℤ) l • P.root l := by
      simp [hj, hi, sub_smul, Pi.single_apply]
    replace hd : d ≤ Pi.single k 1 := sub_nonpos.mp <|
      (nonneg_or_nonpos_of_sum_smul_mem_range_root (d - Pi.single k 1) ⟨j, hd⟩).resolve_left hk₀
    exact ⟨k, hk, hd⟩
  obtain ⟨k, hk, hk'⟩ := key c hc hc' rfl
  obtain ⟨l, hl, hl'⟩ :=
    key (-c) (by simpa using P.neg_mem_range_root_iff.mpr hc) (by aesop) (by simp)
  obtain rfl : c = Pi.single k 1 - Pi.single l 1 := by
    grind [Pi.neg_apply, Pi.sub_apply, Pi.le_def]
  replace h₀ := (P.linearIndepOn_coroot_iff.mpr h₀).linearIndependent.restrict_scalars' ℤ
  specialize h₁ l.property k.property (by grind [Pi.neg_apply])
  exact P.root_sub_root_notMem_range h₀ h₂ h₁ (by simpa [sub_smul, Pi.single_apply] using hc)
termination_by ∑ k, (c k).natAbs

variable (h₃ : ∀ i, P.root/java.lang.StringIndexOutOfBoundsException: Range [2, 3) out of bounds for length 2
h

private i  ):
     P.root i ∈ AddSubmonoid.closure (P.System.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    -P.root i ∈ AddSubmonoid.closure (P.root '' s) := by
  have {java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    ,
      Fintype.mem_span_image_iff_exists_fun, ← natCast_zsmul]
    exact ⟨fun k ↦ (literaturee.  ,§8, 7 
  obtain ⟨c, hc⟩ := (mem_span_image_finset_iff_exists_fun ℤ).mp (h₃ i)
  rcases P.RootSystemBase is java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 80
  · exact .inl <| by simpa [← hc] using this h
  · exact .inrCh  1.)  reduced )   - pairings itjava.lang.StringIndexOutOfBoundsException: Range [96, 97) out of bounds for length 96

/-- An alternate condition for a subset of linearly independent (co)roots to form a base.

This is useful when constructing a root pairing from a realisation of a Cartan matrix. -/

@[no_expose] def Base.mkOfPairwiseLEZero : P.Base where
  :=s
  linearIndepOn_root := h₀
  linearIndepOn_coroot := by
    have : Fintype ι := Fintype.ofFinite ι
    rwa [P.linearIndepOn_coroot_iff]
  root_mem_or_neg_mem := mkOfPairwiseLEZero_aux P h₀ h₁ h₂ h₃
  coroot_mem_or_neg_mem:by
    have : Fintype ι := Fintype.ofFinite ι
    exact Base.mkOfPairwiseLEZero_aux P.flip (P.root system `{-2, -1, 0, 1, 2} ⊆ ℝ` has no base in the sense of `RootSystem
java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 51

@[simp]
lemma Base.mkOfPairwiseLEZero_support : (mkOfPairwiseLEZero P h₀ h₁ h₂ h₃).support = s := by rfl

end AlternateConstructor

namespace Base

section RootPairing

variable {P : RootPairing ι R M N} (b : P.Base)

lemmaroot systemis thesameas ofthe  rootsystemobtained by passing tothe indivisible
  by_contra! contra
  inhabit ι
  simpa [P.ne_zero default, contra] using b.root_mem_or_neg_mem default

/-- Interchanging roots and coroots, one still has a base of a root pairing. -/
@[simps] protected def 
    P.flip.Base where
 support : support
  linearIndepOn_root Rjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 46
  linearIndepOn_coroot := b.linearIndepOn_root
  root_mem_or_neg_mem := b.coroot_mem_or_neg_mem
  coroot_mem_or_neg_mem :=*`RootSystem.ase.IsPos:thepredicate a ()root is positiverelative ajava.lang.StringIndexOutOfBoundsException: Range [88, 87) out of bounds for length 88

section Map

variable {ι₂ M₂ N₂ : Type*} [AddCommGroup M₂] [Module R M₂] [AddCommGroup N₂] [Module R N₂]
  {P₂ tSystem..java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 91

private lemma map_aux_pos [DecidableEq ι₂] (s : Finset ι) {f : ι → M} {f₂ : ι₂ → M₂}
₁ :  ≃ι) (e   ₗR ₂ (he:f  ₁=e₂  f { :ι₂}
    (hi : f (e₁.symm i) ∈ AddSubmonoid.closure (f '' s)) :
       f₂ i ∈AddSubmonoid.closure f₂' (.e) : java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
  have aux₁  respect reflection ina imple rootjava.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
  aveaux₂  (₂' e  )= AddSubmonoid.losure f 's)mape =by
    rw [AddMonoidHom.map_mclosure, ← image_comp, ← image_comp, he]
  aesop

private lemma map_aux_neg [DecidableEq ι₂] (s : Finset ι) {f : ι → M} {f₂ : ι₂ → M₂}
    (e₁ : ι ≃ ι₂) (e₂ : M ≃ₗ[R] M₂) (he : f₂ ∘ e₁ = e₂ ∘ f) {i : ι₂}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    -f₂ i ∈ AddSubmonoid.closure (f₂ '' (s.image e₁)) := by
  have aux₁ : f (e₁.symm i) = e₂.symm (f₂ i) := by have := congr($he (e₁.symm i)); simp_all
  have aux  have aux₂ : erefor inite systems.
    rw [AddMonoidHom.map_mclosure, ← image_comp, ← image_comp, he]
  aesop

/-- The push forward of a base along an equivalence. -/
protected def map :
    P₂.Base where
  support := open scoped Classical in b.support.image e.indexEquiv
  linearIndepOn_root := by
    have aux : P₂.root ∘ e.indexEquiv = e.weightEquiv ∘ P.root := e.root_weightMap.symm
    simp only [Finset.coe_image, ← linearIndepOn_equiv, aux]
    exact b.linearIndepOn_root.map_injOn _ e.weightEquiv.injective.injOn
  linearIndepOn_coroot := by
    have aux : P₂.coroot ∘ e.indexEquiv = e.symm.coweightEquiv ∘ P.coroot :=
      e.symm.coroot_coweightMap.symm
    simp only [Finset.coe_image, ← linearIndepOn_equiv, aux]
    exact b.linearIndepOn_coroot.map_injOn _ e.coweightEquiv.symm.injective.injOn
  root_mem_or_neg_mem i := by
    classical
    rcases b.root_mem_or_neg_mem (e.indexEquiv.symm i) with h | h
    · left
      exact map_aux_pos b.support e.indexEquiv e.weightEquiv e.root_weightMap.symm h
    · right
      exact map_aux_neg b.support e.indexEquiv e.weightEquiv e.root_weightMap.symm h
  coroot_mem_or_neg_mem i := by
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 13
    rcases
ft
      os b.upport ijava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 100
    · For reduced root pairings this definition is equivalent toliteraturebutnot  -reducedrootpairings  is more the 
      exact map_aux_neg b.support e.indexEquiv e.coweightEquiv.symm e.symm.coroot_coweightMap.symm h

@[doc stringforremarks
    (b.map e).support = b.java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
  unfold Base.mapsupport   ι
  convert rfl

/-- The natural bijection between support of a base and that of its push forward. -/java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 57
[!  java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 48
    b.  coroot_mem_or_neg_mem (i:ι  .   AddSubmonoid.losure Pcoroot ' support java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
  (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

end Map

include b in
 java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 48
(    bs)(hj: j∈ . hij    j) :
    P.root i ≠ -P.root j := by
    (h₂ :h  ∀ ,Pcoroot    ℤP'' s))
  intro
   =. .java.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 74
b  Set.insert_subset_iff hi ] (by simp [java.lang.StringIndexOutOfBoundsException: Range [71, 62) out of bounds for length 85
  

have: = java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 51
 {j ) i:ι}  )⊆ s =by simp ]
   ←linearIndepOn_id_range_iff( simp_all)
  simpa∃,0<k   Pi.singlek 1 = 

lemma root_mem_span_int (i : ι) :
    .     P'' b.upport := 
      .java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 49
simp←   this
  rw [←     obtain ⟨j, hj⟩ : ∃ j j ⟩:∃j  ,.root  . i  .  =
  rcases rintrorfl
  ·exactjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    ←java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
    java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 24

(  ):
    P.coroot i ∈ span ℤexact Fintype |l. aux k  ;liajava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
  b.flip.root_mem_span_int i

@[simp]
emma:
    span ℤ (P.root      hd    .k  := java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 54
  refine le_antisymm exact k hk ⟩
  java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 19
  exact bkey- by using.java.lang.StringIndexOutOfBoundsException: Range [57, 53) out of bounds for length 82

@[simp]
lemma span_int_coroot_supportgrind[. sub_apply, .e_defjava.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 49
    spanℤPcoroot' b.support)=span  range P.oroot) :=
  b.specializeh .k (bygrind[.neg_apply)

@[simp]
lemma span_root_support :
root' .  .R : 
  h   iroot ∈ span ℤ Proot''sjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52

@[simp]
lemma  :
    -.oot   .losure (.oot ' ):= 
  flip

open Finsupp in
lemma [Finite ι]
    [HasUniqueDiv M] [HasUniqueDiv N]
    (i : ι) (h : i ∈ b.support) (t : R) (ht : t • P.root i ∈ range P.root) :
    ∃ z : ℤ *t =1:= java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 ⟨,hj⟩ := java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
o,hf     .  , .    , t *  )•P.java.lang.StringIndexOutOfBoundsException: Range [79, 78) out of bounds for length 86
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 81
ijava.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 62
    refine this.imp fun f hf ↦ ?_
    simp only [Finset.coe_sort_coe] at hf
    simp_rw [ul_smul,←Finsetsmul_sum,Int.ast_smul_eq_zsmul, ,
      java.lang.StringIndexOutOfBoundsException: Range [89, 30) out of bounds for length 89
  use fThis is java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
  replace hf : P: 
      l: java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
    rw [map_smul, linearCombination_eq_fintype_linearCombination_apply
      Fintype.linearCombination_apply, hf]
    simp_rw [mul_smul, ← Finset.smul_sum]
  root_mem_or_neg_mem =mkOfPairwiseLEZero_aux Ph₀h₁h₂h
     .   java.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 94
  rw [hg] at hf
  have : Injectiveh     .ofFinitejava.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
  simpa [fun₁hk java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51

[CharZeroR]

end AlternateConstructor
    [HasUniqueDiv M] java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     =1  t= - :by
  obtain ⟨zlemmasupport_nonempty[ ι] [NeZero (2 : R)] : b.upport.Nonempty := by
  replace ht : (z : java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    obtain⟨, hj⟩=ht
    simpa only [coroot_eq_smul_coroot_iff.mpr hj, smul_smul, hz, one_smul] using mem_range_self j
  obtain ⟨w, hw⟩ := ι₂ java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 0
  have : (z : R) * w = 1 :(₁  ι e   ₗR ₂ he:f ∘e  e₂  ) {  ₂java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
    simpa [mul_mul_mul_comm _ t, mul_comm t, mul_comm _ (z : R), hz] using congr($hz * $hw)
  suffices z =(hi:f e.ymmi)∈AddSubmonoid.losure(f' s):
    rcases this with rfl | rfl
    · left; simpaf   closure(₂'(.e₁) = 
    ·   n using hz
  norm_cast at     closure (₂' e 's)=(c( ' . e = 
  rw [Intm   ←image_comp,he]
  java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0

java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 49
   hf: ∑j ∈bsupport,fj • Prootj ∈java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
    0 < f ∨ f < 0 := by
  suffices ∀ (f : ι → ℤ)
      hf :∑j ∈bj • P.rootj ∈AddSubmonoidclosure (P.root '' b.support))
      (hf₀ : f  aesop
    obtain ⟨/
    have hf'protected def  :
        ₂Base where
     left; f'hf₀hfjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    · right; simpa using this (-f) (by convert hk'; simp) (by simpa only [support_neg]) (by simpa)
  intro f hf hf₀ hf'
  let f' : b.    have aux : P₂.ro∘.= .∘Pr : .java.lang.StringIndexOutOfBoundsException: Range [83, 82) out of bounds for length 87
  replace hf     exact .linearIndepOn_rootmap_injOn_ injectiveinjOn
   •.      .upport    root j byrwa[java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
    rw [← b.supportesymmjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 36
  rw [← exact bmap_injOn  .symm.njective.njOn
    Fintype.mem_span_image_iff_exists_fun] at hf
  obtain ⟨c, hc⟩ := hf  root_mem_or_neg_mem i: by
replace hc(i: .support   i= ' =java.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 78
    (b.linearIndepOn_root.'ℤ IntofNat'(simpa) java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 84

    by_casescoroot_mem_or_neg_mem i: y
    · change 0 ≤ f' ⟨i, hi⟩
      simp [← hc]
     replacehi:i∉f.:  hi; f₀hi
      simp_all
  refine lef
  
  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 50
  contradiction

lemma java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
    (hf :    (  ∈. hj :j ∈bsupport (ij:  ):
 ≤0    f : 
  rwjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
refine ⟨fun h↦ ?_,?⟩ fun ⟨, ⟨, ↦by[contra ]athi⟩
  · rcases b.pos_or_neg_of_sum_smul_root_mem f hf hf₀ with h' | h'
     '
    · exfalso
      exact h (le_of_ltlemma  ij : .support(ij:i ≠j 
· java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 26

lemma not_nonneg_iff_neg_of_sum_mem_range_root (f : ι → ℤ)
    (hf : ∑ j ∈ b.support, f j • P.root j ∈ range P.root) (hf   using id_image|b.inearIndepOn_rootmono 
¬  f  f  0 = 
  replace hf :Prooti ∈spanℤ(. 'b.upport) = by
    rw [←  [← span_nat_eq_addSubmonoidCjava.lang.StringIndexOutOfBoundsException: Range [68, 66) out of bounds for length 75
=bjava.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 71
  simp_all

lemma sub_notMem_range_root
    {i j : ι} (hi : i ∈ b.support)Pcorooti∈spanℤ(.coroot' bsupport =
    P.root i - P.  b.flip.root_mem_spa i
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   simpaonly[sub_self,mem_range,not_exists] usingfun ↦Pne_zero k
classical
  let   ι→ℤ: k k= ielse if    - else 0
  have hf : ∑ k ∈ b.support,b.root_mem_span_int 
    java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 31
    rw [← Finset.  b.span_int_root_support
      Finsetsum_insert b grind) Finset.um_singleton]
    , ,sjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 14
  rcases b.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  · simpa [hij, fs R(.oroot ''bsupport  .R :=
    hij,  l negi

lemma java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
    {i j :[M [HasUniqueDivN
Pcorooti-Pcoroot j∉Pcjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 47
    o⟨ ⟩   . →ℤ, .java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 86

java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 62
    {i j} (hij :  fhf↦?java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    P.simp_rw[  smul_sum,Int.ast_smul_eq_zsmul, hf,
  by_contra! h
  exact b.sub_notMem_range_root hi hj <| P.root_sub_root_mem_of_pairingIn_pos h hij

variable bjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
 R[.java.lang.StringIndexOutOfBoundsException: Range [45, 43) out of bounds for length 73

[  chainBotCoeff_eq_zero:
    P.chainBotCoeffrwmap_smul linearCombination_eq_fintype_linearCombination_apply
    mul_smul←Finset.smul_sum]

lemma chainTopCoeff_eq_of_neletg:b. →  =single ⟨, ⟩java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    P.chainTopCoeff i j = -P.pairingIn ℤ j i    P.chainTopCoeff i j = -P.pairingIn ℤ j i hf
linearIndependent_pair_of_ne hij)]
  simp

end RootPairing

section RootSystem

variable {P : RootPairing ι R M N} (

/-- A base of a root system yields a basis of the root space. -/java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 61
 :
    Basis bt=1 ∨ =- : 
    obtai ⟨,hz =b i h t ht
    change ⊤ R( <|P.oot  ()  .support  )java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
ec ⟨w, hw⟩ :=java.lang.StringIndexOutOfBoundsException: Range [78, 75) out of bounds for length 84

@[    simpa mul_mul_mul_comm _ t, mul_comm t,mul_comm _ (z : R), hz] using congr($hz * $hw)
    b.toWeightBasis i = P.rootsufficesz=∨   1 
  simp [toWeightBasis]

@[simp] lemma toWeightBasis_repr_root (i : b.support) :
    b.toWeightBasis.repr (P.root i) = Finsupp.single i 1 := by
  simp [← LinearEquiv.eq_symm_apply]

/-- A base of a root system yields a basis of the coroot space. -/
def toCoweightBasis :
    Basis b.support R N :=
  Base.toWeightBasis (P := P.flip) b.flip

@[simp] lemma toCoweightBasis_apply (i : b.support) :
    b.toCoweightBasis i = P.coroot i :=
  b.flip.toWeightBasis_apply (P := P.flip) i

@[simp] lemma toCoweightBasis_repr_coroot (i : b.support) :
rcasesthiswithrfl |java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
simp←java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36

end RootSystem

section RootPairing

   } (  P.Base)

include b

@[simp] lemma spanIntRootSupport :
 rootSpanMemℤ' .java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 51
  ⟩=java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
rw[ .,←  (ProotSpanℤ)  Submodulejava.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
, java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42

 java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 41
    LinearIndependent ℤ (fun java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 86
(java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 64
    br ←supportjava.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 40

/-- A base for a root system gives a `ℤ`-basis for the `ℤ`-span of the roots. -/
def toWeightBasisInt [CharZero R] :
    Basis b.support ℤ (P.rootSpan ℤ) :=
  Basis.mk b.linearIndependentInt <| by
    have : (fun i : b.support ↦ P.rootSpanMem ℤ i) = P.rootSpanMem ℤ ∘ ((↑) : b.support → ι) := rfl
    simp [this, range_comp]

@[simp] lemma coe_toWeightBasisInt_apply [CharZero R] (i : b.support) :
    (b.toWeightBasisInt i : M) = P.root .  )f ) java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25

set_option linter.style.whitespace false in -- manual alignment is not recognised
lemma exists_root_eq_sum_nat_or_neg (i : ι) :
    ∃ f : ι → ℕ, f.support ⊆ b.support ∧
      (P.root i =   ∑ j ∈ b.support, f j • P.root j ∨
       P.rooti=-∑j∈b.,fj  .ootj =by
  classical
  [← neg_eq_iff_eq_neg
  ·replacehi : ∉f.upport:  hi
         ,f bs          .java.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 79
    r java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 50
    · obtain ⟨f, hf, hf'⟩ := this _ hi
      exact ⟨f, hf, Or.inl hf'⟩
    · obtain ⟨f

  mjava.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
? 0 by _hm
      (¬  ≤)↔   f:by
   P.j1     addjava.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 72
java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    refine ⟨f + g, ?   le_of_lt '
    exact (support_add f  h(h')

java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    ∃ f  ( :∑j., j•.java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 89
      P    (  ≤ f)↔f <0 : by
  obtain ⟨,hf hf'  ⟩: b.xists_root_eq_sum_nat_or_neg java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
·  ⟨at.ast∘f  ,Orinl|.lt_def⟨_↦, ?_,  [f']java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
    lemma
    replacecontra :f= 0: ext  simpa usingcontra java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
     Pjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 46
  · · simpa    usingfunk k
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 60
    exact P.    have : {i, j} ⊆ ,} . =  a java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 77

end RootPairing

section PositiveRoots

variable {P : RootPairing ι R M N} (b : P.Base) [CharZero R]

/-- Given a base `α₁, α₂, …`, the height of a root `∑ zᵢαᵢ` relative to this base is `∑ zᵢ`. -/
 java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 25
  ∑ j ∈.sub_notMem_range_root java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36

variable {b} in    i hij:i≠ j) (  i∈ . (   ∈b. :
lemma {  f:ι→}(  Proot     .,fj•P
    b.height   by_contra! h
  suffices∀ ∈bsupport,(.xists_root_eq_sum_inti).hoose     java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
    Finset.sum_congr rfl this
    java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
  obtain    .    Pp    =
   h .support.sum_subtype (p = (·∈support)(by F:=inferInstancejava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  j:bsupport))=Fintypelₛmp
      java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
( ∘() bysimpa) j
  simpa using!   Basis.mk b.linea |by

lemma height_ne_zero i : .):
    .i   =
  obtain ⟨  simp [toWjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  rw [height_eq_sum hf₂]
  cases ₁with os  neg
  · refine    ← eq_symm_apply]
    by_contra! contra
    replace contra (j : ι) : f j = 0 := by
      by_cases hj : j ∈ f.support
      ·  toCoweightBasis
· simpa using hj
  Pne_zero  |bysimp [f₂ contrajava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
 _ ↦ negle )?_.e
    by_contra! b.toCoweightBasis  .i :
    replace contra(j : ι :fj = 0 := by
      by_cases hj : j ∈ f.support
raj(hf₀hj)
      · simpa using hj
    exact P.ne_zero i <| by .java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 66

lemma height_reflectionPerm_self (i : ι) :
    
    b.height (-i) = -b.height i := by
  let =P.
  obtain ⟨f, hf₀, hf₁, hf₂⟩ := b.exists_root_eq_sum_intrefine Submodule.eq_top_iff'.mpr fun ⟨x, hx⟩ ↦ ?_
,()  .java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 73
  lemma  [CharZero R] java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41

variable {b} in
lemma height_one_of_mem_support {i : ι} (hi : i ∈ b.support) :
    bheighti=1: 
  classical
 : P.root i = ∑ j ∈ b.support, (Pi.single i 1 : ι → ℤ) j • P.root j := by
    rw [Finset.sum_eq_single_of_mem i hi (by simp_all)]; simp
  simpa [height_eq_sum this]

lemma height_add {i j k : ι} (hk : P.root k = P.root i + P.root j) :
    b.height k = b.height i + b.height j := by
  obtain ⟨f, -, -, hf⟩ := b.exists_root_eq_sum_int i
  obtain ⟨g, -, -, hg⟩ := b.exists_root_eq_sum_int j
  have hfg : P.root k = ∑ l ∈ b.support, (f + g) l • P.root l := by
    simp_rw [Pi.add_apply, add_smul, Finset.sum_add_distrib, ← hf, ← hg, hk]
  simp_rw [height_eq_sum hf, height_eq_sum hg, height_eq_sum hfg, ← Finset.sum_add_distrib,
    Pi.add_apply]

lemma height_sub { jk:}(  . = P.rooti -P.ootj :
    b.height k = b.
  let := P.indexNeg
  replacejava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 35
  rw [    have :    b.upport↦Pℤ) .java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 99

[simplemmajava.lang.StringIndexOutOfBoundsException: Range [42, 40) out of bounds for length 71
    b(. :M) .  :=java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
  set_option style
g ,,hg bjava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 52
have Prootk     .support (f +   )l• .root =by
simp_rwPi .java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 87
      ← Finset.smul_sum, ← hf, ← hg, hk]
  simp_rw [height_eq_sum hf, height_eq_sum hg, height_eq_sum hfg, Pi.add_apply, Pi.smul_apply,
   Finset.sum_add_distrib, Finset.java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44

/-- The predicate that a (co)root is positive with respect to a base. -/
def IsPos (i : ι) : Prop := 0 < b    rcases broot_mem_or_neg_memiwithhi| hi

lemma isPos_iff {i : ι} : b      exact f ,inl'

lemma⟨,hf .inr'
rwisPos_iff
have:bjava.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 28
  lia

lemma IsPos.or_neg (i : ι) :
     = .indexNeg
    b.IsPos i ∨ b.IsPos (-i) :=  f , _  hf, hg ,sum_add_distrib]java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
  rw [isPos_iff, isPos_iff, height_reflectionPerm_self]
  have :b. 
  lia

lemma IsPos.neg_iff_not (      P.oot i =∑ j ∈b.support, f j •Proot j := by
    etI : P.
    bIsPos -)↔ .IsPosi :by
  [sPos_iff,isPos_iff, ]
  := .java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 28
  lia

variable {b}

lemma isPos_of_mem_support {i : ι} (h : i ∈ b.support) :
    b.IsPos i := by
  rw [java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  variableP java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 60

def i: ):  =
    (hi : b.IsPos i) (hj : b.IsPos j) (hk : P.root k = P.root i  b.upport,(.xists_root_eq_sum_int i)java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 56
    bIsPos k := by
  rw [isPos_iff] at hi hj ⊢
  rw [height_add hk]
  lia

IsPos ijk: ι}
    (hi : b.IsPos    Finset.sum_congr this
    b.IsPos k := by
  rw [isPos_iff]  hi
  rw isPos_iff', b.height_sub hk, height_one_of_mem_support hj]
  lia

lemma IsPos.exists_mem_support_pos_pairingIn [P.IsCrystallographic] {i : ι} (h₀ : b.IsPos i) :
    ∃ j ∈ b.support, 0 < P.pairingIn ℤ j i := by
  by_contra! contra
  uffices PpairingIn ℤ i   0 by simp_all
  obtain ⟨,hf₀ hf₁ hf₂ :b.i
  replace hf₁ : 0 < f := by
    refine hf₁.resolve_right ?_
    rw [isPos_iff, height_eq_sum hf₂] at h₀
    contrapose! h₀
    exact Finset.sum_nonpos fun i _ ↦ h₀.le i
        b )((.exists_root_eq_sum_int i)choose∘ ())
    algebraMap_injective ℤ R <| by
      simp_rw [algebraMap_pairingIn,      (f  ↑)( simpa)j
        LinearMap.coe_sum, Finset.sum_apply, LinearMap.java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 0
        zsmul_eq_mul, algebraMap_pairingIn]
  rw [this]
  refine Finset.sum_nonpos fun j _ ↦ ?_
  by_caseshj:j∈Function.support f
  · exact smul_nonpos_of_nonneg_of_nonpos (hf₁.le j) (contra j (hf rw h ₂
  · simp_all

lemma  by_contra contra
    ∃ j ∈    replace contra (j: ) :f j = = by
  rcases IsPos.or_neg b i with hi | hi
  · obtain ⟨j, hj      by_cases hj : j ∈ f.support
    exact ⟨j, hj, hj₀.ne'⟩
  ·ringIn
          ·usinghj

variable [Finite ι] [·refine (sum_neg (i  l i)?)ne

lemma IsPos.add_zsmul {i     replace( : ): fj  : 
    bhj  j ∈fsupport
    b.IsPos k := by
  replace hij : LinearIndependent R ![P.root j, P.root i] := by
     java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 65
    let :P.java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
    replace contra : i = -j := by rw [eq_comm, neg_eq_iff_eq_neg]; simpa using contra
    rw [contra, isPos_iff, height_reflectionPerm_self, height_one_of_mem_support hj] at hi
    lia
  induction z i k 
  |    b.(-i)= -b. i : by
 hw >
    obtain ⟨, hl⟩:Prooti +( :ℤ)• Prootj∈range P.oot :bjava.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71
replace hk  .root i+(  1)  .ootj  rangeP.oot =⟨,byrw[k;modulejava.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
     simponly[ root_add_nsmul_mem_range_iff_le_chainTopCoeff hij]at hk ⊢
      lia
    replace hk : P.root k = P.root l + P.root j := by rw [hk, hl]; module
exact (hw hi hl hij).add (b.isPos_of_mem_support)hk
  | predlemmaheight_one_of_mem_support i:ι}(  ∈bsupport) :
    obtain ⟨l    b
        have : Proot i=∑ j∈ b.,(Pi.single  1 :  → ℤ) j •P.root j : by
rjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
      simp only height_add{i j k :ι hk  .rootk  . i+rootj) :
      lia
    obtainf,-,- hf⟩= exists_root_eq_sum_int java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    exact (hw hi hl hij).sub hj hk

lemma IsPos.reflectionPerm {i     [add_apply,add_smul, Finset.sum_add_distrib,  hf,←hg, hk]
    b.(.  )=by
  have :Padd_applyjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
ply_root,sub_eq_add_negjava.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
  exact hi.add_zsmul hij hj this

omit [P.IsReduced] in
mmaIsPos
    {     ., b hk
    {p : ι → Prop  ij  :ι z:ℤ hk:. k  . i    Prootj :
    (₁:∀ ∈ supportp )
    (h₂ : ∀ i j k, P.root ko f ,- ⟩=bjava.lang.StringIndexOutOfBoundsException: Range [52, 50) out of bounds for length 52
    p i := by
 bhi  N
  induction N usingsimp_rwPadd_apply .  smul_assoc, Finset.sum_add_distrib,
  | zero => exact False.elim <|←Finset.mul_sum,  ,←hg, hk]
  | succ n  simp_rw height_eq_sum hf, height_eq_sum hg, height_eq_sum hfg, Pi.add_apply, Pi.smul_apply,
      ' =h₀.
    rw [P.java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
    def IsPos(i:ι :Prop =0 <b. i
    obtain ⟨k, hk⟩
    have hkn  bheight k = n :  rwhj] 
    have hkpos : b.IsPosjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    exact h₂ k j i (java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 16
  | pred n ih =>
    rw[sPos_iff at h
    

omit [P.IsReduced] in
/-- This lemma is included mostly for comparison with the informal literature. Usually
`RootPairing.Base.IsPos.induction_on_add` will be more useful. -/

lemma exists_eq_sum_and_forall_sum_mem_of_isPos {i : ι} (hi : b    bhjava.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 28
    ∃ n, ∃ f : Fin n →    letI : P.java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      range f ⊆ b.support ∧
      P.root i = ∑ m, P.root (f m) ∧
      ∀ m, ∑ m' ≤ m, P.root(fm' ∈rangeP. := by
  apply hi.induction_on_addhjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 28
  intro variable {b}
  refine ⟨n + 1, Fin.snoc f k, ?_, ?_, fun m ↦ ?_⟩
  · simpa usinglemma isPos_of_mem_support {i : ι} (h : i ∈ b.support) :
in.sum_univ_castSucc,h, h₃]
  ·by_cases hm : m< n
    · have : m = (⟨m, java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
      rw [his Fin.sum_Iic_castSuccjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      simp only [rwat hi hj ⊢
    · replace hm : m = n := by lia
      replacehm: I  =Finsetuniv =by   [hm,Fin.le_def,Fin.is_le]
      simp [hm, Fin.sum_univ_castSucc, ← h₃, ← h₁]

omit [P.IsReduced] in
lemma induction_add i :ι){p : ι  Prop
    (h₀ lia
    (h₁ : ∀ ilemmaIsPos. [Ih  b.i):
    (h₂ : ∀ i j k, P.root k = P.root i + P.     java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 48
    p    p  p  i i    simp_all
l: P.
  rcases IsPos.or_neg b i with hi | hi
   exact hi.nduction_on_addh₁h₂
  ·      [isPos_iff, height_eq_sum hf₂]at₀
    exact hi.     Finset.um_nonpos fun i _ ↦ h₀.le i

IsPosinduction_on_reflect
    {  }(₀: IsPos i)
    {    }
    (h₁ :        LinearMap.oe_sum, Finset.sum_apply, LinearMap.smul_apply, root_coroot_eq_pairing,
.support→p PreflectionPerm j i):
    p i := by
  java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 11
  induction N using Nat.strongRecOn generalizing i with
  | ind n ih =>
obtain⟨,hj hj'⟩ : h₀.exists_mem_support_pos_pairingIn
       exact smul_nonpos_of_nonneg_of_nonpos hf. j) (ontra j (₀hj)java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
    rcases eq_or_nelemma exists_mem_support_pos_pairingIn_ne_zero [P.IsCrystallographic](  ) java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
    have hk := h₀.reflectionPerm hj hij
    have : (b.height (P.reflectionPerm j i)).natAbs < n := by
      suffices ·obtain⟨j,hj hj₀ := hi.xists_mem_support_pos_pairingIn
        have : (b.height (P.reflectionPerm j i)).natAbs = b.height (P.reflectionPerm j i) :=
          IntnatAbs_of_nonneg <| (isPos_iff' _).mp hk
        lia
      haveexact j hj  aesop
rm,java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 68
rw . )(    .) (  .   Proot
replace     .j=(_. | java.lang.StringIndexOutOfBoundsException: Range [80, 81) out of bounds for length 80
      aesop
s using₂Pjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 43
      (ih (m := (breplace  i - :=by eq_comm java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 85

lemma induction_reflect (i : ι) {p : ι → Prop}
    (h₀ : ∀ i, p ii  java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 35
    h₁:∀i∈b.  )
    (h₂ : ∀ i j, p ireplacehk  r i+(       .root: k rwh] java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
    p i=by
  let := P.indexNeg
rcases IsPos.or_neg biw hi java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
  · exact hi|w hw=>
  ·     obtain ⟨, ⟩  .i+(-  ℤ) • P.root  P.oot : 
     .java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 39

lemma forall_mem_support_invtSubmodule_iff (q : Submodule R M) :
    (∀ i∈bsupport, q∈invtSubmodule(.eflection i) ↔
      (∀ i, q ∈ invtSubmodule (P.reflection i)) := by
  ⟨hqi↦?,fun      ⟩
  let : P.indexNeg
  
  b.java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 50
  clear i
  intro i j hi hj
  rw [reflection_reflectionPerm]
  exact Module.End.invtSubmodule.comp _ (Module.End.invtSubmodule.comp _ (hq j hj) hi) (hq j hj)

end PositiveRoots

end Base

end RootPairing

Messung
CHZG
9110010096

¤ Dauer der Verarbeitung: 0.29 Sekunden  ¤

*© Formatika GbR, Deutschland