Herbie run

Date:Sunday, November 17th, 2024
Commit:1a83c9f5 on main
Hostname:nightly with Racket 8.10
Seed:2024322
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce: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.3min)

sample2.0min (45.9%)

Memory
433.7MiB live, 101 348.0MiB allocated
Samples
29.4s41 461×2valid
25.3s144 845×0invalid
19.3s92 387×1valid
10.6s5 013×5exit
8.4s94 339×0valid
2.0s2 972×3valid
798.0ms2 281×1exit
451.0ms4 306×0exit
17.0ms4exit
10.0ms4valid
2.0ms2exit
1.0ms3exit
Precisions
Click to see histograms. Total time spent on operations: 1.3min
ival-tan: 13.4s (16.8% of total)
ival-pow: 9.8s (12.3% of total)
ival-mult: 6.2s (7.8% of total)
adjust: 5.9s (7.4% of total)
const: 5.7s (7.2% of total)
ival-cos: 4.3s (5.5% of total)
ival-div: 4.1s (5.1% of total)
ival-sub: 4.0s (5.1% of total)
ival-sin: 3.5s (4.5% of total)
ival-add: 3.3s (4.1% of total)
ival-log: 3.3s (4.1% of total)
ival-exp: 2.6s (3.3% of total)
ival-expm1: 2.2s (2.8% of total)
ival-<=: 2.2s (2.8% of total)
ival-fabs: 2.1s (2.6% of total)
ival-log1p: 1.3s (1.7% of total)
ival-sqrt: 1.3s (1.6% of total)
ival-<: 940.0ms (1.2% of total)
ival-and: 625.0ms (0.8% of total)
ival-atan: 615.0ms (0.8% of total)
ival-fmin: 508.0ms (0.6% of total)
ival-cbrt: 373.0ms (0.5% of total)
exact: 355.0ms (0.4% of total)
ival-neg: 298.0ms (0.4% of total)
ival->: 263.0ms (0.3% of total)
ival-assert: 150.0ms (0.2% of total)
ival-true: 71.0ms (0.1% of total)
Bogosity

simplify35.8s (13.9%)

Memory
25.6MiB live, 25 204.5MiB allocated
Algorithm
242×egg-herbie
Stop Event
319×iter limit
183×node limit
62×saturated
Counts
7 976 → 7 895

soundness27.5s (10.7%)

Memory
258.7MiB live, 13 218.4MiB allocated
Stop Event
190×iter limit
124×node limit
20×fuel
done
saturated
Compiler

Compiled 13 372 to 6 093 computations (54.4% saved)

rewrite22.2s (8.6%)

Memory
-84.8MiB live, 19 250.4MiB allocated
Stop Event
218×iter limit
106×node limit
saturated
Counts
1 514 → 60 083

localize17.7s (6.9%)

Memory
124.9MiB live, 16 906.5MiB allocated
Samples
5.6s10 484×1valid
5.4s4 709×2valid
2.7s11 010×0valid
574.0ms425×3valid
211.0ms723×0invalid
11.0ms5exit
9.0ms29×0exit
4.0ms4valid
Compiler

Compiled 18 077 to 2 911 computations (83.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.5s
ival-mult: 1.9s (16.6% of total)
ival-div: 1.5s (12.9% of total)
adjust: 1.3s (11.4% of total)
ival-tan: 1.3s (10.9% of total)
ival-add: 994.0ms (8.6% of total)
ival-pow: 774.0ms (6.7% of total)
ival-sub: 619.0ms (5.4% of total)
const: 512.0ms (4.4% of total)
ival-log: 464.0ms (4% of total)
ival-cos: 415.0ms (3.6% of total)
ival-sin: 380.0ms (3.3% of total)
ival-sqrt: 372.0ms (3.2% of total)
ival-exp: 320.0ms (2.8% of total)
ival-log1p: 153.0ms (1.3% of total)
ival-cosh: 129.0ms (1.1% of total)
ival-pow2: 115.0ms (1% of total)
ival-neg: 95.0ms (0.8% of total)
ival-expm1: 56.0ms (0.5% of total)
ival-cbrt: 56.0ms (0.5% of total)
exact: 42.0ms (0.4% of total)
ival-atan2: 24.0ms (0.2% of total)
ival-true: 23.0ms (0.2% of total)
ival-assert: 11.0ms (0.1% of total)
ival-atan: 10.0ms (0.1% of total)
ival-fabs: 1.0ms (0% of total)

eval12.8s (5%)

Memory
177.7MiB live, 13 946.0MiB allocated
Compiler

Compiled 2 314 325 to 255 634 computations (89% saved)

explain6.0s (2.3%)

Memory
-63.4MiB live, 5 862.5MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation411930
log.f64#fsensitivity7670
/.f64#fu/u4440
sqrt.f64#foflow-rescue4000
+.f64#fcancellation3441
/.f64#fu/n1230
pow.f64#fsensitivity590
/.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/u250
(*.f64 b eps)underflow153
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow149
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow153
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow243
(*.f64 a eps)underflow149
sqrt.f64#fuflow-rescue120
-.f64#fnan-rescue70
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o20
(*.f64 x x)overflow81
/.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))overflow2
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow2
(exp.f64 x)overflow2
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow2
cos.f64(cos.f64 (+.f64 x eps))sensitivity10
exp.f64(exp.f64 (neg.f64 x))sensitivity10
tan.f64(tan.f64 (+.f64 x eps))sensitivity10
Confusion
Predicted +Predicted -
+51835
-1281852
Precision
0.9758990773865562
Recall
0.9990362374710872
Confusion?
Predicted +Predicted MaybePredicted -
+518350
-128261826
Precision?
0.9711718457506552
Recall?
1.0
Freqs
test
numberfreq
01857
14516
2651
387
457
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
1.7s2 526×2valid
1.0s5 858×1valid
519.0ms5 758×0valid
228.0ms192×3valid
2.0ms4valid
Compiler

