Herbie run

Date:Wednesday, January 15th, 2025
Commit:d270acbc on main
Seed:2025015
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
Memory:207 203.5 MB

Time bar (total: 3.9min)

sample2.1min (53.8%)

Memory
1 302.0MiB live, 112 555.4MiB allocated; 37.0s collecting garbage
Samples
29.9s43 614×2valid
23.0s146 326×0invalid
22.5s96 959×1valid
17.5s7 092×5exit
8.1s87 186×0valid
2.5s3 403×3valid
415.0ms4 215×0exit
7.0ms4valid
Precisions
Click to see histograms. Total time spent on operations: 1.4min
ival-pow: 16.1s (18.7% of total)
ival-tan: 13.2s (15.3% of total)
adjust: 8.8s (10.1% of total)
ival-mult: 5.5s (6.3% of total)
const: 4.6s (5.4% of total)
ival-div: 4.3s (5% of total)
ival-cos: 3.9s (4.5% of total)
ival-sub: 3.9s (4.5% of total)
ival-log: 3.9s (4.5% of total)
ival-add: 3.6s (4.1% of total)
ival-sin: 3.3s (3.9% of total)
ival-exp: 2.3s (2.7% of total)
ival-expm1: 2.2s (2.5% of total)
ival-<=: 2.1s (2.4% of total)
ival-fabs: 2.0s (2.3% of total)
ival-log1p: 1.2s (1.4% of total)
ival-sqrt: 1.1s (1.3% of total)
ival-<: 914.0ms (1.1% of total)
ival-cbrt: 818.0ms (0.9% of total)
ival-and: 607.0ms (0.7% of total)
ival-fmin: 553.0ms (0.6% of total)
ival-neg: 353.0ms (0.4% of total)
exact: 336.0ms (0.4% of total)
ival-atan: 311.0ms (0.4% of total)
ival->: 275.0ms (0.3% of total)
ival-assert: 144.0ms (0.2% of total)
ival-true: 73.0ms (0.1% of total)
Bogosity

simplify37.2s (15.9%)

Memory
743.7MiB live, 31 528.3MiB allocated; 7.2s collecting garbage
Stop Event
327×iter limit
240×node limit
saturated
Counts
8 021 → 7 922

localize22.8s (9.8%)

Memory
-74.2MiB live, 19 704.2MiB allocated; 6.3s collecting garbage
Samples
7.9s11 755×1valid
7.5s6 223×2valid
2.2s9 034×0valid
1.1s625×3valid
18.0ms11×5exit
Compiler

Compiled 20 418 to 3 174 computations (84.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.8s
adjust: 3.1s (21.1% of total)
ival-mult: 2.7s (18.6% of total)
ival-div: 1.6s (10.6% of total)
ival-tan: 1.2s (8% of total)
ival-add: 1.2s (8% of total)
ival-sub: 790.0ms (5.3% of total)
const: 753.0ms (5.1% of total)
ival-pow: 667.0ms (4.5% of total)
ival-cos: 582.0ms (3.9% of total)
ival-log: 429.0ms (2.9% of total)
ival-exp: 358.0ms (2.4% of total)
ival-sin: 353.0ms (2.4% of total)
ival-sqrt: 284.0ms (1.9% of total)
ival-pow2: 195.0ms (1.3% of total)
ival-log1p: 176.0ms (1.2% of total)
ival-expm1: 118.0ms (0.8% of total)
ival-neg: 67.0ms (0.5% of total)
ival-cbrt: 49.0ms (0.3% of total)
ival-cosh: 43.0ms (0.3% of total)
exact: 42.0ms (0.3% of total)
ival-atan: 24.0ms (0.2% of total)
ival-atan2: 23.0ms (0.2% of total)
ival-true: 22.0ms (0.1% of total)
ival-assert: 11.0ms (0.1% of total)
ival-pi: 2.0ms (0% of total)
ival->: 1.0ms (0% of total)
ival-then: 0.0ms (0% of total)

rewrite10.4s (4.4%)

Memory
-287.7MiB live, 8 682.5MiB allocated; 2.3s collecting garbage
Stop Event
328×iter limit
90×node limit
18×unsound
Counts
1 613 → 22 501

derivations7.9s (3.4%)

Memory
126.3MiB live, 4 650.9MiB allocated; 772ms collecting garbage
Stop Event
20×fuel
done
Compiler

Compiled 7 532 to 1 775 computations (76.4% saved)

preprocess7.5s (3.2%)

Memory
300.1MiB live, 5 999.9MiB allocated; 1.9s collecting garbage
Stop Event
56×iter limit
51×node limit
saturated
Compiler

Compiled 17 448 to 4 963 computations (71.6% saved)

explain5.6s (2.4%)

Memory
-382.8MiB live, 5 743.4MiB allocated; 898ms collecting garbage
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation417334
log.f64#fsensitivity7670
/.f64#fu/u4390
sqrt.f64#foflow-rescue4120
+.f64#fcancellation3420
/.f64#fu/n1300
pow.f64#fsensitivity771
/.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/u220
(*.f64 b eps)underflow146
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow155
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow146
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow235
(*.f64 a eps)underflow155
sqrt.f64#fuflow-rescue200
-.f64#fnan-rescue140
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o30
(*.f64 x x)overflow63
/.f64(/.f64 (-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (-.f64 (exp.f64 x) #s(literal 1 binary64)))o/o30
(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)overflow3
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow3
cos.f64(cos.f64 (+.f64 x eps))sensitivity10
tan.f64(tan.f64 (+.f64 x eps))sensitivity10
Confusion
Predicted +Predicted -
+525312
-1581745
Precision
0.9708002217704675
Recall
0.9977207977207977
Confusion?
Predicted +Predicted MaybePredicted -
+5253120
-158231722
Precision?
0.9667645978699964
Recall?
1.0
Freqs
test
numberfreq
01757
14615
2651
393
452
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
1.4s2 716×2valid
1.3s6 070×1valid
456.0ms5 318×0valid
187.0ms232×3valid
Compiler

Compiled 2 154 to 763 computations (64.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.6s
ival-tan: 472.0ms (18.3% of total)
adjust: 416.0ms (16.1% of total)
ival-log: 278.0ms (10.8% of total)
ival-div: 186.0ms (7.2% of total)
ival-cos: 183.0ms (7.1% of total)
ival-sub: 172.0ms (6.7% of total)
ival-exp: 165.0ms (6.4% of total)
ival-sin: 135.0ms (5.2% of total)
ival-mult: 134.0ms (5.2% of total)
ival-pow: 112.0ms (4.3% of total)
ival-add: 90.0ms (3.5% of total)
ival-log1p: 81.0ms (3.1% of total)
ival-sqrt: 61.0ms (2.4% of total)
ival-expm1: 22.0ms (0.9% of total)
ival-atan: 19.0ms (0.7% of total)
ival-cbrt: 15.0ms (0.6% of total)
ival-true: 12.0ms (0.5% of total)
ival-neg: 11.0ms (0.4% of total)
exact: 8.0ms (0.3% of total)
ival-assert: 6.0ms (0.2% of total)

eval4.7s (2%)

Memory
-68.0MiB live, 6 122.4MiB allocated; 1.1s collecting garbage
Compiler

Compiled 1 182 150 to 138 355 computations (88.3% saved)

series3.2s (1.4%)

Memory
-267.5MiB live, 3 148.4MiB allocated; 880ms collecting garbage
Counts
1 613 → 8 021
Calls

504 calls:

TimeVariablePointExpression
100.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) (log (+ n 1))) (* n (log n)) (log n))
89.0ms
a
@inf
((/ (* eps (- (exp (* (+ a b) eps)) 1)) (* (- (exp (* a eps)) 1) (- (exp (* b eps)) 1))) (/ (/ (+ b a) b) a) (/ (+ b a) b) (+ b a) (/ (* eps (- (exp (* (+ a b) eps)) 1)) (* (- (exp (* a eps)) 1) (- (exp (* b eps)) 1))) (/ 1 a) (/ (* eps (- (exp (* (+ a b) eps)) 1)) (* (- (exp (* a eps)) 1) (- (exp (* b eps)) 1))) (/ 1 b) (/ (* (* (+ b a) 1/2) (+ (* (* b a) b) (* (* b a) a))) (* (* (* b a) a) b)) (+ (* (* b a) b) (* (* b a) a)) (* (* (+ b a) 1/2) (+ (* (* b a) b) (* (* b a) a))) (- (* (/ (pow (+ b a) 2) b) (/ 1/2 a)) (/ (* (* (+ b a) 1/2) (+ (* (* b a) b) (* (* b a) a))) (* (* (* b a) a) b))) (/ (* (- (exp (* eps (+ b a))) 1) eps) (* (- (exp (* eps b)) 1) (- (exp (* eps a)) 1))) (* (- (exp (* eps (+ b a))) 1) eps) (- (exp (* eps (+ b a))) 1) (* eps (+ b a)) (/ (pow (+ b a) 2) b) (* (/ (pow (+ b a) 2) b) (/ 1/2 a)) (* (* b a) a) (* (- (exp (* eps b)) 1) (- (exp (* eps a)) 1)))
55.0ms
x
@inf
((/ (log (- 1 x)) (log (+ 1 x))) (- -1 x) (/ (log (- 1 x)) (log (+ 1 x))) (log (- 1 x)) (* (+ (* (+ (* (+ (* -1/4 x) -1/3) x) -1/2) x) -1) x) (+ (* (+ (* (+ (* -1/4 x) -1/3) x) -1/2) x) -1) (log (- 1 x)) (/ (log (- 1 x)) (log (+ 1 x))) (- 1 x) (log (+ 1 x)) (log (+ 1 x)) (+ (* -1/4 x) -1/3))
47.0ms
n
@0
((- (- (* (+ n 1) (log (+ n 1))) (* n (log n))) 1) (log n))
44.0ms
x
@inf
((sqrt (- (exp x) -1)) (- (exp x) -1) (exp x) (sqrt (/ (- (exp (* 2 x)) 1) (- (exp x) 1))) (/ (- (exp (* 2 x)) 1) (- (exp x) 1)) (sqrt (/ (- (exp (* 2 x)) 1) (- (exp x) 1))) (/ (- (exp (* 2 x)) 1) (- (exp x) 1)) (+ (* (+ (* 1/2 x) 1) x) 2) (+ (* 1/2 x) 1) (sqrt (/ (- (exp (* 2 x)) 1) (- (exp x) 1))) (+ (* (/ (+ (* 3/16 x) 1/2) (sqrt 2)) x) (sqrt 2)) (/ (+ (* 3/16 x) 1/2) (sqrt 2)) (+ (* 3/16 x) 1/2) (exp (* (log (+ 1 (exp x))) 1/2)) (* (log (+ 1 (exp x))) 1/2) (log (+ 1 (exp x))) (sqrt 2))

analyze2.6s (1.1%)

Memory
-103.0MiB live, 1 957.0MiB allocated; 2.1s collecting garbage
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)

regimes2.5s (1.1%)

Memory
107.7MiB live, 2 855.2MiB allocated; 370ms collecting garbage
Counts
2 910 → 291
Calls

43 calls:

642.0ms
x
286.0ms
eps
118.0ms
b
111.0ms
b_2
98.0ms
(/.f64 #s(literal 1 binary64) n)
Compiler

Compiled 1 972 to 1 879 computations (4.7% saved)

prune2.1s (0.9%)

Memory
-158.7MiB live, 3 075.5MiB allocated; 588ms collecting garbage
Counts
32 613 → 1 554
Compiler

Compiled 84 765 to 45 057 computations (46.8% saved)

bsearch1.4s (0.6%)

Memory
-83.7MiB live, 1 177.3MiB allocated; 141ms collecting garbage
Algorithm
82×binary-search
16×left-value
Stop Event
74×narrow-enough
predicate-same
Samples
473.0ms4 122×0valid
289.0ms1 334×1valid
114.0ms335×2valid
87.0ms960×0invalid
8.0ms79×0exit
0.0ms3valid
Compiler

Compiled 31 087 to 22 649 computations (27.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 658.0ms
ival-pow: 170.0ms (25.8% of total)
ival-mult: 113.0ms (17.2% of total)
ival-sub: 106.0ms (16.1% of total)
ival-div: 77.0ms (11.7% of total)
adjust: 62.0ms (9.4% of total)
ival-sqrt: 44.0ms (6.7% of total)
ival-add: 27.0ms (4.1% of total)
ival-neg: 20.0ms (3% of total)
ival-cos: 15.0ms (2.3% of total)
ival-cbrt: 10.0ms (1.5% of total)
ival-true: 5.0ms (0.8% of total)
exact: 4.0ms (0.6% of total)
ival-assert: 3.0ms (0.5% of total)
ival-expm1: 3.0ms (0.5% of total)
ival-exp: 2.0ms (0.3% of total)

start1.0ms (0%)

Memory
2.8MiB live, 2.7MiB allocated; 0ms collecting garbage

end0.0ms (0%)

Memory
0.3MiB live, 0.2MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...