Skip to content

Commit

Permalink
Align
Browse files Browse the repository at this point in the history
  • Loading branch information
ayberkt committed Aug 18, 2023
1 parent 242022e commit 08a5c30
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions source/EffectfulForcing/Internal/InternalModCont.lagda
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ max-question₀ : D ℕ ℕ ℕ → (ℕ → ℕ) → ℕ
max-question₀ d α = maximum (pr₁ (dialogue-continuity d α))

max-question₀-agreement : (d : D ℕ ℕ ℕ) (α : ℕ → ℕ)
→ max-question d α = max-question₀ d α
→ max-question d α = max-question₀ d α
max-question₀-agreement (D.η n) α = refl
max-question₀-agreement (D.β φ n) α =
ap (max n) (max-question₀-agreement (φ (α n)) α)
Expand All @@ -172,7 +172,7 @@ max-questionᵀ : {Γ : Cxt} → Γ ⊢ (⌜B⌝ ι ι) ⇒ baire ⇒ ι
max-questionᵀ = ƛ (ƛ (ν₁ · ƛ Zero · ƛ (ƛ (maxᵀ · ν₀ · (ν₁ · (ν₂ · ν₀))))))

max-question⋆-agreement : (d : D ℕ ℕ ℕ) (α : ℕ → ℕ)
→ max-question d α = max-question⋆ (church-encode d) α
→ max-question d α = max-question⋆ (church-encode d) α
max-question⋆-agreement (D.η n) α = refl
max-question⋆-agreement (D.β φ n) α = †
where
Expand All @@ -185,7 +185,8 @@ max-question⋆-agreement (D.β φ n) α = †
† = ap (max n) IH

max-questionᵀ-agreement-with-max-question⋆ : (d : 〈〉 ⊢ ⌜D⋆⌝ ι ι ι ι) (α : ℕ → ℕ)
→ ⟦ max-questionᵀ · d ⟧₀ α = max-question⋆ ⟦ d ⟧₀ α
→ ⟦ max-questionᵀ · d ⟧₀ α
= max-question⋆ ⟦ d ⟧₀ α
max-questionᵀ-agreement-with-max-question⋆ d α =
ap
(⟦ d ⟧₀ (λ _ → 0))
Expand Down

0 comments on commit 08a5c30

Please sign in to comment.