← スキル一覧に戻る

lean-hit-development
by Arthur742Ramos
⭐ 0🍴 0📅 2026年1月18日
SKILL.md
name: lean-hit-development description: Guides adding new Higher Inductive Types to the ComputationalPaths library. Use when creating new HITs, defining fundamental group (pi1) calculations, implementing encode-decode proofs, or adding new topological spaces.
Higher Inductive Type Development
Add new HITs to the ComputationalPaths library.
File Location
ComputationalPaths/Path/HIT/YourHIT.lean
Required Structure
import ComputationalPaths.Path.Homotopy.FundamentalGroup
namespace ComputationalPaths.Path.HIT
/-! ## Type and Constructor Axioms -/
axiom YourHIT : Type u
axiom yourHITBase : YourHIT
axiom yourHITLoop : Path yourHITBase yourHITBase
/-! ## Recursion Principle -/
axiom YourHIT.rec {β : Type v} (base : β) (loop : Path base base) : YourHIT → β
/-! ## Encode-Decode for π₁ -/
noncomputable def decode : Presentation → π₁(YourHIT, yourHITBase) := ...
noncomputable def encode : π₁(YourHIT, yourHITBase) → Presentation := ...
noncomputable def piOneEquiv : SimpleEquiv (π₁(YourHIT, base)) Presentation where
toFun := encode
invFun := decode
left_inv := decode_encode
right_inv := encode_decode
end ComputationalPaths.Path.HIT
Checklist
- Define axioms for type and constructors
- Define recursion principle
- Create group presentation type
- Implement encode/decode
- Prove round-trip properties
- Add to imports in
ComputationalPaths/Path.lean - Update README
Common HITs
| HIT | π₁ |
|---|---|
| Circle (S¹) | ℤ |
| Torus (T²) | ℤ × ℤ |
| Sphere (S²) | 1 (trivial) |
| Wedge (A ∨ B) | π₁(A) * π₁(B) |
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です