Download PFR/Mathlib/Data/Fin/Basic.lean from cfahlgren1/lean-pfr: direct link, hf CLI and curl.
- Browser
- Download file 493 Bytes
-
https://huggingface.co/datasets/cfahlgren1/lean-pfr/resolve/main/PFR/Mathlib/Data/Fin/Basic.lean
- Command line
-
hf download hf://datasets/cfahlgren1/lean-pfr/PFR/Mathlib/Data/Fin/Basic.lean
-
curl -L -o Basic.lean https://huggingface.co/datasets/cfahlgren1/lean-pfr/resolve/main/PFR/Mathlib/Data/Fin/Basic.lean
493 Bytes
| module | |
| public import Mathlib.Data.Fin.Basic | |
| public section | |
| theorem Fin.cast_bijective {k l : ℕ} (h : k = l) : Function.Bijective (Fin.cast h) := by | |
| subst l; simpa using Function.bijective_id | |
| theorem Fin.cast_surjective {k l : ℕ} (h : k = l) : Function.Surjective (Fin.cast h) := | |
| (Fin.cast_bijective h).surjective | |
| theorem Fin.forall_fin_three {p : Fin 3 → Prop} : (∀ i, p i) ↔ p 0 ∧ p 1 ∧ p 2 := | |
| Fin.forall_fin_succ.trans <| and_congr_right fun _ => Fin.forall_fin_two | |