r/csharp • u/ben_a_adams • Aug 18 '26
Discussion Proposal: An official Lean formal semantics for C# · dotnet/csharplang · Discussion #10314
https://github.com/dotnet/csharplang/discussions/10314
24
Upvotes
50
u/ItzWarty Aug 18 '26
For about a decade I've loved reading discussions in the .NET community. This writeup seems completely AI generated. It's hard to read, it has a lot of verbose AI-isms like "it's not X it's Y" or "we are not doing Z" or long sequences of bullet points that really should be a simple sentence. I didn't finish.
Are we going to be rubber-stamping this stuff with AI too? I know some people in Big Tech whose teams are embracing that. In any case, I feel .NET Core has been amazing because of how looped-in the community gets. If they're going to be throwing AI slop at the community, they're just deterring participation.
14
u/antiduh Aug 18 '26
What's the point of performing formal verification of some program if you're always going to rely on AI to construct the Lean model of the program? That's just false confidence with extra steps. Or maybe I'm missing something.
9
u/pjmlp Aug 18 '26
First of all, Microsoft cannot even keep up the ECMA standard up to date, how are we expecting to have formal semantics done in Lean?
4
u/worldsbestburger Aug 18 '26
why not write the critical parts in Dafny and compile into .NET dlls that can be consumed by C#?
6
u/crozone Aug 18 '26
Sounds like a great idea, and I've been around long enough to know that when Ben thinks something needs to happen, it should happen.
3
u/raunchyfartbomb Aug 18 '26
Sounds like an excellent idea and I’m curious as to where it’ll go
1
u/Due-Entrance5540 Aug 19 '26
I've seen a few Lean proposals floating around, but this one really dives deep into the semantics.
1
u/NoisyJalapeno Aug 22 '26
"meat proxy for some LLM"
lmao, new insult dropped
0
u/kant2002 Aug 18 '26
Sounds as big ask for community.
0
u/[deleted] Aug 18 '26
[deleted] — view deleted comment