Herbie run

Date:Tuesday, August 6th, 2024
Commit:2.2 on release
Hostname:nightly with Racket 8.11.1
Seed:2024219
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.5min (25.4%)

Memory
966.0MiB live, 247 215.9MiB allocated
Samples
59.7s121 391×1valid
39.0s280 563×0valid
31.7s14 248×5exit
17.1s24 123×2valid
7.2s3 218×3valid
6.0s35 075×0exit
4.3s10 785×1exit
3.2s20 651×0invalid
2.5s11 116×1invalid
470.0ms33×4exit
369.0ms738×2invalid
318.0ms20×3exit
116.0ms17×4valid
24.0ms11×2exit
Precisions
Click to see histograms. Total time spent on operations: 2.5min
ival-pow: 26.4s (17.8% of total)
ival-cos: 19.2s (13% of total)
ival-mult: 18.6s (12.6% of total)
ival-sin: 16.1s (10.9% of total)
ival-div: 12.0s (8.1% of total)
adjust: 10.2s (6.9% of total)
ival-pow2: 8.4s (5.7% of total)
ival-add: 6.4s (4.3% of total)
ival-sub: 6.2s (4.2% of total)
ival-exp: 5.6s (3.8% of total)
ival-log: 4.0s (2.7% of total)
ival-sqrt: 3.7s (2.5% of total)
ival-neg: 2.4s (1.6% of total)
const: 1.6s (1.1% of total)
ival-<: 1.3s (0.9% of total)
ival-atan2: 777.0ms (0.5% of total)
ival-hypot: 662.0ms (0.4% of total)
ival-tan: 580.0ms (0.4% of total)
ival-pi: 577.0ms (0.4% of total)
ival-atan: 441.0ms (0.3% of total)
ival-acos: 418.0ms (0.3% of total)
exact: 406.0ms (0.3% of total)
ival-and: 341.0ms (0.2% of total)
ival-true: 303.0ms (0.2% of total)
ival-cbrt: 248.0ms (0.2% of total)
ival-asin: 217.0ms (0.1% of total)
ival-assert: 209.0ms (0.1% of total)
ival-fabs: 185.0ms (0.1% of total)
ival-log1p: 168.0ms (0.1% of total)
ival-<=: 112.0ms (0.1% of total)
ival-==: 1.0ms (0% of total)
ival-or: 0.0ms (0% of total)
Bogosity

simplify2.6min (18.8%)

Memory
-63.6MiB live, 192 655.7MiB allocated
Algorithm
458×egg-herbie
Rules
3 564 130×lower-fma.f32
3 563 110×lower-fma.f64
1 753 866×lower-*.f32
1 749 594×lower-*.f64
942 940×lower-+.f32
Stop Event
610×iter limit
317×node limit
141×saturated
Counts
83 748 → 83 070

rewrite1.3min (9.3%)

Memory
-119.3MiB live, 104 343.3MiB allocated
Algorithm
203×batch-egg-rewrite
Rules
903 662×lower-fma.f32
902 670×lower-fma.f64
874 932×lower-*.f32
870 806×lower-*.f64
689 758×lower-/.f32
Stop Event
416×iter limit
200×node limit
unsound
saturated
Counts
3 401 → 156 326

soundness1.2min (8.6%)

Memory
63.2MiB live, 52 147.2MiB allocated
Rules
2 302 080×lower-fma.f32
2 301 406×lower-fma.f64
1 531 192×lower-*.f32
1 528 358×lower-*.f64
769 690×lower-+.f32
Stop Event
435×iter limit
291×node limit
45×fuel
done
saturated
Compiler

Compiled 58 782 to 27 570 computations (53.1% saved)

localize59.4s (7.3%)

Memory
348.5MiB live, 77 540.9MiB allocated
Samples
18.1s14 498×1valid
7.5s28 426×0valid
7.2s3 914×2valid
4.0s664×5exit
1.5s3 090×0invalid
913.0ms418×3valid
571.0ms117×4exit
322.0ms561×1exit
272.0ms181×1invalid
43.0ms3exit
31.0ms2exit
16.0ms73×0exit
14.0ms14×2invalid
7.0ms3invalid
Compiler

