Back to list
Arthur742Ramos

lean-hit-development

by Arthur742Ramos

0🍴 0📅 Jan 18, 2026

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

  1. Define axioms for type and constructors
  2. Define recursion principle
  3. Create group presentation type
  4. Implement encode/decode
  5. Prove round-trip properties
  6. Add to imports in ComputationalPaths/Path.lean
  7. Update README

Common HITs

HITπ₁
Circle (S¹)
Torus (T²)ℤ × ℤ
Sphere (S²)1 (trivial)
Wedge (A ∨ B)π₁(A) * π₁(B)

Score

Total Score

60/100

Based on repository quality metrics

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

Reviews

💬

Reviews coming soon