AI can help improve computer algorithms by searching for ways to perform a precisely defined task with fewer operations or less time while preserving the required result. Specialist systems have produced new sorting routines and matrix multiplication methods in published research. The opportunity reaches beyond writing an application: an improvement to a reusable component can become useful wherever that component is adopted and performs well.
This guide explains the idea through the fictional Juniper Computing Circle. You will trace a three-number sorting method, reject an incorrect shortcut, distinguish proof from testing and calculate why a faster component does not make an entire program equally faster. No programming experience or research computer is needed for the paper exercises. The aim is to help you understand, question and participate in AI-supported improvement of the computational tools people share.
- Give the algorithm a clear task, valid inputs and results it must preserve.
- Distinguish specialist algorithm search from a conversational coding assistant.
- Check correctness before comparing the speed of competing methods.
- Keep operation counts, component timings and whole-program results separate.
- Preserve the examples, reasoning and conditions another person needs to review the improvement.
- Use AI to extend human understanding and shared computing capability.
AI Use Case for Civilisation · Article 35 · Collection 9 · International readers · Evidence reviewed 28 November 2026
Choose your reading route
Choose the question closest to your situation, or follow all 26 chapters. Fictional examples make the reasoning visible; research claims link to their sources.
ROUTE 1 · CHAPTERS 1–5
See what algorithm improvement means and how specialist AI contributes.
ROUTE 2 · CHAPTERS 6–11
Check a complete small example
Trace, challenge and explain a three-number sorting method.
ROUTE 3 · CHAPTERS 12–16
Distinguish counted operations, timings and real workloads.
ROUTE 4 · CHAPTERS 17–21
Connect reusable evidence, retained learning and wider computational benefits.
ROUTE 5 · CHAPTERS 22–26
Connect meaning, purpose and a four-week practical learning plan.
Full chapter index · Four-week plan · Vocabulary Coding and Engineering research
Full chapter index
Chapters 1–5: Understand the opportunity
Chapters 6–11: Check a complete small example
- Build the example from one understandable operation
- Trace the candidate and count what actually changed
- Explain why the three-step method is correct
- Use a failing shortcut to strengthen understanding
- Distinguish revealing tests from a general argument
- Understand search without pretending every task needs a trained model
Chapters 12–16: Measure useful improvement
Chapters 17–21: Build shared capability
CHAPTER 1 OF 26 · Understand the opportunity
1. Start with the small methods inside larger services
An algorithm is a method for carrying out a task. It might put values in order, search for an item or calculate a result from a table of numbers. A program combines methods with many other decisions about input, storage, interaction and output. Improving one method can therefore improve part of a larger service.
Imagine a reusable routine that many developers call instead of rebuilding the same operation. If a better implementation keeps the agreed behaviour and fits their systems, those developers can benefit from work completed elsewhere. The potential is shared technical capability: a discovery becomes a dependable ingredient in other people’s work.
This is a useful perspective on AI. A person can define a difficult search, a system can explore possible solutions, and people can examine and incorporate the result. Intelligence is projected into a method that remains available after the original exploration ends.
The effect depends on where the method is used. A component called frequently during an important task deserves attention; a component hardly used may make little difference to someone’s experience. Begin by asking which computation matters and what an improvement would enable people to do.
CHAPTER 2 OF 26 · Understand the opportunity
2. Meet Juniper Computing Circle and its learning goal
Juniper Computing Circle is an invented group of adult beginners. Elin organises the sessions, Rafi enjoys tracing numerical examples, and Jules wants to understand why software performance claims differ. Their case, results and timings in this guide are constructed teaching examples, not observations from a deployed system.
They choose a small task: arrange exactly three integer values in ascending order while keeping every original value, including repetitions. They start with numbered paper cards. Their goal is to understand how a proposed shortcut can become a checked, reusable method.
An assistant can explain terminology, suggest examples and help compare descriptions. The group retains the responsibility to inspect each step. Nobody needs to recreate a research training run to learn the underlying reasoning.
By the end, they want a handover another group can use: a task definition, an understandable algorithm, a correctness argument, revealing tests and an honest account of what performance evidence exists. This is already useful progress. They will be able to distinguish a promising proposal from an established result, and carry that distinction into unfamiliar software problems. Their small sorting method is a teaching construction, not a claim to have invented a new research algorithm.
CHAPTER 3 OF 26 · Understand the opportunity
3. See what AlphaDev demonstrated in published research
The AlphaDev paper published in Nature on 7 June 2023 reported reinforcement learning that searched for efficient small sorting routines at the level of computer instructions. The authors described improvements over their evaluated human-designed benchmarks and integration of routines for sorting three, four and five elements into LLVM’s libc++ sorting library. These are specific historical results under reported conditions, not a claim that every present program becomes faster.
A software library is a collection of reusable components. The significance of this example is that a discovered method could leave the research setting and become part of a component others use. That creates a route from specialist discovery to ordinary computing.
For Juniper, the central question is how a proposed method earns that place. It needs to perform the required operation, and its implementation needs to be useful in the receiving environment. A research result is the beginning of that explanation, not a substitute for understanding the task.
The group’s paper example works at a much simpler level. One compare-and-exchange step on cards can correspond to several machine instructions. Its operation counts should never be presented as the instruction counts or measured performance of AlphaDev.
CHAPTER 4 OF 26 · Understand the opportunity
4. Separate specialist search from an assistant explaining code
The researchers’ AlphaDev explanation describes a search in which an agent adds instructions to a candidate program and receives feedback related to correctness and latency. Reinforcement learning uses such feedback to guide further exploration. The system was built around a particular environment, allowed actions and evaluation.
A conversational assistant has a different role in Juniper’s project. It can propose a method or explain one. The text of its answer does not show that it conducted an equivalent search, executed the candidate or established a performance result. Ask what work actually occurred.
These roles can complement one another. A search system may generate a useful candidate. An explanatory assistant may help a learner inspect its structure. A separate checker may expose a mistake. A developer may determine how to integrate it. Clear roles make the contribution of each tool visible.
The group writes three questions beside every proposal: What may change? What must remain true? How will improvement be assessed? Those questions turn a vague request to make something better into a tractable investigation. They also help someone without specialist training participate in discussions about the result.
CHAPTER 5 OF 26 · Understand the opportunity
5. Define the contract before optimising the method
Juniper treats the task description as a contract: a statement of the inputs accepted and the result promised. Three integers may arrive in any order. Equal values and negative values are allowed. The output must be ascending, with the original values preserved exactly as a collection.
| Part of the task | Requirement | Example of a mistake |
|---|---|---|
| Input | Exactly three integers | Silently ignoring a fourth value |
| Order | Each value is no greater than the next | Returning 2, 1, 3 |
| Preservation | Keep every original value and its number of occurrences | Changing 2, 2, 5 into 2, 5, 5 |
| Scope | Ordinary integer comparisons in this paper exercise | Claiming the same implementation covers every data type |
This is a practical use of eduKate’s proposed Vocabulary Coding and Engineering approach: preserve intended meanings as a task moves from words into operations and evidence. The framework is a research proposal, not a guarantee that perfect wording creates a correct program.
Specificity makes a claim checkable. The group can now challenge an answer that sorts the values but loses a duplicate, or one that works only when the smallest value already comes first. The contract gives disagreement something concrete to resolve.
CHAPTER 6 OF 26 · Check a complete small example
6. Build the example from one understandable operation
A compare-and-exchange step looks at two positions. If the left value is greater than the right value, exchange them. Otherwise leave them where they are. Every step includes a comparison; only some steps require an exchange. Equal values remain in their current order.
Call the positions first, second and third. Juniper’s deliberately simple baseline performs four steps: compare first with second, second with third, first with second, and second with third again. The candidate omits the final step, leaving three.
These are fixed sequences of instructions. They do not decide to stop merely because one example happens to look ordered early. The question is whether the three-step candidate works for every input in the stated contract.
The baseline is chosen for teaching, not because it represents the best existing sorting software. Removing a redundant step from this example cannot support a claim of beating expert libraries. It makes the reasoning small enough to inspect.
Rafi writes each intermediate state on paper. That record will reveal both what the proposed method does and what the explanation needs to establish. The group can then ask an assistant to comment on a visible sequence, instead of accepting an unexplained assurance that the candidate is efficient.
CHAPTER 7 OF 26 · Check a complete small example
7. Trace the candidate and count what actually changed
Start with the invented input 9, 4, 7. The first comparison exchanges 9 and 4. The second exchanges 9 and 7. The third compares 4 and 7 and leaves them in place. The candidate has produced 4, 7, 9.
| Stage | Action | Values afterwards |
|---|---|---|
| Input | No action yet | 9, 4, 7 |
| Step 1 | Compare first and second | 4, 9, 7 |
| Step 2 | Compare second and third | 4, 7, 9 |
| Step 3 | Compare first and second | 4, 7, 9 |
| Baseline step 4 | Compare second and third again | 4, 7, 9 |
The count falls from four compare-and-exchange steps to three. The reduction is one divided by four, or 25%. Both methods make two actual exchanges on this particular input. Comparison count and exchange count are different quantities.
The third step also makes no change here. That observation alone does not show it can be removed: another input may need it. The group has demonstrated the candidate’s behaviour for one case. It still owes an explanation of why the method works generally, before treating the removed fourth step as safely redundant.
CHAPTER 8 OF 26 · Check a complete small example
8. Explain why the three-step method is correct
After the first step, the first two positions are ordered. Their larger value occupies the second position. The second step compares that value with the third, so the largest of all three values ends in the third position.
Both remaining values are no greater than the value now in the third position. The final step orders those two remaining values. It leaves the largest value untouched. Therefore the first value is no greater than the second, and the second is no greater than the third.
Each operation exchanges existing values or leaves them alone. None creates a value, discards one or changes how many times it occurs. This establishes preservation as well as ordering. The reasoning covers equal and negative integers too: it uses their order, not an assumption that values are positive or distinct.
This is a correctness argument about the stated abstract method. It does not automatically prove that a later implementation typed into a programming language follows that method without error. That implementation still needs examination.
Elin asks every learner to explain the role of the third position. The aim is to understand the structure that makes the shortcut valid. Once that idea is clear, the fourth comparison in the baseline has nothing left to repair.
CHAPTER 9 OF 26 · Check a complete small example
9. Use a failing shortcut to strengthen understanding
Suppose an assistant proposes only the first two steps. On 9, 4, 7, that shortcut produces the right answer. A demonstration using only that case could look convincing.
Try 2, 3, 1. The first comparison leaves 2, 3, 1 unchanged. The second produces 2, 1, 3. The largest value has reached the end, but the first two values remain in the wrong order. One counterexample is enough to reject this proposed method under the contract.
Another apparent shortcut simply returns 1, 2, 3 for every input. Its result is ordered, but it fails preservation when given 9, 4, 7. A checker that asks only whether the output is ordered would miss this error.
These examples show why a useful evaluation has to represent the whole task. Success on a convenient case and success on only one requirement are both insufficient.
Juniper keeps the failed proposal and its counterexample in the handover. They explain why the third step matters and why preservation belongs in the contract. The failure has created reusable knowledge. AI becomes more helpful when a challenge to its suggestion improves the shared explanation rather than ending the conversation.
CHAPTER 10 OF 26 · Check a complete small example
10. Distinguish revealing tests from a general argument
A test supplies an input, executes a proposed method and compares the result with the required answer. Choose examples that expose different mistakes, including repetition, reverse order and negative values. Keep the expected answer independent of the proposed algorithm.
| Input | Expected output | What the case examines |
|---|---|---|
| 1, 2, 3 | 1, 2, 3 | Already ordered values |
| 3, 2, 1 | 1, 2, 3 | Reverse order |
| 2, 3, 1 | 1, 2, 3 | The need for the final first-second comparison |
| 2, 2, 5 | 2, 2, 5 | Repeated values remain present |
| 0, -2, -1 | -2, -1, 0 | Negative values and zero |
For a finite exercise, restrict each input position to -1, 0 or 1. There are three choices at each of three positions: 3 × 3 × 3 = 27 inputs. Checking all 27 is exhaustive for that restricted set.
It is not, by itself, exhaustive testing of every integer triple. Juniper’s broader conclusion rests on the ordering argument in the previous chapter. Tests and reasoning contribute different kinds of support. A useful report states which was done and which claim each supports.
CHAPTER 11 OF 26 · Check a complete small example
11. Understand search without pretending every task needs a trained model
Juniper can make a tiny search space. Allow only two possible steps: compare first with second, or compare second with third. A three-step sequence then has two choices at each position, giving 2 × 2 × 2 = 8 possible sequences.
The group could list those eight candidates and check each against the 27 restricted inputs. That would require 8 × 27 = 216 candidate-input checks. Ordinary enumeration is entirely suitable for an exercise this small. Training a specialised AI system would add unnecessary complexity to this learning task.
The example nevertheless makes algorithm search concrete. The candidates are methods, the tests examine their behaviour, and the evaluation tells the search which methods deserve further attention. Larger, richer spaces can make intelligent guidance valuable, because examining every possibility becomes impractical.
Passing Juniper’s finite checks still does not remove the need to understand a candidate before making a broader claim. The group uses the checks to find and challenge proposals, then examines why a promising proposal works.
A beginner can participate at each stage: define the allowed steps, identify a missing case, inspect a trace or improve the explanation. Computational discovery contains many useful jobs besides inventing a complete learning system.
CHAPTER 12 OF 26 · Measure useful improvement
12. Decide which kind of improvement you are measuring
Better can mean several things: fewer comparisons, shorter elapsed time, less memory, clearer implementation or easier maintenance. These goals can support one another, but they are not interchangeable. State which one a proposal addresses.
Juniper has established a 25% reduction in compare-and-exchange steps relative to its four-step teaching baseline. It has not measured a 25% reduction in elapsed time. Actual implementation includes details beyond the counted paper operation.
The comparison also needs a fair starting point. A result against a deliberately simple baseline teaches an idea, but does not establish superiority over mature software. A practical project should compare against the method it would actually replace and appropriate alternatives for the task.
Jules writes the finding as a complete sentence: the three-step abstract method preserves the required result while using one fewer comparison step than our four-step example. The sentence names the method, requirement, unit and comparison.
This habit makes positive results stronger. Another reader can see exactly what improved and decide whether it is relevant. If later timing evidence supports a further claim, that evidence can be added without rewriting the original finding into something it never demonstrated.
CHAPTER 13 OF 26 · Measure useful improvement
13. Calculate how a component affects the complete task
Consider a separate, wholly invented timing scenario. A serial task takes 100 milliseconds: 20 in the helper being improved and 80 elsewhere. Assume an independent timing experiment would find that the replacement helper takes 15 milliseconds, with the remaining work unchanged and no extra overhead. These are assigned teaching values, not measurements from Juniper or AlphaDev.
| Part | Baseline time | Replacement time |
|---|---|---|
| Helper under study | 20 ms | 15 ms |
| All remaining work | 80 ms | 80 ms |
| Complete serial task | 100 ms | 95 ms |
The helper takes 25% less time: five divided by twenty. The complete task takes 5% less time: five divided by one hundred. The speedup factor for the complete task is 100 divided by 95, approximately 1.053.
Even a hypothetical helper taking no time would leave 80 milliseconds of other work in this scenario. This is why developers need to know where time goes before choosing an optimisation. The paper step-count reduction did not establish these timings; the timing figures are separate teaching assumptions, not evidence from an experiment.
CHAPTER 14 OF 26 · Measure useful improvement
14. Design a timing comparison another person can interpret
The LLVM benchmarking guidance recommends repeated runs to recognise measurement noise and notes that low noise alone does not exclude bias. A timing result needs an account of how it was produced, not just an attractive average.
For a learning comparison, identify the same task, input collection and output requirements for both versions. Record the computer, software versions and relevant settings. Keep the original observations so another reader can see variation. If one version also performs extra work, explain that difference before comparing totals.
Measure the part the question concerns. Timing data preparation together with sorting answers a different question from timing sorting alone. Both can be useful, provided the boundary stays visible. Someone choosing an implementation may need both views.
Juniper writes a proposed experiment rather than inventing timing results. Its record has fields for the tested version, inputs, repeated observations, summary and limitations. A participant with programming experience can later carry it out using suitable tools.
The distinction protects the value of the exercise. A well-designed comparison is useful work even before a performance improvement is established. It tells the group what evidence would resolve the question and prevents an assistant from filling an empty results column with plausible numbers.
CHAPTER 15 OF 26 · Measure useful improvement
15. Expect the receiving environment to matter
A method described on paper eventually becomes an implementation. The language, compiler and hardware influence how its operations are carried out. A proposed improvement may also interact with the size and arrangement of the actual inputs. A measurement belongs to those conditions.
Imagine that one implementation is convenient for exactly three integers but requires extra preparation when callers supply longer records. A second implementation may handle those records directly. Comparing only the inner operation would omit part of the work required by the first approach.
The correct response is to describe the receiving task. What inputs arrive? Which preparation is already done? What output does the next component expect? This makes it possible to investigate a useful improvement without assuming that every caller has the same needs.
Juniper’s three-card method is intentionally narrow. Extending it to longer lists, different value types or different ordering rules is a new task. Parts of the existing reasoning may help, but the expanded promise needs its own examination.
This is also an opportunity. A clear account of the original conditions helps another developer adapt a result intelligently. The method travels with an explanation of where it belongs, instead of arriving as an unexplained claim that it is always faster.
CHAPTER 16 OF 26 · Measure useful improvement
16. Give an assistant a request that preserves the evidence
Juniper supplies the contract and both step sequences before asking for help. A useful request is: Explain the candidate one operation at a time. Check both ascending order and preservation. Find an input that breaks the two-step shortcut. Separate a general argument from a finite test. Report comparison count, and do not claim measured runtime without timing data.
The request also asks the assistant to identify what remains unexamined. If it discusses a programming-language implementation, it should distinguish that implementation from the paper method. If it supplies a test result, ask whether the test was actually executed or merely proposed.
Elin assigns a different review question to each learner. Rafi checks intermediate values, Jules checks the performance wording, and Elin checks whether the explanation matches the contract. They compare disagreements with the original record.
This division makes assistance useful to a group with different strengths. One person may notice a lost duplicate; another may notice an unsupported speed claim. The resulting document can be better than any member’s first attempt.
The point of the prompt is to keep a stream of thought connected to evidence. Clear instructions help organise that work. They cannot supply missing execution, proof or measurement on their own.
CHAPTER 17 OF 26 · Build shared capability
17. Make a discovery reusable through its supporting record
The released AlphaDev research repository includes agent pseudocode, discovered assembly programs and correctness checks. It is a research resource, not a beginner application that automatically improves arbitrary software. Its existence illustrates how readers can inspect more than a headline.
Juniper builds a much smaller equivalent for its learning task. The handover includes the contract, baseline, candidate, step trace, general reasoning, finite tests and rejected shortcut. It labels the timing example as invented and keeps proposed measurements separate from completed work.
The group also records a version and a short explanation of each change. If someone later adds records with labels, the original integer task remains understandable. A reviewer can see which promise has expanded and which evidence needs to be revisited.
This supporting record is part of the useful result. A method that cannot be explained, checked or adapted imposes work on everyone who receives it. A clear handover allows another person to begin from an established understanding.
Sharing also means preserving credit. The group identifies the published research that motivated its question and labels its own paper construction. It does not present a familiar teaching method as a novel AI discovery. Honest attribution helps future readers locate the right level of evidence.
CHAPTER 18 OF 26 · Build shared capability
18. Test whether learning transfers when the job changes
Give a learner a fresh task before showing an assistant’s answer. The input is now three labelled records: 2A, 1B, 2C. The digit is the sorting key; the letter identifies the record. The requirement is ascending key order, preserving every whole record and the original order of records with equal keys.
The required result is 1B, 2A, 2C. Moving the whole record during each adjacent exchange and exchanging only when the left key is greater produces this result. Merely returning 1, 2, 2 loses the record identities. Reversing the equal-key records would violate the newly stated order requirement.
The learner should explain why this differs from sorting bare integers. The additional property is often called stability: equal-key records retain their relative order. The original numerical answer alone cannot demonstrate it.
Then change the timing scenario. A 200-millisecond task spends 40 milliseconds in a component. If that component’s time halves and everything else stays unchanged, the total becomes 180 milliseconds, a 10% reduction.
These exercises connect with education as developing the ability to handle situations well. Knowledge and skills remain necessary. AI-supported learning succeeds when a person can explain an unfamiliar case with retained understanding, while continuing to use calculators and access tools they need.
CHAPTER 19 OF 26 · Build shared capability
19. Turn individual checking into a capable team
At the end of the fictional project, Juniper has no claim of a new industrial speed record. It has something concrete: members can explain why a method works, show where a shortcut fails and preserve the meaning of a performance comparison. Their handover can support the next group.
Elin rotates the review roles. Someone who checked numbers now explains the contract. Someone who traced operations now asks whether the test set supports the claim. This helps the team avoid depending on one person who understands the whole document.
A software team can apply the same pattern at a larger scale. The person proposing a change provides enough evidence for another person to examine it. The reviewer can ask about difficult inputs, receiving requirements or missing measurements. Disagreement becomes a way to improve the result.
AI can widen the supply of candidate explanations and methods. Human capability needs to grow alongside that supply so people can choose, challenge and maintain what they adopt. More proposals create more value when review becomes more effective too.
The positive outcome is shared judgement. The group has learned how to investigate a computational claim, not simply how to obtain a convincing answer about one.
CHAPTER 20 OF 26 · Build shared capability
20. Recognise the wider opportunity in AlphaTensor
The AlphaTensor paper published in Nature on 5 October 2022 reported reinforcement learning for discovering matrix multiplication algorithms. One result used 47 scalar multiplications for 4 × 4 matrices over a particular binary finite field, compared with 49 in the stated Strassen-based construction. That arithmetic setting matters: addition of 1 and 1 gives 0. The paper also investigated algorithms tailored to specified hardware; these findings do not establish a universal runtime advantage for ordinary decimal calculations.
A matrix is a rectangular arrangement of values. Multiplication combines such arrangements according to a defined rule. A method that obtains the required product through a different organisation of operations is an algorithmic result. It is not merely a generated suggestion that some mathematical statement might be true.
Juniper does not need to reproduce this research to understand the common principle. State the operation, preserve the result, search within an explicit space and evaluate the property being improved. The input domain remains attached to the claim.
This broadens the opportunity beyond sorting. AI can help people investigate the machinery of computation itself. The useful contribution can be a reusable method, a clearer understanding of possible constructions or an improved way to search for further methods.
CHAPTER 21 OF 26 · Build shared capability
21. Follow a useful improvement across the zoom levels
The same development can look small or substantial depending on the question being asked. One removed operation matters little in isolation. Its significance grows when a correct and useful method reaches a task that needs it repeatedly. The table describes practical perspectives, not a validated taxonomy of intelligence.
| Perspective | Useful capability | Question to preserve |
|---|---|---|
| Word and operation | Express an exact requirement | What must this step preserve? |
| Learner and developer | Understand and examine a method | Can I explain why it works? |
| Team and library | Share a reviewed component | Can someone else maintain it? |
| Organisation | Improve a relevant workload | What changes in the complete task? |
| Public knowledge | Make methods and evidence reusable | Who can access and adapt the result? |
| Future generations | Start from retained understanding | Which assumptions still apply? |
An organisation could use a verified saving to serve more requests, reduce delay or support work previously limited by computational cost. Those are possible uses of capacity, not automatic outcomes of a benchmark.
For society, the opportunity is cumulative. People inherit tools whose internal improvements they did not personally invent. Clear evidence and accessible explanations allow that inheritance to become capability others can inspect and develop.
CHAPTER 22 OF 26 · Develop future mastery
22. Preserve meaning while useful capability travels
The word faster needs a measured object: a counted operation, a function or a complete task. Correct needs a contract. Verified needs an account of the evidence. When these words lose their boundaries, a modest useful result can become an extravagant claim that others must untangle.
Vocabulary Coding and Engineering asks us to examine how meanings survive the journey between descriptions, programs, tests and decisions. In Juniper’s handover, each quantity keeps its unit, comparison and scope. This practice supports clarity without making language itself a proof of truth.
EduKate’s proposed Projection Energy / Distribution Energy (EnDist) offers conceptual language for useful forward capability and what is lost through friction, confusion or misalignment. It is nonphysical and is not a validated intelligence metric, a measure of computer energy or a universal equation.
Here, projection includes exploring possible methods and making their reasoning accessible. Useful distribution includes a receiving team understanding the result well enough to use and maintain it. A missing condition, unclear test or incompatible implementation can reduce that practical value.
Ordinary measurements remain essential. Count operations, measure relevant timings and examine correctness. The conceptual framework asks whether those achievements become dependable capability across people and systems.
CHAPTER 23 OF 26 · Develop future mastery
23. Choose what future computational capacity should serve
More capable future AI systems may search richer algorithm spaces, help explain unfamiliar constructions and support stronger checking. A hypothetical system with much broader intelligence could extend that work further. These possibilities do not mean present specialist achievements establish general superintelligence.
The choice of purpose remains concrete. Which bottleneck deserves attention? Would improvement help scientific work, accessible services or a small organisation’s capacity? Who will review and maintain a shared result? This connects with the question of who decides what expanded intelligence serves.
Faster computation can create options. It does not decide how the options are used. An organisation might reduce the resources needed for fixed work or choose to perform more work. Any energy or environmental claim therefore needs measurements and a stated comparison, including the work required to develop the improvement.
A worthwhile future also makes understanding more widely available. Beginners should have routes into reading evidence, testing ideas and contributing useful explanations. Specialists need time and support to maintain the components on which others rely.
The civilisation use case is the gradual strengthening of shared computational knowledge. AI can expand the search; people can turn checked discoveries into tools that remain understandable, useful and available for the next problem.
CHAPTER 24 OF 26 · Develop future mastery
24. A four-week project for understanding algorithm improvement
Week 1: Define and trace one task
Write the three-integer contract in your own words. Use cards to follow the four-step baseline and three-step candidate. Record the intermediate values for two different inputs. Ask an assistant to identify ambiguous wording, then decide which revisions preserve the intended job.
Week 2: Challenge and explain the method
Find the counterexample to the two-step shortcut. Check the 27 inputs from -1, 0 and 1, manually or with a simple program you can inspect. Separate the finite test result from the general ordering argument. Explain preservation without copying a prepared answer.
Week 3: Evaluate one performance claim
Calculate the comparison-step reduction and the assumed whole-task timing change. Label the evidence for each. If you conduct a real timing exercise, record its conditions and repeated results. Otherwise write a measurement plan and leave its results empty. Both routes support useful learning.
Week 4: Transfer and hand over
Solve the labelled-record and changed-timing exercises. Prepare a short handover containing the contract, method, reasoning, revealing tests and performance boundary. Ask another person to reproduce one result and question one assumption. Revise the document after that review.
The completed project demonstrates an ability to investigate an algorithmic claim. Its value lies in reasoning you retain and a record another learner can use. It does not require purchasing a tool, training a research model or modifying a production software library.
Does AI invent algorithms or just repeat existing ones?
Published specialist systems have reported novel algorithms under defined research tasks. A particular assistant response may instead explain a familiar method. Establish novelty through appropriate research and comparison; Juniper’s example makes no novelty claim.
Does correct output on several examples prove correctness?
It establishes success on those examples. A broader conclusion needs suitable reasoning or verification covering the claimed domain. The three-step paper method has an ordering and preservation argument beyond its illustrative tests.
Why use such a small example?
You can inspect every operation, see a failure and understand what the successful argument establishes. The aim is to learn a method of judgement that can support more complex work.
Is fewer code lines the same as a faster algorithm?
No. Source-code length, executed operations and elapsed time are different quantities. Choose a measure suited to the task and compare methods under stated conditions.
Should I replace a working library with generated code?
A proposed replacement needs a reason, a clear contract and evaluation in its receiving system. The learning project provides a way to understand such evidence; it is not a recommendation to replace maintained components.
Can an ordinary user benefit without becoming a programmer?
Yes. Shared software can carry improvements to users through maintained applications. Understanding evidence also helps people ask better questions when choosing or commissioning technical work.
Does a faster benchmark prove lower energy use?
No. Measure the relevant resource use and define the work being compared. The timing examples here contain no energy data.
What is the most useful first capability to master?
Explain what the method must preserve, identify a meaningful counterexample and state exactly what an improvement claim measures. Those abilities remain useful as AI systems become more capable.
- Algorithm: a method for performing a defined task.
- Contract: the accepted inputs and promised behaviour.
- Compare-and-exchange: compare two positions and exchange their values when required by the ordering rule.
- Correctness: satisfying the stated task for the claimed inputs.
- Counterexample: an allowed case that disproves a general claim.
- Benchmark: an evaluation under a specified workload and method.
- Latency: time taken for a specified operation or task.
- Stable ordering: preserving the original relative order of records with equal sorting keys.
- Library: reusable software components maintained for other programs.
- EnDist: Projection Energy / Distribution Energy, a proposed conceptual and nonphysical framework, not a validated performance measure.
The research papers report particular algorithm-discovery results. The author explanation, research repository and LLVM documentation provide mechanism, inspectable material and measurement context. Juniper’s people, comparisons and timing assumptions are fictional teaching constructions. Its three-step method is not represented as a new discovery.
Keep three questions together: what result must be preserved, what evidence supports the method, and where does the improvement become useful? They connect technical achievement with the shared intelligence a civilisation can retain and develop.
Contents · Previous chapter · Continue into Vocabulary Coding and Engineering
Source register
The sources below support the factual examples. The worked teaching cases and their numbers are invented unless a source is explicitly named.
- Mankowitz and colleagues, Faster sorting algorithms discovered using deep reinforcement learning, Nature (2023)
- Google DeepMind, AlphaDev discovers faster sorting algorithms (7 June 2023)
- Fawzi and colleagues, Discovering faster matrix multiplication algorithms with reinforcement learning, Nature (2022)
- Google DeepMind, AlphaDev research repository
- LLVM, Benchmarking tips
- eduKate, Vocabulary Coding and Engineering research atlas
- eduKate, How Education Works
- eduKate, Projection Energy / Distribution Energy in CivOS
- eduKate, How to Magnify Ideas with AI: Who Decides Expanded Intelligence?
Continue the AI Use Case for Civilisation series
- 1. How Can One Person’s Knowledge Become Useful to Many?
- 2. How Can Education Turn Local Problems into Shared Capability?
- 3. How Can AI Help Communities Maintain the Systems They Depend On?
- 4. How Do We Choose Progress When Intelligence Becomes More Powerful?
- 5. How Can Local Observations Become Shared Scientific Knowledge?
- 6. How Can People Work Together Across Languages Without Losing Meaning?
- 7. How Can Communities Preserve Knowledge for the Next Generation?
- 8. How Can Small Organisations Build a Wider Range of Capabilities?
- 9. How Can Small Enterprises Turn Local Knowledge into Wider Economic Opportunity?
- 10. How Can AI Help Scientific Discoveries Become Knowledge That Other People Can Build On?
- 11. How Can AI Help Us Maintain Physical Infrastructure Before Small Problems Become Large Failures?
- 12. How Can We Give Future Generations Intelligence They Do Not Have to Rebuild From Zero?
- 13. How Can AI Help People Find Common Ground Without Erasing Disagreement?
- 14. How Can More People Turn Their Ideas into Cultural Works Worth Sharing?
- 15. How Can AI Help People Participate When Everyday Interfaces Exclude Them?
- 16. How Can People Build Small Digital Tools That Solve Real Problems?
- 17. How Can AI Help People Turn Weather Forecasts into Better Everyday Plans?
- 18. How Can AI Help Farmers Learn from Their Fields and Share What Works?
- 19. How Can AI Help Us Discover Better Materials for Everyday Life?
- 20. How Can AI Help Communities Use Electricity More Intelligently?
- 21. How Can AI Help Make Public Transport More Reliable for Everyday Journeys?
- 22. How Can AI Help Communities Understand Where Their Water Goes?
- 23. How Can AI Help Us Understand the Molecular World of Life?
- 24. How Can AI Help Communities Understand Disaster Impacts Through Satellite Maps?
- 25. How Can AI Help Community Kitchens Forecast Demand and Keep Meals Available?
- 26. How Can AI Help People Make Everyday Products More Reliably?
- 27. How Can AI Help Us Find New Worlds in Astronomical Data?
- 28. How Can AI Help Us Understand the Ocean Through Sound?
- 29. How Can AI Help Communities Understand Where Urban Heat Is Concentrated?
- 30. How Can AI Help Make Handwritten Historical Records Searchable?
- 31. How Can AI Help Recover More Useful Materials from Recycling Streams?
- 32. How Can AI Help People Discover New Mathematical Ideas?
- 33. How Can AI Help Communities Understand Wildlife from Camera-Trap Images?
- 34. How Can AI Help Historians Reconstruct Fragmented Ancient Inscriptions?
- 35. How Can AI Help Improve the Computer Algorithms We All Depend On? — you are here
- 36. How Can AI Help Scientists Make Progress in Fusion Research?