Compiled 91 548 to 7 937 computations (91.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 31.4s
ival-mult: 7.2s (23.1% of total)
ival-cos: 4.9s (15.6% of total)
ival-sin: 4.5s (14.4% of total)
ival-div: 2.8s (9% of total)
adjust: 2.6s (8.2% of total)
ival-add: 1.9s (6.2% of total)
ival-pow2: 1.4s (4.3% of total)
const: 1.1s (3.6% of total)
ival-sub: 1.1s (3.4% of total)
ival-sqrt: 763.0ms (2.4% of total)
ival-log: 486.0ms (1.5% of total)
ival-atan2: 468.0ms (1.5% of total)
ival-exp: 338.0ms (1.1% of total)
ival-pow: 305.0ms (1% of total)
ival-neg: 298.0ms (0.9% of total)
ival-cbrt: 177.0ms (0.6% of total)
ival-log1p: 138.0ms (0.4% of total)
ival-atan: 131.0ms (0.4% of total)
ival-acos: 127.0ms (0.4% of total)
ival-tan: 125.0ms (0.4% of total)
ival-pi: 98.0ms (0.3% of total)
ival-hypot: 97.0ms (0.3% of total)
exact: 89.0ms (0.3% of total)
ival-fabs: 63.0ms (0.2% of total)
ival-asin: 53.0ms (0.2% of total)
ival-true: 49.0ms (0.2% of total)
ival-assert: 22.0ms (0.1% of total)
ival-expm1: 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)

eval57.2s (7%)

Memory
644.0MiB live, 83 802.8MiB allocated
Compiler

Compiled 12 910 116 to 795 223 computations (93.8% saved)

prune54.5s (6.7%)

Memory
-1 388.8MiB live, 90 614.3MiB allocated
Counts
302 246 → 8 231
Compiler

Compiled 630 708 to 283 480 computations (55.1% saved)

regimes48.7s (6%)

Memory
196.6MiB live, 71 072.5MiB allocated
Counts
26 842 → 1 117
Calls

155 calls:

3.2s
phi2
3.1s
phi1
2.9s
lambda1
2.8s
b
2.6s
lambda2
Compiler

Compiled 31 624 to 17 499 computations (44.7% saved)

explain21.7s (2.7%)

Memory
65.3MiB live, 31 002.7MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64#fsensitivity18076
+.f64#fcancellation171735
sin.f64#fsensitivity15522
sqrt.f64#foflow-rescue14030
-.f64#fcancellation9528
log.f64#fsensitivity6011
-.f64#fnan-rescue4930
/.f64#fo/n4570
/.f64#fu/u3440
/.f64#fo/o2680
*.f64#fn*o2630
/.f64#fu/n1800
exp.f64#fsensitivity16726
sqrt.f64#fuflow-rescue1590
/.f64#fn/o1210
*.f64#fn*u1110
cbrt.f64#foflow-rescue930
/.f64#fn/u400
*.f64#fu*o350
cbrt.f64#fuflow-rescue340
*.f64#fo*u340
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)))))sensitivity226
pow.f64#fsensitivity80
pow.f64(pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 t)))) c_p)uflow-rescue60
(pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 t)))) c_p)underflow9
(/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 t))))underflow6
log.f64#foflow-rescue40
log.f64(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))uflow-rescue20
(+.f64 (exp.f64 a) (exp.f64 b))underflow2
(exp.f64 a)underflow128
(exp.f64 b)underflow2
Confusion
Predicted +Predicted -
+571778
-14066111
Precision
0.8026112593008564
Recall
0.9865401207937877
Confusion?
Predicted +Predicted MaybePredicted -
+57174632
-1406276084
Precision?
0.8008615897720957
Recall?
0.9944779982743744
Freqs
test
numberfreq
06189
14746
21648
3354
4224
584
635
717
811
94
Total Confusion?
Predicted +Predicted MaybePredicted -
+4210
-207
Precision?
0.9555555555555556
Recall?
1.0
Samples
4.3s7 888×1valid
2.6s2 038×2valid
2.2s16 372×0valid
484.0ms326×3valid
Compiler

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

Precisions
Click to see histograms. Total time spent on operations: 7.6s
ival-sin: 1.5s (20.2% of total)
ival-mult: 1.2s (15.6% of total)
ival-cos: 1.1s (14.9% of total)
ival-pow2: 831.0ms (10.9% of total)
ival-div: 543.0ms (7.2% of total)
adjust: 492.0ms (6.5% of total)
ival-exp: 392.0ms (5.2% of total)
ival-sub: 286.0ms (3.8% of total)
ival-log: 254.0ms (3.3% of total)
ival-add: 239.0ms (3.1% of total)
ival-sqrt: 219.0ms (2.9% of total)
ival-hypot: 74.0ms (1% of total)
ival-neg: 70.0ms (0.9% of total)
ival-tan: 51.0ms (0.7% of total)
ival-atan2: 50.0ms (0.7% of total)
ival-pi: 45.0ms (0.6% of total)
ival-pow: 32.0ms (0.4% of total)
ival-atan: 27.0ms (0.4% of total)
ival-acos: 27.0ms (0.4% of total)
ival-true: 25.0ms (0.3% of total)
ival-cbrt: 21.0ms (0.3% of total)
exact: 19.0ms (0.3% of total)
ival-assert: 11.0ms (0.1% of total)
ival-fabs: 11.0ms (0.1% of total)
ival-asin: 9.0ms (0.1% of total)
ival-log1p: 6.0ms (0.1% of total)

