-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5567a47
commit 150e359
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
import GameServer.Commands | ||
import Game.Levels.Prime.Level_1 | ||
|
||
|
||
|
||
World "Prime" | ||
Title "Prime World" | ||
|
||
Introduction | ||
" | ||
In this world, we provide the definition of a prime, and use it to | ||
prove that 2 is pirme. | ||
Click on \"Start\" to proceed. | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import Game.Levels.Multiplication | ||
import Game.MyNat.Division | ||
import Game.MyNat.Prime | ||
|
||
World "Prime" | ||
Level 1 | ||
Title "two_prime" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import Mathlib.Init.Core | ||
import Game.MyNat.Definition | ||
import Game.MyNat.Division | ||
import Game.MyNat.LE | ||
|
||
namespace MyNat | ||
|
||
def Prime (n : ℕ) := (2 ≤ n) ∧ ∀ (a b : ℕ), n ∣ a * b → n ∣ a ∨ n ∣ b | ||
|
||
|
||
|
||
end MyNat |