abstract and opaque in the module declaration
              
              #1643
            
            
                  
                    
                      fredrik-bakke
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@lowasser @malarbol
Were you aware that it is possible to put the
abstractandopaquewords together with thewherekeyword in a module declaration? E.g.or
This is a pattern we don't currently use in the library, but which I believe we should use, especially now that we are taking these keywords more seriously. #1102 #1106 #1457 #1521 #1612
These keywords detract from the actual formalization and are not important to the reader, only the formalizer/implementer: an entry should mean the exact same to the reader whether it is
abstract,opaqueor transparent. As Martín Escardó more nicely put it recently in a mathstodon toot (which I am struggling to find atm), there's an inherent trade-off to using these keywords: on the one hand it helps the formalizer write and typecheck their code, and on the other hand it adds noise to the code that detracts the reader from the, shall we say, "essence". By using the pattern I propose above we reduce the noise, as the keywords take up less space, and we need less indentation.I wanted to share this again even though it was discussed and rejected in the past. @VojtechStep
Beta Was this translation helpful? Give feedback.
All reactions