math / data /lean /OAI /GroupTheory /SimpleAmenable /Homology /ConfigurationResolution.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.07 kB
import Mathlib
import OAI.GroupTheory.SimpleAmenable.Configurations.PolygonFixedTrackProgress
import OAI.GroupTheory.SimpleAmenable.Homology.ConfigurationEquivariance
namespace OAI
section
section
open scoped symmDiff
namespace SimpleAmenable
open scoped commutatorElement
open scoped commutatorElement
section ConfigurationResolution
open Classical CategoryTheory Finsupp
namespace ConfigurationChains
variable {V : Type*} {R : V β†’ V β†’ Prop}
noncomputable def complex (R : V β†’ V β†’ Prop) : ChainComplex (ModuleCat β„€) β„• :=
ChainComplex.of (fun n => ModuleCat.of β„€ (degree R n))
(fun n => ModuleCat.ofHom (degreeBoundary R n)) (fun n => by
apply ModuleCat.hom_ext
apply LinearMap.ext
intro c
exact degreeBoundary_square R n c)
noncomputable def representation {G : Type*} [Monoid G] [MulAction G V]
(hR : βˆ€g : G,βˆ€v w,R v w β†’ R (g β€’ v) (g β€’ w)) (n : β„•) :
Representation β„€ G (degree R n) where
toFun g := degreePush (fun v => g β€’ v) (hR g) n
map_one' := by
apply LinearMap.ext
intro c
apply Subtype.ext
change push (fun v : V => (1:G) β€’ v) c.val=c.val
have he : (fun v : V => (1:G) β€’ v)=id := funext (fun v => one_smul G v)
rw [he]
exact push_id c.val
map_mul' g h := by
apply LinearMap.ext
intro c
apply Subtype.ext
change push (fun v : V => (g*h) β€’ v) c.val=push (fun v => g β€’ v) (push (fun v => h β€’ v) c.val)
rw [push_comp]
simp only [Function.comp_def, mul_smul]
@[simp] theorem representation_boundary {G : Type*} [Monoid G] [MulAction G V]
(hR : βˆ€g : G,βˆ€v w,R v w β†’ R (g β€’ v) (g β€’ w)) (g : G) (n : β„•)
(c : degree R (n+1)) :
representation hR n g (degreeBoundary R n c)=
degreeBoundary R n (representation hR (n+1) g c) :=
degreePush_boundary _ (hR g) n c
noncomputable def simplexModuleEquiv (R : V β†’ V β†’ Prop) (n : β„•) :
degree R n ≃ₗ[β„€] ({l : List V // l.Pairwise R ∧ l.length=n} β†’β‚€ β„€) := by
have he : degree R n=Finsupp.supported β„€ β„€ {l : List V | l.Pairwise R ∧ l.length=n} := by
ext c
rw [Finsupp.mem_supported]
rfl
exact (LinearEquiv.ofEq _ _ he).trans (Finsupp.supportedEquivFinsupp _)
theorem lowDegree_exact
(hc : βˆ€S : Finset V,S.card≀31 β†’ βˆƒv,βˆ€w∈S,R v w)
{n : β„•} (hn : n≀2) :
Function.Exact (degreeBoundary R (n+1)) (degreeBoundary R n) := by
intro c
constructor
Β· intro hz
have hz' : boundary c.val=0 := congrArg Subtype.val hz
obtain ⟨d,hd,he⟩ := low_degree_filling hc (by omega : n+1≀3) c.property hz'
exact ⟨⟨d,hd⟩,Subtype.ext he⟩
· rintro ⟨d,rfl⟩
exact degreeBoundary_square R n d
end ConfigurationChains
namespace PolygonPlacement
noncomputable def configurationRepresentation (a m n : β„•) :
Representation β„€ (polygonFullGroup a m) (ConfigurationChains.degree (@Apart a m) n) :=
ConfigurationChains.representation (fun g v w h => (apart_smul_iff g v w).mpr h) n
end PolygonPlacement
end ConfigurationResolution
end SimpleAmenable
end
end
end OAI