Herbie run

Date:Tuesday, July 16th, 2024
Commit:a85c6450 on fix-terminal-costs
Hostname:nightly with Racket 8.11.1
Seed:2024198
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.5min)

sample3.3min (24.7%)

Memory
618.1MiB live, 247 734.3MiB allocated
Samples
58.8s121 588×1valid
39.0s280 431×0valid
28.0s14 588×5exit
16.0s23 102×2valid
7.8s4 022×3valid
6.4s34 970×0exit
3.8s10 951×1exit
3.5s20 622×0invalid
2.3s11 088×1invalid
522.0ms36×4exit
308.0ms816×2invalid
268.0ms26×3exit
209.0ms169×4valid
23.0ms12×2exit
Precisions
Click to see histograms. Total time spent on operations: 2.4min
ival-pow: 22.6s (15.7% of total)
ival-mult: 18.9s (13.1% of total)
ival-cos: 17.8s (12.4% of total)
ival-sin: 16.4s (11.3% of total)
ival-div: 12.9s (8.9% of total)
ival-pow2: 9.2s (6.4% of total)
adjust: 7.4s (5.1% of total)
ival-add: 6.4s (4.4% of total)
ival-exp: 6.2s (4.3% of total)
ival-sub: 6.1s (4.2% of total)
ival-log: 4.1s (2.8% of total)
ival-sqrt: 3.7s (2.6% of total)
ival-neg: 2.9s (2% of total)
ival-<: 1.8s (1.3% of total)
const: 1.8s (1.2% of total)
ival-hypot: 906.0ms (0.6% of total)
ival-atan2: 861.0ms (0.6% of total)
ival-pi: 637.0ms (0.4% of total)
ival-tan: 563.0ms (0.4% of total)
exact: 511.0ms (0.4% of total)
ival-acos: 377.0ms (0.3% of total)
ival-and: 335.0ms (0.2% of total)
ival-atan: 334.0ms (0.2% of total)
ival-true: 326.0ms (0.2% of total)
ival-cbrt: 266.0ms (0.2% of total)
ival-assert: 213.0ms (0.1% of total)
ival-fabs: 203.0ms (0.1% of total)
ival-asin: 142.0ms (0.1% of total)
ival-<=: 137.0ms (0.1% of total)
ival-log1p: 127.0ms (0.1% of total)
ival-==: 1.0ms (0% of total)
ival-or: 0.0ms (0% of total)
Bogosity

simplify2.5min (18.6%)

Memory
-226.3MiB live, 199 509.5MiB allocated
Algorithm
446×egg-herbie
Rules
3 513 054×accelerator-lowering-fma.f32
3 513 054×accelerator-lowering-fma.f64
1 711 328×*-lowering-*.f32
1 711 328×*-lowering-*.f64
906 502×+-lowering-+.f32
Stop Event
395×iter limit
310×node limit
136×saturated
Counts
82 488 → 82 488

rewrite1.3min (9.4%)

Memory
192.8MiB live, 108 773.1MiB allocated
Algorithm
197×batch-egg-rewrite
Rules
875 538×accelerator-lowering-fma.f32
875 538×accelerator-lowering-fma.f64
835 410×*-lowering-*.f32
835 410×*-lowering-*.f64
654 828×/-lowering-/.f32
Stop Event
213×iter limit
195×node limit
saturated
unsound
Counts
3 316 → 152 176

soundness1.2min (8.6%)

Memory
-84.1MiB live, 50 595.5MiB allocated
Rules
2 130 860×accelerator-lowering-fma.f32
2 130 860×accelerator-lowering-fma.f64
1 434 350×*-lowering-*.f32
1 434 350×*-lowering-*.f64
707 906×+-lowering-+.f32
Stop Event
283×iter limit
271×node limit
44×fuel
done
unsound
Compiler

Compiled 55 232 to 26 515 computations (52% saved)

localize59.0s (7.3%)

Memory
116.4MiB live, 83 732.0MiB allocated
Samples
14.6s12 900×1valid
9.4s4 633×2valid
7.1s27 371×0valid
5.0s763×5exit
1.7s3 486×0invalid
1.7s721×3valid
704.0ms111×4exit
363.0ms105×4valid
105.0ms63×1invalid
78.0ms243×0exit
47.0ms3exit
24.0ms27×1exit
5.0ms2exit
3.0ms2invalid
Compiler

Compiled 87 884 to 7 895 computations (91% saved)

