Herbie run

Date:Thursday, April 3rd, 2025
Commit:753370c2 on random-cleanup
Seed:2025093
Parameters:256 points for 4 iterations
Flags:
reduce:regimesreduce:binary-searchreduce:branch-expressionssetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:proofs
default
Memory:72 463.6 MB

Time bar (total: 1.1min)

sample38.4s (56.9%)

Memory
426.1MiB live, 40 804.0MiB allocated; 12.4s collecting garbage
Samples
10.8s16 575×5exit
7.7s39 729×1valid
7.4s108 614×0valid
4.7s16 777×2valid
575.0ms4 047×0invalid
147.0ms1 375×0exit
Precisions
Click to see histograms. Total time spent on operations: 24.7s
ival-pow: 3.7s (15.1% of total)
ival-exp: 3.6s (14.7% of total)
adjust: 2.6s (10.4% of total)
ival-cos: 2.2s (9% of total)
ival-mult!: 2.2s (9% of total)
ival-tan: 2.0s (8.3% of total)
ival-log: 1.6s (6.7% of total)
ival-sqrt: 1.1s (4.4% of total)
ival-fmod: 1.1s (4.3% of total)
ival-div!: 755.0ms (3.1% of total)
ival-sin: 743.0ms (3% of total)
ival-sinh: 703.0ms (2.8% of total)
ival-acos: 517.0ms (2.1% of total)
ival-pow2: 443.0ms (1.8% of total)
ival-sub!: 384.0ms (1.6% of total)
ival-add!: 349.0ms (1.4% of total)
ival-neg: 205.0ms (0.8% of total)
ival-hypot: 145.0ms (0.6% of total)
ival-<=: 109.0ms (0.4% of total)
ival-atan: 81.0ms (0.3% of total)
ival-and: 35.0ms (0.1% of total)
ival-or: 17.0ms (0.1% of total)
ival-assert: 4.0ms (0% of total)
ival->: 2.0ms (0% of total)
ival-<: 2.0ms (0% of total)
Bogosity

rewrite10.1s (14.9%)

Memory
586.8MiB live, 9 444.4MiB allocated; 2.4s collecting garbage
Stop Event
185×iter-limit
52×node-limit
14×unsound
saturated
Counts
7 686 → 17 635

regimes4.4s (6.5%)

Memory
59.7MiB live, 4 671.9MiB allocated; 669ms collecting garbage
Counts
3 619 → 190
Calls

53 calls:

656.0ms
x
357.0ms
a
332.0ms
b
234.0ms
r
197.0ms
(tan.f64 (+.f64 y z))
Compiler

Compiled 1 676 to 1 950 computations (-16.3% saved)

eval2.8s (4.2%)

Memory
-103.3MiB live, 3 998.2MiB allocated; 675ms collecting garbage
Compiler

Compiled 667 200 to 84 173 computations (87.4% saved)

series2.4s (3.5%)

Memory
24.8MiB live, 2 932.5MiB allocated; 514ms collecting garbage
Counts
1 467 → 6 219
Calls

384 calls:

TimeVariablePointExpression
55.0ms
w
@inf
((* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (neg w) w (pow l (exp w)) l (exp w))
52.0ms
x
@-inf
((sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (* x x) x)
45.0ms
c
@0
((/ (cos (* 2 x)) (pow (* (* s x) c) 2)) (cos (* 2 x)) (* 2 x) 2 x (pow (* (* s x) c) 2) (* (* s x) c) (* s x) s c (/ (cos (* 2 x)) (* (* (* c c) (* x x)) (* s s))) (* (* (* c c) (* x x)) (* s s)) (* (* c c) (* x x)) (* c c) (* x x) (* s s) (/ (/ (/ (cos (* -2 x)) (* c c)) (* s s)) (* x x)) (/ (/ (cos (* -2 x)) (* c c)) (* s s)) (/ (cos (* -2 x)) (* c c)) (cos (* -2 x)) (* -2 x) -2 (/ (cos (* 2 x)) (* (pow c 2) (* (* x (pow s 2)) x))) (/ (pow c -2) (pow (* s x) 2)) (pow c -2) (pow (* s x) 2) (/ (cos (* 2 x)) (* (* (pow (* s x) 2) c) c)) (* (* (pow (* s x) 2) c) c) (* (pow (* s x) 2) c))
44.0ms
a
@-inf
((+ x (- (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (- 1 (* (tan y) (tan z))))) (tan a))) x (- (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (- 1 (* (tan y) (tan z))))) (tan a)) (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (- 1 (* (tan y) (tan z))))) (/ (tan y) (- 1 (* (tan y) (tan z)))) (tan y) y (- 1 (* (tan y) (tan z))) 1 (* (tan y) (tan z)) (tan z) z (/ (tan z) (- 1 (* (tan y) (tan z)))) (tan a) a (+ x (- (tan (+ y z)) (tan a))) (+ x (- (tan (+ y z)) (tan a))) (- (tan (+ z y)) (tan a)) (tan (+ z y)) (+ z y) (+ x (- (tan (+ y z)) (tan a))) (- (tan (+ y z)) (tan a)) (tan (+ y z)) (+ y z) (* (+ (/ y z) 1) z) (+ (/ y z) 1) (/ y z) (+ x (- (tan (+ y z)) (tan a))) (- (tan (+ y z)) (tan a)) (tan (+ y z)) (+ (* (- 1 (neg (pow (tan z) 2))) y) (tan z)) (- 1 (neg (pow (tan z) 2))) (neg (pow (tan z) 2)) (pow (tan z) 2) 2)
41.0ms
l
@0
((* (/ 1 (exp w)) (pow l (exp w))) (/ 1 (exp w)) 1 (exp w) w (pow l (exp w)) l (* (exp (neg w)) (pow l (exp w))) (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (- 1 w) (* (pow (exp -1) w) (pow l (exp w))) (pow (exp -1) w) (exp -1) -1 (* (exp (neg w)) (* (pow l (cosh w)) (pow l (sinh w)))) (exp (neg w)) (neg w) (* (pow l (cosh w)) (pow l (sinh w))) (pow l (cosh w)) (cosh w) (pow l (sinh w)) (sinh w))

analyze2.3s (3.5%)

Memory
10.5MiB live, 2 738.2MiB allocated; 552ms collecting garbage
Algorithm
20×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%73.7%26.3%0%0%0%0
28.8%21.3%52.5%26.3%0%0%0%1
44.1%32.5%41.2%26.3%0%0%0%2
52.6%38.7%35%26.3%0%0%0%3
61.9%45.6%28.1%26.3%0%0%0%4
65.2%47.5%25.3%26.3%0%0.9%0%5
66.8%48.4%24%26.3%0%1.2%0%6
71.1%51.1%20.8%26.3%0%1.9%0%7
72.1%51.6%20%26.3%0%2.1%0%8
74.4%53%18.2%26.3%0%2.5%0%9
75.8%53.9%17.2%26.3%0%2.6%0%10
76.6%54.3%16.6%26.3%0%2.8%0%11
77.3%54.8%16.1%26.3%0%2.9%0%12
Compiler

Compiled 279 to 216 computations (22.6% saved)

prune2.3s (3.4%)

Memory
-200.6MiB live, 2 780.4MiB allocated; 1.1s collecting garbage
Counts
21 445 → 1 493
Compiler

Compiled 84 028 to 42 759 computations (49.1% saved)

explain2.2s (3.3%)

Memory
-7.2MiB live, 2 888.1MiB allocated; 520ms collecting garbage
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue5780
cos.f64#fsensitivity5190
-.f64#fcancellation3353
sqrt.f64#fuflow-rescue3140
/.f64#fn/o2580
acos.f64(acos.f64 (-.f64 #s(literal 1 binary64) x))sensitivity2551
log.f64(log.f64 (/.f64 (sinh.f64 x) x))sensitivity2460
tan.f64(tan.f64 (+.f64 y z))sensitivity1931
pow.f64(pow.f64 l (exp.f64 w))sensitivity11721
*.f64#fn*u370
*.f64#fn*o340
-.f64(-.f64 (*.f64 a a) (*.f64 b b))nan-rescue140
(*.f64 a a)overflow116
(*.f64 b b)overflow14
*.f64(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))u*o120
(pow.f64 c #s(literal 2 binary64))underflow62
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)overflow58
(*.f64 x (pow.f64 s #s(literal 2 binary64)))overflow49
(pow.f64 s #s(literal 2 binary64))overflow49
*.f64(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))o*u100
(pow.f64 c #s(literal 2 binary64))overflow59
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)underflow68
(*.f64 x (pow.f64 s #s(literal 2 binary64)))underflow60
(pow.f64 s #s(literal 2 binary64))underflow56
log.f64(log.f64 (/.f64 (sinh.f64 x) x))oflow-rescue50
(sinh.f64 x)overflow5
(/.f64 (sinh.f64 x) x)overflow5
Confusion
Predicted +Predicted -
+2131281
-7321976
Precision
0.7443241355221796
Recall
0.8834991708126037
Confusion?
Predicted +Predicted MaybePredicted -
+21313278
-732241952
Precision?
0.7384083044982699
Recall?
0.884742951907131
Freqs
test
numberfreq
02257
12802
258
33
Total Confusion?
Predicted +Predicted MaybePredicted -
+1710
-002
Precision?
1.0
Recall?
1.0
Samples
491.0ms2 496×1valid
379.0ms6 588×0valid
365.0ms1 048×2valid
14.0ms108×1exit
Compiler

Compiled 1 067 to 440 computations (58.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 844.0ms
ival-log: 131.0ms (15.5% of total)
adjust: 118.0ms (14% of total)
ival-tan: 81.0ms (9.6% of total)
ival-cos: 75.0ms (8.9% of total)
ival-mult!: 73.0ms (8.6% of total)
ival-sqrt: 57.0ms (6.8% of total)
ival-exp: 43.0ms (5.1% of total)
ival-sinh: 43.0ms (5.1% of total)
ival-sin: 41.0ms (4.9% of total)
ival-acos: 34.0ms (4% of total)
ival-fmod: 34.0ms (4% of total)
ival-div!: 30.0ms (3.6% of total)
ival-pow2: 22.0ms (2.6% of total)
ival-sub!: 19.0ms (2.3% of total)
ival-add!: 18.0ms (2.1% of total)
ival-hypot: 9.0ms (1.1% of total)
ival-pow: 8.0ms (0.9% of total)
ival-neg: 5.0ms (0.6% of total)
ival-atan: 3.0ms (0.4% of total)

preprocess1.6s (2.3%)

Memory
-153.3MiB live, 1 369.0MiB allocated; 361ms collecting garbage
Stop Event
15×node-limit
saturated
Compiler

Compiled 4 930 to 2 372 computations (51.9% saved)

derivations1.1s (1.6%)

Memory
-46.5MiB live, 825.2MiB allocated; 78ms collecting garbage
Stop Event
done
fuel
Compiler

Compiled 1 390 to 436 computations (68.6% saved)

bsearch7.0ms (0%)

Memory
10.1MiB live, 10.1MiB allocated; 0ms collecting garbage
Algorithm
14×left-value
Compiler

Compiled 156 to 176 computations (-12.8% saved)

end5.0ms (0%)

Memory
-44.4MiB live, 0.3MiB allocated; 8ms collecting garbage

start1.0ms (0%)

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

Profiling

Loading profile data...