Skip to content

Commit

Permalink
formatting and deletion of deadcode
Browse files Browse the repository at this point in the history
  • Loading branch information
martinescardo committed Aug 17, 2023
1 parent 2f8c4d1 commit 628e20e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions source/InjectiveTypes/MathematicalStructures.lagda
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,7 @@ closed-under-prop-Π-× :
→ closed-under-prop-Π S₂
→ closed-under-prop-Π (λ X → S₁ X × S₂ X)

closed-under-prop-Π-× {𝓤} {𝓥₁} {𝓥₂} {S₁} {S₂}
σ₁-is-equiv σ₂-is-equiv = γ
closed-under-prop-Π-× {𝓤} {𝓥₁} {𝓥₂} {S₁} {S₂} σ₁-is-equiv σ₂-is-equiv = γ
where
S : 𝓤 ̇ → 𝓥₁ ⊔ 𝓥₂ ̇
S X = S₁ X × S₂ X
Expand Down Expand Up @@ -482,10 +481,6 @@ closed-under-prop-Π-× {𝓤} {𝓥₁} {𝓥₂} {S₁} {S₂}
(inverses-are-retractions σ₁ (σ₁-is-equiv p A) s₁)
(inverses-are-retractions σ₂ (σ₂-is-equiv p A) s₂)

remark-σ : (s₁ : S₁ (Π A)) (s₂ : S₂ (Π A)) (h : p holds)
→ σ (s₁ , s₂) h = transport S (eqtoid (ua 𝓤) (Π A) (A h) (π h)) (s₁ , s₂)
remark-σ _ _ _ = refl

ε : σ ∘ σ⁻¹ ∼ id
ε α = dfunext fe' I
where
Expand Down

0 comments on commit 628e20e

Please sign in to comment.