SlideShare a Scribd company logo
1 of 20
Silent error resilience in
numerical time-stepping schemes
Austin Benson
arbenson@stanford.edu
Stanford University
ICME Colloquium, Jan. 26 2015
Joint work with
Sven Schmit, Stanford
Rob Schreiber, HP Labs
code + data: http://stanford.edu/~arbenson/silent.html
paper: Intl. J. of High Performance Computing Applications, 2014
1
 Computer systems are getting bigger and more complicated.
 Software systems are getting bigger and more complicated.
 Pushing energy limits.
 Things break. 2
What breaks?
 Hardware wears out
 Bit flips from cosmic rays
 Data races and other software bugs
 Firmware bugs
Silent errors are errors in application state that
have escaped low-level error detection.
3
What can we do?
 Checkpoint/restart: Occasionally save state of
system. If error is detected, restart.
Does not scale. How to detect errors?
 Other ABFT: Clever algorithms that address these
issues for particular algorithms.
 This work: Error detection for iterative
computation in general, numerical time-stepping
schemes in particular.
4
Spot the error!
5
At time step 120, multiplied single entry in
right-hand-side of Crank-Nicolson and
Backward Euler linear solves by 0.995. 6
General algorithm:
 “Base method” generates sequence B1, B2, …
 “Auxiliary method” generates sequence A1, A2, …
 If Di = ||Bi – Ai|| is abnormal, possible error
7
Base method:
high-order numerical integration scheme:
Runge-Kutta 5
Auxiliary method:
lower-order scheme: Runge-Kutta 4
Difference:
Di = |Bi – Ai|
Re-purposing an old idea for step-size control
[Fehlberg, 1969], [Dormand and Prince, 1980]
8
Key idea: re-use data
RK 1/2 scheme for u’ = f(t, u)
Second-order
scheme has
error O(h^3)
No extra function evaluations.
Provides O(h^2) check.
9
Key idea: re-use data
Implicit solve
that is stable
Explicit solve checks.
It is OK that the explicit solve may be unstable. (Why?) 10
e.g., Backward Euler
e.g., Forward Euler
 Backward/Forward Euler
 Richardson/Crank-Nicolson
 Runge-Kutta 1/2, 2/3, 4/5
 Adams-Bashforth linear multistep method 2/3, 4/5
 Explicit check on implicit scheme
 Extrapolation
Lots of these checks for
numerical time-stepping algorithms…
11
Exercise in step detection (change point detection)
Algorithmic details in the paper. Main parameters:
Relative jump
Variance change
12
Experimental setup:
 Solve heat equation for T time steps and
artificially inject error at one time step.
 Do this many times with different
types of errors.
 True positive rate:
#(real errors detected) / #(trials)
 False positive rate:
#(non-errors “detected”) / #(time steps)
13
Are large errors easier to detect?
Local truncation error (LTE)-normalized error
Output when no fault is injected.
Output when fault is injected.
14
Error injection:
Multiply single entry of RHS
in linear solves by
z ~ N(1, 5e-5) at a single
time step
15
Error injection:
Multiply q(x, t) at one
discrete x by z ~ N(1, 0.1)
at a single time step
16
Takeaways
17
 We have a general framework for detecting silent errors.
 Numerical integration is our central application.
 We detect large errors more easily.
 Not too many false positives.
 How many silent errors are there? How worried should we be?
 Do we need systems solutions or algorithmic solutions? Both?
 “Defense in depth” is good. But how easy are ABFT methods to
incorporate into existing solvers?
Resilience: what do we need to discuss?
18
Silent error resilience in
numerical time-stepping schemes
Austin Benson
arbenson@stanford.edu
Stanford University
ICME Colloquium, Jan. 26 2015
Joint work with
Sven Schmit, Stanford
Rob Schreiber, HP Labs
code + data: http://stanford.edu/~arbenson/silent.html
paper: Intl. J. of High Performance Computing Applications, 2014
19
Tardy error detection
20

More Related Content

Similar to Silent error resilience in numerical time-stepping schemes

Approximation and error
Approximation and errorApproximation and error
Approximation and error
rubenarismendi
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
rubenarismendi
 
Integrating Model Checking and Procedural Languages
Integrating Model Checking and Procedural LanguagesIntegrating Model Checking and Procedural Languages
Integrating Model Checking and Procedural Languages
butest
 
Process Synchronization -1.ppt
Process Synchronization -1.pptProcess Synchronization -1.ppt
Process Synchronization -1.ppt
jayverma27
 

Similar to Silent error resilience in numerical time-stepping schemes (20)

Adsa u1 ver 1.0
Adsa u1 ver 1.0Adsa u1 ver 1.0
Adsa u1 ver 1.0
 
Application Fault Tolerance (AFT)
Application Fault Tolerance (AFT)Application Fault Tolerance (AFT)
Application Fault Tolerance (AFT)
 
Polyspace CETIC presentation
Polyspace CETIC presentationPolyspace CETIC presentation
Polyspace CETIC presentation
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
 
V center operations enterprise standalone technical presentation
V center operations enterprise standalone technical presentationV center operations enterprise standalone technical presentation
V center operations enterprise standalone technical presentation
 
TMPA-2017: 5W+1H Static Analysis Report Quality Measure
TMPA-2017: 5W+1H Static Analysis Report Quality MeasureTMPA-2017: 5W+1H Static Analysis Report Quality Measure
TMPA-2017: 5W+1H Static Analysis Report Quality Measure
 
Numerical analysis using Scilab: Error analysis and propagation
Numerical analysis using Scilab: Error analysis and propagationNumerical analysis using Scilab: Error analysis and propagation
Numerical analysis using Scilab: Error analysis and propagation
 
Integrating Model Checking and Procedural Languages
Integrating Model Checking and Procedural LanguagesIntegrating Model Checking and Procedural Languages
Integrating Model Checking and Procedural Languages
 
Orthogonal array approach a case study
Orthogonal array approach   a case studyOrthogonal array approach   a case study
Orthogonal array approach a case study
 
Anomaly detection
Anomaly detectionAnomaly detection
Anomaly detection
 
Lecture 5: Asymptotic analysis of algorithms
Lecture 5: Asymptotic analysis of algorithmsLecture 5: Asymptotic analysis of algorithms
Lecture 5: Asymptotic analysis of algorithms
 
Automatic Differentiation and SciML in Reality: What can go wrong, and what t...
Automatic Differentiation and SciML in Reality: What can go wrong, and what t...Automatic Differentiation and SciML in Reality: What can go wrong, and what t...
Automatic Differentiation and SciML in Reality: What can go wrong, and what t...
 
Software Testing for Data Scientists
Software Testing for Data ScientistsSoftware Testing for Data Scientists
Software Testing for Data Scientists
 
A Machine Learning approach to predict Software Defects
A Machine Learning approach to predict Software DefectsA Machine Learning approach to predict Software Defects
A Machine Learning approach to predict Software Defects
 
Testing
TestingTesting
Testing
 
Numerical Method
Numerical Method Numerical Method
Numerical Method
 
Process Synchronization -1.ppt
Process Synchronization -1.pptProcess Synchronization -1.ppt
Process Synchronization -1.ppt
 
Theory and Design for Mechanical Measurements solutions manual Figliola 4th ed
Theory and Design for Mechanical Measurements solutions manual Figliola 4th edTheory and Design for Mechanical Measurements solutions manual Figliola 4th ed
Theory and Design for Mechanical Measurements solutions manual Figliola 4th ed
 
My Postdoctoral Research
My Postdoctoral ResearchMy Postdoctoral Research
My Postdoctoral Research
 

More from Austin Benson

More from Austin Benson (20)

Hypergraph Cuts with General Splitting Functions (JMM)
Hypergraph Cuts with General Splitting Functions (JMM)Hypergraph Cuts with General Splitting Functions (JMM)
Hypergraph Cuts with General Splitting Functions (JMM)
 
Spectral embeddings and evolving networks
Spectral embeddings and evolving networksSpectral embeddings and evolving networks
Spectral embeddings and evolving networks
 
Computational Frameworks for Higher-order Network Data Analysis
Computational Frameworks for Higher-order Network Data AnalysisComputational Frameworks for Higher-order Network Data Analysis
Computational Frameworks for Higher-order Network Data Analysis
 
Higher-order link prediction and other hypergraph modeling
Higher-order link prediction and other hypergraph modelingHigher-order link prediction and other hypergraph modeling
Higher-order link prediction and other hypergraph modeling
 
Hypergraph Cuts with General Splitting Functions
Hypergraph Cuts with General Splitting FunctionsHypergraph Cuts with General Splitting Functions
Hypergraph Cuts with General Splitting Functions
 
Hypergraph Cuts with General Splitting Functions
Hypergraph Cuts with General Splitting FunctionsHypergraph Cuts with General Splitting Functions
Hypergraph Cuts with General Splitting Functions
 
Higher-order link prediction
Higher-order link predictionHigher-order link prediction
Higher-order link prediction
 
Simplicial closure & higher-order link prediction
Simplicial closure & higher-order link predictionSimplicial closure & higher-order link prediction
Simplicial closure & higher-order link prediction
 
Three hypergraph eigenvector centralities
Three hypergraph eigenvector centralitiesThree hypergraph eigenvector centralities
Three hypergraph eigenvector centralities
 
Semi-supervised learning of edge flows
Semi-supervised learning of edge flowsSemi-supervised learning of edge flows
Semi-supervised learning of edge flows
 
Choosing to grow a graph
Choosing to grow a graphChoosing to grow a graph
Choosing to grow a graph
 
Link prediction in networks with core-fringe structure
Link prediction in networks with core-fringe structureLink prediction in networks with core-fringe structure
Link prediction in networks with core-fringe structure
 
Higher-order Link Prediction GraphEx
Higher-order Link Prediction GraphExHigher-order Link Prediction GraphEx
Higher-order Link Prediction GraphEx
 
Higher-order Link Prediction Syracuse
Higher-order Link Prediction SyracuseHigher-order Link Prediction Syracuse
Higher-order Link Prediction Syracuse
 
Random spatial network models for core-periphery structure
Random spatial network models for core-periphery structureRandom spatial network models for core-periphery structure
Random spatial network models for core-periphery structure
 
Random spatial network models for core-periphery structure.
Random spatial network models for core-periphery structure.Random spatial network models for core-periphery structure.
Random spatial network models for core-periphery structure.
 
Simplicial closure & higher-order link prediction
Simplicial closure & higher-order link predictionSimplicial closure & higher-order link prediction
Simplicial closure & higher-order link prediction
 
Simplicial closure and simplicial diffusions
Simplicial closure and simplicial diffusionsSimplicial closure and simplicial diffusions
Simplicial closure and simplicial diffusions
 
Sampling methods for counting temporal motifs
Sampling methods for counting temporal motifsSampling methods for counting temporal motifs
Sampling methods for counting temporal motifs
 
Set prediction three ways
Set prediction three waysSet prediction three ways
Set prediction three ways
 

Recently uploaded

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 

Recently uploaded (20)

Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 

Silent error resilience in numerical time-stepping schemes

  • 1. Silent error resilience in numerical time-stepping schemes Austin Benson arbenson@stanford.edu Stanford University ICME Colloquium, Jan. 26 2015 Joint work with Sven Schmit, Stanford Rob Schreiber, HP Labs code + data: http://stanford.edu/~arbenson/silent.html paper: Intl. J. of High Performance Computing Applications, 2014 1
  • 2.  Computer systems are getting bigger and more complicated.  Software systems are getting bigger and more complicated.  Pushing energy limits.  Things break. 2
  • 3. What breaks?  Hardware wears out  Bit flips from cosmic rays  Data races and other software bugs  Firmware bugs Silent errors are errors in application state that have escaped low-level error detection. 3
  • 4. What can we do?  Checkpoint/restart: Occasionally save state of system. If error is detected, restart. Does not scale. How to detect errors?  Other ABFT: Clever algorithms that address these issues for particular algorithms.  This work: Error detection for iterative computation in general, numerical time-stepping schemes in particular. 4
  • 6. At time step 120, multiplied single entry in right-hand-side of Crank-Nicolson and Backward Euler linear solves by 0.995. 6
  • 7. General algorithm:  “Base method” generates sequence B1, B2, …  “Auxiliary method” generates sequence A1, A2, …  If Di = ||Bi – Ai|| is abnormal, possible error 7
  • 8. Base method: high-order numerical integration scheme: Runge-Kutta 5 Auxiliary method: lower-order scheme: Runge-Kutta 4 Difference: Di = |Bi – Ai| Re-purposing an old idea for step-size control [Fehlberg, 1969], [Dormand and Prince, 1980] 8
  • 9. Key idea: re-use data RK 1/2 scheme for u’ = f(t, u) Second-order scheme has error O(h^3) No extra function evaluations. Provides O(h^2) check. 9
  • 10. Key idea: re-use data Implicit solve that is stable Explicit solve checks. It is OK that the explicit solve may be unstable. (Why?) 10 e.g., Backward Euler e.g., Forward Euler
  • 11.  Backward/Forward Euler  Richardson/Crank-Nicolson  Runge-Kutta 1/2, 2/3, 4/5  Adams-Bashforth linear multistep method 2/3, 4/5  Explicit check on implicit scheme  Extrapolation Lots of these checks for numerical time-stepping algorithms… 11
  • 12. Exercise in step detection (change point detection) Algorithmic details in the paper. Main parameters: Relative jump Variance change 12
  • 13. Experimental setup:  Solve heat equation for T time steps and artificially inject error at one time step.  Do this many times with different types of errors.  True positive rate: #(real errors detected) / #(trials)  False positive rate: #(non-errors “detected”) / #(time steps) 13
  • 14. Are large errors easier to detect? Local truncation error (LTE)-normalized error Output when no fault is injected. Output when fault is injected. 14
  • 15. Error injection: Multiply single entry of RHS in linear solves by z ~ N(1, 5e-5) at a single time step 15
  • 16. Error injection: Multiply q(x, t) at one discrete x by z ~ N(1, 0.1) at a single time step 16
  • 17. Takeaways 17  We have a general framework for detecting silent errors.  Numerical integration is our central application.  We detect large errors more easily.  Not too many false positives.
  • 18.  How many silent errors are there? How worried should we be?  Do we need systems solutions or algorithmic solutions? Both?  “Defense in depth” is good. But how easy are ABFT methods to incorporate into existing solvers? Resilience: what do we need to discuss? 18
  • 19. Silent error resilience in numerical time-stepping schemes Austin Benson arbenson@stanford.edu Stanford University ICME Colloquium, Jan. 26 2015 Joint work with Sven Schmit, Stanford Rob Schreiber, HP Labs code + data: http://stanford.edu/~arbenson/silent.html paper: Intl. J. of High Performance Computing Applications, 2014 19

Editor's Notes

  1. & u_t = \frac{1}{100}u_{xx} + 0.1\left(\sin(2\pi t) + \cos(2\pi x)\right) \nonumber \\ & t \in [0, 2], x \in [0, 1] \nonumber \\ & u(x, 0) = x(x-1) \nonumber \\ & \Delta x = 1 / 160, \Delta t = 1 / 100 \nonumber
  2. & u_t = \frac{1}{100}u_{xx} + 0.1\left(\sin(2\pi t) + \cos(2\pi x)\right) \nonumber \\ & t \in [0, 2], x \in [0, 1] \nonumber \\ & u(x, 0) = x(x-1) \nonumber \\ & \Delta x = 1 / 160, \Delta t = 1 / 100 \nonumber
  3. & \textcolor{blue}{k_1^{B}} = f(t_n, u_n^{B}) \nonumber \\ & u^{B}_{n+1} = u_n^{B} + hf\left(t_n + h/2, u_n^{B} + h\textcolor{blue}{k_1^{B}}/2\right) \nonumber \\ & \\ & u_{n+1}^{A} = u_n^{B} + h\textcolor{blue}{k_1^{B}} \nonumber \\ & \\ & D_{n+1} = \| u_{n+1}^{A} - u_{n+1}^{B} \|
  4. & AU^{B}_{n+1} = \textcolor{blue}{U^{B}_{n}} \nonumber \\ & \\ & U^{A}_{n+1} = B\textcolor{blue}{U^{B}_{n}} \nonumber \\ & \\ & D_{n+1} = \| U^{B}_{n+1} - U^{A}_{n+1} \| \nonumber
  5. & D_{n+1} = \| B_{n+1} - A_{n+1} \|_{\infty} \\ & J_{n+1} = \frac{D_{n+1} - D_n}{D_n} \\ & V_{n+1} = \frac{\text{Var}(D_{n-p+1}, \ldots, D_{n+1})}{\text{Var}(D_{n-p}, \ldots, D_{n})}
  6. L_i = \frac{\| B_i - \hat{B}_i \|}{\| \hat{B}_i - \hat{A}_i \|} \approx \frac{\text{Difference caused by error}}{\text{local truncation error}}
  7. $u_t = 0.001u_{xx} + (1 - \sqrt{1 - 4(t - t^2)}) / (2 - 2t)$ $u(x, 0) = 6|x - 1/2| - 3$
  8. $u_t = 0.01u_{xx} + q(x, t)$, \quad $q(x, t) = xe^{-t/2}$ $u(x, 0) = 4x(x-1)(x-2)$