Precisions
Click to see histograms. Total time spent on operations: 32.5s
ival-mult: 8.1s (24.8% of total)
ival-cos: 5.1s (15.8% of total)
ival-sin: 5.0s (15.4% of total)
ival-div: 3.1s (9.7% of total)
ival-add: 2.0s (6.1% of total)
adjust: 1.9s (5.7% of total)
ival-sqrt: 1.1s (3.5% of total)
const: 1.0s (3.2% of total)
ival-pow2: 1.0s (3.1% of total)
ival-pow: 759.0ms (2.3% of total)
ival-sub: 738.0ms (2.3% of total)
ival-atan2: 362.0ms (1.1% of total)
ival-exp: 341.0ms (1% of total)
ival-log: 337.0ms (1% of total)
ival-neg: 320.0ms (1% of total)
ival-tan: 189.0ms (0.6% of total)
ival-atan: 152.0ms (0.5% of total)
ival-acos: 129.0ms (0.4% of total)
ival-cbrt: 123.0ms (0.4% of total)
exact: 115.0ms (0.4% of total)
ival-pi: 111.0ms (0.3% of total)
ival-fabs: 105.0ms (0.3% of total)
ival-hypot: 87.0ms (0.3% of total)
ival-copysign: 66.0ms (0.2% of total)
ival-expm1: 58.0ms (0.2% of total)
ival-log1p: 48.0ms (0.1% of total)
ival-true: 46.0ms (0.1% of total)
ival-asin: 43.0ms (0.1% of total)
ival-assert: 22.0ms (0.1% of total)
ival-cosh: 3.0ms (0% of total)
ival-tanh: 2.0ms (0% of total)
ival-sinh: 2.0ms (0% of total)

eval57.5s (7.1%)

Memory
1 271.4MiB live, 83 390.8MiB allocated
Compiler

Compiled 13 031 600 to 782 635 computations (94% saved)

prune53.1s (6.5%)

Memory
-1 377.9MiB live, 93 176.1MiB allocated
Counts
300 695 → 8 051
Compiler

Compiled 671 080 to 290 639 computations (56.7% saved)

regimes51.9s (6.4%)

Memory
-205.7MiB live, 72 543.4MiB allocated
Counts
26 670 → 1 074
Calls

155 calls:

3.5s
phi1
3.1s
phi2
2.7s
b
2.7s
lambda2
2.6s
a
Compiler

Compiled 31 360 to 17 828 computations (43.2% saved)

explain22.1s (2.7%)

Memory
-423.9MiB live, 31 084.1MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64#fsensitivity18176
+.f64#fcancellation172935
sin.f64#fsensitivity15663
sqrt.f64#foflow-rescue14580
-.f64#fcancellation92615
log.f64#fsensitivity6001
-.f64#fnan-rescue5260
/.f64#fo/n4650
/.f64#fu/u3310
/.f64#fo/o3200
*.f64#fn*o2500
/.f64#fu/n1670
exp.f64#fsensitivity16726
sqrt.f64#fuflow-rescue1550
/.f64#fn/o1180
*.f64#fn*u900
cbrt.f64#foflow-rescue810
*.f64#fo*u430
/.f64#fn/u370
cbrt.f64#fuflow-rescue370
*.f64#fu*o260
pow.f64#fsensitivity153
pow.f64#fuflow-rescue120
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)))))sensitivity104
log.f64#foflow-rescue50
log.f64(log.f64 (+.f64 (exp.f64 a) (exp.f64 b)))uflow-rescue10
(+.f64 (exp.f64 a) (exp.f64 b))underflow1
(exp.f64 a)underflow141
(exp.f64 b)underflow1
Confusion
Predicted +Predicted -
+583169
-13196093
Precision
0.8155244755244755
Recall
0.9883050847457627
Confusion?
Predicted +Predicted MaybePredicted -
+58314227
-1319286065
Precision?
0.8134349030470914
Recall?
0.9954237288135593
Freqs
test
numberfreq
06162
14725
21684
3367
4224
581
640
719
87
92
101
Total Confusion?
Predicted +Predicted MaybePredicted -
+4200
-208
Precision?
0.9545454545454546
Recall?
1.0
Samples
4.3s7 944×1valid
2.3s16 410×0valid
1.9s1 864×2valid
842.0ms390×3valid
16.0ms16×4valid
Compiler

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

