Herbie run

Date:Friday, March 21st, 2025
Commit:3191bcb3 on baseline-kernel
Seed:2025080
Parameters:256 points for 4 iterations
Flags:
reduce:regimesreduce:binary-searchreduce:branch-expressionsreduce:simplifysetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default
Memory:36 613.1 MB

Time bar (total: 2.3min)

sample1.6min (66.5%)

Memory
451.8MiB live, 18 783.3MiB allocated; 3.0s collecting garbage
Samples
21.9s6 942×9472exit
16.6s15 356×2368valid
14.4s52 597×1184valid
11.4s145 319×74invalid
5.5s33 507×592valid
4.7s87 155×74valid
2.2s19 409×296valid
2.2s22 390×148valid
268.0ms4 220×74exit
183.0ms754×4736valid
Precisions
Click to see histograms. Total time spent on operations: 1.1min
ival-pow: 22.5s (33.3% of total)
ival-tan: 12.1s (17.9% of total)
ival-sin: 4.7s (7% of total)
ival-log: 3.9s (5.7% of total)
ival-mult!: 3.6s (5.3% of total)
ival-div!: 3.3s (4.8% of total)
ival-cos: 2.8s (4.2% of total)
ival-sub!: 2.5s (3.6% of total)
ival-add!: 1.7s (2.5% of total)
ival-sqrt: 1.6s (2.3% of total)
ival-exp: 1.5s (2.2% of total)
ival-expm1: 1.4s (2.1% of total)
adjust: 1.4s (2.1% of total)
ival-fabs: 1.2s (1.8% of total)
ival-log1p: 1.1s (1.7% of total)
ival-atan: 473.0ms (0.7% of total)
ival-cbrt: 410.0ms (0.6% of total)
ival-<: 368.0ms (0.5% of total)
ival-and: 343.0ms (0.5% of total)
ival-<=: 330.0ms (0.5% of total)
ival-neg: 221.0ms (0.3% of total)
ival-assert: 74.0ms (0.1% of total)
ival-fmin: 58.0ms (0.1% of total)
ival->: 1.0ms (0% of total)
Bogosity

rewrite16.7s (11.9%)

Memory
-111.5MiB live, 4 883.0MiB allocated; 927ms collecting garbage
Stop Event
265×iter limit
108×node limit
Counts
15 049 → 35 873

preprocess6.1s (4.3%)

Memory
72.4MiB live, 1 731.1MiB allocated; 227ms collecting garbage
Stop Event
56×iter limit
51×node limit
saturated
Compiler

Compiled 18 020 to 5 267 computations (70.8% saved)

derivations5.1s (3.6%)

Memory
11.4MiB live, 100.8MiB allocated; 3ms collecting garbage
Stop Event
23×fuel
done
Compiler

Compiled 7 813 to 1 920 computations (75.4% saved)

explain4.6s (3.3%)

Memory
-81.4MiB live, 1 668.4MiB allocated; 78ms collecting garbage
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation416933
log.f64#fsensitivity7612
sqrt.f64#foflow-rescue4800
/.f64#fu/u4420
+.f64#fcancellation3121
/.f64#fu/n1140
pow.f64(pow.f64 (+.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) n))sensitivity640
/.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/u200
(*.f64 b eps)underflow153
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow152
(-.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)))underflow239
(*.f64 a eps)underflow152
-.f64#fnan-rescue150
sqrt.f64#fuflow-rescue140
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o50
(*.f64 x x)overflow62
cos.f64(cos.f64 (+.f64 x eps))sensitivity20
exp.f64#fsensitivity21
/.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
tan.f64(tan.f64 (+.f64 x eps))sensitivity20
sin.f64(sin.f64 (+.f64 x eps))sensitivity11
Confusion
Predicted +Predicted -
+525518
-1421753
Precision
0.9736890865295534
Recall
0.9965863834629244
Confusion?
Predicted +Predicted MaybePredicted -
+5255117
-142241729
Precision?
0.969440353460972
Recall?
0.9986724824578039
Freqs
test
numberfreq
01771
14584
2668
395
450
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
975.0ms3 326×1184valid
953.0ms1 018×2368valid
387.0ms2 132×592valid
326.0ms5 334×74valid
145.0ms1 116×296valid
109.0ms1 370×148valid
12.0ms40×4736valid
Compiler

Compiled 2 154 to 763 computations (64.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.3s
ival-tan: 635.0ms (27.7% of total)
ival-sin: 253.0ms (11.1% of total)
ival-log: 248.0ms (10.8% of total)
ival-div!: 167.0ms (7.3% of total)
ival-cos: 150.0ms (6.6% of total)
ival-pow: 122.0ms (5.3% of total)
ival-exp: 121.0ms (5.3% of total)
ival-sub!: 119.0ms (5.2% of total)
ival-sqrt: 95.0ms (4.2% of total)
ival-mult!: 76.0ms (3.3% of total)
ival-add!: 75.0ms (3.3% of total)
adjust: 69.0ms (3% of total)
ival-log1p: 69.0ms (3% of total)
ival-atan: 30.0ms (1.3% of total)
ival-cbrt: 26.0ms (1.1% of total)
ival-expm1: 23.0ms (1% of total)
ival-neg: 11.0ms (0.5% of total)

eval4.6s (3.2%)

Memory
69.8MiB live, 3 332.5MiB allocated; 452ms collecting garbage
Compiler

Compiled 1 458 921 to 171 495 computations (88.2% saved)

series2.6s (1.9%)

Memory
-54.7MiB live, 1 384.5MiB allocated; 155ms collecting garbage
Counts
2 750 → 12 299
Calls

504 calls:

TimeVariablePointExpression
46.0ms
n
@0
((- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (neg (/ (+ (* -1 (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (log x)) n)) (/ (+ (* -1 (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (log x)) n) (+ (* -1 (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (log x)) -1 (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n)) (log (+ 1 x)) x (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n) (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2)) (pow (log (+ 1 x)) 2) 2 (pow (log x) 2) (log x) n (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) 1 (pow x (/ 1 n)) (/ 1 n) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (+ (/ x n) 1) (/ x n) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (exp (neg (/ (neg (log x)) n))) (* n x)) (exp (neg (/ (neg (log x)) n))) (neg (/ (neg (log x)) n)) (/ (neg (log x)) n) (neg (log x)) (* n x) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (+ (* (exp (neg (/ (neg (log x)) n))) (/ (- (* (pow n -2) 1/2) (/ 1/2 n)) x)) (/ (exp (neg (/ (neg (log x)) n))) n)) x) (+ (* (exp (neg (/ (neg (log x)) n))) (/ (- (* (pow n -2) 1/2) (/ 1/2 n)) x)) (/ (exp (neg (/ (neg (log x)) n))) n)) (/ (- (* (pow n -2) 1/2) (/ 1/2 n)) x) (- (* (pow n -2) 1/2) (/ 1/2 n)) (* (pow n -2) 1/2) (pow n -2) -2 (/ 1/2 n) (/ (exp (neg (/ (neg (log x)) n))) n))
44.0ms
n
@0
((- (- (* (+ n 1) (log (+ n 1))) (* n (log n))) 1) (- (* (+ n 1) (log (+ n 1))) (* n (log n))) (* (+ n 1) (log (+ n 1))) (+ n 1) n 1 (log (+ n 1)) (* n (log n)) (log n))
43.0ms
n
@-inf
((- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (neg (/ (/ (- (* (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n)))) (pow (log x) 2)) (- (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (log x))) n)) (/ (/ (- (* (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n)))) (pow (log x) 2)) (- (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (log x))) n) (/ (- (* (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n)))) (pow (log x) 2)) (- (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (log x))) (- (* (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n)))) (pow (log x) 2)) (* (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n)))) (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n)) (log (+ 1 x)) x (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n) (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2)) (pow (log (+ 1 x)) 2) 2 (pow (log x) 2) (log x) n (- (neg (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (log x)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (exp (neg (/ (neg (log x)) n))) (* n x)) (exp (neg (/ (neg (log x)) n))) 1 (* n x) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (+ x 1) (/ 1 n) (pow x (/ 1 n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (- (log (+ 1 x)) (log x)) n) (- (log (+ 1 x)) (log x)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (neg (/ (+ (* -1 (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (log x)) n)) (/ (+ (* -1 (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (log x)) n) (+ (* -1 (+ (log (+ 1 x)) (/ (* 1/2 (- (pow (log (+ 1 x)) 2) (pow (log x) 2))) n))) (log x)) (- (log x) (* -1/2 (/ (pow (log x) 2) n))) (* -1/2 (/ (pow (log x) 2) n)) -1/2 (/ (pow (log x) 2) n))
38.0ms
x
@0
((- (cbrt (+ x 1)) (cbrt x)) (* (cbrt (pow x -2)) 1/3) (cbrt (pow x -2)) (pow x -2) x -2 1/3 (- (cbrt (+ x 1)) (cbrt x)) (cbrt (+ x 1)) 1 (cbrt x) (- (cbrt (+ x 1)) (pow x 1/3)) (cbrt (+ x 1)) (+ x 1) (pow x 1/3) (- (cbrt (+ x 1)) (exp (* (log x) 1/3))) (exp (* (log x) 1/3)) (* (log x) 1/3) (log x) (- (cbrt (exp (* (log (cbrt (- x -1))) 3))) (cbrt x)) (cbrt (exp (* (log (cbrt (- x -1))) 3))) (exp (* (log (cbrt (- x -1))) 3)) (* (log (cbrt (- x -1))) 3) (log (cbrt (- x -1))) (cbrt (- x -1)) (- x -1) -1 3)
30.0ms
x
@0
((- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (+ x 1) x 1 (/ 1 n) n (pow x (/ 1 n)))

regimes2.5s (1.8%)

Memory
-53.0MiB live, 1 554.7MiB allocated; 87ms collecting garbage
Counts
3 656 → 297
Calls

43 calls:

729.0ms
x
321.0ms
eps
168.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
98.0ms
b
67.0ms
a
Compiler

Compiled 2 183 to 2 045 computations (6.3% saved)

prune1.8s (1.3%)

Memory
-109.5MiB live, 2 227.6MiB allocated; 142ms collecting garbage
Counts
42 342 → 1 691
Compiler

Compiled 94 712 to 49 685 computations (47.5% saved)

simplify1.1s (0.8%)

Memory
-15.9MiB live, 298.8MiB allocated; 21ms collecting garbage
Stop Event
28×node limit

analyze1.1s (0.8%)

Memory
15.8MiB live, 381.2MiB allocated; 14ms collecting garbage
Algorithm
28×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%61.1%38.9%0%0%0%0
18.1%11.1%50%38.9%0%0%0%1
30.5%18.7%42.4%38.9%0%0%0%2
45.3%26.5%31.9%38.9%0%2.7%0%3
55.9%32.6%25.7%38.9%0%2.8%0%4
64.3%37%20.5%38.9%0%3.6%0%5
66.5%37.9%19%38.9%0%4.2%0%6
70.7%39%16.2%38.9%0%6%0%7
73.8%40.3%14.3%38.9%0%6.5%0%8
76.4%41%12.7%38.9%0%7.5%0%9
78.5%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)

bsearch880.0ms (0.6%)

Memory
-6.5MiB live, 266.6MiB allocated; 15ms collecting garbage
Algorithm
66×binary-search
15×left-value
Stop Event
64×narrow-enough
predicate-same
Samples
248.0ms4 377×74valid
109.0ms419×1184valid
63.0ms1 005×74invalid
51.0ms349×592valid
33.0ms242×148valid
17.0ms129×296valid
7.0ms36×2368valid
3.0ms34×74exit
Compiler

Compiled 24 463 to 18 871 computations (22.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 364.0ms
ival-pow: 94.0ms (25.8% of total)
ival-mult!: 74.0ms (20.3% of total)
ival-div!: 48.0ms (13.2% of total)
ival-sqrt: 42.0ms (11.5% of total)
ival-sub!: 32.0ms (8.8% of total)
ival-neg: 24.0ms (6.6% of total)
ival-add!: 16.0ms (4.4% of total)
adjust: 13.0ms (3.6% of total)
ival-cos: 9.0ms (2.5% of total)
ival-cbrt: 6.0ms (1.6% of total)
ival-exp: 3.0ms (0.8% of total)
ival-expm1: 2.0ms (0.5% of total)

end1.0ms (0%)

Memory
-7.6MiB live, 0.1MiB allocated; 1ms collecting garbage

start1.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...