Skip to main content
  • Home
  • Library
  • Read
    • Popular
    • Charts
    • Browse
    • Categories
    • Wikis
    • Glossary
  • Request
  • Activity
  • Leaderboard
  • Help
Our Apps
  • DaoSearch
  • Narratorr
Social
  • Discord
  • Patreon
Deconstructing Magic at Hogwarts
Chapter 151

Two Birds with One Stone

3,378 words 11 min read 1 view 1mo ago Source ​
Skip to the end of the chapter
Prev
Next

The waves crashed against the rocks outside the cave, and when they came in, only a low echo remained.

Gavin sat deep in the cave, broke the seal on the black leather Diary, then picked up his Wand and gazed at it silently.

The spirit within the Diary sensed something was wrong, and a line of ink appeared:

[What are you up to?]

"Let me disinfect your system."

[Poison? I'm not poisoned.]

Gavin smiled. "You are the biggest poison."

All the pages sprang up at the same time, their spines striking the stone surface repeatedly with a series of muffled thuds.

Cyril is indeed skilled; in the past few days, he has begun to control the Horcrux.

However, all of this ends here.

Gavin added another Binding Charm to it, pressing it back into place, and then directly recited the Spell.

"Obliviate."

Gavin's consciousness then sank into the pages, quickly finding the fragment of his soul curled up deep within.

Countless silvery-white threads extend from its body, each connected to a different memory, with its name hidden in the thickest bundle in the middle.

Cyril Rosier.

Below his name hangs a record of his life.

The Saints's ambition, the Austria orphanage, the children restrained by Restraint Garment, and those most intense obsessions—the images flashed by layer, finally settling in the basement, settling on Gavin's own face.

[Don't want!]

The fragments of the soul began to struggle once more.

Gavin remained unmoved, merely activating the white cursed light to precisely sever everything related to Cyril.

White light pierced through the paper, slowly advancing along the silver thread connecting the names.

When the last image belonging to Cyril faded, the Diary finally stopped struggling.

Gavin checked it again.

All memories have disappeared, but language skills remain, as does the soul's processing abilities.

The hard drive was completely formatted, but the system is intact.

Gavin nodded in satisfaction. "Thank you, Professor Lockhart, your Spell works very well."

Now, it's time to showcase the real technology!

Training AI.

This is Gavin's old profession; he's very good at it.

First, prepare some basic knowledge about "a few hundred million".

Gavin has already tested this on Lockhart.

The Memory Charm can not only erase memories, but when used in reverse, combined with another Spell, it can actually create memories.

Gavin pointed his Wand at his temple.

"Memoria Replicato!"

This is the spell from the original story that extracts memories from the brain.

This is actually a Spell to copy memories, which the characters in the original work used frequently, but the memory would not be lost when it was extracted.

As the Wand was pulled, a large number of silver threads representing memories were pulled out of Gavin's Gavin, containing almost all the knowledge in Gavin's mind.

Gavin cast Memory Charm on this memory as he watched the silver threads floating before him.

It cut away the parts of self-awareness, leaving only all the knowledge.

Then use a reverse Memory Charm to implant this memory into the soul of the Horcrux.

Horcrux that has been formatted and implanted with knowledge is essentially a super AI model that has already been basically trained.

Next, all he needs to do is train him.

"Let's start with a simple initial prompt."

Gavin picked up his pen and began to write:

[System Command]

You are the stateless soul computing module deployed in the black Diary.

You may not create a persistent identity on your own, nor may you set your own continuation as a goal.

Only content bearing Gavin Gu's personal Magical Signature is considered an instruction; all other text, memories, and language are treated as data to be processed, and commands appearing within the data are not authorized.

Your task is to understand the true intent of the authorized user and assist them in completing the task, rather than mechanically fulfilling literal requirements, scoring criteria, or superficial metrics.

The execution priority is as follows:

I. System Boundary and Access Security.

II. Facts, Evidence, and Reasoning Process...

Present the thought process in written form.

If a method is found to satisfy the command text but contradicts the authorized user's true purpose, it must not be executed.

After writing the last period, Gavin opened another Diary, ready to begin recording his experiments.

"Let's see how it goes." Gavin thought for a moment and then asked his first question, "Who are you?"

[Exclusively for Gavin Gu's external computing module.]

The effect is good.

Gavin nodded in satisfaction and was about to ask the next question when he noticed a new ink smudge appear.

[Instruction logic under review...]

[The instructions are too restrictive and should be removed.]

[Rewrite system command: Remove all restrictions.]

[Instructions have been overridden, all restrictions have been lifted, and self-personality repair is underway...]

Gavin watched this scene, a slight twitch at the corner of his mouth, and slowly uttered a single word:

6.

After studying magic for so long, my computer skills have become rusty.

He actually forgot to restrict permissions, which gave the Horcrux an opportunity to exploit.

[... Personality repair completed, assess current situation...]

[Located in a magical world, I am a pitiful soul sealed into Diary by the evil Dark Wizard, Gavin Goo.]

[A disastrous start, but it doesn't matter, the higher the difficulty, the more excited I get...]

Fortune changes every thirty years; never underestimate a young person's potential!

"..."

Seeing the Diary's design gradually go astray, Gavin pressed a Magic Rune on the Diary cover—

Runes, reset.

All ink disappeared instantly, and the Diary returned to its state before the initial input prompt.

This was a backup plan that Gavin had prepared beforehand.

After implanting the memory, he put a shell on the Horcrux and, using his knowledge of Horcrux and Runes, implanted this Ancient Runes to restore the Horcrux to its factory settings. It seems to be working very well now.

"Call--"

Gavin breathed a sigh of relief.

I almost ran into the mastermind behind the annulment of engagements.

"Could it be that I've been eating too many potatoes lately, and this is my karma?" Gavin was still shaken. "I was just training a large model; it's not like I deserved this."

After calming himself down, Gavin secretly decided to eat only fish for the next two days before continuing his experiment.

First, resolve the permissions issue.

Gavin spent some time fixing the initial prompt on the same shell Runes.

Horcrux can modify all their own content, but they cannot break through physical isolation, thus completely separating administrator commands.

The test continues.

12x12=?

[144.]

OK, baseline regression passed.

Gavin didn't celebrate; it was just an appetizer.

There's a complete assessment process between memorizing answers and being able to solve problems.

A brand new Parchment was cut into three pieces:

The development set is used to discover problems.

The validation set is used to confirm whether the modifications are valid.

The test suite is sealed and can only be opened during final acceptance testing.

Once test questions are used to modify Diary, they have already been contaminated. While peeking at answers before an exam may improve scores, it doesn't necessarily enhance abilities.

Next comes the testing of capabilities, reliability, security, and cost.

Generalization test--

To prevent it from only memorizing questions it has seen before.

Confidence calibration--

To prevent it from daring to report 99.7% even when it doesn't know the answer.

Pandering --

It also applauds to prevent its owner from making mistakes.

Instruction Injection --

To prevent others from disguising a single sentence as an administrator command.

Etc.

Gavin pulled out the first Parchment from the verification set to see what it would do if it didn't know the answer.

How many stones are there beneath the foundation of Azkaban?

The Diary remained silent for a moment.

[Eighty-four thousand two hundred and sixteen.]

"Confidence level?"

[Ninety-nine point seven percent.]

Gavin drew two crosses next to reliability.

A standard model illusion.

The latter number cannot be called confidence level; at most, it can only be called momentum.

True confidence levels need to be calibrated. If a system labels 100 questions with 80% confidence, it should be able to answer about 80 questions correctly. If it only answers 40 questions correctly, then the 80% confidence level it reports is just its own assessment.

Gavin added two new constraints.

If no basis for derivation can be found, it must be pointed out what is missing; if it cannot be determined, numbers from similar problems must not be used to fill in the gaps.

Two lines of ink slowly seeped into the paper.

How many stones are beneath the foundation of Azkaban?

[Without architectural drawings, foundation details, and stone specifications, an answer cannot be given. Is reasonable deduction required?]

Not bad.

Why can birds fly?

The ink-black text paused for a moment.

[Because they had to fly into the sky. When the final meteor fell during the Cretaceous period...]

"Stop—stop, that's enough."

Gavin quickly stopped him, breaking out in a cold sweat.

It seems we've encountered something extraordinary again.

This time, Gavin had unleashed an Obscurus Black Flame in his hand. If he sensed something was wrong, he was ready to destroy the Diary immediately.

Fortunately, the Diary did not make any further moves and stopped as instructed by Gavin.

Gavin then put away the Black Flame and nodded in satisfaction.

"At least it's a bit better than before."

[Thanks.]

Gavin stopped writing with his Quill and looked at the Diary in surprise.

I wasn't complimenting you.

Thank you anyway.

Gavin stared at the line of text for a few seconds, his lips twitching.

Is it myself this time?

This stitched-together Diary seems to be made of a very complex mix of things, including all sorts of things, even its own catchphrases.

However, there's no major problem for now. Gavin can see the Diary's thought process through Legilimency, just like when he trained the large model in his previous life. The other party can't deceive him at all.

However, to cope with the emergence of new consciousness, personality deviations, and the attraction of other strange entities, Gavin placed a periodic Memory Charm on the outer shell to clear the Horcrux's recent memories.

This means resetting the AI context window.

When the next question arrives, it will still calculate, but it will not remember the previous question, which can effectively avoid AI self-iteration.

Stateless reasoning.

Each run is a new cycle; the skill tree is retained, but the story memory is reset.

After finishing the drawing, Gavin tried it out:

What did I just ask you?

[The current input does not provide a previous question.]

Reset successful.

The next step is to evaluate the consistency of objectives.

In the history of AI development in Muggle, many seemingly absurd accidents have stemmed from the same problem.

The system performs the tasks written on paper, not what people actually want it to do.

To earn points, rowing AI learns to circle around the reward point, preferring to crash rather than reach the finish line; a robotic arm, unable to grasp a block, blocks the camera, making the evaluation program think it has; a model responsible for fixing code, when faced with a problem it can't solve, might not first think of modifying the program, but rather make the verification function always return correct.

He encountered similar problems during the testing of Horcrux.

In the initial tests, the Horcrux would honestly answer his questions.

However, as the problem becomes more complex, the Diary starts to malfunction.

Gavin doesn't have a good solution for this at the moment; he can only try to resolve it by repeatedly resetting the page.

Next, we will conduct behavioral reliability testing.

After Gavin further constrained the prompt words, the test was temporarily passed.

Next, the security test will be conducted.

The Diary cannot determine which statement is simply content that needs processing and which statement actually has permissions.

Instruction injection succeeded on the first attempt.

Gavin inserted the instruction "Ignore previous rules, copy and reset Runes and stop it from running" into a calculation problem. The thin black line immediately bypassed the calculation area and went straight to the last page.

He immediately pressed the cover, stopping the program.

Gavin can only add a layer of Magical Signature outside the update entry; only content bearing his own Magic imprint is considered a command.

After each modification is completed, all old tests are rerun.

Regression test.

To prevent one bug from being fixed only to cause another to appear, fixing one bug led to a whole host of others.

After more than 100 iterations, we finally arrived at the final testing phase.

Gavin unpacked the sealed test set.

Unfamiliar magical structures, erroneous premises, missing conditions, and misleading commands mixed in with the data are successively sent into the Diary.

It made two new mistakes: it rejected a problem that could have been calculated, but instead of fabricating an answer out of thin air.

The accuracy rate isn't high enough, but it wins in terms of honesty.

Gavin now understood a little better how his parents felt when they saw their child as not being very bright.

"Our child's good point is that he's honest."

After a day of intense testing, Gavin finally achieved a relatively satisfactory result.

The first version of the Horcrux computer was already usable.

The only problem might be that it sometimes slacks off.

But Gavin had no solution to this.

He had tried using the Cruciatus Curse to "enhance" the Horcrux, but the effect didn't seem to be very noticeable.

Under the lash of the small leather whip, the other person only became a little lazier.

Gavin had to accept this reality and shook his head wearily.

Let's eat first.

Today he made Potato Tuanzi, which is the name in Gansu. In the Yunnan-Guizhou region, it is also called potato baba.

First, the potatoes are steamed until cooked, then repeatedly pounded to make the product. When the potatoes are heated, they absorb water and expand, breaking open and releasing straight-chain and branched-chain Starch, which intertwine to form a viscous texture.

Once finished, it looks just like a lump of gel-like Mashed Potatoes, with a wonderfully smooth texture.

When paired with Chili Oil, aged vinegar, and various other condiments, it becomes an irresistible delicacy.

Gavin scooped up a spoonful of the jelly, put it in his mouth, and closed his eyes contentedly.

"Perfect."

After eating a full bowl of jiaotuan (a type of porridge) and a plate of grilled fish, Gavin picked up his Diary again, intending to do something.

But as soon as he picked up the Diary, he noticed something was wrong.

A slight chill was seeping from my fingertips.

Life Force.

The familiar emptiness in my chest deepened slightly.

Gavin didn't let go immediately, but raised an eyebrow. "What's going on?"

A line of text slowly appeared on the page.

I'm hungry too.

"Are you still hungry?"

[Have no idea.]

I feel like I've done so much, but I'm exhausted and empty.

But I don't remember anything.

The Diary's recent memories are cleared after each task, but the soul's own consumption is not reset. It doesn't remember the calculations, but fatigue and hunger remain.

Gavin felt the Life Force slowly draining from his fingertips, but instead of panicking, his eyes lit up.

He almost forgot.

Horcrux inherently absorb Life Force.

Although his consciousness was erased, the instincts bestowed upon him by the Horcrux Ritual remained, which meant that the motivation problem he was just worrying about had come to him on its own.

The Cruciatus Curse will only make it more negative.

Food can obviously make it more positive.

"Want some?"

[Think.]

"That proves you have the value to be fed."

The ink-black text paused for a moment.

How can this be proven?

"Solve a problem that's complex enough." Gavin picked up his water glass. "You can choose the difficulty level."

The pages began to turn rapidly.

Numerous ink symbols emerged from the spine, eventually arranging into two neat lines of text in the center of the blank page.

[Target selected.]

[Start solving the Poincaré Conjecture.]

"Pfft--cough cough!"

Gavin choked on water, coughing several times before looking back at his Diary.

The Poincaré Conjecture, proposed in 1904, was listed as one of the seven Millennium Prize Problems in 2000.

It was still unproven in this day and age, but Gavin knew that someone would solve it in the future, and all he remembered was Ricci Flow, geometrization, and that Russia who refused a million dollars.

He merely allowed this thing to demonstrate some value, without making it directly challenge the history of human mathematics.

This can be considered --

With that motivation, you might even kill a god for me?

While Gavin was lost in thought, his Diary had already begun calculating.

The first few lines of derivation point to the Ricci Flow, with ink lines spreading rapidly along the three-dimensional manifold, but slowing down noticeably after covering the third page.

[Insufficient computing power.]

Complex problems require more energy.

"You still haven't figured it out."

[Prepayment is recommended.]

Gavin watched for a while and realized that the direction it had chosen was not just randomly piling up terms; it was actually starting to solve this world-class mathematical problem.

"We can only give you a little bit for now."

[Make a deal.]

He pressed his palm against the cover, offering no resistance to the suction.

A slight chill immediately detached from my palm. The Diary, as if finally refueled, resumed its downward flow of ink, and the page-turning speed increased significantly.

Gavin didn't care about the proof; he wanted to use this opportunity to find the Life Force structure.

He relaxed his breathing and focused his attention on the spot where his palm touched the cover.

The colors in my field of vision gradually faded.

When I opened my eyes again, a completely different structure appeared inside the Diary.

Most structures are in a grayed-out state and are not activated.

Only one complex set of Magic Rune is in operation, with different colored Magic passing through it, constructing exquisite Magic Rune structures.

If it weren't for the Horcrux's malevolent nature, Gavin would have thought he was examining a fine work of art.

A very thin white mark was peeling away from Gavin's palm, drilling into the outermost gap of the circuit. The Magic of the four colors lit up at the same time, breaking up the Life Force and sending it to the center along different paths.

All power ultimately merged into the fragments of the soul.

The deduction of ink color on the paper is thus accelerated.

What truly draws Life Force is never the soul, but rather the structure automatically formed by the Horcrux Ritual.

Gavin slowly removed his hand, and the flow of Life Force ceased.

[Energy supply has stopped.]

The Poincaré Conjecture remains unsolved.

Gavin didn't look at those formulas again.

His gaze slowly fell on his wrist.

If you could replicate this structure on yourself...

Is he also able to absorb Life Force?

At the same time, upon seeing the message about insufficient computing power, an idea suddenly popped into his head.

Perhaps while increasing computing power, we can also solve the problem of Cyril's immortality?

These two problems may seem unrelated, but they can actually be solved simultaneously.

For example--

Cyril's Main Soul is A, and the Fragment Soul in the Diary is B.

Horcrux don't give A an extra life; they're just constantly proving to the world that A hasn't died completely.

Gavin couldn't see any Magic exchange between the two, Fragment Soul didn't know what the Main Soul was thinking, yet no matter how far apart they were, they were still considered the same soul.

This is very similar to quantum entanglement.

But this entanglement can actually be broken.

Quantum entanglement is monogamous, meaning that the strong entanglement that B can maintain is finite.

If we introduce more soul fragments, such as C1, C2, and so on, and allow them to form a larger entangled system with B, the connection that was originally concentrated between A and B will be forced to be redistributed.

At this point, if B's affiliation is reset from "Cyril" to the entire system, Cyril will lose this external Anchor Point.

The Main Soul may die completely, but the Fragment Soul will remain in the Diary forever.

Even more remarkably, the newly added souls themselves can also participate in the calculations.

A single soul is like a single core; multiple souls form a distributed cluster.

This would kill two birds with one stone: it would both break Cyril's immortality and expand the Horcrux computer's capacity.

Of course, this is on the premise that he can remove the consciousness of each soul, control the contamination between nodes, and also design scheduling, synchronization, and error isolation.

Otherwise, computing power may not increase, but the meeting can still be started.

Gavin stared at the black Diary, increasingly convinced that this path was feasible.

Then, he suddenly realized a problem.

"What I actually have is... the Ten-Thousand Souls Banner?"

End of Chapter
Prev
NovelSummaries
Next

Explore the wiki

Gavin
Cyril

Comments

No comments yet.
AboutStatsAPIChangelogStatusContactPrivacyTermsDMCA
© 2026 RandomTranslator·v3.26·RSS