Compiled 2 154 to 763 computations (64.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.9s
ival-tan: 831.0ms (29% of total)
ival-sin: 294.0ms (10.3% of total)
adjust: 233.0ms (8.1% of total)
ival-cos: 231.0ms (8.1% of total)
ival-div: 195.0ms (6.8% of total)
ival-log: 187.0ms (6.5% of total)
ival-mult: 168.0ms (5.9% of total)
ival-sub: 148.0ms (5.2% of total)
ival-exp: 134.0ms (4.7% of total)
ival-pow: 87.0ms (3% of total)
ival-add: 83.0ms (2.9% of total)
ival-sqrt: 58.0ms (2% of total)
ival-log1p: 55.0ms (1.9% of total)
ival-expm1: 55.0ms (1.9% of total)
ival-cbrt: 45.0ms (1.6% of total)
ival-atan: 22.0ms (0.8% of total)
ival-true: 13.0ms (0.5% of total)
ival-neg: 12.0ms (0.4% of total)
exact: 8.0ms (0.3% of total)
ival-assert: 6.0ms (0.2% of total)

prune3.9s (1.5%)

Memory
-122.4MiB live, 5 315.1MiB allocated
Counts
67 233 → 1 669
Compiler

Compiled 84 689 to 45 135 computations (46.7% saved)

series3.8s (1.5%)

Memory
-102.3MiB live, 3 566.3MiB allocated
Counts
1 514 → 7 976
Calls

495 calls:

TimeVariablePointExpression
167.0ms
n
@inf
((- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (log (/ (+ 1 x) x)) n) (log (/ (+ 1 x) x)) (/ (+ 1 x) x) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (- (log (+ 1 x)) (log x)) n) (- (log (+ 1 x)) (log x)) (/ 1 x) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (- (log (+ 1 x)) (log x)) n) (/ (+ (/ (- (/ -1/2 n) (/ (- (/ (/ 1/4 n) x) (/ 1/3 n)) x)) x) (/ 1 n)) x) (+ (/ (- (/ -1/2 n) (/ (- (/ (/ 1/4 n) x) (/ 1/3 n)) x)) x) (/ 1 n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (+ (* (+ (* (+ (* (- (+ (/ 1/3 n) (/ 1/6 (pow n 3))) (/ 1/2 (* n n))) x) (- (/ 1/2 (* n n)) (/ 1/2 n))) x) (/ 1 n)) x) 1) (+ (* (+ (* (- (+ (/ 1/3 n) (/ 1/6 (pow n 3))) (/ 1/2 (* n n))) x) (- (/ 1/2 (* n n)) (/ 1/2 n))) x) (/ 1 n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (exp (/ (log x) n)) (* n x)) (exp (/ (log x) n)) (/ (log x) n) (/ 1/3 n) (/ (/ 1/4 n) x) (/ (+ (* x (+ (/ (+ (* -1/2 x) 1/2) n) (+ (* 1/3 x) -1/2))) 1) n))
85.0ms
b_2
@0
((/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) (- (sqrt (- (* b_2 b_2) (* a c))) b_2) (sqrt (- (* b_2 b_2) (* a c))) (- (* b_2 b_2) (* a c)) (/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) (* c (/ -1/2 b_2)) (/ -1/2 b_2) (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a) (- (sqrt (- (* b_2 b_2) (* a c))) b_2) (sqrt (- (* b_2 b_2) (* a c))) (- (* b_2 b_2) (* a c)) (/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ (- (* b_2 b_2) (- (* b_2 b_2) (* a c))) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))) (/ (/ (- (* b_2 b_2) (- (* b_2 b_2) (* a c))) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c))))) a) (- (* b_2 b_2) (- (* b_2 b_2) (* a c))) (* b_2 b_2))
68.0ms
c
@inf
((* (/ 1/2 a) (- (sqrt (+ (* (* c a) -4) (* b b))) b)) (/ 1/2 a) (- (sqrt (+ (* (* c a) -4) (* b b))) b) (sqrt (+ (* (* c a) -4) (* b b))) (/ (+ (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)) (/ (neg c) b) (neg c) (/ (- (* 0 a) (* a b)) (* a a)) (* 0 a) (- (* 0 a) (* a b)) (/ (+ (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)) (/ (+ (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)) (+ (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (* (* a (/ -2 b)) c) (* a (/ -2 b)) (+ (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (/ (+ (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)) (neg b) (sqrt (- (* b b) (* 4 (* a c)))) (+ (* (* c a) -4) (* b b)) (* a a) (* (+ (* (/ (/ (* c a) b) b) -4) 1) b) (* a (/ c b)))
60.0ms
N
@inf
((/ 1 (/ N (- (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) -1))) (- (log (+ N 1)) (log N)) (/ N (- (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) -1)) (- (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) -1) (- (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) (* (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) N) (- (* (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) N) (* N -1)) (* N -1) (- (log (+ N 1)) (log N)) (+ (* (sqrt (log (+ 1 N))) (sqrt (log (+ 1 N)))) (neg (log N))) (sqrt (log (+ 1 N))) (log (+ 1 N)) (neg (log N)) (+ (* (sqrt (/ (pow (log (+ 1 N)) 2) (+ (log N) (log (+ 1 N))))) (sqrt (/ (pow (log (+ 1 N)) 2) (+ (log N) (log (+ 1 N)))))) (neg (/ (pow (log N) 2) (+ (log N) (log (+ 1 N)))))) (sqrt (/ (pow (log (+ 1 N)) 2) (+ (log N) (log (+ 1 N))))) (/ (pow (log (+ 1 N)) 2) (+ (log N) (log (+ 1 N)))) (pow (log (+ 1 N)) 2) (/ (- (/ 1/4 N) 1/3) N) (- (/ 1/4 N) 1/3) (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) (/ (- (* (/ (- -1/2 (/ (- (/ 1/4 N) 1/3) N)) N) N) (* N -1)) (* N N)) (log N) (pow (log N) 2) (/ (pow (log N) 2) (+ (log N) (log (+ 1 N)))))
59.0ms
N
@0
((log (+ N 1)) (- (log (+ N 1)) (log N)) (+ N 1) (log N))

preprocess3.7s (1.4%)

Memory
211.6MiB live, 3 600.3MiB allocated
Algorithm
28×egg-herbie
Stop Event
56×iter limit
50×saturated
node limit
Compiler

Compiled 17 686 to 5 043 computations (71.5% saved)

regimes3.4s (1.3%)

Memory
-36.9MiB live, 3 497.4MiB allocated
Counts
3 233 → 310
Calls

43 calls:

813.0ms
x
250.0ms
eps
228.0ms
(/.f64 #s(literal 1 binary64) n)
191.0ms
n
139.0ms
b
Compiler

Compiled 2 038 to 1 922 computations (5.7% saved)

analyze1.7s (0.7%)

Memory
126.4MiB live, 1 830.1MiB 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.2s (0.5%)

Memory
-96.4MiB live, 1 128.2MiB allocated
Algorithm
69×binary-search
35×left-value
Stop Event
63×narrow-enough
predicate-same
Samples
343.0ms4 247×0valid
132.0ms637×0invalid
110.0ms338×2valid
73.0ms455×1valid
5.0ms53×0exit
Compiler

Compiled 25 943 to 19 438 computations (25.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 465.0ms
ival-mult: 117.0ms (25.2% of total)
ival-pow: 82.0ms (17.6% of total)
ival-sub: 52.0ms (11.2% of total)
ival-div: 48.0ms (10.3% of total)
ival-neg: 41.0ms (8.8% of total)
ival-sqrt: 30.0ms (6.5% of total)
adjust: 25.0ms (5.4% of total)
ival-cos: 21.0ms (4.5% of total)
ival-add: 16.0ms (3.4% of total)
ival-expm1: 13.0ms (2.8% of total)
ival-sin: 7.0ms (1.5% of total)
ival-true: 4.0ms (0.9% of total)
ival-exp: 3.0ms (0.6% of total)
exact: 3.0ms (0.6% of total)
ival-assert: 2.0ms (0.4% of total)

start1.0ms (0%)

Memory
1.5MiB live, 1.6MiB allocated

end0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated

Profiling

Loading profile data...