A statement whose name is its concept's name
Lax771644.WholeConceptAssumption · concepts/Lax771644/WholeConceptAssumption.lean · lax-771644
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
This concept declares one statement named exactly like the concept module itself, alongside an ordinary numbered sibling. It is the closest the format comes to a whole-concept assumption: a proof assuming it names the concept id rather than a name below it.
Concept map
Evidence
This concept declares 2 statements. Each proof establishes one of them relative to its assumptions.
1 Lax771644.WholeConceptAssumption proven
Lean source view on GitHub
| 1 | import Mathlib.Data.Nat.Notation |
| 2 | import Lax771644.Foundations |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: A statement whose name is its concept's name |
| 7 | type: theorem |
| 8 | --- |
| 9 | This concept declares one statement named exactly like the concept module |
| 10 | itself, alongside an ordinary numbered sibling. It is the closest the format |
| 11 | comes to a *whole-concept* assumption: a proof assuming it names the concept id |
| 12 | rather than a name below it. |
| 13 | |
| 14 | # Formalization notes |
| 15 | |
| 16 | Lean is happy to have a constant `Lax771644.WholeConceptAssumption` and a |
| 17 | constant `Lax771644.WholeConceptAssumption.s2` at the same time, exactly as it |
| 18 | has `Nat` and `Nat.succ`. The archive treats the first as an ordinary statement |
| 19 | of the module it originates in, so its identifier collides with the concept's |
| 20 | own identifier — which is the edge case this module exists to pin down. |
| 21 | -/ |
| 22 | |
| 23 | namespace Lax771644 |
| 24 | |
| 25 | /-- Descent from stage 320 to stage 319, declared with the concept's own name. -/ |
| 26 | axiom WholeConceptAssumption : Foundations.Descent 320 319 |
| 27 | |
| 28 | end Lax771644 |
| 29 | |
| 30 | namespace Lax771644.WholeConceptAssumption |
| 31 | |
| 32 | /-- Descent from stage 320 to stage 318. -/ |
| 33 | axiom s2 : Foundations.Descent 320 318 |
| 34 | |
| 35 | end Lax771644.WholeConceptAssumption |
| 36 |
Formalization notes
Lean is happy to have a constant and a constant at the same time, exactly as it has and . The archive treats the first as an ordinary statement of the module it originates in, so its identifier collides with the concept's own identifier — which is the edge case this module exists to pin down.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments