Herbie run

Date:Thursday, October 3rd, 2024
Commit:6e4f2b10 on rival-256-starting-prec
Hostname:nightly with Racket 8.10
Seed:2024277
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:avg-errorreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 4.6min)

sample2.0min (42.6%)

Memory
293.8MiB live, 112 926.5MiB allocated
Samples
25.2s145 569×0invalid
24.1s19 525×2valid
22.1s83 665×1valid
12.5s127 976×0valid
10.9s5 007×5exit
490.0ms1 987×1exit
362.0ms4 200×0exit
14.0ms4exit
10.0ms3exit
4.0ms3valid
3.0ms2exit
Precisions
Click to see histograms. Total time spent on operations: 1.3min
ival-tan: 15.7s (19.6% of total)
ival-pow: 10.6s (13.3% of total)
ival-mult: 6.0s (7.4% of total)
const: 5.5s (6.8% of total)
ival-sin: 4.9s (6.1% of total)
adjust: 4.3s (5.4% of total)
ival-div: 4.1s (5.2% of total)
ival-exp: 3.7s (4.6% of total)
ival-sub: 3.5s (4.4% of total)
ival-cos: 3.4s (4.2% of total)
ival-add: 3.1s (3.8% of total)
ival-fabs: 2.7s (3.3% of total)
ival-log: 2.6s (3.2% of total)
ival-expm1: 2.1s (2.6% of total)
ival-<=: 2.0s (2.5% of total)
ival-sqrt: 1.1s (1.4% of total)
ival-<: 934.0ms (1.2% of total)
ival-log1p: 892.0ms (1.1% of total)
ival-and: 649.0ms (0.8% of total)
ival-fmin: 486.0ms (0.6% of total)
ival->: 485.0ms (0.6% of total)
ival-atan: 415.0ms (0.5% of total)
ival-neg: 379.0ms (0.5% of total)
exact: 342.0ms (0.4% of total)
ival-cbrt: 227.0ms (0.3% of total)
ival-assert: 155.0ms (0.2% of total)
ival-true: 66.0ms (0.1% of total)
Bogosity

simplify38.5s (13.9%)

Memory
606.7MiB live, 30 505.7MiB allocated
Algorithm
242×egg-herbie
Stop Event
318×iter limit
163×node limit
82×saturated
Counts
28 728 → 28 331

soundness31.4s (11.4%)

Memory
-367.5MiB live, 18 190.8MiB allocated
Stop Event
197×iter limit
132×node limit
24×fuel
done
saturated
Compiler

Compiled 10 302 to 6 035 computations (41.4% saved)

rewrite22.1s (8%)

Memory
-546.4MiB live, 20 826.9MiB allocated
Stop Event
215×iter limit
106×node limit
saturated
Counts
1 631 → 63 034

localize19.2s (6.9%)

Memory
-181.8MiB live, 20 028.8MiB allocated
Samples
7.0s9 583×1valid
4.9s14 652×0valid
3.3s2 580×2valid
185.0ms525×0invalid
98.0ms39×3valid
18.0ms13×5exit
Compiler

