import java.applet.Applet; import java.awt.*; import java.awt.event.*; import java.applet.*; import java.awt.geom.*; import java.math.*; /*This file does calculation 3*/ public class ProofCalc3 { public static void main(Manager M) { for(int i=0;i<8;++i) M.C.MESSAGE[i]=""; M.C.MESSAGE[0]="start calc 3"; M.C.MESSAGE[1]="start first order-2 test"; M.C.repaint(); test1(); M.C.MESSAGE[1]="first order-2 test done"; M.C.MESSAGE[3]="start first order-2 test"; M.C.repaint(); M.C.MESSAGE[2]="start second order-2 test"; M.C.repaint(); test2(); M.C.MESSAGE[2]="second order 2 test done"; M.C.MESSAGE[3]="start main test"; M.C.repaint(); test3(M); M.C.MESSAGE[6]="main test done"; M.C.MESSAGE[7]="calc 3 done"; M.C.repaint(); } public static void fail() { throw new ProofException("calculation 3 fails"); } /*Here is 6 times the 420-scaled volume of the trivial tile from 5/4 to 2. The unscaled tile has cross section (0,1), (-1,0), (0,1), (0,-1), which has area 2. The quantity we consider is 2 (2-5/4) 6 420 420 420*/ public static long volumeTrivial() { return(666792000); } public static LongPolyhedron phi(LongPolyhedron P) { long x=0; for(int i=0;i0) hand=1; LongPolyhedron Q=new LongPolyhedron(P); for(int i=0;i