You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lean4game/server/testgame/TestGame/Levels/Function/L07_Injective.lean

25 lines
296 B
Plaintext

2 years ago
import TestGame.Metadata
import Mathlib
Game "TestGame"
World "Function"
Level 5
Title ""
Introduction
"
"
open Set Function
def f3 : := fun n ↦ if Even n then n^2 else n+1
#eval (f3 + f3) 2
example : ¬ f3.Injective := by
unfold Injective
push_neg
use 2
use 3
simp