siddhartha-gadgil/leanaide/generic-arguments
Claude Code and agent skill by siddhartha-gadgil/leanaide
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install siddhartha-gadgil/leanaide/generic-argumentsSKILL.md
Skill: Generic Arguments & "Almost All" Reasoning
Pre-condition: Do not apply this skill unless the problem involves a property claimed to hold for "almost all" objects, "generic" configurations, or requires proving a global result by analyzing a representative point in a dense/thick subset.
Goal: Leverage topological, measure-theoretic, or algebraic notions of "genericity" to simplify proofs or establish results on dense subsets.
Instructions:
1. Identify the Notion of Genericity
Select the appropriate framework based on the problem context:
- Topological/Baire Category: Property holds on a residual set (countable intersection of dense open sets). Use for complete metric spaces.
- Measure-Theoretic: Property holds "almost everywhere" (complement is a null set). Use for integration or probability.
- Algebraic Geometry: Reasoning via the generic point $\eta$ of an irreducible scheme or a Zariski-dense open set.
- General Topology: Property holds on a dense open subset.
2. The Generic Strategy
- Define the Space: Identify the space $X$ (e.g., a manifold, a scheme, a function space $C^k$).
- Select the "Generic" Representative:
- Algebraic: Work in the function field $k(X)$.
- Analytic: Pick a point $x$ avoiding a specific countable union of "bad" sets (e.g., resonances, singular values).
- Measure: Assume the property holds for $x$ outside a set of measure zero.
- Prove at the Generic Level: Establish the result for this representative.
- Spread/Extend:
- Use continuity to extend from a dense set to the whole space.
- Use compactness or Baire Category Theorem to show the intersection of generic properties is still generic.
- Use Fubini's Theorem for slice-wise genericity in measure theory.
3. Handle the Exceptional Set
Characterize the "bad" set $E$ where the property fails.
- Is $E$ meager (1st category)?
- Is $E$ a null set?
- Is $E$ a proper closed subvariety?
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmath-reasoning-system/skills/techniques/generic_arguments/SKILL.md
Popularity
- Repository stars
- 119
- Repository forks
- 17
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/siddhartha-gadgil/leanaide/generic-arguments)