Herbie run

Date:Wednesday, April 16th, 2025
Commit:5565a39e on main
Seed:2025106
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:75 150.4 MB

Time bar (total: 1.1min)

sample38.2s (55.7%)

Memory
568.0MiB live, 41 187.4MiB allocated; 11.8s collecting garbage
Samples
11.4s15 328×5exit
6.9s39 763×1valid
6.8s108 474×0valid
5.6s16 883×2valid
456.0ms3 944×0invalid
190.0ms1 116×1exit
160.0ms1 283×0exit
Precisions
Click to see histograms. Total time spent on operations: 24.3s
ival-exp: 3.8s (15.5% of total)
ival-pow: 3.4s (13.9% of total)
adjust: 3.1s (12.6% of total)
ival-cos: 2.4s (10% of total)
ival-log: 1.6s (6.6% of total)
ival-sinh: 1.5s (6.2% of total)
ival-tan: 1.4s (5.9% of total)
ival-mult!: 1.2s (5% of total)
ival-sqrt: 1.1s (4.4% of total)
ival-sin: 996.0ms (4.1% of total)
ival-fmod: 840.0ms (3.5% of total)
ival-div!: 745.0ms (3.1% of total)
ival-acos: 624.0ms (2.6% of total)
ival-sub!: 470.0ms (1.9% of total)
ival-pow2: 372.0ms (1.5% of total)
ival-add!: 334.0ms (1.4% of total)
ival-neg: 156.0ms (0.6% of total)
ival-hypot: 144.0ms (0.6% of total)
ival-<=: 69.0ms (0.3% of total)
ival-atan: 49.0ms (0.2% of total)
ival-and: 35.0ms (0.1% of total)
ival-or: 16.0ms (0.1% of total)
ival-assert: 4.0ms (0% of total)
ival-<: 2.0ms (0% of total)
ival->: 1.0ms (0% of total)
Bogosity

rewrite9.6s (14%)

Memory
555.8MiB live, 9 952.5MiB allocated; 1.8s collecting garbage
Stop Event
182×iter-limit
50×node-limit
15×unsound
saturated
Counts
7 734 → 17 358

regimes3.8s (5.5%)

Memory
2.6MiB live, 4 365.6MiB allocated; 511ms collecting garbage
Counts
2 853 → 160
Calls

53 calls:

608.0ms
x
355.0ms
a
266.0ms
b
220.0ms
z
179.0ms
r
Compiler

Compiled 1 524 to 1 754 computations (-15.1% saved)

derivations2.8s (4.1%)

Memory
41.0MiB live, 2 692.0MiB allocated; 393ms collecting garbage
Stop Event
11×fuel
done
Compiler

Compiled 3 733 to 913 computations (75.5% saved)

series2.7s (4%)

Memory
-67.9MiB live, 3 057.7MiB allocated; 1.0s collecting garbage
Counts
1 499 → 6 235
Calls

378 calls:

TimeVariablePointExpression
398.0ms
x
@-inf
((sqrt (+ (pow x 2) (pow x 2))) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (sqrt 2)) (neg x) (sqrt (+ (pow x 2) (* x x))) (+ (pow x 2) (* x x)) (pow x 2) (* x x) (/ (sqrt (* 2 (pow x 6))) (sqrt (+ 0 (pow x 4)))) (sqrt (* 2 (pow x 6))) (* 2 (pow x 6)) (pow x 6) 6 (sqrt (+ 0 (pow x 4))) (+ 0 (pow x 4)) 0 (pow x 4) 4)
54.0ms
s
@inf
((/ (cos (* 2 x)) (* (* (* c s) x) (* (* c s) x))) (cos (* 2 x)) (* 2 x) 2 x (* (* (* c s) x) (* (* c s) x)) (* (* c s) x) (* c s) c s (/ (cos (* 2 x)) (* (* c (* c (* x x))) (* s s))) (cos (* 2 x)) 1 (* (* c (* c (* x x))) (* s s)) (* c (* c (* x x))) (* c (* x x)) (* x x) (* s s) (/ (cos (+ x x)) (* (* (* s x) c) (* (* s x) c))) (cos (+ x x)) (+ (* (- (* 2/3 (* x x)) 2) (* x x)) 1) (- (* 2/3 (* x x)) 2) (* 2/3 (* x x)) 2/3 (* (* (* s x) c) (* (* s x) c)) (* (* s x) c) (* s x) (/ (cos (* 2 x)) (pow (* (* s c) x) 2)) (cos (* 2 x)) (+ (* (* x x) -2) 1) -2 (pow (* (* s c) x) 2) (* (* s c) x) (* s c) (/ (cos (* 2 x)) (* (* (* (* s x) (* c x)) c) s)) (* (* (* (* s x) (* c x)) c) s) (* (* (* s x) (* c x)) c) (* (* s x) (* c x)) (* c x))
45.0ms
l
@0
((* (/ 1 (exp w)) (pow l (exp w))) (pow (exp -1) (+ (* (neg (log l)) (exp w)) w)) (exp -1) -1 (+ (* (neg (log l)) (exp w)) w) (neg (log l)) (log l) l (exp w) w (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (- 1 w) (neg w) (pow l (exp w)) (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (- 1 w) 1 (pow l (exp w)) (exp w) (+ (* (+ (* 1/2 w) 1) w) 1) (+ (* 1/2 w) 1) 1/2 (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (+ (* (+ (* (+ (* -1/6 w) 1/2) w) -1) w) 1) (+ (* (+ (* -1/6 w) 1/2) w) -1) (+ (* -1/6 w) 1/2) -1/6 (pow l (exp w)) (exp w) (+ (* (+ (* (+ (* 1/6 w) 1/2) w) 1) w) 1) (+ (* (+ (* 1/6 w) 1/2) w) 1) (+ (* 1/6 w) 1/2) 1/6 (* (exp (neg w)) (pow l (exp w))) (pow l (exp w)) (pow (pow (/ 1 l) (exp w)) -1) (pow (/ 1 l) (exp w)) (/ 1 l))
40.0ms
l
@-inf
((* (/ 1 (exp w)) (pow l (exp w))) (pow (exp -1) (+ (* (neg (log l)) (exp w)) w)) (exp -1) -1 (+ (* (neg (log l)) (exp w)) w) (neg (log l)) (log l) l (exp w) w (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (- 1 w) (neg w) (pow l (exp w)) (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (- 1 w) 1 (pow l (exp w)) (exp w) (+ (* (+ (* 1/2 w) 1) w) 1) (+ (* 1/2 w) 1) 1/2 (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (+ (* (+ (* (+ (* -1/6 w) 1/2) w) -1) w) 1) (+ (* (+ (* -1/6 w) 1/2) w) -1) (+ (* -1/6 w) 1/2) -1/6 (pow l (exp w)) (exp w) (+ (* (+ (* (+ (* 1/6 w) 1/2) w) 1) w) 1) (+ (* (+ (* 1/6 w) 1/2) w) 1) (+ (* 1/6 w) 1/2) 1/6 (* (exp (neg w)) (pow l (exp w))) (pow l (exp w)) (pow (pow (/ 1 l) (exp w)) -1) (pow (/ 1 l) (exp w)) (/ 1 l))
40.0ms
w
@-inf
((* (/ 1 (exp w)) (pow l (exp w))) (pow (exp -1) (+ (* (neg (log l)) (exp w)) w)) (exp -1) -1 (+ (* (neg (log l)) (exp w)) w) (neg (log l)) (log l) l (exp w) w (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (- 1 w) (neg w) (pow l (exp w)) (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (- 1 w) 1 (pow l (exp w)) (exp w) (+ (* (+ (* 1/2 w) 1) w) 1) (+ (* 1/2 w) 1) 1/2 (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (+ (* (+ (* (+ (* -1/6 w) 1/2) w) -1) w) 1) (+ (* (+ (* -1/6 w) 1/2) w) -1) (+ (* -1/6 w) 1/2) -1/6 (pow l (exp w)) (exp w) (+ (* (+ (* (+ (* 1/6 w) 1/2) w) 1) w) 1) (+ (* (+ (* 1/6 w) 1/2) w) 1) (+ (* 1/6 w) 1/2) 1/6 (* (exp (neg w)) (pow l (exp w))) (pow l (exp w)) (pow (pow (/ 1 l) (exp w)) -1) (pow (/ 1 l) (exp w)) (/ 1 l))

eval2.6s (3.8%)

Memory
-25.5MiB live, 3 583.0MiB allocated; 577ms collecting garbage
Compiler

Compiled 639 893 to 85 464 computations (86.6% saved)

explain2.2s (3.2%)

Memory
-133.7MiB live, 2 661.7MiB allocated; 456ms collecting garbage
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue5370
cos.f64#fsensitivity5174
-.f64#fcancellation3470
sqrt.f64#fuflow-rescue3350
/.f64#fn/o2600
acos.f64(acos.f64 (-.f64 #s(literal 1 binary64) x))sensitivity2550
log.f64(log.f64 (/.f64 (sinh.f64 x) x))sensitivity2490
tan.f64(tan.f64 (+.f64 y z))sensitivity1800
pow.f64(pow.f64 l (exp.f64 w))sensitivity13314
*.f64#fn*u380
*.f64#fn*o340
*.f64(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))o*u170
(pow.f64 c #s(literal 2 binary64))overflow56
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)underflow82
(*.f64 x (pow.f64 s #s(literal 2 binary64)))underflow79
(pow.f64 s #s(literal 2 binary64))underflow68
*.f64#fu*o160
-.f64(-.f64 (*.f64 a a) (*.f64 b b))nan-rescue100
(*.f64 a a)overflow112
(*.f64 b b)overflow10
log.f64(log.f64 (/.f64 (sinh.f64 x) x))oflow-rescue60
(sinh.f64 x)overflow6
(/.f64 (sinh.f64 x) x)overflow6
Confusion
Predicted +Predicted -
+2151258
-7181993
Precision
0.749738584872778
Recall
0.8929016189290162
Confusion?
Predicted +Predicted MaybePredicted -
+21511257
-718161977
Precision?
0.7456687456687456
Recall?
0.8933167289331673
Freqs
test
numberfreq
02251
12811
251
37
Total Confusion?
Predicted +Predicted MaybePredicted -
+1800
-002
Precision?
1.0
Recall?
1.0
Samples
429.0ms2 438×1valid
365.0ms6 628×0valid
314.0ms1 088×2valid
12.0ms86×1exit
Compiler

Compiled 1 067 to 440 computations (58.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 807.0ms
ival-sqrt: 100.0ms (12.4% of total)
adjust: 87.0ms (10.8% of total)
ival-sin: 79.0ms (9.8% of total)
ival-tan: 76.0ms (9.4% of total)
ival-cos: 67.0ms (8.3% of total)
ival-log: 67.0ms (8.3% of total)
ival-mult!: 50.0ms (6.2% of total)
ival-exp: 47.0ms (5.8% of total)
ival-sinh: 46.0ms (5.7% of total)
ival-acos: 35.0ms (4.3% of total)
ival-fmod: 27.0ms (3.3% of total)
ival-pow: 24.0ms (3% of total)
ival-div!: 23.0ms (2.8% of total)
ival-sub!: 22.0ms (2.7% of total)
ival-pow2: 21.0ms (2.6% of total)
ival-add!: 19.0ms (2.4% of total)
ival-hypot: 9.0ms (1.1% of total)
ival-neg: 5.0ms (0.6% of total)
ival-atan: 3.0ms (0.4% of total)

analyze2.1s (3.1%)

Memory
5.6MiB live, 2 437.3MiB allocated; 485ms 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)

preprocess2.0s (2.9%)

Memory
-146.7MiB live, 1 978.0MiB allocated; 428ms collecting garbage
Stop Event
15×node-limit
saturated
Compiler

Compiled 16 186 to 7 210 computations (55.5% saved)

prune1.7s (2.5%)

Memory
-43.5MiB live, 2 419.4MiB allocated; 390ms collecting garbage
Counts
19 067 → 1 461
Compiler

Compiled 81 314 to 41 496 computations (49% saved)

bsearch782.0ms (1.1%)

Memory
-61.3MiB live, 814.5MiB allocated; 135ms collecting garbage
Algorithm
44×binary-search
left-value
Stop Event
29×narrow-enough
predicate-same
predicate-failed
Samples
295.0ms1 637×1valid
167.0ms1 291×0valid
73.0ms606×0invalid
Compiler

Compiled 13 753 to 10 886 computations (20.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 414.0ms
ival-fmod: 102.0ms (24.7% of total)
ival-tan: 70.0ms (16.9% of total)
ival-cos: 65.0ms (15.7% of total)
ival-exp: 46.0ms (11.1% of total)
adjust: 35.0ms (8.5% of total)
ival-sin: 24.0ms (5.8% of total)
ival-mult!: 17.0ms (4.1% of total)
ival-sqrt: 16.0ms (3.9% of total)
ival-add!: 11.0ms (2.7% of total)
ival-div!: 7.0ms (1.7% of total)
ival-acos: 6.0ms (1.5% of total)
ival-neg: 6.0ms (1.5% of total)
ival-pow: 3.0ms (0.7% of total)
ival-sub!: 3.0ms (0.7% of total)
ival-pow2: 2.0ms (0.5% of total)

start1.0ms (0%)

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

end0.0ms (0%)

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

Profiling

Loading profile data...