Herbie run

Date:Saturday, August 3rd, 2024
Commit:2.2 on release
Hostname:nightly with Racket 8.11.1
Seed:2024216
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:avg-errorreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 13.6min)

sample3.4min (25.3%)

Memory
763.0MiB live, 248 310.0MiB allocated
Samples
1.0min121 868×1valid
37.7s280 105×0valid
31.9s14 529×5exit
17.3s24 159×2valid
6.9s3 156×3valid
6.1s35 287×0exit
4.3s10 780×1exit
3.5s20 685×0invalid
2.1s11 189×1invalid
302.0ms793×2invalid
277.0ms20×4exit
205.0ms19×3exit
150.0ms24×4valid
38.0ms19×2exit
Precisions
Click to see histograms. Total time spent on operations: 2.5min
ival-pow: 26.9s (18% of total)
ival-mult: 19.0s (12.7% of total)
ival-cos: 17.7s (11.8% of total)
ival-sin: 16.2s (10.9% of total)
ival-div: 12.1s (8.1% of total)
adjust: 10.6s (7.1% of total)
ival-pow2: 9.0s (6% of total)
ival-sub: 6.7s (4.5% of total)
ival-add: 6.1s (4.1% of total)
ival-exp: 5.9s (4% of total)
ival-sqrt: 3.9s (2.6% of total)
ival-log: 3.8s (2.6% of total)
ival-neg: 2.0s (1.3% of total)
const: 1.8s (1.2% of total)
ival-<: 1.6s (1.1% of total)
ival-hypot: 862.0ms (0.6% of total)
ival-acos: 816.0ms (0.5% of total)
ival-atan2: 697.0ms (0.5% of total)
ival-tan: 567.0ms (0.4% of total)
ival-pi: 564.0ms (0.4% of total)
exact: 440.0ms (0.3% of total)
ival-and: 334.0ms (0.2% of total)
ival-atan: 331.0ms (0.2% of total)
ival-true: 317.0ms (0.2% of total)
ival-cbrt: 295.0ms (0.2% of total)
ival-assert: 218.0ms (0.1% of total)
ival-<=: 176.0ms (0.1% of total)
ival-fabs: 163.0ms (0.1% of total)
ival-log1p: 146.0ms (0.1% of total)
ival-asin: 140.0ms (0.1% of total)
ival-==: 1.0ms (0% of total)
ival-or: 0.0ms (0% of total)
Bogosity

simplify2.5min (18.3%)

Memory
1 432.3MiB live, 201 074.2MiB allocated
Algorithm
458×egg-herbie
Rules
3 478 548×lower-fma.f32
3 477 398×lower-fma.f64
1 753 060×lower-*.f32
1 748 738×lower-*.f64
955 648×lower-+.f32
Stop Event
609×iter limit
321×node limit
137×saturated
Counts
84 264 → 83 561

rewrite1.3min (9.4%)

Memory
-139.2MiB live, 106 577.2MiB allocated
Algorithm
203×batch-egg-rewrite
Rules
931 394×lower-fma.f32
930 256×lower-fma.f64
888 060×lower-*.f32
883 898×lower-*.f64
703 214×lower-/.f32
Stop Event
416×iter limit
201×node limit
saturated
unsound
Counts
3 409 → 153 128

soundness1.2min (8.6%)

Memory
358.1MiB live, 53 060.1MiB allocated
Rules
2 306 158×lower-fma.f32
2 305 382×lower-fma.f64
1 561 600×lower-*.f32
1 558 526×lower-*.f64
802 154×lower-+.f32
Stop Event
437×iter limit
292×node limit
45×fuel
done
saturated
Compiler

Compiled 50 522 to 24 400 computations (51.7% saved)

localize1.0min (7.4%)

Memory
-677.4MiB live, 80 603.1MiB allocated
Samples
18.6s14 401×1valid
8.2s29 789×0valid
5.4s3 270×2valid
4.8s641×5exit
1.2s2 796×0invalid
1.1s114×4exit
765.0ms364×3valid
486.0ms223×1invalid
311.0ms275×1exit
55.0ms19×2invalid
37.0ms3exit
17.0ms72×0exit
6.0ms2exit
Compiler