Compiled 37 580 to 5 805 computations (84.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.9s
ival-mult: 2.2s (18.1% of total)
ival-div: 1.4s (11.9% of total)
ival-tan: 1.2s (10.1% of total)
adjust: 1.2s (10% of total)
ival-add: 1.1s (9% of total)
ival-pow: 703.0ms (5.9% of total)
const: 636.0ms (5.3% of total)
ival-log: 598.0ms (5% of total)
ival-sub: 579.0ms (4.9% of total)
ival-exp: 469.0ms (3.9% of total)
ival-cos: 332.0ms (2.8% of total)
ival-sin: 286.0ms (2.4% of total)
ival-log1p: 283.0ms (2.4% of total)
ival-sqrt: 231.0ms (1.9% of total)
ival-pow2: 198.0ms (1.7% of total)
ival-expm1: 146.0ms (1.2% of total)
ival-neg: 114.0ms (1% of total)
ival-cosh: 85.0ms (0.7% of total)
ival-cbrt: 51.0ms (0.4% of total)
exact: 46.0ms (0.4% of total)
ival-atan: 32.0ms (0.3% of total)
ival-true: 23.0ms (0.2% of total)
ival-atan2: 22.0ms (0.2% of total)
ival-assert: 12.0ms (0.1% of total)
ival-hypot: 10.0ms (0.1% of total)
ival-sinh: 8.0ms (0.1% of total)
ival-copysign: 5.0ms (0% of total)
ival-fabs: 3.0ms (0% of total)

eval18.4s (6.6%)

Memory
820.1MiB live, 23 956.6MiB allocated
Compiler

Compiled 2 613 726 to 276 907 computations (89.4% saved)

explain7.1s (2.6%)

Memory
-45.3MiB live, 6 190.5MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation416326
log.f64#fsensitivity7611
/.f64#fu/u4510
sqrt.f64#foflow-rescue3960
+.f64#fcancellation3741
/.f64#fu/n1230
pow.f64(pow.f64 (+.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) n))sensitivity730
/.f64(/.f64 (*.f64 eps (-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) #s(literal 1 binary64))) (*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))))n/u240
(*.f64 b eps)underflow145
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow149
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow145
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow234
(*.f64 a eps)underflow149
-.f64#fnan-rescue180
sqrt.f64#fuflow-rescue160
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o30
(*.f64 x x)overflow61
/.f64#fo/n20
/.f64(/.f64 (-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (-.f64 (exp.f64 x) #s(literal 1 binary64)))o/o20
(exp.f64 (*.f64 #s(literal 2 binary64) x))overflow3
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow3
(exp.f64 x)overflow2
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow2
exp.f64(exp.f64 (neg.f64 x))sensitivity11
Confusion
Predicted +Predicted -
+524219
-1591748
Precision
0.970561007220885
Recall
0.9963885192929101
Confusion?
Predicted +Predicted MaybePredicted -
+5242163
-159151733
Precision?
0.9679675994108984
Recall?
0.9994297662041437
Freqs
test
numberfreq
01767
14599
2644
3112
446
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
1.7s1 290×2valid
1.3s5 106×1valid
692.0ms7 940×0valid
Compiler

Compiled 3 034 to 980 computations (67.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.1s
ival-tan: 1.1s (36.5% of total)
adjust: 264.0ms (8.5% of total)
ival-sin: 224.0ms (7.2% of total)
ival-div: 200.0ms (6.5% of total)
ival-pow: 193.0ms (6.2% of total)
ival-exp: 170.0ms (5.5% of total)
ival-sub: 170.0ms (5.5% of total)
ival-log: 148.0ms (4.8% of total)
ival-add: 141.0ms (4.6% of total)
ival-cos: 129.0ms (4.2% of total)
ival-mult: 79.0ms (2.6% of total)
ival-expm1: 62.0ms (2% of total)
ival-sqrt: 57.0ms (1.8% of total)
ival-log1p: 50.0ms (1.6% of total)
ival-atan: 22.0ms (0.7% of total)
ival-cbrt: 15.0ms (0.5% of total)
ival-true: 13.0ms (0.4% of total)
ival-neg: 13.0ms (0.4% of total)
exact: 8.0ms (0.3% of total)
ival-assert: 6.0ms (0.2% of total)

prune5.9s (2.1%)

Memory
-219.9MiB live, 9 630.7MiB allocated
Counts
104 134 → 1 841
Compiler

Compiled 60 483 to 34 470 computations (43% saved)

series4.8s (1.7%)

Memory
-46.8MiB live, 5 034.9MiB allocated
Counts
1 631 → 28 728
Calls

492 calls:

TimeVariablePointExpression
174.0ms
x
@-inf
((+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1))) (/ 2 (pow x 3)) (pow x 3) (+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1))) (/ -2 x) (+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1))) (- (/ 1 (+ x 1)) (/ 2 x)) (/ (- (/ -1 x) 1) x) (- (/ -1 x) 1) (- x (* 2 (+ x 1))) (* 2 (+ x 1)) (/ (+ (* (/ (- x (* 2 (+ x 1))) (+ x 1)) (- x 1)) x) (* x (- x 1))) (+ (* (/ (- x (* 2 (+ x 1))) (+ x 1)) (- x 1)) x) (+ (* (- x (* 2 (+ x 1))) (- x 1)) (* (* (+ x 1) x) 1)) (* (* (+ x 1) x) 1) (- x 1) (* x (- x 1)) (/ (+ (* (- x (* 2 (+ x 1))) (- x 1)) (* (* (+ x 1) x) 1)) (* (* (+ x 1) x) (- x 1))) (* (* (+ x 1) x) (- x 1)) (* (+ x 1) x))
170.0ms
x
@-inf
((* x (* x (* (* x x) 1/12))) (+ (- (exp x) 2) (exp (neg x))) (+ (* x x) (* x (* x (* (* x x) 1/12)))) (* (* x x) 1/12) (+ (* (cosh x) 2) -2) (cosh x) (+ (* 1/2 (* x x)) 1) (* x x) (+ (* (cosh x) 2) -2) (cosh x) (+ (* (+ (* 1/24 (* x x)) 1/2) (* x x)) 1) (+ (* 1/24 (* x x)) 1/2) (+ (* (cosh x) 2) -2) (cosh x) (+ (* (+ (* (+ (* 1/720 (* x x)) 1/24) (* x x)) 1/2) (* x x)) 1) (+ (* (+ (* 1/720 (* x x)) 1/24) (* x x)) 1/2) (/ 1 (/ (+ (* (cosh x) 2) 2) (+ (* (pow (cosh x) 2) 4) -4))) (/ (+ (* (cosh x) 2) 2) (+ (* (pow (cosh x) 2) 4) -4)) (+ (* (cosh x) 2) 2) (cosh x) (* x (* (* x x) 1/12)) (+ (* 1/720 (* x x)) 1/24) (+ (* (pow (cosh x) 2) 4) -4) (pow (cosh x) 2))
80.0ms
n
@0
((- (* (+ n 1) (log (+ n 1))) (* n (log n))) (log (+ n 1)) (- (- (* (+ n 1) (log (+ n 1))) (* n (log n))) 1) (+ n 1) (* n (log n)) (* (+ n 1) (log (+ n 1))))
56.0ms
N
@inf
((- (log (+ N 1)) (log N)) (/ (- (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) -1) N) (- (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) -1) (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) (- (log (+ N 1)) (log N)) (/ 1 N) (- (log (+ 1 N)) (log N)) (log (+ 1 N)) (log N) (+ (* (pow (log (+ 1 N)) 2) (pow (+ (log N) (log (+ 1 N))) -1)) (neg (/ (pow (log N) 2) (+ (log N) (log (+ 1 N)))))) (pow (log (+ 1 N)) 2) (pow (+ (log N) (log (+ 1 N))) -1) (+ (* (pow (log (+ 1 N)) 3/2) (/ (pow (log (+ 1 N)) 3/2) (+ (* (+ (log N) (log (+ 1 N))) (log N)) (pow (log (+ 1 N)) 2)))) (neg (/ (pow (log N) 3) (+ (* (+ (log N) (log (+ 1 N))) (log N)) (pow (log (+ 1 N)) 2))))) (pow (log (+ 1 N)) 3/2) (/ (pow (log (+ 1 N)) 3/2) (+ (* (+ (log N) (log (+ 1 N))) (log N)) (pow (log (+ 1 N)) 2))) (/ (- (/ 1/4 N) 1/3) N) (- (/ 1/4 N) 1/3) (pow (log N) 2) (/ (pow (log N) 2) (+ (log N) (log (+ 1 N)))) (pow (log N) 3))
49.0ms
x
@0
((- (cbrt (+ x 1)) (cbrt x)) (* (cbrt (/ (/ 1 x) x)) 1/3) (cbrt (/ (/ 1 x) x)) (/ (/ 1 x) x) (- (cbrt (+ x 1)) (cbrt x)) (cbrt (+ x 1)) (cbrt x) (pow (pow x 1/6) 2) (- (cbrt (+ x 1)) (pow (pow x 1/6) 2)) (cbrt (+ x 1)) (+ x 1) (pow (exp (neg (log (+ 1 x)))) -1/3) (exp (neg (log (+ 1 x)))) (neg (log (+ 1 x))) (log (+ 1 x)) (exp 1) (- (cbrt (pow (exp 1) (log (+ 1 x)))) (cbrt x)) (cbrt (pow (exp 1) (log (+ 1 x)))) (pow (exp 1) (log (+ 1 x))) (pow x 1/6) (- (pow (exp (neg (log (+ 1 x)))) -1/3) (cbrt x)))

preprocess4.4s (1.6%)

Memory
206.9MiB live, 5 093.6MiB allocated
Algorithm
28×egg-herbie
Stop Event
56×iter limit
50×saturated
node limit
Compiler

Compiled 11 266 to 4 449 computations (60.5% saved)

regimes4.0s (1.4%)

Memory
-116.9MiB live, 5 228.0MiB allocated
Counts
3 817 → 361
Calls

43 calls:

874.0ms
x
312.0ms
eps
198.0ms
b
162.0ms
(-.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 x)) (/.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
153.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
Compiler

Compiled 2 200 to 2 051 computations (6.8% saved)

analyze1.9s (0.7%)

Memory
14.6MiB live, 2 146.6MiB allocated
Algorithm
28×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%61.1%38.9%0%0%0%0
7.4%4.5%56.6%38.9%0%0%0%1
22.3%13.6%47.5%38.9%0%0%0%2
40.2%23.5%34.9%38.9%0%2.7%0%3
53.4%31.1%27.2%38.9%0%2.8%0%4
63%36.3%21.3%38.9%0%3.6%0%5
65.9%37.5%19.4%38.9%0%4.2%0%6
70.4%38.8%16.3%38.9%0%6%0%7
73.6%40.2%14.4%38.9%0%6.5%0%8
76.3%40.9%12.7%38.9%0%7.5%0%9
78.4%41.4%11.4%38.9%0%8.3%0%10
81.1%42.4%9.9%38.9%0%8.8%0%11
82.3%42.7%9.2%38.9%0%9.3%0%12
Compiler

Compiled 483 to 337 computations (30.2% saved)

bsearch1.3s (0.5%)

Memory
-9.8MiB live, 1 616.6MiB allocated
Algorithm
90×binary-search
42×left-value
Stop Event
85×narrow-enough
predicate-same
Samples
431.0ms4 409×0valid
162.0ms921×1valid
79.0ms914×0invalid
40.0ms190×2valid
1.0ms13×0exit
Compiler

Compiled 13 704 to 13 457 computations (1.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 495.0ms
ival-pow: 117.0ms (23.6% of total)
ival-mult: 107.0ms (21.6% of total)
ival-sub: 56.0ms (11.3% of total)
ival-div: 54.0ms (10.9% of total)
ival-sqrt: 42.0ms (8.5% of total)
ival-add: 27.0ms (5.4% of total)
adjust: 23.0ms (4.6% of total)
ival-neg: 21.0ms (4.2% of total)
ival-cos: 14.0ms (2.8% of total)
ival-cbrt: 11.0ms (2.2% of total)
ival-expm1: 6.0ms (1.2% of total)
ival-sin: 5.0ms (1% of total)
ival-true: 5.0ms (1% of total)
exact: 4.0ms (0.8% of total)
ival-exp: 3.0ms (0.6% of total)
ival-assert: 3.0ms (0.6% of total)

start1.0ms (0%)

Memory
1.7MiB live, 1.7MiB allocated

end0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated

Profiling

Loading profile data...