←back to thread

167 points yarapavan | 1 comments | | HN request time: 0.21s | source
Show context
jlcases ◴[] No.43549529[source]
I've noticed that the formalization of methods described by AWS parallels what we need in technical documentation. Complex systems require not just formal verification but also structured documentation following MECE principles (Mutually Exclusive, Collectively Exhaustive).

In my experience, the interfaces between components (where most errors occur) are exactly where fragmented documentation fails. I implemented a hierarchical documentation system for my team that organizes knowledge as a conceptual tree, and the accuracy of code generation with AI assistants improved notably.

Formal verification tools and structured documentation are complementary: verification ensures algorithmic correctness while MECE documentation guarantees conceptual and contextual correctness. I wonder if AWS has experimented with structured documentation systems specifically for AI, or if this remains an area to explore.

replies(5): >>43549557 #>>43549622 #>>43550862 #>>43553797 #>>43554253 #
rixed ◴[] No.43553797[source]
There is another way formal methods parallel documentation: both are futile unless you can prove that the modelized/documented system matches the actual, live one.

"This is just a matter of discipline" is not very convincing, especially when the discipline involves long unpaid afterhours.

The examples I've seen in this report from AWS are mostly about one-shot events (helping going through important changes). It's good to see formal methods used in these cases of course, but I'd really like to read stories about how sustained use of formal methods helps reclaiming the high costs of the initial investment as the actual system evolves alongside the modelization.

replies(2): >>43554899 #>>43557332 #
hwayne ◴[] No.43557332[source]
At least in the TLA+ community, the new state-of-art approach is to use the formal model to generate a test suite.
replies(1): >>43559397 #
1. goostavos ◴[] No.43559397[source]
That is interesting. Link?