Compiled 99 111 to 8 148 computations (91.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 32.1s
ival-mult: 7.9s (24.6% of total)
ival-cos: 5.2s (16.1% of total)
ival-sin: 4.4s (13.7% of total)
ival-div: 3.0s (9.3% of total)
adjust: 2.6s (8.2% of total)
ival-add: 2.2s (6.7% of total)
ival-sub: 947.0ms (3% of total)
const: 932.0ms (2.9% of total)
ival-sqrt: 842.0ms (2.6% of total)
ival-pow2: 838.0ms (2.6% of total)
ival-atan2: 511.0ms (1.6% of total)
ival-pow: 489.0ms (1.5% of total)
ival-exp: 346.0ms (1.1% of total)
ival-log: 311.0ms (1% of total)
ival-neg: 267.0ms (0.8% of total)
ival-log1p: 225.0ms (0.7% of total)
ival-acos: 212.0ms (0.7% of total)
ival-tan: 168.0ms (0.5% of total)
ival-cbrt: 149.0ms (0.5% of total)
ival-hypot: 144.0ms (0.4% of total)
ival-fabs: 110.0ms (0.3% of total)
ival-atan: 102.0ms (0.3% of total)
exact: 92.0ms (0.3% of total)
ival-pi: 83.0ms (0.3% of total)
ival-true: 49.0ms (0.2% of total)
ival-assert: 24.0ms (0.1% of total)
ival-asin: 13.0ms (0% of total)
ival-copysign: 4.0ms (0% of total)
ival-cosh: 3.0ms (0% of total)
ival-tanh: 2.0ms (0% of total)
ival-sinh: 2.0ms (0% of total)

eval59.4s (7.3%)

Memory
704.1MiB live, 88 164.2MiB allocated
Compiler

Compiled 14 181 337 to 796 732 computations (94.4% saved)

prune57.8s (7.1%)

Memory
-2 371.2MiB live, 93 278.6MiB allocated
Counts
304 742 → 8 274
Compiler

Compiled 686 204 to 294 766 computations (57% saved)

regimes50.6s (6.2%)

Memory
162.9MiB live, 74 038.1MiB allocated
Counts
27 882 → 1 043
Calls

155 calls:

3.6s
phi1
3.5s
phi2
2.5s
a
2.4s
lambda1
2.4s
(-.f64 lambda1 lambda2)
Compiler

Compiled 28 700 to 17 102 computations (40.4% saved)

explain21.3s (2.6%)

Memory
-10.3MiB live, 30 516.8MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64#fsensitivity18093
+.f64#fcancellation175339
sin.f64#fsensitivity15711
sqrt.f64#foflow-rescue14350
-.f64#fcancellation92910
log.f64#fsensitivity5971
-.f64#fnan-rescue5320
/.f64#fo/n4150
/.f64#fo/o3310
/.f64#fu/u3290
*.f64#fn*o2600
/.f64#fu/n1710
exp.f64#fsensitivity16323
sqrt.f64#fuflow-rescue1600
cbrt.f64#foflow-rescue1130
/.f64#fn/o990
*.f64#fn*u950
cbrt.f64#fuflow-rescue480
/.f64#fn/u370
*.f64#fo*u350
*.f64#fu*o330
acos.f64(acos.f64 (+.f64 (*.f64 (sin.f64 phi1) (sin.f64 phi2)) (*.f64 (*.f64 (cos.f64 phi1) (cos.f64 phi2)) (cos.f64 (-.f64 lambda1 lambda2)))))sensitivity163
pow.f64#fuflow-rescue150
pow.f64#fsensitivity80
log.f64#foflow-rescue60
log.f64(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))uflow-rescue40
(+.f64 (exp.f64 a) (exp.f64 b))underflow4
(exp.f64 a)underflow127
(exp.f64 b)underflow4
asin.f64(asin.f64 (+.f64 (*.f64 (sin.f64 phi1) (cos.f64 delta)) (*.f64 (*.f64 (cos.f64 phi1) (sin.f64 delta)) (cos.f64 theta))))sensitivity14
Confusion
Predicted +Predicted -
+582269
-13366085
Precision
0.8133556859457949
Recall
0.988287217789849
Confusion?
Predicted +Predicted MaybePredicted -
+58224326
-1336316054
Precision?
0.8109789823008849
Recall?
0.9955864878628417
Freqs
test
numberfreq
06154
14722
21692
3356
4230
5101
642
77
87
91
Total Confusion?
Predicted +Predicted MaybePredicted -
+4210
-306
Precision?
0.9347826086956522
Recall?
1.0
Samples
3.8s8 136×1valid
2.2s16 294×0valid
1.8s1 880×2valid
600.0ms314×3valid
Compiler

Compiled 21 748 to 3 336 computations (84.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.7s
ival-sin: 1.4s (21.2% of total)
ival-cos: 1.1s (15.7% of total)
ival-mult: 851.0ms (12.6% of total)
ival-div: 614.0ms (9.1% of total)
ival-pow2: 507.0ms (7.5% of total)
adjust: 477.0ms (7.1% of total)
ival-sub: 354.0ms (5.3% of total)
ival-add: 352.0ms (5.2% of total)
ival-exp: 277.0ms (4.1% of total)
ival-sqrt: 202.0ms (3% of total)
ival-log: 175.0ms (2.6% of total)
ival-neg: 75.0ms (1.1% of total)
ival-tan: 48.0ms (0.7% of total)
ival-pow: 45.0ms (0.7% of total)
ival-hypot: 44.0ms (0.7% of total)
ival-atan2: 41.0ms (0.6% of total)
ival-pi: 35.0ms (0.5% of total)
ival-atan: 26.0ms (0.4% of total)
ival-true: 26.0ms (0.4% of total)
ival-acos: 21.0ms (0.3% of total)
exact: 19.0ms (0.3% of total)
ival-cbrt: 18.0ms (0.3% of total)
ival-assert: 12.0ms (0.2% of total)
ival-fabs: 11.0ms (0.2% of total)
ival-asin: 9.0ms (0.1% of total)
ival-log1p: 5.0ms (0.1% of total)

preprocess18.2s (2.2%)

Memory
102.2MiB live, 21 621.0MiB allocated
Algorithm
52×egg-herbie
Rules
238 304×lower-fma.f64
238 304×lower-fma.f32
81 478×lower-*.f32
81 146×lower-*.f64
46 832×unsub-neg
Stop Event
104×iter limit
61×saturated
43×node limit
Compiler

Compiled 60 768 to 19 180 computations (68.4% saved)

series17.3s (2.1%)

Memory
326.0MiB live, 22 721.8MiB allocated
Counts
3 409 → 84 264
Calls

16902 calls:

TimeVariablePointExpression
287.0ms
ew
@inf
(fabs (/ (+ (* (* eh eh) (* (- 1/2 (* 1/2 (cos (* 2 (atan (* (neg eh) (/ (tan t) ew))))))) (- 1/2 (* 1/2 (cos (* 2 t)))))) (neg (pow (/ (* ew (cos t)) (sqrt (+ 1 (pow (* (neg eh) (/ (tan t) ew)) 2)))) 2))) (- (neg (* (* eh (sin t)) (sin (atan (* (neg eh) (/ (tan t) ew)))))) (/ (* ew (cos t)) (sqrt (+ 1 (pow (* (neg eh) (/ (tan t) ew)) 2)))))))
165.0ms
t
@0
(/ (* (pow (/ 1 (+ 1 (exp (neg s)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg s))))) c_n)) (* 1 (pow (- 1 (/ 1 (+ 1 (exp (neg t))))) c_n)))
161.0ms
angle
@inf
(* (* 1/4 a) (* (* x-scale (* (sqrt 8) y-scale)) (sqrt (- (+ (/ (+ (* (cos (* (PI) (* 1/90 angle))) -1/2) 1/2) (* x-scale x-scale)) (/ (+ (* 1/2 (cos (* (PI) (* 1/90 angle)))) 1/2) (* y-scale y-scale))) (sqrt (+ (* 4 (* (+ (* 1/2 (cos (* (PI) (* 1/90 angle)))) 1/2) (/ (+ (* (cos (* (PI) (* 1/90 angle))) -1/2) 1/2) (* x-scale (* x-scale (* y-scale y-scale)))))) (pow (- (/ (+ (* (cos (* (PI) (* 1/90 angle))) -1/2) 1/2) (* x-scale x-scale)) (/ (+ (* 1/2 (cos (* (PI) (* 1/90 angle)))) 1/2) (* y-scale y-scale))) 2)))))))
144.0ms
a
@0
(* x-scale (+ (* 1/8 (/ (* (* y-scale (* (sqrt 8) (+ (* 1/2 (/ (+ (* -2 (* (+ (* (* a a) (/ (pow (cos (* 1/180 (* angle (PI)))) 2) (* y-scale y-scale))) (/ (* (pow (sin (* 1/180 (* angle (PI)))) 2) (* b b)) (* y-scale y-scale))) (+ (* (pow (cos (* 1/180 (* angle (PI)))) 2) (* b b)) (* (pow (sin (* 1/180 (* angle (PI)))) 2) (* a a))))) (/ (* 4 (* (pow (cos (* 1/180 (* angle (PI)))) 2) (* (pow (sin (* 1/180 (* angle (PI)))) 2) (* (* (+ b a) (- b a)) (* (+ b a) (- b a)))))) (* y-scale y-scale))) (+ (* (* a a) (/ (pow (cos (* 1/180 (* angle (PI)))) 2) (* y-scale y-scale))) (/ (* (pow (sin (* 1/180 (* angle (PI)))) 2) (* b b)) (* y-scale y-scale))))) (+ (* (pow (cos (* 1/180 (* angle (PI)))) 2) (* b b)) (* (pow (sin (* 1/180 (* angle (PI)))) 2) (* a a)))))) (sqrt (/ 1 (* 2 (+ (* (* a a) (/ (pow (cos (* 1/180 (* angle (PI)))) 2) (* y-scale y-scale))) (/ (* (pow (sin (* 1/180 (* angle (PI)))) 2) (* b b)) (* y-scale y-scale))))))) (* x-scale x-scale))) (* (* 1/4 (* y-scale (sqrt 8))) (sqrt (* 2 (+ (* (* a a) (/ (pow (cos (* 1/180 (* angle (PI)))) 2) (* y-scale y-scale))) (/ (* (pow (sin (* 1/180 (* angle (PI)))) 2) (* b b)) (* y-scale y-scale))))))))
127.0ms
s
@inf
(/ (* (pow (/ 1 (+ 1 (exp (neg s)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg s))))) c_n)) (* (pow (/ 1 (+ 1 (exp (neg t)))) c_p) (pow (- 1 (/ 1 (+ 1 (exp (neg t))))) c_n)))

analyze16.7s (2%)

Memory
80.1MiB live, 22 663.3MiB allocated
Algorithm
53×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%79.4%20.6%0%0%0%0
17.2%13.7%65.7%20.6%0%0%0%1
25%19.6%58.5%20.6%0%1.3%0%2
35.2%26.6%48.9%20.6%0%3.8%0%3
42.3%31.7%43.1%20.6%0%4.5%0%4
47.9%35.6%38.7%20.6%0%5.1%0%5
51%37.6%36.1%20.6%0%5.7%0%6
54.4%39.7%33.2%20.6%0%6.5%0%7
56.2%40.7%31.8%20.6%0%6.8%0%8
59%42.5%29.5%20.6%0%7.4%0%9
60.3%43.2%28.4%20.6%0%7.7%0%10
62.1%44.3%27%20.6%0%8.1%0%11
63.6%45.1%25.8%20.6%0%8.5%0%12
Compiler

Compiled 1 826 to 990 computations (45.8% saved)

bsearch11.9s (1.5%)

Memory
-267.8MiB live, 15 860.4MiB allocated
Algorithm
319×binary-search
155×left-value
Stop Event
305×narrow-enough
14×predicate-same
Samples
5.3s7 077×1valid
3.3s15 295×0valid
557.0ms746×2valid
99.0ms50×3valid
87.0ms590×0invalid
34.0ms84×1exit
Compiler

Compiled 118 915 to 79 410 computations (33.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.1s
ival-sin: 2.0s (24.7% of total)
ival-cos: 1.9s (23.7% of total)
ival-mult: 1.0s (12.8% of total)
ival-div: 654.0ms (8.1% of total)
adjust: 501.0ms (6.2% of total)
ival-pow2: 490.0ms (6.1% of total)
ival-add: 339.0ms (4.2% of total)
ival-sub: 302.0ms (3.7% of total)
ival-sqrt: 230.0ms (2.8% of total)
ival-atan2: 145.0ms (1.8% of total)
ival-acos: 84.0ms (1% of total)
ival-hypot: 64.0ms (0.8% of total)
ival-atan: 63.0ms (0.8% of total)
ival-tan: 61.0ms (0.8% of total)
ival-neg: 60.0ms (0.7% of total)
ival-asin: 28.0ms (0.3% of total)
ival-exp: 27.0ms (0.3% of total)
ival-pi: 25.0ms (0.3% of total)
ival-true: 20.0ms (0.2% of total)
exact: 13.0ms (0.2% of total)
ival-fabs: 11.0ms (0.1% of total)
ival-assert: 10.0ms (0.1% of total)
ival-log: 6.0ms (0.1% of total)
ival-log1p: 3.0ms (0% of total)

end0.0ms (0%)

Memory
1.0MiB live, 0.9MiB allocated

Profiling

Loading profile data...