Commit 9c38c892 authored by Heiko Becker's avatar Heiko Becker

Start working on AA error validator, implement function first

parent b93f1500
This diff is collapsed.
...@@ -2,7 +2,7 @@ From Coq ...@@ -2,7 +2,7 @@ From Coq
Require Import Reals.Reals QArith.Qreals. Require Import Reals.Reals QArith.Qreals.
From Flover From Flover
Require Export Infra.ExpressionAbbrevs ErrorValidation. Require Export Infra.ExpressionAbbrevs ErrorValidation RealRangeValidator.
Definition RoundoffErrorValidator (e:expr Q) (tMap:FloverMap.t mType) (A:analysisResult) (dVars:NatSet.t) := Definition RoundoffErrorValidator (e:expr Q) (tMap:FloverMap.t mType) (A:analysisResult) (dVars:NatSet.t) :=
(* if *) (* if *)
...@@ -19,7 +19,7 @@ forall (e : expr Q) (E1 E2 : env) (fVars dVars : NatSet.t) (A : analysisResult) ...@@ -19,7 +19,7 @@ forall (e : expr Q) (E1 E2 : env) (fVars dVars : NatSet.t) (A : analysisResult)
NatSet.Subset (usedVars e -- dVars) fVars -> NatSet.Subset (usedVars e -- dVars) fVars ->
eval_expr E1 (toRMap defVars) (toREval (toRExp e)) nR REAL -> eval_expr E1 (toRMap defVars) (toREval (toRExp e)) nR REAL ->
RoundoffErrorValidator e Gamma A dVars = true -> RoundoffErrorValidator e Gamma A dVars = true ->
IntervalValidation.validIntervalbounds e A P dVars = true -> RangeValidator e A P dVars = true ->
IntervalValidation.dVars_range_valid dVars E1 A -> IntervalValidation.dVars_range_valid dVars E1 A ->
IntervalValidation.fVars_P_sound fVars E1 P -> IntervalValidation.fVars_P_sound fVars E1 P ->
IntervalValidation.vars_typed (fVars dVars) defVars -> IntervalValidation.vars_typed (fVars dVars) defVars ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment