Graz, Austria

ContactRésumé

Demid Valiullin

I study mathematics at Graz University of Technology and tutor students. I’m interested in how to explain a solution to a student and how to check a language model’s reasoning.

Message me on LinkedIn
A notebook with a geometric diagram resting on old records in sunlight
AI-generated illustration

Studies and projects

I’m doing a bachelor’s degree in mathematics. In my own projects I use Python and TypeScript to process data and automate checks. I define the task and test the result. I use AI tools to help with implementation.

Mathematics and tutoring

I like the moment when a long problem statement comes down to a clear question. In a lesson, we start there, work through the solution and check when the method applies.

On Demid.Math I collect notes, exercises and worked solutions for students preparing for the supplementary mathematics exam in Graz.

Research on language models

In my experiment, a model gets two expressions and has to turn one into the other using a fixed set of algebraic rules. The checker shows where a transformation breaks those rules.

The length of algebraic solutions

I compared two ways to prompt a model on its second attempt. Across 400 problems, Qwen3-14B found a shortest valid chain 4.75 percentage points more often when the second prompt reversed the direction.

A worked example from the dataset
Start
(((c + d) + (c · c)) + c)
Goal
(c + (d + ((c · c) + c)))

The shortest chain takes two steps.

  1. ((c + d) + ((c · c) + c))
  2. (c + (d + ((c · c) + c)))
Comparison and my contribution

Both strategies used at most two requests per problem. One prompted the model twice from the starting expression to the goal. The other reversed the direction for the second request.

For GPT-OSS 20B, the estimate was +2.03 points across 800 problems, with a 95% interval from −0.62 to +4.69 that includes zero.

I defined the research question and set the comparison criteria. Codex helped with implementation and analysis.

Family history

I use archival records to find where different generations of my family lived. Sometimes one entry tells me which town or parish to look in next.

When the same names turn up in two documents, I cross-check dates, places and relatives. I keep a reference to each source so I can check the connection again later.