Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat: final functors with filtered domain #10720

Closed
wants to merge 26 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
e19f8dd
chore: generalize theorems from IsConnected to IsPreconnected
TwoFX Feb 19, 2024
cd69749
WIP
TwoFX Feb 19, 2024
96bddc3
chore: make IsFiltered.nonempty an instance
TwoFX Feb 19, 2024
174f2ca
Merge branch 'filtered-nonempty-instance' into filtered-is-connected
TwoFX Feb 19, 2024
676551b
WIP
TwoFX Feb 19, 2024
cede171
Dualize
TwoFX Feb 19, 2024
1c5847a
Merge branch 'filtered-nonempty-instance' into filtered-is-connected
TwoFX Feb 19, 2024
06ce652
Done
TwoFX Feb 19, 2024
960b0c4
Add code
TwoFX Feb 19, 2024
81cd9f0
Uninstance
TwoFX Feb 19, 2024
df14858
Merge branch 'filtered-is-connected' into filtered-final
TwoFX Feb 19, 2024
346b2f6
Remove import
TwoFX Feb 19, 2024
d006a1d
Merge remote-tracking branch 'origin/master' into filtered-is-connected
TwoFX Feb 19, 2024
1f87dc3
Merge branch 'filtered-is-connected' into filtered-final
TwoFX Feb 19, 2024
e966642
Fix
TwoFX Feb 19, 2024
862f6b1
Merge branch 'filtered-is-connected' into filtered-final
TwoFX Feb 19, 2024
ebb2fc3
Add missing align statement
TwoFX Feb 19, 2024
2fde1b8
Add to Mathlib.lean
TwoFX Feb 19, 2024
7c3cc36
Merge branch 'filtered-is-connected' into filtered-final
TwoFX Feb 19, 2024
b4bc3a4
Add to mathlib.lean
TwoFX Feb 19, 2024
d8ed4c7
Even more uninstance
TwoFX Feb 19, 2024
433abb3
Merge branch 'filtered-is-connected' into filtered-final
TwoFX Feb 19, 2024
9f3ee0b
Fix
TwoFX Feb 19, 2024
8706112
Minor
TwoFX Feb 19, 2024
3805ff5
Merge branch 'filtered-is-connected' into filtered-final
TwoFX Feb 19, 2024
cd6d7b1
Merge remote-tracking branch 'origin/master' into filtered-final
TwoFX Feb 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'origin/master' into filtered-is-connected
  • Loading branch information
TwoFX committed Feb 19, 2024
commit d006a1d7f9ad626c166edbf0dc936dcbb243b6f4
4 changes: 2 additions & 2 deletions Mathlib/CategoryTheory/IsConnected.lean
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@
#align category_theory.equiv_relation CategoryTheory.equiv_relation

/-- In a connected category, any two objects are related by `Zigzag`. -/
theorem isConnected_zigzag [IsPreconnected J] (j₁ j₂ : J) : Zigzag j₁ j₂ :=
theorem isPreconnected_zigzag [IsPreconnected J] (j₁ j₂ : J) : Zigzag j₁ j₂ :=
equiv_relation _ zigzag_equivalence
(@fun _ _ f => Relation.ReflTransGen.single (Or.inl (Nonempty.intro f))) _ _
#align category_theory.is_connected_zigzag CategoryTheory.isPreconnected_zigzag
Expand All @@ -365,7 +365,7 @@
rcases hj with (⟨⟨hj⟩⟩|⟨⟨hj⟩⟩)
exacts [hF hj, (hF hj).symm]

theorem zigzag_isPreconnected (h : ∀ j₁ j₂ : J, Zigzag j₁ j₂) : IsPreconnected J := by

Check failure on line 368 in Mathlib/CategoryTheory/IsConnected.lean

View workflow job for this annotation

GitHub Actions / Build

'CategoryTheory.zigzag_isPreconnected' has already been declared
apply IsPreconnected.of_constant_of_preserves_morphisms
intro α F hF j j'
specialize h j j'
Expand Down Expand Up @@ -440,7 +440,7 @@
ext j
apply nat_trans_from_is_connected f (Classical.arbitrary J) j

instance nonempty_hom_of_connected_groupoid {G} [Groupoid G] [IsPreconnected G] :
theorem nonempty_hom_of_preconnected_groupoid {G} [Groupoid G] [IsPreconnected G] :
∀ x y : G, Nonempty (x ⟶ y) := by
refine' equiv_relation _ _ @fun j₁ j₂ => Nonempty.intro
exact
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.