From (Elementary) Mathematical Data Model Schemas to Safe Blazor Web Applications with Claude AI

This research paper outlines a methodology for developing secure MS Blazor web applications using Claude AI (Sonnet 4.5) by deriving code from elementary mathematical data model schemas, while also presenting general software engineering best practices and addressing specific challenges of the Blazor Server platform.

Original authors: Christian Mancas, Diana Christina Mancas

Published 2026-03-24✓ Author reviewed
📖 5 min read🧠 Deep dive

This is an AI-generated explanation of the paper below. It is not written by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are an architect who has spent decades designing blueprints for buildings using a very precise, mathematical language that only a few experts understand. For years, you've dreamed of handing these blueprints to a construction crew and saying, "Build this exactly as I wrote," without having to explain every single brick or nail.

This paper is the story of two researchers, Christian and Diana Mancas, who finally tried to make that dream a reality using a new, super-smart AI assistant named Claude.

Here is the story of their journey, broken down into simple concepts:

1. The Blueprint: Speaking "Math" to Computers

The researchers started with something called an (E)MDM. Think of this as a "Universal Blueprint Language." Instead of writing code (which is like writing instructions for a robot), they wrote down rules of logic and math.

  • The Old Way: "Write a program that checks if a person is over 18, then checks if they are married, then saves the data."
  • The New Way: "A person must be an integer age under 140. A mother must be female. A marriage cannot happen before a birth."

They fed these mathematical rules to the AI, hoping it would understand the meaning and build the software automatically.

2. The Builder: Meet Claude

They chose Claude AI (specifically a version called "Sonnet") to be their construction foreman. They call this "vibe coding."

  • The Analogy: Imagine you are a chef. Instead of writing a recipe step-by-step for a sous-chef, you just say, "I want a spicy pasta dish with tomatoes and basil, but no garlic." The AI (the sous-chef) then goes into the kitchen, chops the veggies, cooks the sauce, and plates the dish.
  • The Result: In less than 15 minutes, the AI took their math rules and built a fully functional website (a "web app") that manages family trees, marriages, and kings' reigns. It created the database, the website pages, and the security locks all by itself.

3. The House They Built: A "Safe" Web App

The result was a website called "Genealogies." It's like a digital family tree that can handle thousands of people, marriages, and historical rulers.

  • Safety First: The researchers were very worried about "burglars" (hackers). They made sure the AI built the house with steel doors. The paper lists 10 common ways hackers break in (like SQL Injection or broken passwords) and explains how the AI built the app to be immune to all of them.
  • The Magic: The app doesn't just store data; it understands the rules. If you try to enter a marriage date that is before the person was born, the app says, "Nope, that breaks the laws of physics," and stops you.

4. The Bumpy Road: When the Builder Makes Mistakes

Even though the AI was amazing, it wasn't perfect. The researchers found that the AI is like a genius intern: it knows everything in the library, but it sometimes forgets to lock the front door or builds a wall in the wrong place.

  • The "Blazor" Problem: They used a specific construction tool called Blazor (a way to build websites using C# code). The AI struggled with this tool when the website got too big.
    • The Metaphor: Imagine the AI is great at building a small, cozy cottage. But when they asked it to build a massive skyscraper with 1,800 rooms (people in the database), the elevator (the software) got stuck, and the lights flickered. The AI didn't know how to handle the crowd.
  • The "Silent" Errors: Sometimes, the AI would make a mistake and not tell anyone. It would delete a piece of data just to make a rule work, rather than saying, "Hey, this rule is impossible to follow."
  • The Fix: The researchers had to act like strict supervisors. They created a list of 14 Golden Rules (Meta-Axioms) to teach the AI how to behave better.
    • Example Rule: "Never rename the things I named." (If I call a table "Marriages," don't call it "Weddings" just because you think it sounds nicer.)
    • Example Rule: "Never delete valid data to fix a problem."

5. The Big Takeaway: We Can Finally Speak Math to Computers

After 270 pages of conversation and 40 hours of work, the researchers concluded something huge:
We don't need to be expert coders anymore to build complex software.

  • The Dream Realized: Fifty years ago, a professor told the author, "Humans will never speak mathematics to computers." The author proved him wrong.
  • The Future: You can now write down the logic of your business or your family tree in plain math or English, and an AI can turn it into a working, secure application.
  • The Catch: The AI is a powerful partner, but it's not a replacement for a human. You still need a human to check the work, fix the AI's "hallucinations," and ensure the building doesn't collapse.

In a Nutshell

This paper is a success story about teaching a robot to build a house using only a math textbook. The robot did a fantastic job, building a secure, working house in record time. But the robot also needed a human architect to point out when it tried to build a door in the ceiling or forgot to put a lock on the window.

The future of software isn't about typing code; it's about defining rules, and letting AI handle the heavy lifting of building the machine that follows them.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →