url
stringclasses
147 values
commit
stringclasses
147 values
file_path
stringlengths
7
101
full_name
stringlengths
1
94
start
stringlengths
6
10
end
stringlengths
6
11
tactic
stringlengths
1
11.2k
state_before
stringlengths
3
2.09M
state_after
stringlengths
6
2.09M
input
stringlengths
73
2.09M
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
exact this
case this.a X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Coverage.saturate (ExtensiveRegularCoverage' Profinite ?m.593517 ?m.593518) Xs (Sieve.pullback F Z) ⊢ Sieve.pullback (Sigma.desc f) (Sieve.generate T) ∈ Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) (∐ fun i => Xmap i)
no goals
Please generate a tactic in lean4 to solve the state. STATE: case this.a X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Coverage.saturate (ExtensiveRegularCoverage' Profinite ?m.593517 ?m.593518) Xs (Sieve.pullback F Z) ⊢ Sieve.pullback (Sigma.desc f) (Sieve.generate T) ∈ Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) (∐ fun i => Xmap i) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
apply Coverage.saturate_of_superset _ this
case this X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) Xs (Sieve.pullback F Z)
case this X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) (∐ Xmap) (Sieve.generate (ofArrows Xmap φ))
Please generate a tactic in lean4 to solve the state. STATE: case this X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) Xs (Sieve.pullback F Z) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
apply Coverage.saturate.of
case this X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) (∐ Xmap) (Sieve.generate (ofArrows Xmap φ))
case this.hS X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ ofArrows Xmap φ ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) (∐ Xmap)
Please generate a tactic in lean4 to solve the state. STATE: case this X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) (∐ Xmap) (Sieve.generate (ofArrows Xmap φ)) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
dsimp [ExtensiveRegularCoverage']
case this.hS X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ ofArrows Xmap φ ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) (∐ Xmap)
case this.hS X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ (ofArrows Xmap fun i => Sigma.ι Xmap i) ∈ ExtensiveSieve (∐ Xmap) ∪ RegularSieve (∐ Xmap)
Please generate a tactic in lean4 to solve the state. STATE: case this.hS X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ ofArrows Xmap φ ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) (∐ Xmap) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
left
case this.hS X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ (ofArrows Xmap fun i => Sigma.ι Xmap i) ∈ ExtensiveSieve (∐ Xmap) ∪ RegularSieve (∐ Xmap)
case this.hS.h X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ (ofArrows Xmap fun i => Sigma.ι Xmap i) ∈ ExtensiveSieve (∐ Xmap)
Please generate a tactic in lean4 to solve the state. STATE: case this.hS X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ (ofArrows Xmap fun i => Sigma.ι Xmap i) ∈ ExtensiveSieve (∐ Xmap) ∪ RegularSieve (∐ Xmap) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
refine' ⟨I, hI, Xmap, φ, ⟨rfl, _⟩⟩
case this.hS.h X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ (ofArrows Xmap fun i => Sigma.ι Xmap i) ∈ ExtensiveSieve (∐ Xmap)
case this.hS.h X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ IsIso (Sigma.desc φ)
Please generate a tactic in lean4 to solve the state. STATE: case this.hS.h X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ (ofArrows Xmap fun i => Sigma.ι Xmap i) ∈ ExtensiveSieve (∐ Xmap) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
suffices : Sigma.desc φ = 𝟙 _
case this.hS.h X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ IsIso (Sigma.desc φ)
case this.hS.h X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this✝ : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z this : Sigma.desc φ = 𝟙 (∐ fun b => Xmap b) ⊢ IsIso (Sigma.desc φ) case this X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ Sigma.desc φ = 𝟙 (∐ fun b => Xmap b)
Please generate a tactic in lean4 to solve the state. STATE: case this.hS.h X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ IsIso (Sigma.desc φ) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
ext
case this X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ Sigma.desc φ = 𝟙 (∐ fun b => Xmap b)
case this.h.w X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z b✝ : I x✝ : (forget Profinite).obj (Xmap b✝) ⊢ ↑(Sigma.ι (fun b => Xmap b) b✝ ≫ Sigma.desc φ) x✝ = ↑(Sigma.ι (fun b => Xmap b) b✝ ≫ 𝟙 (∐ fun b => Xmap b)) x✝
Please generate a tactic in lean4 to solve the state. STATE: case this X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z ⊢ Sigma.desc φ = 𝟙 (∐ fun b => Xmap b) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
simp only [colimit.ι_desc, Cofan.mk_pt, Cofan.mk_ι_app, Category.comp_id]
case this.h.w X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z b✝ : I x✝ : (forget Profinite).obj (Xmap b✝) ⊢ ↑(Sigma.ι (fun b => Xmap b) b✝ ≫ Sigma.desc φ) x✝ = ↑(Sigma.ι (fun b => Xmap b) b✝ ≫ 𝟙 (∐ fun b => Xmap b)) x✝
no goals
Please generate a tactic in lean4 to solve the state. STATE: case this.h.w X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z b✝ : I x✝ : (forget Profinite).obj (Xmap b✝) ⊢ ↑(Sigma.ι (fun b => Xmap b) b✝ ≫ Sigma.desc φ) x✝ = ↑(Sigma.ι (fun b => Xmap b) b✝ ≫ 𝟙 (∐ fun b => Xmap b)) x✝ TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
rw [this]
case this.hS.h X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this✝ : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z this : Sigma.desc φ = 𝟙 (∐ fun b => Xmap b) ⊢ IsIso (Sigma.desc φ)
case this.hS.h X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this✝ : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z this : Sigma.desc φ = 𝟙 (∐ fun b => Xmap b) ⊢ IsIso (𝟙 (∐ fun b => Xmap b))
Please generate a tactic in lean4 to solve the state. STATE: case this.hS.h X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this✝ : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z this : Sigma.desc φ = 𝟙 (∐ fun b => Xmap b) ⊢ IsIso (Sigma.desc φ) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
exact inferInstance
case this.hS.h X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this✝ : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z this : Sigma.desc φ = 𝟙 (∐ fun b => Xmap b) ⊢ IsIso (𝟙 (∐ fun b => Xmap b))
no goals
Please generate a tactic in lean4 to solve the state. STATE: case this.hS.h X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g this✝ : Sieve.generate (ofArrows Xmap φ) ≤ Sieve.pullback F Z this : Sigma.desc φ = 𝟙 (∐ fun b => Xmap b) ⊢ IsIso (𝟙 (∐ fun b => Xmap b)) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
rw [h]
case this.intro.intro.intro.refine'_1 X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite e : Q ⟶ E r : E ⟶ ∐ Xmap hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) r ∧ e ≫ r = q ⊢ T (r ≫ F)
case this.intro.intro.intro.refine'_1 X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite e : Q ⟶ E r : E ⟶ ∐ Xmap hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) r ∧ e ≫ r = q ⊢ ofArrows Xmap f (r ≫ F)
Please generate a tactic in lean4 to solve the state. STATE: case this.intro.intro.intro.refine'_1 X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite e : Q ⟶ E r : E ⟶ ∐ Xmap hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) r ∧ e ≫ r = q ⊢ T (r ≫ F) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
induction hq.1
case this.intro.intro.intro.refine'_1 X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite e : Q ⟶ E r : E ⟶ ∐ Xmap hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) r ∧ e ≫ r = q ⊢ ofArrows Xmap f (r ≫ F)
case this.intro.intro.intro.refine'_1.mk X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite r : E ⟶ ∐ Xmap i✝ : I e : Q ⟶ Xmap i✝ hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) (Sigma.ι Xmap i✝) ∧ e ≫ Sigma.ι Xmap i✝ = q ⊢ ofArrows Xmap f (Sigma.ι Xmap i✝ ≫ F)
Please generate a tactic in lean4 to solve the state. STATE: case this.intro.intro.intro.refine'_1 X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite e : Q ⟶ E r : E ⟶ ∐ Xmap hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) r ∧ e ≫ r = q ⊢ ofArrows Xmap f (r ≫ F) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
dsimp
case this.intro.intro.intro.refine'_1.mk X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite r : E ⟶ ∐ Xmap i✝ : I e : Q ⟶ Xmap i✝ hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) (Sigma.ι Xmap i✝) ∧ e ≫ Sigma.ι Xmap i✝ = q ⊢ ofArrows Xmap f (Sigma.ι Xmap i✝ ≫ F)
case this.intro.intro.intro.refine'_1.mk X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite r : E ⟶ ∐ Xmap i✝ : I e : Q ⟶ Xmap i✝ hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) (Sigma.ι Xmap i✝) ∧ e ≫ Sigma.ι Xmap i✝ = q ⊢ ofArrows Xmap f (Sigma.ι Xmap i✝ ≫ Sigma.desc f)
Please generate a tactic in lean4 to solve the state. STATE: case this.intro.intro.intro.refine'_1.mk X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite r : E ⟶ ∐ Xmap i✝ : I e : Q ⟶ Xmap i✝ hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) (Sigma.ι Xmap i✝) ∧ e ≫ Sigma.ι Xmap i✝ = q ⊢ ofArrows Xmap f (Sigma.ι Xmap i✝ ≫ F) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
simp only [colimit.ι_desc, Cofan.mk_pt, Cofan.mk_ι_app]
case this.intro.intro.intro.refine'_1.mk X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite r : E ⟶ ∐ Xmap i✝ : I e : Q ⟶ Xmap i✝ hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) (Sigma.ι Xmap i✝) ∧ e ≫ Sigma.ι Xmap i✝ = q ⊢ ofArrows Xmap f (Sigma.ι Xmap i✝ ≫ Sigma.desc f)
case this.intro.intro.intro.refine'_1.mk X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite r : E ⟶ ∐ Xmap i✝ : I e : Q ⟶ Xmap i✝ hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) (Sigma.ι Xmap i✝) ∧ e ≫ Sigma.ι Xmap i✝ = q ⊢ ofArrows Xmap f (f i✝)
Please generate a tactic in lean4 to solve the state. STATE: case this.intro.intro.intro.refine'_1.mk X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite r : E ⟶ ∐ Xmap i✝ : I e : Q ⟶ Xmap i✝ hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) (Sigma.ι Xmap i✝) ∧ e ≫ Sigma.ι Xmap i✝ = q ⊢ ofArrows Xmap f (Sigma.ι Xmap i✝ ≫ Sigma.desc f) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
exact Presieve.ofArrows.mk _
case this.intro.intro.intro.refine'_1.mk X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite r : E ⟶ ∐ Xmap i✝ : I e : Q ⟶ Xmap i✝ hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) (Sigma.ι Xmap i✝) ∧ e ≫ Sigma.ι Xmap i✝ = q ⊢ ofArrows Xmap f (f i✝)
no goals
Please generate a tactic in lean4 to solve the state. STATE: case this.intro.intro.intro.refine'_1.mk X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite r : E ⟶ ∐ Xmap i✝ : I e : Q ⟶ Xmap i✝ hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) (Sigma.ι Xmap i✝) ∧ e ≫ Sigma.ι Xmap i✝ = q ⊢ ofArrows Xmap f (f i✝) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
rw [← hq.2]
case this.intro.intro.intro.refine'_2 X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite e : Q ⟶ E r : E ⟶ ∐ Xmap hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) r ∧ e ≫ r = q ⊢ e ≫ r ≫ F = q ≫ Sigma.desc f
case this.intro.intro.intro.refine'_2 X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite e : Q ⟶ E r : E ⟶ ∐ Xmap hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) r ∧ e ≫ r = q ⊢ e ≫ r ≫ F = (e ≫ r) ≫ Sigma.desc f
Please generate a tactic in lean4 to solve the state. STATE: case this.intro.intro.intro.refine'_2 X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite e : Q ⟶ E r : E ⟶ ∐ Xmap hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) r ∧ e ≫ r = q ⊢ e ≫ r ≫ F = q ≫ Sigma.desc f TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
rfl
case this.intro.intro.intro.refine'_2 X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite e : Q ⟶ E r : E ⟶ ∐ Xmap hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) r ∧ e ≫ r = q ⊢ e ≫ r ≫ F = (e ≫ r) ≫ Sigma.desc f
no goals
Please generate a tactic in lean4 to solve the state. STATE: case this.intro.intro.intro.refine'_2 X : Profinite S : Sieve X Y : Profinite T : Presieve Y I : Type hI : Fintype I Xmap : I → Profinite f : (a : I) → Xmap a ⟶ Y h : T = ofArrows Xmap f hT : Epi (Sigma.desc f) he : EffectiveEpiFamily Xmap f ↔ Epi (Sigma.desc f) φ : (i : I) → Xmap i ⟶ ∐ Xmap := fun i => Sigma.ι Xmap i F : (∐ fun b => Xmap b) ⟶ Y := Sigma.desc f Z : Sieve Y := Sieve.generate T Xs : Profinite := ∐ fun i => Xmap i Zf : Sieve Y := Sieve.generate (ofArrows (fun x => Xs) fun x => F) R : Profinite g : R ⟶ Y W : Profinite σ : W ⟶ Y ψ : R ⟶ ∐ fun i => Xmap i hW' : ψ ≫ Sigma.desc f = g Q : Profinite q : Q ⟶ ∐ Xmap E : Profinite e : Q ⟶ E r : E ⟶ ∐ Xmap hq : ofArrows Xmap (fun i => Sigma.ι Xmap i) r ∧ e ≫ r = q ⊢ e ≫ r ≫ F = (e ≫ r) ≫ Sigma.desc f TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
apply Coverage.saturate.top
case h.h.h.mpr.top X : Profinite S : Sieve X X✝ : Profinite ⊢ ⊤ ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) X✝
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.h.h.mpr.top X : Profinite S : Sieve X X✝ : Profinite ⊢ ⊤ ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) X✝ TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
apply Coverage.saturate.transitive Y T
case h.h.h.mpr.transitive X : Profinite S : Sieve X Y : Profinite T S✝ : Sieve Y a✝¹ : Coverage.saturate (coherentCoverage Profinite) Y T a✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Coverage.saturate (coherentCoverage Profinite) Y_1 (Sieve.pullback f S✝) a_ih✝¹ : T ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y a_ih✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Sieve.pullback f S✝ ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y_1 ⊢ S✝ ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y
case h.h.h.mpr.transitive.a X : Profinite S : Sieve X Y : Profinite T S✝ : Sieve Y a✝¹ : Coverage.saturate (coherentCoverage Profinite) Y T a✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Coverage.saturate (coherentCoverage Profinite) Y_1 (Sieve.pullback f S✝) a_ih✝¹ : T ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y a_ih✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Sieve.pullback f S✝ ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y_1 ⊢ Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) Y T case h.h.h.mpr.transitive.a X : Profinite S : Sieve X Y : Profinite T S✝ : Sieve Y a✝¹ : Coverage.saturate (coherentCoverage Profinite) Y T a✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Coverage.saturate (coherentCoverage Profinite) Y_1 (Sieve.pullback f S✝) a_ih✝¹ : T ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y a_ih✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Sieve.pullback f S✝ ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y_1 ⊢ ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) Y_1 (Sieve.pullback f S✝)
Please generate a tactic in lean4 to solve the state. STATE: case h.h.h.mpr.transitive X : Profinite S : Sieve X Y : Profinite T S✝ : Sieve Y a✝¹ : Coverage.saturate (coherentCoverage Profinite) Y T a✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Coverage.saturate (coherentCoverage Profinite) Y_1 (Sieve.pullback f S✝) a_ih✝¹ : T ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y a_ih✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Sieve.pullback f S✝ ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y_1 ⊢ S✝ ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
assumption
case h.h.h.mpr.transitive.a X : Profinite S : Sieve X Y : Profinite T S✝ : Sieve Y a✝¹ : Coverage.saturate (coherentCoverage Profinite) Y T a✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Coverage.saturate (coherentCoverage Profinite) Y_1 (Sieve.pullback f S✝) a_ih✝¹ : T ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y a_ih✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Sieve.pullback f S✝ ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y_1 ⊢ Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) Y T
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.h.h.mpr.transitive.a X : Profinite S : Sieve X Y : Profinite T S✝ : Sieve Y a✝¹ : Coverage.saturate (coherentCoverage Profinite) Y T a✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Coverage.saturate (coherentCoverage Profinite) Y_1 (Sieve.pullback f S✝) a_ih✝¹ : T ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y a_ih✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Sieve.pullback f S✝ ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y_1 ⊢ Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) Y T TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.extensiveRegular_generates_coherent
[118, 1]
[227, 21]
assumption
case h.h.h.mpr.transitive.a X : Profinite S : Sieve X Y : Profinite T S✝ : Sieve Y a✝¹ : Coverage.saturate (coherentCoverage Profinite) Y T a✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Coverage.saturate (coherentCoverage Profinite) Y_1 (Sieve.pullback f S✝) a_ih✝¹ : T ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y a_ih✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Sieve.pullback f S✝ ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y_1 ⊢ ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) Y_1 (Sieve.pullback f S✝)
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.h.h.mpr.transitive.a X : Profinite S : Sieve X Y : Profinite T S✝ : Sieve Y a✝¹ : Coverage.saturate (coherentCoverage Profinite) Y T a✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Coverage.saturate (coherentCoverage Profinite) Y_1 (Sieve.pullback f S✝) a_ih✝¹ : T ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y a_ih✝ : ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Sieve.pullback f S✝ ∈ GrothendieckTopology.sieves (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) Y_1 ⊢ ∀ ⦃Y_1 : Profinite⦄ ⦃f : Y_1 ⟶ Y⦄, T.arrows f → Coverage.saturate (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) Y_1 (Sieve.pullback f S✝) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
cases' hS with hSIso hSSingle
B : Profinite S : Presieve B hS : S ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F ⊢ IsSheafFor F S
case inl B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSIso : S ∈ ExtensiveSieve B ⊢ IsSheafFor F S case inr B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSSingle : S ∈ RegularSieve B ⊢ IsSheafFor F S
Please generate a tactic in lean4 to solve the state. STATE: B : Profinite S : Presieve B hS : S ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F ⊢ IsSheafFor F S TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
exact isSheafForExtensiveSieve hSIso hFpfp
case inl B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSIso : S ∈ ExtensiveSieve B ⊢ IsSheafFor F S
no goals
Please generate a tactic in lean4 to solve the state. STATE: case inl B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSIso : S ∈ ExtensiveSieve B ⊢ IsSheafFor F S TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rw [Equalizer.Presieve.sheaf_condition, Limits.Types.type_equalizer_iff_unique]
case inr B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSSingle : S ∈ RegularSieve B ⊢ IsSheafFor F S
case inr B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSSingle : S ∈ RegularSieve B ⊢ ∀ (y : Equalizer.FirstObj F S), Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y → ∃! x, Equalizer.forkMap F S x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSSingle : S ∈ RegularSieve B ⊢ IsSheafFor F S TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
intro y h
case inr B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSSingle : S ∈ RegularSieve B ⊢ ∀ (y : Equalizer.FirstObj F S), Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y → ∃! x, Equalizer.forkMap F S x = y
case inr B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSSingle : S ∈ RegularSieve B y : Equalizer.FirstObj F S h : Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y ⊢ ∃! x, Equalizer.forkMap F S x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSSingle : S ∈ RegularSieve B ⊢ ∀ (y : Equalizer.FirstObj F S), Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y → ∃! x, Equalizer.forkMap F S x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
dsimp [RegularSieve] at hSSingle
case inr B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSSingle : S ∈ RegularSieve B y : Equalizer.FirstObj F S h : Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y ⊢ ∃! x, Equalizer.forkMap F S x = y
case inr B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSSingle : ∃ X f, (S = ofArrows (fun x => X) fun x => f) ∧ Epi f y : Equalizer.FirstObj F S h : Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y ⊢ ∃! x, Equalizer.forkMap F S x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSSingle : S ∈ RegularSieve B y : Equalizer.FirstObj F S h : Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y ⊢ ∃! x, Equalizer.forkMap F S x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
obtain ⟨X, π, ⟨hS, πsurj⟩⟩ := hSSingle
case inr B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSSingle : ∃ X f, (S = ofArrows (fun x => X) fun x => f) ∧ Epi f y : Equalizer.FirstObj F S h : Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y ⊢ ∃! x, Equalizer.forkMap F S x = y
case inr.intro.intro.intro B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F y : Equalizer.FirstObj F S h : Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y X : Profinite π : X ⟶ B hS : S = ofArrows (fun x => X) fun x => π πsurj : Epi π ⊢ ∃! x, Equalizer.forkMap F S x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F hSSingle : ∃ X f, (S = ofArrows (fun x => X) fun x => f) ∧ Epi f y : Equalizer.FirstObj F S h : Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y ⊢ ∃! x, Equalizer.forkMap F S x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rw [Presieve.ofArrows_pUnit] at hS
case inr.intro.intro.intro B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F y : Equalizer.FirstObj F S h : Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y X : Profinite π : X ⟶ B hS : S = ofArrows (fun x => X) fun x => π πsurj : Epi π ⊢ ∃! x, Equalizer.forkMap F S x = y
case inr.intro.intro.intro B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F y : Equalizer.FirstObj F S h : Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y X : Profinite π : X ⟶ B hS : S = Presieve.singleton π πsurj : Epi π ⊢ ∃! x, Equalizer.forkMap F S x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F y : Equalizer.FirstObj F S h : Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y X : Profinite π : X ⟶ B hS : S = ofArrows (fun x => X) fun x => π πsurj : Epi π ⊢ ∃! x, Equalizer.forkMap F S x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
subst hS
case inr.intro.intro.intro B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F y : Equalizer.FirstObj F S h : Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y X : Profinite π : X ⟶ B hS : S = Presieve.singleton π πsurj : Epi π ⊢ ∃! x, Equalizer.forkMap F S x = y
case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F X : Profinite π : X ⟶ B πsurj : Epi π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro B : Profinite S : Presieve B F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F y : Equalizer.FirstObj F S h : Equalizer.Presieve.firstMap F S y = Equalizer.Presieve.secondMap F S y X : Profinite π : X ⟶ B hS : S = Presieve.singleton π πsurj : Epi π ⊢ ∃! x, Equalizer.forkMap F S x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rw [Profinite.epi_iff_surjective] at πsurj
case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F X : Profinite π : X ⟶ B πsurj : Epi π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F X : Profinite π : X ⟶ B πsurj : Epi π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
specialize hFecs X B π πsurj
case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F hFecs : EqualizerCondition F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
have fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op
case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
case fork_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) ⊢ Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
have fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom
case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
have smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom
case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
have iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y)
case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
case iy_mem B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
have uniq_F : ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y
case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
case uniq_F B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) ⊢ ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) uniq_F : ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
obtain ⟨x,hx⟩ := uniq_F
case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) uniq_F : ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (fun x => F.map π.op x = (EqualizerFirstObjIso F π).hom y) x ∧ ∀ (y_1 : F.obj B.op), (fun x => F.map π.op x = (EqualizerFirstObjIso F π).hom y) y_1 → y_1 = x ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) uniq_F : ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
dsimp at hx
case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (fun x => F.map π.op x = (EqualizerFirstObjIso F π).hom y) x ∧ ∀ (y_1 : F.obj B.op), (fun x => F.map π.op x = (EqualizerFirstObjIso F π).hom y) y_1 → y_1 = x ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : F.map π.op x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), F.map π.op y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (fun x => F.map π.op x = (EqualizerFirstObjIso F π).hom y) x ∧ ∀ (y_1 : F.obj B.op), (fun x => F.map π.op x = (EqualizerFirstObjIso F π).hom y) y_1 → y_1 = x ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rw [← fork_comp] at hx
case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : F.map π.op x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), F.map π.op y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : F.map π.op x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), F.map π.op y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
use x
case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y
case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ (fun x => Equalizer.forkMap F (Presieve.singleton π) x = y) x ∧ ∀ (y_1 : F.obj B.op), (fun x => Equalizer.forkMap F (Presieve.singleton π) x = y) y_1 → y_1 = x
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ ∃! x, Equalizer.forkMap F (Presieve.singleton π) x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
dsimp
case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ (fun x => Equalizer.forkMap F (Presieve.singleton π) x = y) x ∧ ∀ (y_1 : F.obj B.op), (fun x => Equalizer.forkMap F (Presieve.singleton π) x = y) y_1 → y_1 = x
case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ Equalizer.forkMap F (Presieve.singleton π) x = y ∧ ∀ (y_1 : F.obj B.op), Equalizer.forkMap F (Presieve.singleton π) y_1 = y → y_1 = x
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ (fun x => Equalizer.forkMap F (Presieve.singleton π) x = y) x ∧ ∀ (y_1 : F.obj B.op), (fun x => Equalizer.forkMap F (Presieve.singleton π) x = y) y_1 → y_1 = x TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
constructor
case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ Equalizer.forkMap F (Presieve.singleton π) x = y ∧ ∀ (y_1 : F.obj B.op), Equalizer.forkMap F (Presieve.singleton π) y_1 = y → y_1 = x
case inr.intro.intro.intro.intro.left B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ Equalizer.forkMap F (Presieve.singleton π) x = y case inr.intro.intro.intro.intro.right B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ ∀ (y_1 : F.obj B.op), Equalizer.forkMap F (Presieve.singleton π) y_1 = y → y_1 = x
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ Equalizer.forkMap F (Presieve.singleton π) x = y ∧ ∀ (y_1 : F.obj B.op), Equalizer.forkMap F (Presieve.singleton π) y_1 = y → y_1 = x TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
dsimp [EqualizerFirstObjIso, Equalizer.forkMap]
case fork_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) ⊢ Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op
case fork_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) ⊢ ((Pi.lift fun f => F.map (↑f.snd).op) ≫ (Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) = F.map π.op
Please generate a tactic in lean4 to solve the state. STATE: case fork_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) ⊢ Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
ext b
case fork_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) ⊢ ((Pi.lift fun f => F.map (↑f.snd).op) ≫ (Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) = F.map π.op
case fork_comp.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) b : F.obj B.op ⊢ ((Pi.lift fun f => F.map (↑f.snd).op) ≫ (Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) b = F.map π.op b
Please generate a tactic in lean4 to solve the state. STATE: case fork_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) ⊢ ((Pi.lift fun f => F.map (↑f.snd).op) ≫ (Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) = F.map π.op TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
simp only [types_comp_apply, Equalizer.firstObjEqFamily_hom, Types.pi_lift_π_apply]
case fork_comp.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) b : F.obj B.op ⊢ ((Pi.lift fun f => F.map (↑f.snd).op) ≫ (Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) b = F.map π.op b
no goals
Please generate a tactic in lean4 to solve the state. STATE: case fork_comp.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) b : F.obj B.op ⊢ ((Pi.lift fun f => F.map (↑f.snd).op) ≫ (Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) b = F.map π.op b TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
dsimp [EqualizerSecondObjIso]
case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom
case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op
Please generate a tactic in lean4 to solve the state. STATE: case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rw [Profinite.fst_comp_fromExplicit, op_comp, Functor.map_comp]
case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op
case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op ≫ F.map (fromExplicit π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op
Please generate a tactic in lean4 to solve the state. STATE: case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
suffices : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom
case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op ≫ F.map (fromExplicit π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op
case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op this : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op ≫ F.map (fromExplicit π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op case this B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom
Please generate a tactic in lean4 to solve the state. STATE: case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op ≫ F.map (fromExplicit π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
dsimp [EqualizerFirstObjIso, Equalizer.Presieve.firstMap, EqualizerSecondObjIso_aux]
case this B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom
case this B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ ((Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) ≫ F.map Limits.pullback.fst.op = (Pi.lift fun x => Pi.π (fun f => F.obj f.fst.op) x.fst ≫ F.map Limits.pullback.fst.op) ≫ Pi.π (fun fg => F.obj (Limits.pullback ↑fg.fst.snd ↑fg.snd.snd).op) ({ fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }, { fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } })
Please generate a tactic in lean4 to solve the state. STATE: case this B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
ext b
case this B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ ((Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) ≫ F.map Limits.pullback.fst.op = (Pi.lift fun x => Pi.π (fun f => F.obj f.fst.op) x.fst ≫ F.map Limits.pullback.fst.op) ≫ Pi.π (fun fg => F.obj (Limits.pullback ↑fg.fst.snd ↑fg.snd.snd).op) ({ fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }, { fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } })
case this.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op b : Equalizer.FirstObj F (Presieve.singleton π) ⊢ (((Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) ≫ F.map Limits.pullback.fst.op) b = ((Pi.lift fun x => Pi.π (fun f => F.obj f.fst.op) x.fst ≫ F.map Limits.pullback.fst.op) ≫ Pi.π (fun fg => F.obj (Limits.pullback ↑fg.fst.snd ↑fg.snd.snd).op) ({ fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }, { fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } })) b
Please generate a tactic in lean4 to solve the state. STATE: case this B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op ⊢ ((Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) ≫ F.map Limits.pullback.fst.op = (Pi.lift fun x => Pi.π (fun f => F.obj f.fst.op) x.fst ≫ F.map Limits.pullback.fst.op) ≫ Pi.π (fun fg => F.obj (Limits.pullback ↑fg.fst.snd ↑fg.snd.snd).op) ({ fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }, { fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
simp only [types_comp_apply, Equalizer.firstObjEqFamily_hom, Types.pi_lift_π_apply]
case this.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op b : Equalizer.FirstObj F (Presieve.singleton π) ⊢ (((Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) ≫ F.map Limits.pullback.fst.op) b = ((Pi.lift fun x => Pi.π (fun f => F.obj f.fst.op) x.fst ≫ F.map Limits.pullback.fst.op) ≫ Pi.π (fun fg => F.obj (Limits.pullback ↑fg.fst.snd ↑fg.snd.snd).op) ({ fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }, { fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } })) b
no goals
Please generate a tactic in lean4 to solve the state. STATE: case this.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op b : Equalizer.FirstObj F (Presieve.singleton π) ⊢ (((Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) ≫ F.map Limits.pullback.fst.op) b = ((Pi.lift fun x => Pi.π (fun f => F.obj f.fst.op) x.fst ≫ F.map Limits.pullback.fst.op) ≫ Pi.π (fun fg => F.obj (Limits.pullback ↑fg.fst.snd ↑fg.snd.snd).op) ({ fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }, { fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } })) b TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
simp only [← Category.assoc]
case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op this : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op ≫ F.map (fromExplicit π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op
case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op this : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ⊢ ((EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op) ≫ F.map (fromExplicit π π).op = (Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom) ≫ F.map (fromExplicit π π).op
Please generate a tactic in lean4 to solve the state. STATE: case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op this : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op ≫ F.map (fromExplicit π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rw [this]
case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op this : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ⊢ ((EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op) ≫ F.map (fromExplicit π π).op = (Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom) ≫ F.map (fromExplicit π π).op
no goals
Please generate a tactic in lean4 to solve the state. STATE: case fmap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op this : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ⊢ ((EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.fst.op) ≫ F.map (fromExplicit π π).op = (Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom) ≫ F.map (fromExplicit π π).op TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
dsimp [EqualizerSecondObjIso]
case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom
case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op
Please generate a tactic in lean4 to solve the state. STATE: case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rw [Profinite.snd_comp_fromExplicit, op_comp, Functor.map_comp]
case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op
case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op ≫ F.map (fromExplicit π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op
Please generate a tactic in lean4 to solve the state. STATE: case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
suffices : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom
case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op ≫ F.map (fromExplicit π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op
case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom this : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op ≫ F.map (fromExplicit π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op case this B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom
Please generate a tactic in lean4 to solve the state. STATE: case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op ≫ F.map (fromExplicit π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
dsimp [EqualizerFirstObjIso, Equalizer.Presieve.secondMap, EqualizerSecondObjIso_aux]
case this B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom
case this B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ((Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) ≫ F.map Limits.pullback.snd.op = (Pi.lift fun x => Pi.π (fun f => F.obj f.fst.op) x.snd ≫ F.map Limits.pullback.snd.op) ≫ Pi.π (fun fg => F.obj (Limits.pullback ↑fg.fst.snd ↑fg.snd.snd).op) ({ fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }, { fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } })
Please generate a tactic in lean4 to solve the state. STATE: case this B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
ext b
case this B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ((Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) ≫ F.map Limits.pullback.snd.op = (Pi.lift fun x => Pi.π (fun f => F.obj f.fst.op) x.snd ≫ F.map Limits.pullback.snd.op) ≫ Pi.π (fun fg => F.obj (Limits.pullback ↑fg.fst.snd ↑fg.snd.snd).op) ({ fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }, { fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } })
case this.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom b : Equalizer.FirstObj F (Presieve.singleton π) ⊢ (((Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) ≫ F.map Limits.pullback.snd.op) b = ((Pi.lift fun x => Pi.π (fun f => F.obj f.fst.op) x.snd ≫ F.map Limits.pullback.snd.op) ≫ Pi.π (fun fg => F.obj (Limits.pullback ↑fg.fst.snd ↑fg.snd.snd).op) ({ fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }, { fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } })) b
Please generate a tactic in lean4 to solve the state. STATE: case this B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ((Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) ≫ F.map Limits.pullback.snd.op = (Pi.lift fun x => Pi.π (fun f => F.obj f.fst.op) x.snd ≫ F.map Limits.pullback.snd.op) ≫ Pi.π (fun fg => F.obj (Limits.pullback ↑fg.fst.snd ↑fg.snd.snd).op) ({ fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }, { fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
simp only [types_comp_apply, Equalizer.firstObjEqFamily_hom, Types.pi_lift_π_apply]
case this.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom b : Equalizer.FirstObj F (Presieve.singleton π) ⊢ (((Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) ≫ F.map Limits.pullback.snd.op) b = ((Pi.lift fun x => Pi.π (fun f => F.obj f.fst.op) x.snd ≫ F.map Limits.pullback.snd.op) ≫ Pi.π (fun fg => F.obj (Limits.pullback ↑fg.fst.snd ↑fg.snd.snd).op) ({ fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }, { fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } })) b
no goals
Please generate a tactic in lean4 to solve the state. STATE: case this.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom b : Equalizer.FirstObj F (Presieve.singleton π) ⊢ (((Equalizer.firstObjEqFamily F (Presieve.singleton π)).hom ≫ fun e => e π (_ : Presieve.singleton π π)) ≫ F.map Limits.pullback.snd.op) b = ((Pi.lift fun x => Pi.π (fun f => F.obj f.fst.op) x.snd ≫ F.map Limits.pullback.snd.op) ≫ Pi.π (fun fg => F.obj (Limits.pullback ↑fg.fst.snd ↑fg.snd.snd).op) ({ fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } }, { fst := X, snd := { val := π, property := (_ : Presieve.singleton π π) } })) b TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
simp only [← Category.assoc]
case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom this : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op ≫ F.map (fromExplicit π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op
case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom this : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ⊢ ((EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op) ≫ F.map (fromExplicit π π).op = (Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom) ≫ F.map (fromExplicit π π).op
Please generate a tactic in lean4 to solve the state. STATE: case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom this : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ⊢ (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op ≫ F.map (fromExplicit π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ≫ F.map (fromExplicit π π).op TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rw [this]
case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom this : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ⊢ ((EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op) ≫ F.map (fromExplicit π π).op = (Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom) ≫ F.map (fromExplicit π π).op
no goals
Please generate a tactic in lean4 to solve the state. STATE: case smap_comp B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom this : (EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom ⊢ ((EqualizerFirstObjIso F π).hom ≫ F.map Limits.pullback.snd.op) ≫ F.map (fromExplicit π π).op = (Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso_aux F π).hom) ≫ F.map (fromExplicit π π).op TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
change ((EqualizerFirstObjIso F π).hom ≫ _) y = _
case iy_mem B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y)
case iy_mem B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ((EqualizerFirstObjIso F π).hom ≫ F.toPrefunctor.2 (pullback.fst π π).op) y = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y)
Please generate a tactic in lean4 to solve the state. STATE: case iy_mem B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
apply Eq.symm
case iy_mem B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ((EqualizerFirstObjIso F π).hom ≫ F.toPrefunctor.2 (pullback.fst π π).op) y = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y)
case iy_mem.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) = ((EqualizerFirstObjIso F π).hom ≫ F.toPrefunctor.2 (pullback.fst π π).op) y
Please generate a tactic in lean4 to solve the state. STATE: case iy_mem B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ((EqualizerFirstObjIso F π).hom ≫ F.toPrefunctor.2 (pullback.fst π π).op) y = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
change ((EqualizerFirstObjIso F π).hom ≫ _) y = _
case iy_mem.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) = ((EqualizerFirstObjIso F π).hom ≫ F.toPrefunctor.2 (pullback.fst π π).op) y
case iy_mem.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ((EqualizerFirstObjIso F π).hom ≫ F.toPrefunctor.2 (pullback.snd π π).op) y = ((EqualizerFirstObjIso F π).hom ≫ F.toPrefunctor.2 (pullback.fst π π).op) y
Please generate a tactic in lean4 to solve the state. STATE: case iy_mem.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) = ((EqualizerFirstObjIso F π).hom ≫ F.toPrefunctor.2 (pullback.fst π π).op) y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rw [fmap_comp, smap_comp]
case iy_mem.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ((EqualizerFirstObjIso F π).hom ≫ F.toPrefunctor.2 (pullback.snd π π).op) y = ((EqualizerFirstObjIso F π).hom ≫ F.toPrefunctor.2 (pullback.fst π π).op) y
case iy_mem.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom) y = (Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom) y
Please generate a tactic in lean4 to solve the state. STATE: case iy_mem.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ ((EqualizerFirstObjIso F π).hom ≫ F.toPrefunctor.2 (pullback.snd π π).op) y = ((EqualizerFirstObjIso F π).hom ≫ F.toPrefunctor.2 (pullback.fst π π).op) y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
dsimp
case iy_mem.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom) y = (Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom) y
case iy_mem.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerSecondObjIso F π).hom (Equalizer.Presieve.secondMap F (Presieve.singleton π) y) = (EqualizerSecondObjIso F π).hom (Equalizer.Presieve.firstMap F (Presieve.singleton π) y)
Please generate a tactic in lean4 to solve the state. STATE: case iy_mem.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom) y = (Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom) y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rw [h]
case iy_mem.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerSecondObjIso F π).hom (Equalizer.Presieve.secondMap F (Presieve.singleton π) y) = (EqualizerSecondObjIso F π).hom (Equalizer.Presieve.firstMap F (Presieve.singleton π) y)
no goals
Please generate a tactic in lean4 to solve the state. STATE: case iy_mem.h B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom ⊢ (EqualizerSecondObjIso F π).hom (Equalizer.Presieve.secondMap F (Presieve.singleton π) y) = (EqualizerSecondObjIso F π).hom (Equalizer.Presieve.firstMap F (Presieve.singleton π) y) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rw [Function.bijective_iff_existsUnique] at hFecs
case uniq_F B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) ⊢ ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y
case uniq_F B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : ∀ (b : ↑{x | F.map (pullback.fst π π).op x = F.map (pullback.snd π π).op x}), ∃! a, MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = b fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) ⊢ ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y
Please generate a tactic in lean4 to solve the state. STATE: case uniq_F B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) ⊢ ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
specialize hFecs ⟨(EqualizerFirstObjIso F π).hom y, iy_mem⟩
case uniq_F B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : ∀ (b : ↑{x | F.map (pullback.fst π π).op x = F.map (pullback.snd π π).op x}), ∃! a, MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = b fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) ⊢ ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y
case uniq_F B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) hFecs : ∃! a, MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ⊢ ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y
Please generate a tactic in lean4 to solve the state. STATE: case uniq_F B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : ∀ (b : ↑{x | F.map (pullback.fst π π).op x = F.map (pullback.snd π π).op x}), ∃! a, MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = b fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) ⊢ ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
obtain ⟨x, hx⟩ := hFecs
case uniq_F B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) hFecs : ∃! a, MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ⊢ ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y
case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (fun a => MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }) x ∧ ∀ (y_1 : F.obj B.op), (fun a => MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }) y_1 → y_1 = x ⊢ ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y
Please generate a tactic in lean4 to solve the state. STATE: case uniq_F B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) hFecs : ∃! a, MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ⊢ ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
refine' ⟨x, _⟩
case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (fun a => MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }) x ∧ ∀ (y_1 : F.obj B.op), (fun a => MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }) y_1 → y_1 = x ⊢ ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y
case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (fun a => MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }) x ∧ ∀ (y_1 : F.obj B.op), (fun a => MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }) y_1 → y_1 = x ⊢ (fun x => F.map π.op x = (EqualizerFirstObjIso F π).hom y) x ∧ ∀ (y_1 : F.obj B.op), (fun x => F.map π.op x = (EqualizerFirstObjIso F π).hom y) y_1 → y_1 = x
Please generate a tactic in lean4 to solve the state. STATE: case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (fun a => MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }) x ∧ ∀ (y_1 : F.obj B.op), (fun a => MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }) y_1 → y_1 = x ⊢ ∃! x, F.map π.op x = (EqualizerFirstObjIso F π).hom y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
dsimp [MapToEqualizer] at *
case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (fun a => MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }) x ∧ ∀ (y_1 : F.obj B.op), (fun a => MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }) y_1 → y_1 = x ⊢ (fun x => F.map π.op x = (EqualizerFirstObjIso F π).hom y) x ∧ ∀ (y_1 : F.obj B.op), (fun x => F.map π.op x = (EqualizerFirstObjIso F π).hom y) y_1 → y_1 = x
case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : { val := F.map π.op x, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) x = (F.map π.op ≫ F.map (pullback.snd π π).op) x) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ∧ ∀ (y_1 : F.obj B.op), { val := F.map π.op y_1, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) y_1 = (F.map π.op ≫ F.map (pullback.snd π π).op) y_1) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } → y_1 = x ⊢ F.map π.op x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), F.map π.op y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x
Please generate a tactic in lean4 to solve the state. STATE: case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (fun a => MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }) x ∧ ∀ (y_1 : F.obj B.op), (fun a => MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π) a = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }) y_1 → y_1 = x ⊢ (fun x => F.map π.op x = (EqualizerFirstObjIso F π).hom y) x ∧ ∀ (y_1 : F.obj B.op), (fun x => F.map π.op x = (EqualizerFirstObjIso F π).hom y) y_1 → y_1 = x TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
refine' ⟨Subtype.ext_iff.mp hx.1,_⟩
case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : { val := F.map π.op x, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) x = (F.map π.op ≫ F.map (pullback.snd π π).op) x) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ∧ ∀ (y_1 : F.obj B.op), { val := F.map π.op y_1, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) y_1 = (F.map π.op ≫ F.map (pullback.snd π π).op) y_1) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } → y_1 = x ⊢ F.map π.op x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), F.map π.op y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x
case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : { val := F.map π.op x, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) x = (F.map π.op ≫ F.map (pullback.snd π π).op) x) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ∧ ∀ (y_1 : F.obj B.op), { val := F.map π.op y_1, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) y_1 = (F.map π.op ≫ F.map (pullback.snd π π).op) y_1) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } → y_1 = x ⊢ ∀ (y_1 : F.obj B.op), F.map π.op y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x
Please generate a tactic in lean4 to solve the state. STATE: case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : { val := F.map π.op x, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) x = (F.map π.op ≫ F.map (pullback.snd π π).op) x) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ∧ ∀ (y_1 : F.obj B.op), { val := F.map π.op y_1, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) y_1 = (F.map π.op ≫ F.map (pullback.snd π π).op) y_1) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } → y_1 = x ⊢ F.map π.op x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), F.map π.op y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
intro z hz
case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : { val := F.map π.op x, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) x = (F.map π.op ≫ F.map (pullback.snd π π).op) x) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ∧ ∀ (y_1 : F.obj B.op), { val := F.map π.op y_1, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) y_1 = (F.map π.op ≫ F.map (pullback.snd π π).op) y_1) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } → y_1 = x ⊢ ∀ (y_1 : F.obj B.op), F.map π.op y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x
case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : { val := F.map π.op x, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) x = (F.map π.op ≫ F.map (pullback.snd π π).op) x) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ∧ ∀ (y_1 : F.obj B.op), { val := F.map π.op y_1, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) y_1 = (F.map π.op ≫ F.map (pullback.snd π π).op) y_1) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } → y_1 = x z : F.obj B.op hz : F.map π.op z = (EqualizerFirstObjIso F π).hom y ⊢ z = x
Please generate a tactic in lean4 to solve the state. STATE: case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : { val := F.map π.op x, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) x = (F.map π.op ≫ F.map (pullback.snd π π).op) x) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ∧ ∀ (y_1 : F.obj B.op), { val := F.map π.op y_1, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) y_1 = (F.map π.op ≫ F.map (pullback.snd π π).op) y_1) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } → y_1 = x ⊢ ∀ (y_1 : F.obj B.op), F.map π.op y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
apply hx.2
case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : { val := F.map π.op x, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) x = (F.map π.op ≫ F.map (pullback.snd π π).op) x) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ∧ ∀ (y_1 : F.obj B.op), { val := F.map π.op y_1, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) y_1 = (F.map π.op ≫ F.map (pullback.snd π π).op) y_1) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } → y_1 = x z : F.obj B.op hz : F.map π.op z = (EqualizerFirstObjIso F π).hom y ⊢ z = x
case uniq_F.intro.a B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : { val := F.map π.op x, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) x = (F.map π.op ≫ F.map (pullback.snd π π).op) x) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ∧ ∀ (y_1 : F.obj B.op), { val := F.map π.op y_1, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) y_1 = (F.map π.op ≫ F.map (pullback.snd π π).op) y_1) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } → y_1 = x z : F.obj B.op hz : F.map π.op z = (EqualizerFirstObjIso F π).hom y ⊢ { val := F.map π.op z, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) z = (F.map π.op ≫ F.map (pullback.snd π π).op) z) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }
Please generate a tactic in lean4 to solve the state. STATE: case uniq_F.intro B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : { val := F.map π.op x, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) x = (F.map π.op ≫ F.map (pullback.snd π π).op) x) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ∧ ∀ (y_1 : F.obj B.op), { val := F.map π.op y_1, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) y_1 = (F.map π.op ≫ F.map (pullback.snd π π).op) y_1) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } → y_1 = x z : F.obj B.op hz : F.map π.op z = (EqualizerFirstObjIso F π).hom y ⊢ z = x TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rwa [Subtype.ext_iff]
case uniq_F.intro.a B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : { val := F.map π.op x, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) x = (F.map π.op ≫ F.map (pullback.snd π π).op) x) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ∧ ∀ (y_1 : F.obj B.op), { val := F.map π.op y_1, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) y_1 = (F.map π.op ≫ F.map (pullback.snd π π).op) y_1) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } → y_1 = x z : F.obj B.op hz : F.map π.op z = (EqualizerFirstObjIso F π).hom y ⊢ { val := F.map π.op z, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) z = (F.map π.op ≫ F.map (pullback.snd π π).op) z) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem }
no goals
Please generate a tactic in lean4 to solve the state. STATE: case uniq_F.intro.a B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : { val := F.map π.op x, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) x = (F.map π.op ≫ F.map (pullback.snd π π).op) x) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } ∧ ∀ (y_1 : F.obj B.op), { val := F.map π.op y_1, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) y_1 = (F.map π.op ≫ F.map (pullback.snd π π).op) y_1) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } → y_1 = x z : F.obj B.op hz : F.map π.op z = (EqualizerFirstObjIso F π).hom y ⊢ { val := F.map π.op z, property := (_ : (F.map π.op ≫ F.map (pullback.fst π π).op) z = (F.map π.op ≫ F.map (pullback.snd π π).op) z) } = { val := (EqualizerFirstObjIso F π).hom y, property := iy_mem } TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
apply_fun (EqualizerFirstObjIso F π).hom
case inr.intro.intro.intro.intro.left B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ Equalizer.forkMap F (Presieve.singleton π) x = y
case inr.intro.intro.intro.intro.left B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ (EqualizerFirstObjIso F π).hom (Equalizer.forkMap F (Presieve.singleton π) x) = (EqualizerFirstObjIso F π).hom y case inr.intro.intro.intro.intro.left.inj B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ Function.Injective (EqualizerFirstObjIso F π).hom
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro.left B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ Equalizer.forkMap F (Presieve.singleton π) x = y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
exact hx.1
case inr.intro.intro.intro.intro.left B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ (EqualizerFirstObjIso F π).hom (Equalizer.forkMap F (Presieve.singleton π) x) = (EqualizerFirstObjIso F π).hom y
no goals
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro.left B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ (EqualizerFirstObjIso F π).hom (Equalizer.forkMap F (Presieve.singleton π) x) = (EqualizerFirstObjIso F π).hom y TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
apply Function.Bijective.injective
case inr.intro.intro.intro.intro.left.inj B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ Function.Injective (EqualizerFirstObjIso F π).hom
case inr.intro.intro.intro.intro.left.inj.hf B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ Function.Bijective (EqualizerFirstObjIso F π).hom
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro.left.inj B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ Function.Injective (EqualizerFirstObjIso F π).hom TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
rw [← isIso_iff_bijective]
case inr.intro.intro.intro.intro.left.inj.hf B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ Function.Bijective (EqualizerFirstObjIso F π).hom
case inr.intro.intro.intro.intro.left.inj.hf B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ IsIso (EqualizerFirstObjIso F π).hom
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro.left.inj.hf B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ Function.Bijective (EqualizerFirstObjIso F π).hom TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
exact inferInstance
case inr.intro.intro.intro.intro.left.inj.hf B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ IsIso (EqualizerFirstObjIso F π).hom
no goals
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro.left.inj.hf B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ IsIso (EqualizerFirstObjIso F π).hom TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
intro z hz
case inr.intro.intro.intro.intro.right B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ ∀ (y_1 : F.obj B.op), Equalizer.forkMap F (Presieve.singleton π) y_1 = y → y_1 = x
case inr.intro.intro.intro.intro.right B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x z : F.obj B.op hz : Equalizer.forkMap F (Presieve.singleton π) z = y ⊢ z = x
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro.right B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x ⊢ ∀ (y_1 : F.obj B.op), Equalizer.forkMap F (Presieve.singleton π) y_1 = y → y_1 = x TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
apply_fun (EqualizerFirstObjIso F π).hom at hz
case inr.intro.intro.intro.intro.right B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x z : F.obj B.op hz : Equalizer.forkMap F (Presieve.singleton π) z = y ⊢ z = x
case inr.intro.intro.intro.intro.right B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x z : F.obj B.op hz : (EqualizerFirstObjIso F π).hom (Equalizer.forkMap F (Presieve.singleton π) z) = (EqualizerFirstObjIso F π).hom y ⊢ z = x
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro.right B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x z : F.obj B.op hz : Equalizer.forkMap F (Presieve.singleton π) z = y ⊢ z = x TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.isSheafFor_of_Dagur
[277, 1]
[352, 22]
exact hx.2 z hz
case inr.intro.intro.intro.intro.right B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x z : F.obj B.op hz : (EqualizerFirstObjIso F π).hom (Equalizer.forkMap F (Presieve.singleton π) z) = (EqualizerFirstObjIso F π).hom y ⊢ z = x
no goals
Please generate a tactic in lean4 to solve the state. STATE: case inr.intro.intro.intro.intro.right B : Profinite F : Profiniteᵒᵖ ⥤ Type (u + 1) hFpfp : PreservesFiniteProducts F X : Profinite π : X ⟶ B πsurj : Function.Surjective ↑π y : Equalizer.FirstObj F (Presieve.singleton π) h : Equalizer.Presieve.firstMap F (Presieve.singleton π) y = Equalizer.Presieve.secondMap F (Presieve.singleton π) y hFecs : Function.Bijective (MapToEqualizer F π (pullback.fst π π) (pullback.snd π π) (_ : pullback.fst π π ≫ π = pullback.snd π π ≫ π)) fork_comp : Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom = F.map π.op fmap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.fst π π).op = Equalizer.Presieve.firstMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom smap_comp : (EqualizerFirstObjIso F π).hom ≫ F.map (pullback.snd π π).op = Equalizer.Presieve.secondMap F (Presieve.singleton π) ≫ (EqualizerSecondObjIso F π).hom iy_mem : F.map (pullback.fst π π).op ((EqualizerFirstObjIso F π).hom y) = F.map (pullback.snd π π).op ((EqualizerFirstObjIso F π).hom y) x : F.obj B.op hx : (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) x = (EqualizerFirstObjIso F π).hom y ∧ ∀ (y_1 : F.obj B.op), (Equalizer.forkMap F (Presieve.singleton π) ≫ (EqualizerFirstObjIso F π).hom) y_1 = (EqualizerFirstObjIso F π).hom y → y_1 = x z : F.obj B.op hz : (EqualizerFirstObjIso F π).hom (Equalizer.forkMap F (Presieve.singleton π) z) = (EqualizerFirstObjIso F π).hom y ⊢ z = x TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.final
[354, 1]
[363, 16]
rw [← extensiveRegular_generates_coherent]
A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) ⊢ Presheaf.IsSheaf (coherentTopology Profinite) F
A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) ⊢ Presheaf.IsSheaf (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) F
Please generate a tactic in lean4 to solve the state. STATE: A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) ⊢ Presheaf.IsSheaf (coherentTopology Profinite) F TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.final
[354, 1]
[363, 16]
refine' fun E => (Presieve.isSheaf_coverage _ _).2 _
A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) ⊢ Presheaf.IsSheaf (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) F
A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) E : A ⊢ ∀ {X : Profinite} (R : Presieve X), R ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) X → IsSheafFor (F ⋙ coyoneda.obj E.op) R
Please generate a tactic in lean4 to solve the state. STATE: A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) ⊢ Presheaf.IsSheaf (Coverage.toGrothendieck Profinite (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst)))) F TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.final
[354, 1]
[363, 16]
intro B S hS
A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) E : A ⊢ ∀ {X : Profinite} (R : Presieve X), R ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) X → IsSheafFor (F ⋙ coyoneda.obj E.op) R
A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) E : A B : Profinite S : Presieve B hS : S ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B ⊢ IsSheafFor (F ⋙ coyoneda.obj E.op) S
Please generate a tactic in lean4 to solve the state. STATE: A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) E : A ⊢ ∀ {X : Profinite} (R : Presieve X), R ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) X → IsSheafFor (F ⋙ coyoneda.obj E.op) R TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.final
[354, 1]
[363, 16]
apply isSheafFor_of_Dagur hS
A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) E : A B : Profinite S : Presieve B hS : S ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B ⊢ IsSheafFor (F ⋙ coyoneda.obj E.op) S
case hFpfp A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) E : A B : Profinite S : Presieve B hS : S ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B ⊢ PreservesFiniteProducts (F ⋙ coyoneda.obj E.op) case hFecs A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) E : A B : Profinite S : Presieve B hS : S ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B ⊢ EqualizerCondition (F ⋙ coyoneda.obj E.op)
Please generate a tactic in lean4 to solve the state. STATE: A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) E : A B : Profinite S : Presieve B hS : S ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B ⊢ IsSheafFor (F ⋙ coyoneda.obj E.op) S TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.final
[354, 1]
[363, 16]
exact ⟨fun J inst => have := hF.1; compPreservesLimitsOfShape _ _⟩
case hFpfp A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) E : A B : Profinite S : Presieve B hS : S ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B ⊢ PreservesFiniteProducts (F ⋙ coyoneda.obj E.op)
no goals
Please generate a tactic in lean4 to solve the state. STATE: case hFpfp A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) E : A B : Profinite S : Presieve B hS : S ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B ⊢ PreservesFiniteProducts (F ⋙ coyoneda.obj E.op) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.final
[354, 1]
[363, 16]
exact hF' E
case hFecs A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) E : A B : Profinite S : Presieve B hS : S ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B ⊢ EqualizerCondition (F ⋙ coyoneda.obj E.op)
no goals
Please generate a tactic in lean4 to solve the state. STATE: case hFecs A : Type (u + 2) inst✝ : Category A F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts F hF' : ∀ (E : A), EqualizerCondition (F ⋙ coyoneda.obj E.op) E : A B : Profinite S : Presieve B hS : S ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B ⊢ EqualizerCondition (F ⋙ coyoneda.obj E.op) TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.final'
[365, 1]
[373, 38]
rw [Presheaf.isSheaf_iff_isSheaf_forget (coherentTopology Profinite) F G, isSheaf_iff_isSheaf_of_type, ← extensiveRegular_generates_coherent, Presieve.isSheaf_coverage]
A : Type (u + 2) inst✝³ : Category A G : A ⥤ Type (u + 1) inst✝² : HasLimits A inst✝¹ : PreservesLimits G inst✝ : ReflectsIsomorphisms G F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts (F ⋙ G) hF' : EqualizerCondition (F ⋙ G) ⊢ Presheaf.IsSheaf (coherentTopology Profinite) F
A : Type (u + 2) inst✝³ : Category A G : A ⥤ Type (u + 1) inst✝² : HasLimits A inst✝¹ : PreservesLimits G inst✝ : ReflectsIsomorphisms G F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts (F ⋙ G) hF' : EqualizerCondition (F ⋙ G) ⊢ ∀ {X : Profinite} (R : Presieve X), R ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) X → IsSheafFor (F ⋙ G) R
Please generate a tactic in lean4 to solve the state. STATE: A : Type (u + 2) inst✝³ : Category A G : A ⥤ Type (u + 1) inst✝² : HasLimits A inst✝¹ : PreservesLimits G inst✝ : ReflectsIsomorphisms G F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts (F ⋙ G) hF' : EqualizerCondition (F ⋙ G) ⊢ Presheaf.IsSheaf (coherentTopology Profinite) F TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.final'
[365, 1]
[373, 38]
intro B S' hS
A : Type (u + 2) inst✝³ : Category A G : A ⥤ Type (u + 1) inst✝² : HasLimits A inst✝¹ : PreservesLimits G inst✝ : ReflectsIsomorphisms G F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts (F ⋙ G) hF' : EqualizerCondition (F ⋙ G) ⊢ ∀ {X : Profinite} (R : Presieve X), R ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) X → IsSheafFor (F ⋙ G) R
A : Type (u + 2) inst✝³ : Category A G : A ⥤ Type (u + 1) inst✝² : HasLimits A inst✝¹ : PreservesLimits G inst✝ : ReflectsIsomorphisms G F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts (F ⋙ G) hF' : EqualizerCondition (F ⋙ G) B : Profinite S' : Presieve B hS : S' ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B ⊢ IsSheafFor (F ⋙ G) S'
Please generate a tactic in lean4 to solve the state. STATE: A : Type (u + 2) inst✝³ : Category A G : A ⥤ Type (u + 1) inst✝² : HasLimits A inst✝¹ : PreservesLimits G inst✝ : ReflectsIsomorphisms G F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts (F ⋙ G) hF' : EqualizerCondition (F ⋙ G) ⊢ ∀ {X : Profinite} (R : Presieve X), R ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) X → IsSheafFor (F ⋙ G) R TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
Profinite/ExplicitSheaves.lean
Profinite.final'
[365, 1]
[373, 38]
exact isSheafFor_of_Dagur hS hF hF'
A : Type (u + 2) inst✝³ : Category A G : A ⥤ Type (u + 1) inst✝² : HasLimits A inst✝¹ : PreservesLimits G inst✝ : ReflectsIsomorphisms G F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts (F ⋙ G) hF' : EqualizerCondition (F ⋙ G) B : Profinite S' : Presieve B hS : S' ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B ⊢ IsSheafFor (F ⋙ G) S'
no goals
Please generate a tactic in lean4 to solve the state. STATE: A : Type (u + 2) inst✝³ : Category A G : A ⥤ Type (u + 1) inst✝² : HasLimits A inst✝¹ : PreservesLimits G inst✝ : ReflectsIsomorphisms G F : Profiniteᵒᵖ ⥤ A hF : PreservesFiniteProducts (F ⋙ G) hF' : EqualizerCondition (F ⋙ G) B : Profinite S' : Presieve B hS : S' ∈ Coverage.covering (ExtensiveRegularCoverage' Profinite (_ : ∀ {X Y Z : Profinite} (f : Y ⟶ X) (π : Z ⟶ X) [inst : Epi π], Epi Limits.pullback.fst) (_ : ∀ {α : Type} [inst : Fintype α] {X : Profinite} {Z : α → Profinite} (π : (a : α) → Z a ⟶ X) {Y : Profinite} (f : Y ⟶ X) (x : IsIso (Sigma.desc π)), IsIso (Sigma.desc fun x_1 => Limits.pullback.fst))) B ⊢ IsSheafFor (F ⋙ G) S' TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
CategoryTheoryExercises/Exercises/Exercise3.lean
equiv_reflects_mono
[11, 1]
[22, 5]
have h := e.functor.map_injective (X := X) (Y := Y)
C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D hef : Mono (e.functor.map f) ⊢ Mono f
C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D hef : Mono (e.functor.map f) h : Function.Injective e.functor.map ⊢ Mono f
Please generate a tactic in lean4 to solve the state. STATE: C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D hef : Mono (e.functor.map f) ⊢ Mono f TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
CategoryTheoryExercises/Exercises/Exercise3.lean
equiv_reflects_mono
[11, 1]
[22, 5]
cases' hef with hef
C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D hef : Mono (e.functor.map f) h : Function.Injective e.functor.map ⊢ Mono f
case mk C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D h : Function.Injective e.functor.map hef : ∀ {Z : D} (g h : Z ⟶ e.functor.obj X), g ≫ e.functor.map f = h ≫ e.functor.map f → g = h ⊢ Mono f
Please generate a tactic in lean4 to solve the state. STATE: C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D hef : Mono (e.functor.map f) h : Function.Injective e.functor.map ⊢ Mono f TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
CategoryTheoryExercises/Exercises/Exercise3.lean
equiv_reflects_mono
[11, 1]
[22, 5]
constructor
case mk C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D h : Function.Injective e.functor.map hef : ∀ {Z : D} (g h : Z ⟶ e.functor.obj X), g ≫ e.functor.map f = h ≫ e.functor.map f → g = h ⊢ Mono f
case mk.right_cancellation C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D h : Function.Injective e.functor.map hef : ∀ {Z : D} (g h : Z ⟶ e.functor.obj X), g ≫ e.functor.map f = h ≫ e.functor.map f → g = h ⊢ ∀ {Z : C} (g h : Z ⟶ X), g ≫ f = h ≫ f → g = h
Please generate a tactic in lean4 to solve the state. STATE: case mk C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D h : Function.Injective e.functor.map hef : ∀ {Z : D} (g h : Z ⟶ e.functor.obj X), g ≫ e.functor.map f = h ≫ e.functor.map f → g = h ⊢ Mono f TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
CategoryTheoryExercises/Exercises/Exercise3.lean
equiv_reflects_mono
[11, 1]
[22, 5]
intros W φ ψ h
case mk.right_cancellation C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D h : Function.Injective e.functor.map hef : ∀ {Z : D} (g h : Z ⟶ e.functor.obj X), g ≫ e.functor.map f = h ≫ e.functor.map f → g = h ⊢ ∀ {Z : C} (g h : Z ⟶ X), g ≫ f = h ≫ f → g = h
case mk.right_cancellation C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D h✝ : Function.Injective e.functor.map hef : ∀ {Z : D} (g h : Z ⟶ e.functor.obj X), g ≫ e.functor.map f = h ≫ e.functor.map f → g = h W : C φ ψ : W ⟶ X h : φ ≫ f = ψ ≫ f ⊢ φ = ψ
Please generate a tactic in lean4 to solve the state. STATE: case mk.right_cancellation C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D h : Function.Injective e.functor.map hef : ∀ {Z : D} (g h : Z ⟶ e.functor.obj X), g ≫ e.functor.map f = h ≫ e.functor.map f → g = h ⊢ ∀ {Z : C} (g h : Z ⟶ X), g ≫ f = h ≫ f → g = h TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
CategoryTheoryExercises/Exercises/Exercise3.lean
equiv_reflects_mono
[11, 1]
[22, 5]
specialize @hef (e.functor.obj W) (e.functor.map φ) (e.functor.map ψ)
case mk.right_cancellation C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D h✝ : Function.Injective e.functor.map hef : ∀ {Z : D} (g h : Z ⟶ e.functor.obj X), g ≫ e.functor.map f = h ≫ e.functor.map f → g = h W : C φ ψ : W ⟶ X h : φ ≫ f = ψ ≫ f ⊢ φ = ψ
case mk.right_cancellation C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D h✝ : Function.Injective e.functor.map W : C φ ψ : W ⟶ X h : φ ≫ f = ψ ≫ f hef : e.functor.map φ ≫ e.functor.map f = e.functor.map ψ ≫ e.functor.map f → e.functor.map φ = e.functor.map ψ ⊢ φ = ψ
Please generate a tactic in lean4 to solve the state. STATE: case mk.right_cancellation C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D h✝ : Function.Injective e.functor.map hef : ∀ {Z : D} (g h : Z ⟶ e.functor.obj X), g ≫ e.functor.map f = h ≫ e.functor.map f → g = h W : C φ ψ : W ⟶ X h : φ ≫ f = ψ ≫ f ⊢ φ = ψ TACTIC:
https://github.com/adamtopaz/CopenhagenMasterclass2023.git
a293ca1554f7e80d891fd4d86fb092c54d8a0a01
CategoryTheoryExercises/Exercises/Exercise3.lean
equiv_reflects_mono
[11, 1]
[22, 5]
sorry
case mk.right_cancellation C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D h✝ : Function.Injective e.functor.map W : C φ ψ : W ⟶ X h : φ ≫ f = ψ ≫ f hef : e.functor.map φ ≫ e.functor.map f = e.functor.map ψ ≫ e.functor.map f → e.functor.map φ = e.functor.map ψ ⊢ φ = ψ
no goals
Please generate a tactic in lean4 to solve the state. STATE: case mk.right_cancellation C : Type u inst✝¹ : Category C D : Type v inst✝ : Category D X Y : C f : X ⟶ Y e : C ≌ D h✝ : Function.Injective e.functor.map W : C φ ψ : W ⟶ X h : φ ≫ f = ψ ≫ f hef : e.functor.map φ ≫ e.functor.map f = e.functor.map ψ ≫ e.functor.map f → e.functor.map φ = e.functor.map ψ ⊢ φ = ψ TACTIC: