Skip to content

Commit

Permalink
fix euclid-mullin
Browse files Browse the repository at this point in the history
  • Loading branch information
EgbertRijke committed Oct 24, 2024
1 parent ffdf33c commit 4570923
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/elementary-number-theory/euclid-mullin-sequence.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ previous entries in the Euclid–Mullin sequence plus one.
### The Euclid–Mullin sequence

```agda
{-# TERMINATING #-}

euclid-mullin-ℕ :
euclid-mullin-ℕ =
strong-rec-ℕ
( 2)
( λ n f
nat-least-nontrivial-divisor-ℕ'
( succ-ℕ
( Π-ℕ (succ-ℕ n) (λ i euclid-mullin-ℕ (nat-Fin (succ-ℕ n) i)))))
( Π-ℕ
( succ-ℕ n)
( λ i f (nat-Fin (succ-ℕ n) i) (upper-bound-nat-Fin n i)))))

compute-euclid-mullin-0-ℕ : euclid-mullin-ℕ 02
compute-euclid-mullin-0-ℕ = refl
Expand Down

0 comments on commit 4570923

Please sign in to comment.