preprocess19.2s (2.4%)

Memory
-285.5MiB live, 21 241.7MiB 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 68 618 to 19 058 computations (72.2% saved)

analyze17.7s (2.2%)

Memory
105.3MiB live, 22 282.2MiB 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)

series16.2s (2%)

Memory
357.0MiB live, 22 058.4MiB allocated
Counts
3 401 → 83 748
Calls

16788 calls:

TimeVariablePointExpression
391.0ms
a
@0
(/ (- (- (/ (/ (+ (pow (* a (cos (* (/ angle 180) (PI)))) 2) (pow (* b (sin (* (/ angle 180) (PI)))) 2)) y-scale) y-scale) (/ (/ (+ (pow (* a (sin (* (/ angle 180) (PI)))) 2) (pow (* b (cos (* (/ angle 180) (PI)))) 2)) x-scale) x-scale)) (sqrt (+ (pow (- (/ (/ (+ (pow (* a (sin (* (/ angle 180) (PI)))) 2) (pow (* b (cos (* (/ angle 180) (PI)))) 2)) x-scale) x-scale) (/ (/ (+ (pow (* a (cos (* (/ angle 180) (PI)))) 2) (pow (* b (sin (* (/ angle 180) (PI)))) 2)) y-scale) y-scale)) 2) (pow (/ (/ (* (* (* 2 (- (pow b 2) (pow a 2))) (sin (* (/ angle 180) (PI)))) (cos (* (/ angle 180) (PI)))) x-scale) y-scale) 2)))) (/ (/ (* (* (* 2 (- (pow b 2) (pow a 2))) (sin (* (/ angle 180) (PI)))) (cos (* (/ angle 180) (PI)))) x-scale) y-scale))
154.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)))
147.0ms
t
@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)))
115.0ms
C
@-inf
(sqrt (* (* 2 (* (- (pow B 2) (* (* 4 A) C)) F)) (+ (* 2 C) (/ (* -1/2 (* B B)) A))))
110.0ms
c_p
@-inf
(/ (pow (/ 1 (+ 1 (exp (neg s)))) c_p) (pow (/ 1 (+ 1 (exp (neg t)))) c_p))

bsearch14.1s (1.7%)

Memory
107.5MiB live, 18 420.2MiB allocated
Algorithm
350×binary-search
204×left-value
Stop Event
336×narrow-enough
14×predicate-same
Samples
6.4s8 461×1valid
2.7s13 625×0valid
1.2s1 410×2valid
257.0ms131×1exit
198.0ms120×3valid
48.0ms451×0invalid
1.0ms5exit
0.0ms0exit
Compiler

Compiled 130 992 to 87 700 computations (33% saved)

Precisions
Click to see histograms. Total time spent on operations: 9.4s
ival-cos: 2.3s (24.4% of total)
ival-sin: 2.1s (22.6% of total)
ival-mult: 1.3s (13.9% of total)
adjust: 990.0ms (10.6% of total)
ival-div: 660.0ms (7.1% of total)
ival-pow2: 627.0ms (6.7% of total)
ival-sub: 423.0ms (4.5% of total)
ival-add: 197.0ms (2.1% of total)
ival-sqrt: 158.0ms (1.7% of total)
ival-atan2: 131.0ms (1.4% of total)
ival-atan: 94.0ms (1% of total)
ival-acos: 88.0ms (0.9% of total)
ival-exp: 55.0ms (0.6% of total)
ival-tan: 49.0ms (0.5% of total)
ival-pi: 37.0ms (0.4% of total)
ival-neg: 36.0ms (0.4% of total)
ival-hypot: 25.0ms (0.3% of total)
ival-fabs: 24.0ms (0.3% of total)
ival-true: 19.0ms (0.2% of total)
exact: 14.0ms (0.1% of total)
ival-asin: 11.0ms (0.1% of total)
ival-assert: 10.0ms (0.1% of total)
ival-log: 6.0ms (0.1% of total)
ival-pow: 4.0ms (0% of total)
ival-log1p: 2.0ms (0% of total)

end0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated

Profiling

Loading profile data...