Interval iterative computing method supporting basic mathematical breakthrough and hard-core scientific device
By using a continuous interval iterative method based on the philosophy of proportion and domestically produced hardware design, the problems of error accumulation and foreign dependence in traditional discrete iterative calculations have been solved, enabling high-precision basic mathematical verification and autonomous and controllable calculation for AI large-scale model inference.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHUHAI GONGZHENG TECHNOLOGY CO LTD
- Filing Date
- 2026-04-08
- Publication Date
- 2026-06-02
AI Technical Summary
Traditional discrete iterative computation methods suffer from error accumulation and accuracy bottlenecks in basic mathematical verification, and rely on core technologies from abroad, which cannot meet the needs of high-precision scientific computing.
By adopting a continuous interval iteration method based on the philosophy of proportion, and through adaptive step size decay and original proportion reverse verification, combined with domestic hardware design, dynamic interval iteration logic is constructed to achieve error-free accumulation and high-precision calculation.
It achieves error-free accumulation of high-precision calculation results, improves the accuracy of basic mathematical verification, breaks the dependence on foreign technology, and is applicable to high-precision scientific computing and AI large model inference in multiple fields.
Abstract
Description
[0001] This invention discloses an interval iterative calculation method and a robust scientific device supporting breakthroughs in fundamental mathematics, belonging to the field of fundamental mathematics and scientific computing equipment technology. This method abandons the traditional discrete single-point iterative logic, constructing a dynamic interval iterative benchmark based on the fundamental philosophy of proportion and the unified theory of continuous intervals. Through adaptive step size decay and inverse verification of the fundamental proportion, it achieves extremely accurate calculations without error accumulation. The device includes a continuous interval fundamental definition unit, an adaptive interval iterative calculation unit, a precision self-calibration unit, and a domestically produced hardware architecture. This invention eliminates sampling errors through interval integration and utilizes the golden ratio for interval convergence control, effectively supporting original theoretical breakthroughs in fundamental mathematics. The iterative accuracy is improved by more than 99.9% compared to traditional methods, achieving full-stack domestic independent control, and can be widely applied in high-precision scientific computing, AI large-model inference, and fundamental mathematical verification. Technical Field
[0002] This invention relates to the fields of numerical computation, fundamental mathematical theory, high-precision scientific computing equipment, and integrated circuit design technology. Specifically, it relates to a continuous interval iterative calculation method and a domestically produced scientific device based on the philosophy of proportion, which is used to solve the problems of accuracy bottleneck and reliance on foreign core technologies in traditional discrete computation in fundamental mathematical verification and scientific computing. Background Technology
[0003] 1. Limitations of traditional discrete iteration: Existing numerical computations (such as Newton's method) are based on discrete single-point approximation, and each iteration introduces a small truncation error. In fundamental mathematical verification involving trillions of iterations (such as calculating π to trillions of decimal places), the error accumulates exponentially, leading to distorted results and failing to support rigorous verification of "proof-type" mathematical theories.
[0004] 2. Lack of a fundamental framework for continuous intervals: The industry has not established a fundamental logic for continuous intervals based on the philosophy of proportion, making it impossible to uniformly embed "discrete calculation points" into "continuous intervals" for deduction, resulting in a lack of fundamental original mathematical tools for basic mathematical calculations.
[0005] 3. Dependence on core technologies from abroad: The core chips and algorithm frameworks of conventional scientific computing devices (such as supercomputers) rely on foreign countries (x86 / ARM). Domestic computing power cannot adapt to the high-precision parallel logic of "interval iteration", and computing power sovereignty and underlying logic are subject to foreign control.
[0006] 4. Upper limit of accuracy and error accumulation: Traditional methods cannot reverse-verify the iterative results through the "original proportion", which makes it impossible to eliminate errors and limits their application in extremely high-precision scientific scenarios.
[0007] This invention constructs a continuous interval iterative model based on the philosophy of proportion. The core definitions and calculation rules are as follows: 1. Defining the Continuous Interval: The fundamental mathematical calculation target is a continuous interval I = [Lmin, Lmax], where Lmin, Lmax, and Lmax are... Lmax is the upper and lower bounds defined according to the specific mathematical problem; based on the golden section stress point, the central reference value of the interval is defined as C0=Lmin+ϕ・(Lmax-Lmin), where ϕ=(√5-1) / 2≈0.618, which is the golden section ratio coefficient.
[0008] 2. Adaptive Dynamic Interval Iteration Rule: Abandoning single-point iteration, a continuous interval hierarchical iteration is adopted. The i-th level iteration interval Ii=[ai, bi] satisfies Ii=[C0-wi / 2, C0+wi / 2]; where wi is the width of the i-th level iteration interval, following the dynamic decay rule wi=w (i-1)・γ, where γ is the proportional decay coefficient, with a threshold range of 0.5≤γ≤0.9, preferably γ=0.618; the iteration termination condition is that the interval width converges to the accuracy threshold εstop, i.e. wi≤εstop. In the basic mathematical verification scenario, εstop≤10^-12, and in the hardcore scientific computing scenario, εstop≤10^-15.
[0009] 3. Rules for calculating function values within an interval: Within a continuous interval Ii, the method of calculating the function value f(x) at a single point is abandoned. Instead, the interval mean and integral are calculated. The trapezoidal rule or Simpson's rule is used for approximate calculation. The single-point sampling error is eliminated through integration, thus achieving error self-cancellation.
[0010] 4. Precision self-calibration rule: Forced verification is performed by comparing the calculation result with the original interval. The error verification formula is E=|(Fi-Ftarget) / Ftarget|. If E>εcal, the result is judged to deviate from the original, and backtracking iteration is performed. If E≤εcal, the result is judged to be accurate, and the final value is output. In the highest precision mathematical proof scenario, εcal≤10^-15, and in the standard scientific computing scenario, εcal≤10^-9.
[0011] 1. Primitive definition: Input a mathematical problem and determine the continuous interval [Lmin, Lmax] and the initial width w0.
[0012] 2. Interval Iteration: The interval is continuously narrowed according to the rule wi=w (i-1)・0.618, and the integral value Fi of each level interval is calculated.
[0013] 3. Convergence judgment: If wi≤εstop, proceed to the calibration step; otherwise, repeat the interval iteration step.
[0014] 4. Self-calibration: Calculate the error value E. If the calibration threshold is not met, backtrack to the nearest interval and recalculate; otherwise, output the calculation result.
[0015] 5. Result storage: High-precision calculation results are securely stored using domestically produced storage modules.
[0016] To support the aforementioned algorithms, a dedicated interval-iteration (II) instruction set is extended to domestically produced CPUs / GPUs (such as Loongson and Ascend). This includes the II_BOUNDS interval definition instruction, II_INTEG integration calculation instruction, II_ATTEN step size decay instruction, and II_CALIB precision calibration instruction. The hardcore scientific device adopts a fully domestically produced design. Its core hardware includes a continuous interval source definition unit, an adaptive interval iterative calculation unit, a precision self-calibration unit, a device temperature control and voltage regulation unit, and a data storage and output unit. The entire process is independently controllable, ensuring computational accuracy and data security.
[0017] The interval iteration logic of this invention can directly empower AI large-scale model inference, mapping the input tensor to a continuous interval, solving the optimal weight interval through interval iteration, completing accuracy self-calibration during the inference process, and providing a confidence interval with the output result. This breaks through the limitations of uncontrollable black-box errors in traditional AI inference, improves the stability and interpretability of inference, and is compatible with domestic computing power architecture, achieving full-process independent control.
[0018] Based on the interval iteration algorithm, an initial interval for π calculation is defined, and the golden ratio is used to achieve interval convergence. The numerical calculation is completed through interval integration. Combined with the accuracy self-calibration logic, a high-precision π value calculation without error accumulation is achieved. Compared with the traditional Newton iteration method, the accuracy is greatly improved, which can meet the rigorous verification requirements of basic mathematics.
[0019] By embedding interval iteration logic into the PyTorch framework model, the input and weights are processed in intervals. Relying on the dedicated instruction set of domestically produced AI chips to accelerate the operation, high-precision and high-stability inference is achieved. Compared with traditional floating-point inference models, the inference accuracy and throughput are significantly improved, and the entire process is deployed domestically. Beneficial effects
[0020] 1. Breakthrough in accuracy: By using continuous interval iteration and inverse verification of the original proportion, the accumulation of errors in traditional discrete iteration is eliminated, and the computational accuracy is greatly improved, meeting the rigorous verification requirements of basic mathematics.
[0021] 2. Original underlying technology: Based on the philosophy of proportion, an original interval iteration framework is built to fill the gap in high-precision calculation tools in basic mathematics.
[0022] 3. Independent and controllable: Fully domestically produced hardware and algorithms, freeing us from dependence on foreign core technologies and ensuring computing power and data sovereignty.
[0023] 4. Versatile application scenarios: It can be adapted to various fields such as basic mathematical verification, high-precision scientific computing, and AI large model inference.
[0024] 5. Stable and reliable: It comes with a built-in accuracy self-calibration and backtracking mechanism, and the calculation results are accurate and traceable, making it suitable for extremely high-precision scenarios.
Claims
1. An interval iterative calculation method supporting breakthroughs in fundamental mathematics, characterized in that, include: Define the basis The continuous interval [Lmin, Lmax] for mathematical calculation is determined based on the golden ratio to determine the central reference value of the interval. The iteration interval is gradually shrunk using a dynamic decay method, and interval integral calculation is used instead of single-point function calculation within each interval. Calculate the numbers; perform proportional error verification on the calculation results, and output the final high-precision result after the verification is passed.
2. The method according to claim 1, characterized in that, The interval width decreases according to a preset proportional coefficient. The golden ratio is preferred as the convergence coefficient.
3. The method according to claim 1, characterized in that, Interval integration can be performed using the trapezoidal rule or Simpson's rule. The formula is used for approximate calculation to eliminate random errors caused by single-point sampling.
4. The method according to claim 1, characterized in that, When the interval width converges to the set precision threshold The iteration stops and enters the self-calibration process.
5. The method according to claim 1, characterized in that, Self-calibration calculates the current result against the target. The result reflects the proportional error; if the error exceeds the limit, it will automatically backtrack to the previous level interval for recalculation.
6. A hard-core scientific device for implementing the method of claim 1, characterized in that, include: Continuous region The original delimitation unit is used to configure the calculation interval and initial parameters; Adaptive interval iterative operation unit, building It carries domestically produced computing chips and dedicated instruction sets; Precision self-calibration unit, used for error judgment and iterative backtracking; temperature Voltage regulation unit and secure storage output unit.
7. The apparatus according to claim 6, characterized in that, The arithmetic unit is extended with interval definition instructions, integral calculation instructions, attenuation control instructions, and calibration verification instructions.
8. The apparatus according to claim 6, characterized in that, It uses domestically produced RISC-V processors or AI acceleration chips to achieve 256-bit and above wide-bit parallel range operations.
9. The apparatus according to claim 6, characterized in that, It supports national cryptographic encryption storage, and the calculation results can be exported in a standardized manner and are fully traceable.
10. The apparatus according to claim 6, characterized in that, It can be directly adapted to AI large model inference frameworks, and tensors and weights are processed in intervals to improve inference accuracy and interpretability.