Generic arguments

From siddhartha-gadgil/LeanAide · View interactive version

Generic arguments is an AI agent skill from the GitHub repository siddhartha-gadgil/LeanAide. **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

How to use this skill

Skill file

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:

2. The Generic Strategy

  1. Define the Space: Identify the space $X$ (e.g., a manifold, a scheme, a function space $C^k$).
  2. Select the "Generic" Representative:
  1. Prove at the Generic Level: Establish the result for this representative.
  2. Spread/Extend:

3. Handle the Exceptional Set

Characterize the "bad" set $E$ where the property fails.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.