Precisions
Click to see histograms. Total time spent on operations: 7.3s
ival-sin: 1.5s (20.2% of total)
ival-cos: 1.4s (19.6% of total)
ival-mult: 908.0ms (12.5% of total)
ival-div: 652.0ms (9% of total)
ival-pow2: 609.0ms (8.4% of total)
ival-exp: 321.0ms (4.4% of total)
ival-sub: 300.0ms (4.1% of total)
adjust: 296.0ms (4.1% of total)
ival-sqrt: 273.0ms (3.7% of total)
ival-add: 270.0ms (3.7% of total)
ival-log: 258.0ms (3.5% of total)
ival-neg: 95.0ms (1.3% of total)
ival-atan2: 72.0ms (1% of total)
ival-tan: 55.0ms (0.8% of total)
ival-pow: 41.0ms (0.6% of total)
ival-hypot: 35.0ms (0.5% of total)
ival-pi: 32.0ms (0.4% of total)
ival-atan: 29.0ms (0.4% of total)
ival-cbrt: 28.0ms (0.4% of total)
ival-true: 25.0ms (0.3% of total)
exact: 24.0ms (0.3% of total)
ival-acos: 21.0ms (0.3% of total)
ival-fabs: 12.0ms (0.2% of total)
ival-assert: 12.0ms (0.2% of total)
ival-asin: 9.0ms (0.1% of total)
ival-log1p: 6.0ms (0.1% of total)

preprocess18.2s (2.2%)

Memory
70.4MiB live, 21 693.6MiB allocated
Algorithm
104×egg-herbie
Rules
237 718×accelerator-lowering-fma.f32
237 718×accelerator-lowering-fma.f64
81 446×*-lowering-*.f32
81 446×*-lowering-*.f64
46 320×unsub-neg
Stop Event
60×saturated
52×iter limit
44×node limit
Compiler

Compiled 73 808 to 22 452 computations (69.6% saved)

bsearch17.5s (2.2%)

Memory
-88.4MiB live, 24 160.7MiB allocated
Algorithm
289×binary-search
229×left-value
Stop Event
275×narrow-enough
14×predicate-same
Samples
9.1s12 797×1valid
3.2s20 332×0valid
1.1s1 771×2valid
307.0ms157×3valid
80.0ms200×1exit
75.0ms919×0invalid
13.0ms31×4valid
1.0ms5exit
0.0ms1invalid
Compiler

Compiled 103 931 to 70 259 computations (32.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.2s
ival-cos: 3.5s (28.5% of total)
ival-sin: 2.9s (23.9% of total)
ival-mult: 1.8s (14.4% of total)
ival-div: 735.0ms (6% of total)
ival-pow2: 683.0ms (5.6% of total)
ival-sub: 597.0ms (4.9% of total)
adjust: 543.0ms (4.5% of total)
ival-add: 489.0ms (4% of total)
ival-sqrt: 227.0ms (1.9% of total)
ival-atan2: 189.0ms (1.6% of total)
ival-acos: 122.0ms (1% of total)
ival-neg: 71.0ms (0.6% of total)
ival-pi: 66.0ms (0.5% of total)
ival-exp: 66.0ms (0.5% of total)
ival-atan: 57.0ms (0.5% of total)
ival-hypot: 50.0ms (0.4% of total)
ival-tan: 43.0ms (0.4% of total)
ival-true: 29.0ms (0.2% of total)
exact: 25.0ms (0.2% of total)
ival-assert: 15.0ms (0.1% of total)
ival-log: 14.0ms (0.1% of total)
ival-fabs: 11.0ms (0.1% of total)
ival-asin: 4.0ms (0% of total)
ival-log1p: 3.0ms (0% of total)
ival-cbrt: 2.0ms (0% of total)

analyze17.5s (2.2%)

Memory
241.0MiB live, 21 560.7MiB 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.7s (2.1%)

Memory
-45.4MiB live, 23 856.6MiB allocated
Counts
3 316 → 82 488
Calls

16353 calls:

TimeVariablePointExpression
288.0ms
B
@-inf
(* (sqrt (* -16 (* A (* (* C C) F)))) (/ -1 (+ (* -4 (* A C)) (* B B))))
281.0ms
t
@inf
(/ (* (+ (* (+ (* 1/2 (* c_p s)) 1) (pow 1/2 c_p)) (* s (* (* (pow 1/2 c_p) s) (+ (* c_p (+ (* c_p 1/8) -1/8)) (* s (* (* c_p c_p) (+ (* c_p 1/48) -1/16))))))) (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)))
187.0ms
x
@0
(log (+ x x))
166.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)))
138.0ms
t
@-inf
(* (pow (- 1 (/ 1 (+ 1 (exp (neg s))))) c_n) (* (pow (+ 1 (/ 1 (- -1 (exp (neg t))))) (neg c_n)) (* (pow (+ 1 (exp (neg s))) (neg c_p)) (pow (+ 1 (exp (neg t))) (neg (neg c_p))))))

end0.0ms (0%)

Memory
1.0MiB live, 0.9MiB allocated

Profiling

Loading profile data...