Skip to content

feat: Groupoid model identity and Pi types - #161

Merged
Jlh18 merged 16 commits into
masterfrom
GroupoidId1
Nov 4, 2025
Merged

feat: Groupoid model identity and Pi types#161
Jlh18 merged 16 commits into
masterfrom
GroupoidId1

Conversation

@Jlh18

@Jlh18 Jlh18 commented Oct 28, 2025

Copy link
Copy Markdown
Collaborator
  • Full construction of identity types in the groupoid model
  • No more sorrys for pi types in the groupoid model

@Jlh18
Jlh18 marked this pull request as draft October 30, 2025 13:26
@Jlh18 Jlh18 changed the title feat: Groupoid model identity types via Hurewicz feat: Groupoid model identity and Pi types Nov 1, 2025
@Jlh18
Jlh18 marked this pull request as ready for review November 1, 2025 16:10

namespace hurewiczUTp

attribute [local irreducible] tpClovenIsofibration

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Vtec234 is this an ok thing to do? After I actually defined what tpClovenIsofibration was (as opposed to stating it with a sorry) simp would crash with a "nested" error. I couldn't figure out what the issue was, but adding this irreducible attribute stopped the error.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think it's fine. It would be good to also diagnose the underlying issue.


open CategoryTheory Functor.ClovenIsofibration

def tpClovenIsofibration : (GroupoidModel.U.{u}.tp).ClovenIsofibration :=

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this live in Groupoids/ rather than ForMathlib/?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i can move the whole file to Groupoids.

@@ -0,0 +1,659 @@
import Mathlib.CategoryTheory.FiberedCategory.HomLift
import Mathlib.CategoryTheory.FiberedCategory.Fiber
import HoTTLean.Grothendieck.Groupoidal.IsPullback

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably don't want to import non-ForMathlib modules in ForMathlib.

@Jlh18 Jlh18 mentioned this pull request Nov 4, 2025
@Jlh18
Jlh18 merged commit d87f63e into master Nov 4, 2025
1 check passed
@Vtec234
Vtec234 deleted the GroupoidId1 branch November 4, 2025 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants