cfahlgren1's picture
download
raw
3.08 kB
import Mathlib
import OAI.Probability.CriticalPercolation.Modular.OrbitalMassTransport
namespace OAI
section
noncomputable section
open Set
open scoped Classical BigOperators
namespace CriticalPercolation.BondGraph
variable {V E : Type*} (G : BondGraph V E)
lemma suborbitCard_mul_modularRatio (hc : G.fullGraph.Connected)
(hl : G.LocallyFinite) (x y : V) :
(G.suborbitCard y x : ℝ) * G.modularRatio x y = G.suborbitCard x y := by
unfold modularRatio
have hn : (G.suborbitCard y x : ℝ) ≠ 0 :=
ne_of_gt (Nat.cast_pos.mpr (G.suborbitCard_pos hc hl y x))
field_simp
namespace OrbitRepresentatives
variable (R : G.OrbitRepresentatives)
lemma tilted_massTransport (hc : G.fullGraph.Connected) (hl : G.LocallyFinite)
(F : V → V → ℝ)
(hF : ∀ (φ : G.Aut) x y, F (φ.vertex x) (φ.vertex y) = F x y)
(hrow : ∀ x, (Function.support (F x)).Finite)
(hcol : ∀ y, (Function.support (fun x => F x y)).Finite) :
(∑ x ∈ R.roots, ∑' y, F x y) =
∑ y ∈ R.roots, ∑' x, F x y * G.modularRatio x y := by
let F' := fun x y => F y x * G.modularRatio y x
have hF' (φ : G.Aut) (x y : V) : F' (φ.vertex x) (φ.vertex y) = F' x y := by
simp only [F',hF,Aut.modularRatio]
have hc' (x : V) : (Function.support (F' x)).Finite := by
apply (hcol x).subset
intro y hy
exact fun hz => hy (by simp only [F',hz,zero_mul])
have hs : Summable (weightedRow G R (fun _ => 1) F) :=
summable_of_hasFiniteSupport (weightedRow_finite G R _ F hrow)
have ht : Summable (weightedRow G R (fun _ => 1) F') :=
summable_of_hasFiniteSupport (weightedRow_finite G R _ F' hc')
have heq : (∑' p, weightedRow G R (fun _ => 1) F p) =
∑' p, weightedRow G R (fun _ => 1) F' p := by
calc
_ = ∑' q : G.PairOrbit, ∑' p : (pairMap G R) ⁻¹' {q},
weightedRow G R (fun _ => 1) F p :=
(hs.hasSum.tsum_fiberwise (pairMap G R)).tsum_eq.symm
_ = ∑' q : G.PairOrbit, ∑' p : (pairMap G R) ⁻¹' {G.swapPairOrbit q},
weightedRow G R (fun _ => 1) F' p := by
apply tsum_congr
intro q
induction q using Quotient.inductionOn' with
| h p =>
change (∑' z : (pairMap G R) ⁻¹' {G.pairOrbit p.1 p.2},
weightedRow G R (fun _ => 1) F z) =
∑' z : (pairMap G R) ⁻¹' {G.pairOrbit p.2 p.1},
weightedRow G R (fun _ => 1) F' z
rw [fiber_sum G R hc hl _ (fun _ _ => rfl) F hF,
fiber_sum G R hc hl _ (fun _ _ => rfl) F' hF']
simp only [one_mul,F']
rw [mul_left_comm,suborbitCard_mul_modularRatio G hc hl,mul_comm]
_ = ∑' p, weightedRow G R (fun _ => 1) F' p := by
exact (G.swapPairOrbit.tsum_eq (fun q =>
∑' p : (pairMap G R) ⁻¹' {q}, weightedRow G R (fun _ => 1) F' p)).trans
(ht.hasSum.tsum_fiberwise (pairMap G R)).tsum_eq
rw [tsum_weightedRow G R _ F hrow,tsum_weightedRow G R _ F' hc'] at heq
simpa only [one_mul,F'] using heq
end OrbitRepresentatives
end CriticalPercolation.BondGraph
end
end
end OAI

Xet Storage Details

Size:
3.08 kB
·
Xet hash:
2a96f718ab6e5f2e1a7a122309a7e1dd541c587a1f9375f275a6a61378821043

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.